New: Affiche prochaine valeur de numérotation 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>'.$langs->trans("Description").'</td>';
|
||||||
print '<td nowrap>'.$langs->trans("Example").'</td>';
|
print '<td nowrap>'.$langs->trans("Example").'</td>';
|
||||||
print '<td align="center" width="60">'.$langs->trans("Default").'</td>';
|
print '<td align="center" width="60">'.$langs->trans("Default").'</td>';
|
||||||
print '<td nowrap>'.$langs->trans("NextValue").'</td>';
|
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
@ -150,13 +149,16 @@ while (($file = readdir($handle))!==false)
|
|||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if ($facture_addon_var == "$file")
|
if ($facture_addon_var == "$file")
|
||||||
{
|
{
|
||||||
print img_tick();
|
$title='';
|
||||||
print "</td><td nowrap>".$obj->getNextValue()."</td>\n";
|
if ($obj->getNextValue() != $langs->trans("NotAvailable"))
|
||||||
|
{
|
||||||
|
$title=$langs->trans("NextValue").': '.$obj->getNextValue();
|
||||||
|
}
|
||||||
|
print img_tick($title);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<a href="facture.php?action=set&value='.$file.'">'.$langs->trans("Default").'</a>';
|
print '<a href="facture.php?action=set&value='.$file.'">'.$langs->trans("Default").'</a>';
|
||||||
print "</td><td nowrap> </td>\n";
|
|
||||||
}
|
}
|
||||||
print "</td></tr>\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("Name")."</td>\n";
|
||||||
print '<td>'.$langs->trans("Description")."</td>\n";
|
print '<td>'.$langs->trans("Description")."</td>\n";
|
||||||
print '<td nowrap>'.$langs->trans("Example")."</td>\n";
|
print '<td nowrap>'.$langs->trans("Example")."</td>\n";
|
||||||
print '<td align="center" width="60">'.$langs->trans("Activated")."</td>\n";
|
print '<td align="center" width="60">'.$langs->trans("Activated").'</td>';
|
||||||
print '<td nowrap>'.$langs->trans("NextValue")."</td>\n";
|
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
@ -152,18 +151,21 @@ if ($handle)
|
|||||||
print "\n <td>".$modPropale->info()."</td>\n";
|
print "\n <td>".$modPropale->info()."</td>\n";
|
||||||
print "\n <td nowrap>".$modPropale->getExample()."</td>\n";
|
print "\n <td nowrap>".$modPropale->getExample()."</td>\n";
|
||||||
|
|
||||||
|
print '<td align="center">';
|
||||||
if ($propale_addon_var == "$file")
|
if ($propale_addon_var == "$file")
|
||||||
{
|
{
|
||||||
print '<td align="center">';
|
$title='';
|
||||||
print img_tick();
|
if ($modPropale->getNextValue() != $langs->trans("NotAvailable"))
|
||||||
print '</td>';
|
{
|
||||||
print "\n <td nowrap>".$modPropale->getNextValue()."</td>\n";
|
$title=$langs->trans("NextValue").': '.$modPropale->getNextValue();
|
||||||
|
}
|
||||||
|
print img_tick($title);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print "<td align=\"center\"><a href=\"propale.php?action=setmod&value=".$file."\">".$langs->trans("Activate")."</a></td>\n";
|
print "<a href=\"propale.php?action=setmod&value=".$file."\">".$langs->trans("Activate")."</a>";
|
||||||
print "\n <td nowrap> </td>\n";
|
|
||||||
}
|
}
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
|
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user