New: Affiche prochaine valeur de numrotation dans le alt du tick de la page de configuration (si disponible).
This commit is contained in:
parent
1b3da4a138
commit
01760772fc
@ -116,7 +116,6 @@ print '<td>'.$langs->trans("Name").'</td>';
|
||||
print '<td>'.$langs->trans("Description").'</td>';
|
||||
print '<td nowrap>'.$langs->trans("Example").'</td>';
|
||||
print '<td align="center" width="60">'.$langs->trans("Default").'</td>';
|
||||
print '<td nowrap>'.$langs->trans("NextValue").'</td>';
|
||||
print '</tr>'."\n";
|
||||
|
||||
clearstatcache();
|
||||
@ -150,13 +149,16 @@ while (($file = readdir($handle))!==false)
|
||||
print '<td align="center">';
|
||||
if ($facture_addon_var == "$file")
|
||||
{
|
||||
print img_tick();
|
||||
print "</td><td nowrap>".$obj->getNextValue()."</td>\n";
|
||||
$title='';
|
||||
if ($obj->getNextValue() != $langs->trans("NotAvailable"))
|
||||
{
|
||||
$title=$langs->trans("NextValue").': '.$obj->getNextValue();
|
||||
}
|
||||
print img_tick($title);
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a href="facture.php?action=set&value='.$file.'">'.$langs->trans("Default").'</a>';
|
||||
print "</td><td nowrap> </td>\n";
|
||||
}
|
||||
print "</td></tr>\n";
|
||||
}
|
||||
|
||||
@ -127,8 +127,7 @@ print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Name")."</td>\n";
|
||||
print '<td>'.$langs->trans("Description")."</td>\n";
|
||||
print '<td nowrap>'.$langs->trans("Example")."</td>\n";
|
||||
print '<td align="center" width="60">'.$langs->trans("Activated")."</td>\n";
|
||||
print '<td nowrap>'.$langs->trans("NextValue")."</td>\n";
|
||||
print '<td align="center" width="60">'.$langs->trans("Activated").'</td>';
|
||||
print '</tr>'."\n";
|
||||
|
||||
clearstatcache();
|
||||
@ -152,18 +151,21 @@ if ($handle)
|
||||
print "\n <td>".$modPropale->info()."</td>\n";
|
||||
print "\n <td nowrap>".$modPropale->getExample()."</td>\n";
|
||||
|
||||
print '<td align="center">';
|
||||
if ($propale_addon_var == "$file")
|
||||
{
|
||||
print '<td align="center">';
|
||||
print img_tick();
|
||||
print '</td>';
|
||||
print "\n <td nowrap>".$modPropale->getNextValue()."</td>\n";
|
||||
$title='';
|
||||
if ($modPropale->getNextValue() != $langs->trans("NotAvailable"))
|
||||
{
|
||||
$title=$langs->trans("NextValue").': '.$modPropale->getNextValue();
|
||||
}
|
||||
print img_tick($title);
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<td align=\"center\"><a href=\"propale.php?action=setmod&value=".$file."\">".$langs->trans("Activate")."</a></td>\n";
|
||||
print "\n <td nowrap> </td>\n";
|
||||
print "<a href=\"propale.php?action=setmod&value=".$file."\">".$langs->trans("Activate")."</a>";
|
||||
}
|
||||
print '</td>';
|
||||
|
||||
|
||||
print "</tr>\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user