mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 15:16:44 +02:00
Swap ' and "
This commit is contained in:
@@ -354,7 +354,7 @@ if (!$columns && support("table")) {
|
|||||||
echo "<th id='th[" . h(bracket_escape($key)) . "]'>" . script("mixin(qsl('th'), {onmouseover: partial(columnMouse), onmouseout: partial(columnMouse, ' hidden')});", "");
|
echo "<th id='th[" . h(bracket_escape($key)) . "]'>" . script("mixin(qsl('th'), {onmouseover: partial(columnMouse), onmouseout: partial(columnMouse, ' hidden')});", "");
|
||||||
$fun = apply_sql_function($val["fun"], $name); //! columns looking like functions
|
$fun = apply_sql_function($val["fun"], $name); //! columns looking like functions
|
||||||
$sortable = isset($field["privileges"]["order"]) || $fun;
|
$sortable = isset($field["privileges"]["order"]) || $fun;
|
||||||
echo ($sortable ? '<a href="' . h($href . ($order[0] == $column || $order[0] == $key || (!$order && $is_group && $group[0] == $column) ? $desc : '')) . '">' . "$fun</a>" : $fun); // $order[0] == $key - COUNT(*)
|
echo ($sortable ? "<a href='" . h($href . ($order[0] == $column || $order[0] == $key || (!$order && $is_group && $group[0] == $column) ? $desc : '')) . "'>$fun</a>" : $fun); // $order[0] == $key - COUNT(*)
|
||||||
echo "<span class='column hidden'>";
|
echo "<span class='column hidden'>";
|
||||||
if ($sortable) {
|
if ($sortable) {
|
||||||
echo "<a href='" . h($href . $desc) . "' title='" . lang('descending') . "' class='text'> ↓</a>";
|
echo "<a href='" . h($href . $desc) . "' title='" . lang('descending') . "' class='text'> ↓</a>";
|
||||||
|
Reference in New Issue
Block a user