Bugfix
This commit is contained in:
parent
95c3d990cf
commit
f81323d56d
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -21,19 +21,19 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \file htdocs/compta/param/pre.inc.php
|
||||
\ingroup compta
|
||||
\brief Fichier gestionnaire du menu paramétrage de la compta
|
||||
/**
|
||||
\file htdocs/compta/param/pre.inc.php
|
||||
\ingroup compta
|
||||
\brief Fichier gestionnaire du menu paramétrage de la compta
|
||||
|
||||
*/
|
||||
|
||||
require("../../main.inc.php");
|
||||
|
||||
function llxHeader($head = "", $title="", $help_url='')
|
||||
{
|
||||
global $user, $conf, $langs;
|
||||
|
||||
$user->getrights('banque');
|
||||
|
||||
global $langs;
|
||||
|
||||
top_menu($head, $title);
|
||||
|
||||
$menu = new Menu();
|
||||
@ -42,7 +42,6 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/liste.php","Comptes généraux");
|
||||
|
||||
|
||||
left_menu($menu->liste, $help_url);
|
||||
}
|
||||
|
||||
|
||||
@ -116,8 +116,10 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/compta/ventilation/",$langs->trans("Ventilation"));
|
||||
|
||||
if ($user->rights->compta->ventilation->param)
|
||||
$menu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Param"));
|
||||
if ($user->rights->compta->ventilation->parametrer)
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Param"));
|
||||
}
|
||||
|
||||
|
||||
left_menu($menu->liste, $help_url);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user