Task #1151 - Amélioration configuration des menus
Ergonomy change easily the menu and configuration + SQL for upgrade
This commit is contained in:
parent
8bfc0678a8
commit
60207bf50e
20 changed files with 1213 additions and 780 deletions
|
|
@ -27,7 +27,7 @@ global $g_user;
|
|||
$g_user=new User($cn);
|
||||
$g_user->Check();
|
||||
$g_user->check_dossier($_GET['gDossier']);
|
||||
$res=$cn->exec_sql("select code,description from get_profile_menu($1) where code ~* $2 or description ~* $3 limit 8",array($g_user->login,$_POST['acs'],$_POST['acs']));
|
||||
$res=$cn->exec_sql("select distinct code,description from get_profile_menu($1) where code ~* $2 or description ~* $3 limit 8",array($g_user->login,$_POST['acs'],$_POST['acs']));
|
||||
$nb=Database::num_row($res);
|
||||
echo "<ul>";
|
||||
for ($i = 0;$i< $nb;$i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue