Imported Upstream version 3.4.0
This commit is contained in:
@@ -5,39 +5,41 @@
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// (c) 2005-2017 by Martin Willisegger
|
||||
// (c) 2005-2018 by Martin Willisegger
|
||||
//
|
||||
// Project : NagiosQL
|
||||
// Component : Tools overview
|
||||
// Website : http://www.nagiosql.org
|
||||
// Date : $LastChangedDate: 2017-06-22 09:29:35 +0200 (Thu, 22 Jun 2017) $
|
||||
// Author : $LastChangedBy: martin $
|
||||
// Version : 3.3.0
|
||||
// Revision : $LastChangedRevision: 2 $
|
||||
// Website : https://sourceforge.net/projects/nagiosql/
|
||||
// Version : 3.4.0
|
||||
// GIT Repo : https://gitlab.com/wizonet/NagiosQL
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Path settings
|
||||
// ===================
|
||||
$strPattern = '(admin/[^/]*.php)';
|
||||
$preRelPath = preg_replace($strPattern, '', filter_input(INPUT_SERVER, 'PHP_SELF', FILTER_SANITIZE_STRING));
|
||||
$preBasePath = preg_replace($strPattern, '', filter_input(INPUT_SERVER, 'SCRIPT_FILENAME', FILTER_SANITIZE_STRING));
|
||||
//
|
||||
// Define common variables
|
||||
// =======================
|
||||
$prePageId = 6;
|
||||
$preContent = "admin/mainpages.tpl.htm";
|
||||
$prePageId = 6;
|
||||
$preContent = 'admin/mainpages.htm.tpl';
|
||||
//
|
||||
// Include preprocessing file
|
||||
// ==========================
|
||||
require("../functions/prepend_adm.php");
|
||||
require $preBasePath.'functions/prepend_adm.php';
|
||||
//
|
||||
// Include content
|
||||
// ===============
|
||||
$conttp->setVariable("TITLE",translate('Different tools'));
|
||||
$conttp->parse("header");
|
||||
$conttp->show("header");
|
||||
$conttp->setVariable("DESC",translate('Useful functions for data import, main configuration, daemon control and so on.'));
|
||||
$conttp->parse("main");
|
||||
$conttp->show("main");
|
||||
$conttp->setVariable('TITLE', translate('Different tools'));
|
||||
$conttp->setVariable('DESC', translate('Useful functions for data import, main configuration, daemon control, etc.'));
|
||||
$conttp->parse('main');
|
||||
$conttp->show('main');
|
||||
//
|
||||
// Include Footer
|
||||
// ==============
|
||||
$maintp->setVariable("VERSION_INFO","<a href='http://www.nagiosql.org' target='_blank'>NagiosQL</a> $setFileVersion");
|
||||
$maintp->parse("footer");
|
||||
$maintp->show("footer");
|
||||
?>
|
||||
$maintp->setVariable('VERSION_INFO', "<a href='https://sourceforge.net/projects/nagiosql/' "
|
||||
. "target='_blank'>NagiosQL</a> $setFileVersion");
|
||||
$maintp->parse('footer');
|
||||
$maintp->show('footer');
|
||||
|
||||
Reference in New Issue
Block a user