status_table_list(); exit; } if (isset($_POST["EnableAmavisDaemon"])) { enable_amavis(); exit; } if (isset($_POST["disable-amavis"])) { disable_amavis(); exit; } if (isset($_GET["processes-popup"])) { processes_popup(); exit; } status_table(); function status_table() { $page = CurrentPageName(); $tpl = new templates(); $cpu = $tpl->_ENGINE_parse_body("{cpu}"); $type = $tpl->_ENGINE_parse_body("{type}"); $context = $tpl->_ENGINE_parse_body("{context}"); $events = $tpl->_ENGINE_parse_body("{events}"); $processes = $tpl->_ENGINE_parse_body("{processes}"); $empty_events_text_ask = $tpl->javascript_parse_text("{empty_events_text_ask}"); $sock = new sockets(); $jabberdhostname = $tpl->_ENGINE_parse_body("{jabberdhostname}"); $enable = $tpl->_ENGINE_parse_body("{enable}"); $member = $tpl->_ENGINE_parse_body("{member}"); $new_server = $tpl->_ENGINE_parse_body("{new_server}");
<?php } ?> <?php if (!empty($child_offices)) { status_table('Sub Agencies', $child_offices); } ?> </div> <hr> <?php include 'footer.php';
<?php } ?> </ul> </li> </ul> <?php $config = !empty($max_remote_size) ? array('max_remote_size' => $max_remote_size) : null; if (!empty($cfo_offices)) { if ($show_all_fields) { status_table_full('CFO Act Agencies', $cfo_offices, $tracker, $config, $milestone->selected_milestone, $milestone->specified); } elseif ($show_qa_fields) { status_table_qa('CFO Act Agencies', $cfo_offices, $tracker, $config, $section_breakdown, $milestone); } else { status_table('CFO Act Agencies', $cfo_offices, $tracker, $config, $section_breakdown, $milestone); } } if (!empty($executive_offices)) { status_table('Other Offices Reporting to the White House', $executive_offices, $config, $milestone->selected_milestone, $milestone->specified); } if (!empty($independent_offices)) { status_table('Other Independent Offices', $independent_offices, $config, $milestone->selected_milestone, $milestone->specified); } ?> </div> </div> <?php include 'footer.php';
<?php include_once('ressources/class.templates.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); $user=new usersMenus(); if(!$user->AsSquidAdministrator){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_POST["url_rewrite_children"])){save();exit;} if(isset($_GET["status"])){status_table();exit;} if(isset($_GET["status-search"])){status_search();exit;} js(); function js(){ header("content-type: application/x-javascript"); $tpl=new templates(); $page=CurrentPageName(); $title=$tpl->javascript_parse_text("{squid_redirectors}"); $html="YahooWin2('990','$page?tabs=yes','$title')"; echo $html; }