Fix: Disable menu entry of a not avilable feature

This commit is contained in:
Laurent Destailleur 2013-01-08 18:53:45 +01:00
parent 53df0766cb
commit b7a5e226c9
2 changed files with 4 additions and 2 deletions

View File

@ -170,6 +170,7 @@ class modECM extends DolibarrModules
'user'=>2); // 0=Menu for internal users, 1=external users, 2=both
$r++;
/*
$this->menu[$r]=array('fk_menu'=>'r=1',
'type'=>'left',
'titre'=>'Search',
@ -181,7 +182,8 @@ class modECM extends DolibarrModules
'enabled'=>'$user->rights->ecm->read',
'target'=>'',
'user'=>2); // 0=Menu for internal users, 1=external users, 2=both
$r++;
$r++;*/
}

View File

@ -1848,7 +1848,7 @@ div.titre {
font-weight: bold;
color: rgb(<?php print $colortext; ?>);
text-decoration: none;
text-shadow: 1px 1px 2px #CFCFCF;
text-shadow: 1px 1px 2px #FFFFfF;
}
#dolpaymenttable { width: 600px; font-size: 13px; }