For the "default" field, we keep usa of standard on and off button because it is not a feature we activate or not but a choice of one line among others. I will change this later to replace with a checkbox.

This commit is contained in:
Laurent Destailleur 2011-08-31 18:12:44 +00:00
parent e93a11e64a
commit b309df16a2
2 changed files with 17 additions and 17 deletions

View File

@ -440,12 +440,12 @@ foreach ($conf->file->dol_document_root as $dirroot)
print "<td align=\"center\">"; print "<td align=\"center\">";
if ($conf->global->COMMANDE_ADDON_PDF == "$name") if ($conf->global->COMMANDE_ADDON_PDF == "$name")
{ {
print img_picto($langs->trans("Yes"),'switch_on'); print img_picto($langs->trans("Yes"),'on');
} }
else else
{ {
print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&amp;value='.$name.'&amp;scandir='.$module->scandir.'&amp;label='.urlencode($module->name).'">'; print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&amp;value='.$name.'&amp;scandir='.$module->scandir.'&amp;label='.urlencode($module->name).'">';
print img_picto($langs->trans("No"),'switch_off'); print img_picto($langs->trans("No"),'off');
print '</a>'; print '</a>';
} }
print '</td>'; print '</td>';

View File

@ -461,12 +461,12 @@ foreach ($conf->file->dol_document_root as $dirroot)
print '<td align="center">'; print '<td align="center">';
if ($conf->global->PROPALE_ADDON_PDF == "$name") if ($conf->global->PROPALE_ADDON_PDF == "$name")
{ {
print img_picto($langs->trans("Yes"),'switch_on'); print img_picto($langs->trans("Yes"),'on');
} }
else else
{ {
print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&amp;value='.$name.'&amp;scandir='.$module->scandir.'&amp;label='.urlencode($module->name).'">'; print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&amp;value='.$name.'&amp;scandir='.$module->scandir.'&amp;label='.urlencode($module->name).'">';
print img_picto($langs->trans("No"),'switch_off'); print img_picto($langs->trans("No"),'off');
print '</a>'; print '</a>';
} }
print '</td>'; print '</td>';