mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-28 10:19:04 +01:00
33 lines
496 B
PHP
33 lines
496 B
PHP
<?php
|
|
|
|
require_once("inc/auth.php");
|
|
|
|
$disp = Service::ConfigDispData();
|
|
|
|
$page = DPageDef::GetPage($disp);
|
|
UI::PrintConfPage($disp, $page);
|
|
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
pageSetUp();
|
|
|
|
var pagefunction = function() {
|
|
// clears memory even if nothing is in the function
|
|
|
|
<?php
|
|
if (Service::HasChanged()) { ?>
|
|
var span = $("#ribbon span");
|
|
if (span.hasClass("hide"))
|
|
span.removeClass("hide");
|
|
<?php } ?>
|
|
};
|
|
|
|
// end pagefunction
|
|
|
|
// run pagefunction on load
|
|
pagefunction();
|
|
|
|
</script>
|