Task #1151 - Amélioration configuration des menus

Ergonomy change easily the menu and configuration + SQL for upgrade
This commit is contained in:
Dany De Bontridder 2015-08-20 00:38:05 +02:00
parent 8bfc0678a8
commit 60207bf50e
20 changed files with 1213 additions and 780 deletions

View file

@ -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++)