Update page_footer.php

This commit is contained in:
Roman Kelesidis 2023-10-30 17:31:15 +07:00
parent 474130fd73
commit 9acbd7ab34

View File

@ -60,7 +60,7 @@ if ($show_dbg_info)
$stat .= "  |  ". $lang['LIMIT'] ." $l[0] $l[1] $l[2]"; $stat .= "  |  ". $lang['LIMIT'] ." $l[0] $l[1] $l[2]";
} }
$stat .= '  ]'; $stat .= '  ] |';
$stat .= !empty($_COOKIE['sql_log']) ? '&nbsp;[ <a href="#" class="med" onclick="$p(\'sqlLog\').className=\'sqlLog sqlLogWrapped\'; return false;">wrap</a> &middot; <a href="#sqlLog" class="med" onclick="$(\'#sqlLog\').css({ height: $(window).height()-50 }); return false;">max</a> ]&nbsp;|' : ''; $stat .= !empty($_COOKIE['sql_log']) ? '&nbsp;[ <a href="#" class="med" onclick="$p(\'sqlLog\').className=\'sqlLog sqlLogWrapped\'; return false;">wrap</a> &middot; <a href="#sqlLog" class="med" onclick="$(\'#sqlLog\').css({ height: $(window).height()-50 }); return false;">max</a> ]&nbsp;|' : '';
$stat .= ' $stat .= '
<label title="'. $lang['SHOW_LOG'] .'"><input type="checkbox" onclick="setCookie(\'sql_log\', this.checked ? 1 : 0); window.location.reload();" '. (!empty($_COOKIE['sql_log']) ? HTML_CHECKED : '') .' />'. $lang['SHOW_LOG'] .'</label>&nbsp;| <label title="'. $lang['SHOW_LOG'] .'"><input type="checkbox" onclick="setCookie(\'sql_log\', this.checked ? 1 : 0); window.location.reload();" '. (!empty($_COOKIE['sql_log']) ? HTML_CHECKED : '') .' />'. $lang['SHOW_LOG'] .'</label>&nbsp;|