2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2011-08-31 21:24:14 +00:00
parent e88eb91383
commit 9a66573193
4 changed files with 7 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ print '<td colspan="3">'.$langs->trans("Parameters").'</td>';
print '<td align="center" width="80">'.$langs->trans("Status").'</td>'; print '<td align="center" width="80">'.$langs->trans("Status").'</td>';
print '</tr>'; print '</tr>';
// hide unauthorized menu // Hide unauthorized menu
$var=!$var; $var=!$var;
print "<tr ".$bc[$var].">"; print "<tr ".$bc[$var].">";
print '<td colspan="3">'.$langs->trans("HideUnauthorizedMenu").'</td>'; print '<td colspan="3">'.$langs->trans("HideUnauthorizedMenu").'</td>';
@@ -118,7 +118,7 @@ if($conf->global->MAIN_MENU_HIDE_UNAUTHORIZED == 1)
print "</td>"; print "</td>";
print '</tr>'; print '</tr>';
// hide unauthorized menu // Use a flip-hide menu
if ($conf->global->MAIN_FEATURES_LEVEL > 0) if ($conf->global->MAIN_FEATURES_LEVEL > 0)
{ {
$var=!$var; $var=!$var;

View File

@@ -86,7 +86,7 @@ print "<table class=\"noborder\" width=\"100%\">\n";
print "<tr class=\"liste_titre\">\n"; print "<tr class=\"liste_titre\">\n";
print ' <td>'.$langs->trans("Description").'</td>'; print ' <td>'.$langs->trans("Description").'</td>';
print ' <td align="center">'.$langs->trans("Status").'</td>'; print ' <td align="center">'.$langs->trans("Status").'</td>';
print ' <td align="center" width="60">'.$langs->trans("Infos").'</td>'; //print ' <td align="center" width="80">'.$langs->trans("Infos").'</td>';
print "</tr>\n"; print "</tr>\n";
clearstatcache(); clearstatcache();
@@ -107,20 +107,20 @@ if (sizeof($workflowcodes) > 0)
if (! empty($conf->global->$code)) if (! empty($conf->global->$code))
{ {
print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=del'.$code.'">'; print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=del'.$code.'">';
print img_picto($langs->trans("Activated"),'on'); print img_picto($langs->trans("Activated"),'switch_on');
print '</a></td>'; print '</a></td>';
} }
else else
{ {
print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=set'.$code.'">'; print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=set'.$code.'">';
print img_picto($langs->trans("Disabled"),'off'); print img_picto($langs->trans("Disabled"),'switch_off');
print '</a></td>'; print '</a></td>';
} }
print '<td align="center">'; //print '<td align="center">';
//$s=$modCodeTiers->getToolTip($langs,$soc,-1); //$s=$modCodeTiers->getToolTip($langs,$soc,-1);
//print $form->textwithpicto('',$s,1); //print $form->textwithpicto('',$s,1);
print '</td>'; //print '</td>';
print '</tr>'; print '</tr>';
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 708 B