forked from Wavyzz/dolibarr
Merge remote-tracking branch 'origin/3.7' into develop
Conflicts: htdocs/admin/tools/eaccelerator.php htdocs/fourn/class/fournisseur.commande.class.php htdocs/fourn/commande/dispatch.php
This commit is contained in:
@@ -97,7 +97,7 @@ function compare($x, $y)
|
||||
*/
|
||||
function revcompare($x, $y)
|
||||
{
|
||||
global $sortby, $langs;
|
||||
global $sortby;
|
||||
|
||||
if ($x[$sortby] == $y[$sortby]) {
|
||||
return 0;
|
||||
@@ -146,16 +146,16 @@ function create_script_table($list)
|
||||
if($sortby == "file")
|
||||
print ($order == "asc" ? "↓" : "↑").'</th>';
|
||||
print '<th><a href="'.$_SERVER['PHP_SELF'].'?sort=mtime&order='.($order == "asc" ? "desc" : "asc").'">'.$langs->trans("Date").'</a> ';
|
||||
if($sortby == "mtime")
|
||||
if($sortby == "mtime")
|
||||
print ($order == "asc" ? "↓" : "↑").'</th>';
|
||||
print '<th><a href="'.$_SERVER['PHP_SELF'].'?sort=size&order='.($order == "asc" ? "desc" : "asc").'">'.$langs->trans("Size").'</a> ';
|
||||
if($sortby == "size")
|
||||
if($sortby == "size")
|
||||
print ($order == "asc" ? "↓" : "↑").'</th>';
|
||||
print '<th><a href="'.$_SERVER['PHP_SELF'].'?sort=reloads&order='.($order == "asc" ? "desc" : "asc").'">'.$langs->trans("Reloads").'</a> ';
|
||||
if($sortby == "reloads")
|
||||
if($sortby == "reloads")
|
||||
print ($order == "asc" ? "↓" : "↑").'</th>';
|
||||
print '<th><a href="'.$_SERVER['PHP_SELF'].'?sort=hits&order='.($order == "asc" ? "desc" : "asc").'">'.$langs->trans("Hits").'</a> ';
|
||||
if($sortby == "hits")
|
||||
if($sortby == "hits")
|
||||
print ($order == "asc" ? "↓" : "↑").'</th>';
|
||||
print '</tr>';
|
||||
switch ($sortby) {
|
||||
|
||||
Reference in New Issue
Block a user