Application version string * @var string $setGITVersion from prepend_adm.php -> Application GIT subversion string */ /* Path settings */ $preRelPath = strstr(filter_input(INPUT_SERVER, 'PHP_SELF'), 'admin.php', true); $preBasePath = strstr(filter_input(INPUT_SERVER, 'SCRIPT_FILENAME'), 'admin.php', true); /* Define common variables */ $prePageId = 1; $preContent = 'admin/mainpages.htm.tpl'; $preAccess = 1; $preFieldvars = 1; /* Include preprocessing files */ require $preBasePath . 'functions/prepend_adm.php'; require $preBasePath . 'functions/prepend_content.php'; /* Include Content */ $conttp->setVariable('TITLE', translate('NagiosQL Administration')); $conttp->parse('header'); $conttp->show('header'); $conttp->setVariable('DESC', translate('Welcome to NagiosQL, the administration module that can be used to easily ' . 'create, modify and delete configuration files for Nagios. The data is stored in a database ' . 'and can be written directly to the standard files at any time you want.')); $conttp->parse('main'); $conttp->show('main'); /* Include footer */ $maintp->setVariable('VERSION_INFO', "NagiosQL $setFileVersion - GIT Version: $setGITVersion"); $maintp->parse('footer'); $maintp->show('footer');