Qual: nowrap="nowrap" is replaced with a CSS class style .nowrap

This commit is contained in:
Laurent Destailleur
2013-04-25 01:13:13 +02:00
parent 4a0c6c425e
commit 4e0ef01389
152 changed files with 563 additions and 526 deletions

View File

@@ -234,7 +234,7 @@ print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td>'.$langs->trans("Name").'</td>';
print '<td>'.$langs->trans("Description").'</td>';
print '<td nowrap="nowrap">'.$langs->trans("Example").'</td>';
print '<td class="nowrap">'.$langs->trans("Example").'</td>';
print '<td align="center" width="60">'.$langs->trans("Status").'</td>';
print '<td align="center" width="16">'.$langs->trans("Infos").'</td>';
print '</tr>'."\n";
@@ -274,7 +274,7 @@ foreach ($dirmodels as $reldir)
print '</td>';
// Show example of numbering model
print '<td nowrap="nowrap">';
print '<td class="nowrap">';
$tmp=$module->getExample();
if (preg_match('/^Error/',$tmp)) print '<div class="error">'.$langs->trans($tmp).'</div>';
elseif ($tmp=='NotConfigured') print $langs->trans($tmp);