update with html5 compliant code

This commit is contained in:
Philippe GRAND 2019-02-19 17:42:12 +01:00
parent 047ec90d78
commit d83b77432d
3 changed files with 10 additions and 10 deletions

View File

@ -101,7 +101,7 @@ oListManager.GetFileRowHtml = function( fileName, fileUrl, fileSize )
sLink + sLink +
fileName + fileName +
'<\/a>' + '<\/a>' +
'<\/td><td align="right" class="nowrap">&nbsp;' + '<\/td><td class="nowrap right">&nbsp;' +
fileSize + fileSize +
' KB' + ' KB' +
'<\/td><\/tr>' ; '<\/td><\/tr>' ;

View File

@ -367,7 +367,7 @@ function run_sql($sqlfile, $silent = 1, $entity = '', $usesavepoint = 1, $handle
$listofinsertedrowid[$cursorinsert]=$insertedrowid; $listofinsertedrowid[$cursorinsert]=$insertedrowid;
dol_syslog('Admin.lib::run_sql Insert nb '.$cursorinsert.', done in table '.$table.', rowid is '.$listofinsertedrowid[$cursorinsert], LOG_DEBUG); dol_syslog('Admin.lib::run_sql Insert nb '.$cursorinsert.', done in table '.$table.', rowid is '.$listofinsertedrowid[$cursorinsert], LOG_DEBUG);
} }
// print '<td align="right">OK</td>'; // print '<td class="right">OK</td>';
} }
else else
{ {
@ -410,13 +410,13 @@ function run_sql($sqlfile, $silent = 1, $entity = '', $usesavepoint = 1, $handle
if ($error == 0) if ($error == 0)
{ {
if (! $silent) print '<tr><td>'.$langs->trans("ProcessMigrateScript").'</td>'; if (! $silent) print '<tr><td>'.$langs->trans("ProcessMigrateScript").'</td>';
if (! $silent) print '<td align="right">'.$langs->trans("OK").'</td></tr>'."\n"; if (! $silent) print '<td class="right">'.$langs->trans("OK").'</td></tr>'."\n";
$ok = 1; $ok = 1;
} }
else else
{ {
if (! $silent) print '<tr><td>'.$langs->trans("ProcessMigrateScript").'</td>'; if (! $silent) print '<tr><td>'.$langs->trans("ProcessMigrateScript").'</td>';
if (! $silent) print '<td align="right"><font class="error">'.$langs->trans("KO").'</font></td></tr>'."\n"; if (! $silent) print '<td class="right"><font class="error">'.$langs->trans("KO").'</font></td></tr>'."\n";
$ok = 0; $ok = 0;
} }

View File

@ -239,7 +239,7 @@ function show_array_actions_to_do($max = 5)
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("LastActionsToDo", $max).'</th>'; print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("LastActionsToDo", $max).'</th>';
print '<th colspan="2" align="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/comm/action/list.php?status=todo">'.$langs->trans("FullList").'</a></th>'; print '<th colspan="2" class="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/comm/action/list.php?status=todo">'.$langs->trans("FullList").'</a></th>';
print '</tr>'; print '</tr>';
$var = true; $var = true;
@ -276,7 +276,7 @@ function show_array_actions_to_do($max = 5)
$datep2=$db->jdate($obj->dp2); $datep2=$db->jdate($obj->dp2);
// Date // Date
print '<td width="100" align="right">'.dol_print_date($datep, 'day').'&nbsp;'; print '<td width="100" class="right">'.dol_print_date($datep, 'day').'&nbsp;';
$late=0; $late=0;
if ($obj->percent == 0 && $datep && $datep < time()) $late=1; if ($obj->percent == 0 && $datep && $datep < time()) $late=1;
if ($obj->percent == 0 && ! $datep && $datep2 && $datep2 < time()) $late=1; if ($obj->percent == 0 && ! $datep && $datep2 && $datep2 < time()) $late=1;
@ -286,7 +286,7 @@ function show_array_actions_to_do($max = 5)
print "</td>"; print "</td>";
// Statut // Statut
print "<td align=\"right\" width=\"14\">".$staticaction->LibStatut($obj->percent, 3)."</td>\n"; print '<td class="right" width="14">'.$staticaction->LibStatut($obj->percent, 3)."</td>\n";
print "</tr>\n"; print "</tr>\n";
@ -336,7 +336,7 @@ function show_array_last_actions_done($max = 5)
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("LastDoneTasks", $max).'</th>'; print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("LastDoneTasks", $max).'</th>';
print '<th colspan="2" align="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/comm/action/list.php?status=done">'.$langs->trans("FullList").'</a></th>'; print '<th colspan="2" class="right"><a class="commonlink" href="'.DOL_URL_ROOT.'/comm/action/list.php?status=done">'.$langs->trans("FullList").'</a></th>';
print '</tr>'; print '</tr>';
$var = true; $var = true;
$i = 0; $i = 0;
@ -369,11 +369,11 @@ function show_array_last_actions_done($max = 5)
print '</td>'; print '</td>';
// Date // Date
print '<td width="100" align="right">'.dol_print_date($db->jdate($obj->da2), 'day'); print '<td width="100" class="right">'.dol_print_date($db->jdate($obj->da2), 'day');
print "</td>"; print "</td>";
// Statut // Statut
print "<td align=\"right\" width=\"14\">".$staticaction->LibStatut($obj->percent, 3)."</td>\n"; print "<td class=\"right\" width=\"14\">".$staticaction->LibStatut($obj->percent, 3)."</td>\n";
print "</tr>\n"; print "</tr>\n";
$i++; $i++;