mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
37 lines
1020 B
Plaintext
37 lines
1020 B
Plaintext
Menu="WebGui"
|
|
Title="Vars"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2016, Lime Technology
|
|
* Copyright 2012-2016, Bergware International.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
<?if ($display['resize']):?>
|
|
<script>
|
|
function resize() {
|
|
$('pre.up').height(Math.max(window.innerHeight-280,370)).show();
|
|
}
|
|
$(function() {
|
|
resize();
|
|
$(window).bind('resize',function(){resize();});
|
|
});
|
|
</script>
|
|
<?endif;?>
|
|
<?
|
|
foreach ($site as &$page) $page['text'] = '...';
|
|
$myPage['text'] = '...';
|
|
$pages['Vars']['text'] = '...';
|
|
$text = '...';
|
|
ksort($site);
|
|
ksort($GLOBALS);
|
|
echo ($display['resize'] ? "<pre class='up' style='display:none'>" : "<pre class='up'>").print_r($GLOBALS,true)."</pre>";
|
|
?>
|
|
<input type="button" value="Done" onclick="done()">
|