mirror of
https://github.com/vrana/adminer.git
synced 2026-03-06 20:41:30 +01:00
Fix compile
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@651 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -235,9 +235,10 @@ if (!$columns) {
|
||||
$pos2 = max(array_keys($_GET["order"]));
|
||||
$pos2 += ($pos2 !== $pos ? 1 : 0);
|
||||
}
|
||||
echo '<th onmouseover="popup(this);" onmouseout="popdown(this);"><a href="' . htmlspecialchars(remove_from_uri('(order|desc)[^=]*') . '&order%5B0%5D=' . urlencode($key) . ($_GET["order"][0] === $key && !$_GET["desc"][0] ? '&desc%5B0%5D=1' : '')) . '">' . htmlspecialchars($key) . '</a>';
|
||||
echo '<span class="hidden"><a href="' . htmlspecialchars("$uri&order%5B$pos2%5D=" . urlencode($key)) . '"><img src="up.gif" alt="^" title="' . lang('ASC') . '" /></a>';
|
||||
echo '<a href="' . htmlspecialchars("$uri&order%5B$pos2%5D=" . urlencode($key) . "&desc%5B$pos2") . '%5D=1"><img src="down.gif" alt="v" title="' . lang('DESC') . '" /></a></span></th>';
|
||||
echo '<th onmouseover="popup(this);" onmouseout="popdown(this);"><a href="' . htmlspecialchars(remove_from_uri('(order|desc)[^=]*') . '&order%5B0%5D=' . urlencode($key) . ($_GET["order"][0] === $key && !$_GET["desc"][0] ? '&desc%5B0%5D=1' : '')) . '">' . htmlspecialchars($key) . '</a><span class="hidden">';
|
||||
echo '<a href="' . htmlspecialchars("$uri&order%5B$pos2%5D=" . urlencode($key)) . "\"><img src='up.gif' alt='^' title='" . lang('ASC') . "' /></a>";
|
||||
echo '<a href="' . htmlspecialchars("$uri&order%5B$pos2%5D=" . urlencode($key) . "&desc%5B$pos2%5D=1") . "\"><img src='down.gif' alt='v' title='" . lang('DESC') . "' /></a>";
|
||||
echo '</span></th>';
|
||||
}
|
||||
echo "</tr></thead>\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user