Files
webgui/plugins/dynamix/Vars.page
2018-09-04 18:08:46 +02:00

38 lines
1.0 KiB
Plaintext

Menu="WebGui"
Title="Vars"
Tag="list"
---
<?PHP
/* Copyright 2005-2017, Lime Technology
* Copyright 2012-2017, 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-320,330)).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'>").htmlspecialchars(print_r($GLOBALS,true))."</pre>";
?>
<input type="button" value="Done" onclick="done()">