Implementing the whole template system using Smarty. This commit includes movements of ROOT/js, ROOT/images, etc. to theme specific directories like templates/<THEME>/. If you are attemping to use your own templates you won't need to modify Froxlor's core files. This commit may require additional work.
Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
This commit is contained in:
@@ -100,23 +100,23 @@ function page_header() {
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="iso-8859-1" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="Default-Style" content="text/css" />
|
<meta http-equiv="Default-Style" content="text/css" />
|
||||||
<link rel="stylesheet" href="../templates/Froxlor/froxlor.css" />
|
<link rel="stylesheet" href="../templates/Froxlor/css/main.css" />
|
||||||
<!--[if IE]><link rel="stylesheet" href="../templates/Froxlor/froxlor_ie.css" /><![endif]-->
|
<!--[if IE]><link rel="stylesheet" href="../templates/Froxlor/css/main_ie.css" /><![endif]-->
|
||||||
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||||
<script type="text/javascript" src="../js/jquery.min.js"></script>
|
<script type="text/javascript" src="../templates/Froxlor/assets/js/jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="../templates/Froxlor/js/froxlor.js"></script>
|
<script type="text/javascript" src="../templates/Froxlor/assets/js/main.js"></script>
|
||||||
<title>Froxlor Server Management Panel - Installation</title>
|
<title>Froxlor Server Management Panel - Installation</title>
|
||||||
<style>
|
<style>
|
||||||
input {
|
input {
|
||||||
background: #dae7ee url('../images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px;
|
background: #dae7ee url('../templates/Froxlor/assets/img/icons/text_align_left.png') no-repeat 5px 4px;
|
||||||
}
|
}
|
||||||
input[type="password"] {
|
input[type="password"] {
|
||||||
background: #dae7ee url('../images/Froxlor/icons/password.png') no-repeat 4px 4px;
|
background: #dae7ee url('../templates/Froxlor/assets/img/icons/password.png') no-repeat 4px 4px;
|
||||||
}
|
}
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
background: #ccc url('../images/Froxlor/icons/button_ok.png') no-repeat 4px 8px;
|
background: #ccc url('../templates/Froxlor/assets/img/icons/button_ok.png') no-repeat 4px 8px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -154,13 +154,13 @@ function status_message($case, $text)
|
|||||||
|
|
||||||
function requirement_checks() {
|
function requirement_checks() {
|
||||||
|
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
page_header();
|
page_header();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<article class="install bradius">
|
<article class="install bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="../images/Froxlor/logo.png" alt="Froxlor Server Management Panel" />
|
<img src="../templates/Froxlor/assets/img/logo.png" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="installsec">
|
<section class="installsec">
|
||||||
@@ -520,7 +520,7 @@ if(isset($_POST['installstep'])
|
|||||||
?>
|
?>
|
||||||
<article class="install bradius">
|
<article class="install bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="../images/Froxlor/logo.png" alt="Froxlor Server Management Panel" />
|
<img src="../templates/Froxlor/assets/img/logo.png" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="installsec">
|
<section class="installsec">
|
||||||
@@ -841,7 +841,7 @@ else
|
|||||||
?>
|
?>
|
||||||
<article class="install bradius">
|
<article class="install bradius">
|
||||||
<header class="dark">
|
<header class="dark">
|
||||||
<img src="../images/Froxlor/logo.png" alt="Froxlor Server Management Panel" />
|
<img src="../templates/Froxlor/assets/img/logo.png" alt="Froxlor Server Management Panel" />
|
||||||
</header>
|
</header>
|
||||||
<section class="installsec">
|
<section class="installsec">
|
||||||
<h2><?php echo $lng['install']['language']; ?></h2>
|
<h2><?php echo $lng['install']['language']; ?></h2>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
|
function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
|
||||||
{
|
{
|
||||||
global $settings, $lng, $db;
|
global $settings, $lng, $db, $theme;
|
||||||
|
|
||||||
if(versionInUpdate($current_version, '0.9.4-svn2'))
|
if(versionInUpdate($current_version, '0.9.4-svn2'))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function ManageInstances()
|
private function ManageInstances()
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
$Question = false;
|
$Question = false;
|
||||||
|
|
||||||
//dont do anything if there is no instance
|
//dont do anything if there is no instance
|
||||||
@@ -170,7 +170,7 @@ class ApsParser
|
|||||||
//create table with contents based on instance status
|
//create table with contents based on instance status
|
||||||
if($Question != true)
|
if($Question != true)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
$Instances = '';
|
$Instances = '';
|
||||||
|
|
||||||
if((int)$this->userinfo['customers_see_all'] == 1)
|
if((int)$this->userinfo['customers_see_all'] == 1)
|
||||||
@@ -317,7 +317,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function ManagePackages()
|
private function ManagePackages()
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
$Question = false;
|
$Question = false;
|
||||||
|
|
||||||
if(isset($_POST['save']))
|
if(isset($_POST['save']))
|
||||||
@@ -611,7 +611,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function UploadNewPackages()
|
private function UploadNewPackages()
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
|
|
||||||
//define how many files can be uploaded at once
|
//define how many files can be uploaded at once
|
||||||
|
|
||||||
@@ -724,7 +724,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function SearchPackages()
|
private function SearchPackages()
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
$Error = 0;
|
$Error = 0;
|
||||||
$Ids = array();
|
$Ids = array();
|
||||||
$ShowAll = 0;
|
$ShowAll = 0;
|
||||||
@@ -852,7 +852,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function CustomerStatus($CustomerId)
|
private function CustomerStatus($CustomerId)
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
$Data = '';
|
$Data = '';
|
||||||
$Fieldname = '';
|
$Fieldname = '';
|
||||||
$Fieldvalue = '';
|
$Fieldvalue = '';
|
||||||
@@ -877,7 +877,7 @@ class ApsParser
|
|||||||
//skip if parse of xml has failed
|
//skip if parse of xml has failed
|
||||||
|
|
||||||
if($Xml == false)continue;
|
if($Xml == false)continue;
|
||||||
$Icon = './images/Classic/default.png';
|
$Icon = 'templates/'.$theme.'/assets/img/default.png';
|
||||||
|
|
||||||
$this->aps_version = isset($Xml->attributes()->version) ? (string)$Xml->attributes()->version : '1.0';
|
$this->aps_version = isset($Xml->attributes()->version) ? (string)$Xml->attributes()->version : '1.0';
|
||||||
|
|
||||||
@@ -1033,7 +1033,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function CreatePackageInstance($PackageId, $CustomerId)
|
private function CreatePackageInstance($PackageId, $CustomerId)
|
||||||
{
|
{
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
|
|
||||||
if(!self::IsValidPackageId($PackageId, true))return false;
|
if(!self::IsValidPackageId($PackageId, true))return false;
|
||||||
|
|
||||||
@@ -1141,7 +1141,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function CheckException($Category, $Item, $Value)
|
private function CheckException($Category, $Item, $Value)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
//search for element within system settings
|
//search for element within system settings
|
||||||
|
|
||||||
@@ -1164,7 +1164,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function CheckSubmappings($ParentMapping, $Url)
|
private function CheckSubmappings($ParentMapping, $Url)
|
||||||
{
|
{
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
$Error = array();
|
$Error = array();
|
||||||
|
|
||||||
//check for special PHP handler extensions
|
//check for special PHP handler extensions
|
||||||
@@ -1243,7 +1243,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function InstallNewPackage($Filename)
|
private function InstallNewPackage($Filename)
|
||||||
{
|
{
|
||||||
global $lng, $userinfo;
|
global $lng, $userinfo, $theme;
|
||||||
|
|
||||||
if(file_exists($Filename)
|
if(file_exists($Filename)
|
||||||
&& $Xml = self::GetXmlFromZip($Filename))
|
&& $Xml = self::GetXmlFromZip($Filename))
|
||||||
@@ -1726,7 +1726,7 @@ class ApsParser
|
|||||||
|
|
||||||
public function MainHandler($Action)
|
public function MainHandler($Action)
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action, $Id, $userinfo;
|
global $lng, $filename, $s, $page, $action, $Id, $userinfo, $theme;
|
||||||
|
|
||||||
//check for basic functions, classes and permissions
|
//check for basic functions, classes and permissions
|
||||||
|
|
||||||
@@ -2810,7 +2810,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function ShowPackageInstaller($PackageId, $WrongData, $CustomerId)
|
private function ShowPackageInstaller($PackageId, $WrongData, $CustomerId)
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
$Data = '';
|
$Data = '';
|
||||||
$Fieldname = '';
|
$Fieldname = '';
|
||||||
$Fieldvalue = '';
|
$Fieldvalue = '';
|
||||||
@@ -2838,7 +2838,7 @@ class ApsParser
|
|||||||
|
|
||||||
//icon for package
|
//icon for package
|
||||||
|
|
||||||
$Icon = './images/Classic/default.png';
|
$Icon = 'templates/'.$theme.'/img/default.png';
|
||||||
|
|
||||||
if($this->aps_version != '1.0')
|
if($this->aps_version != '1.0')
|
||||||
{
|
{
|
||||||
@@ -3231,7 +3231,7 @@ class ApsParser
|
|||||||
|
|
||||||
private function ShowPackageInfo($PackageId, $All = false)
|
private function ShowPackageInfo($PackageId, $All = false)
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action, $userinfo;
|
global $lng, $filename, $s, $page, $action, $userinfo, $theme;
|
||||||
$Data = '';
|
$Data = '';
|
||||||
$Fieldname = '';
|
$Fieldname = '';
|
||||||
$Fieldvalue = '';
|
$Fieldvalue = '';
|
||||||
@@ -3245,7 +3245,7 @@ class ApsParser
|
|||||||
//return if parse of xml file has failed
|
//return if parse of xml file has failed
|
||||||
|
|
||||||
if($Xml == false)return false;
|
if($Xml == false)return false;
|
||||||
$Icon = './images/Classic/default.png';
|
$Icon = 'templates/'.$theme.'/img/default.png';
|
||||||
|
|
||||||
$this->aps_version = isset($Xml->attributes()->version) ? (string)$Xml->attributes()->version : '1.0';
|
$this->aps_version = isset($Xml->attributes()->version) ? (string)$Xml->attributes()->version : '1.0';
|
||||||
|
|
||||||
@@ -3460,7 +3460,7 @@ class ApsParser
|
|||||||
*/
|
*/
|
||||||
private function InfoBox($Message, $Type = 0)
|
private function InfoBox($Message, $Type = 0)
|
||||||
{
|
{
|
||||||
global $lng, $filename, $s, $page, $action;
|
global $lng, $filename, $s, $page, $action, $theme;
|
||||||
//shows a box with informations
|
//shows a box with informations
|
||||||
eval("echo \"" . getTemplate("aps/infobox") . "\";");
|
eval("echo \"" . getTemplate("aps/infobox") . "\";");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ class db
|
|||||||
function query($query_str, $unbuffered = false, $suppress_error = false)
|
function query($query_str, $unbuffered = false, $suppress_error = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
global $numbqueries;
|
global $numbqueries, $theme;
|
||||||
|
|
||||||
if (!mysql_ping($this->link_id))
|
if (!mysql_ping($this->link_id))
|
||||||
{
|
{
|
||||||
@@ -349,7 +349,7 @@ class db
|
|||||||
|
|
||||||
function showerror($errormsg, $mysqlActive = true)
|
function showerror($errormsg, $mysqlActive = true)
|
||||||
{
|
{
|
||||||
global $filename;
|
global $filename, $theme;
|
||||||
|
|
||||||
$text = 'MySQL - Error: ' . str_replace("\n", "\t", $errormsg);
|
$text = 'MySQL - Error: ' . str_replace("\n", "\t", $errormsg);
|
||||||
if($mysqlActive)
|
if($mysqlActive)
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class htmlform
|
|||||||
|
|
||||||
public static function genHTMLForm($data = array())
|
public static function genHTMLForm($data = array())
|
||||||
{
|
{
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
$nob = false;
|
$nob = false;
|
||||||
|
|
||||||
self::$_form = '';
|
self::$_form = '';
|
||||||
|
|||||||
@@ -421,6 +421,8 @@ class paging
|
|||||||
|
|
||||||
function getHtmlArrowCode($baseurl, $field = '')
|
function getHtmlArrowCode($baseurl, $field = '')
|
||||||
{
|
{
|
||||||
|
global $theme;
|
||||||
|
|
||||||
if($field != ''
|
if($field != ''
|
||||||
&& isset($this->fields[$field]))
|
&& isset($this->fields[$field]))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ class ticket
|
|||||||
|
|
||||||
public function sendMail($customerid = - 1, $template_subject = null, $default_subject = null, $template_body = null, $default_body = null)
|
public function sendMail($customerid = - 1, $template_subject = null, $default_subject = null, $template_body = null, $default_body = null)
|
||||||
{
|
{
|
||||||
global $mail;
|
global $mail, $theme;
|
||||||
|
|
||||||
// Some checks are to be made here in the future
|
// Some checks are to be made here in the future
|
||||||
|
|
||||||
@@ -680,13 +680,13 @@ class ticket
|
|||||||
private function convertLatin1ToHtml($str)
|
private function convertLatin1ToHtml($str)
|
||||||
{
|
{
|
||||||
$html_entities = array (
|
$html_entities = array (
|
||||||
"<EFBFBD>" => "Ä",
|
"Ä" => "Ä",
|
||||||
"<EFBFBD>" => "ä",
|
"ä" => "ä",
|
||||||
"<EFBFBD>" => "Ö",
|
"Ö" => "Ö",
|
||||||
"<EFBFBD>" => "ö",
|
"ö" => "ö",
|
||||||
"<EFBFBD>" => "Ü",
|
"Ü" => "Ü",
|
||||||
"<EFBFBD>" => "ü",
|
"ü" => "ü",
|
||||||
"<EFBFBD>" => "ß"
|
"ß" => "ß"
|
||||||
/*
|
/*
|
||||||
* @TODO continue this table for all the special-characters
|
* @TODO continue this table for all the special-characters
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ function includeFunctions($dirname)
|
|||||||
|
|
||||||
function __autoload($classname)
|
function __autoload($classname)
|
||||||
{
|
{
|
||||||
global $libdirname;
|
global $libdirname, $theme;
|
||||||
findIncludeClass($libdirname . '/classes/', $classname);
|
findIncludeClass($libdirname . '/classes/', $classname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
function domainHasApsInstances($domainid = 0)
|
function domainHasApsInstances($domainid = 0)
|
||||||
{
|
{
|
||||||
global $db, $settings;
|
global $db, $settings, $theme;
|
||||||
|
|
||||||
if($settings['aps']['aps_active'] == '1')
|
if($settings['aps']['aps_active'] == '1')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function correctMysqlUsers($mysql_access_host_array)
|
function correctMysqlUsers($mysql_access_host_array)
|
||||||
{
|
{
|
||||||
global $db, $settings, $sql, $sql_root;
|
global $db, $settings, $sql, $sql_root, $theme;
|
||||||
|
|
||||||
foreach($sql_root as $mysql_server => $mysql_server_details)
|
foreach($sql_root as $mysql_server => $mysql_server_details)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
function maildirExists($result = null)
|
function maildirExists($result = null)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
if(is_array($result))
|
if(is_array($result))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
function makeChownWithNewStats($row)
|
function makeChownWithNewStats($row)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
// get correct user
|
// get correct user
|
||||||
if($settings['system']['mod_fcgid'] == '1' && isset($row['deactivated']) && $row['deactivated'] == '0')
|
if($settings['system']['mod_fcgid'] == '1' && isset($row['deactivated']) && $row['deactivated'] == '0')
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
function makePathfield($path, $uid, $gid, $fieldType, $value = '', $dom = false)
|
function makePathfield($path, $uid, $gid, $fieldType, $value = '', $dom = false)
|
||||||
{
|
{
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
|
|
||||||
$value = str_replace($path, '', $value);
|
$value = str_replace($path, '', $value);
|
||||||
$field = array();
|
$field = array();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
function safe_exec($exec_string, &$return_value = false)
|
function safe_exec($exec_string, &$return_value = false)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
//
|
//
|
||||||
// define allowed system commands
|
// define allowed system commands
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
function storeDefaultIndex($loginname = null, $destination = null, $logger = null, $force = false)
|
function storeDefaultIndex($loginname = null, $destination = null, $logger = null, $force = false)
|
||||||
{
|
{
|
||||||
global $db, $settings, $pathtophpfiles;
|
global $db, $settings, $pathtophpfiles, $theme;
|
||||||
|
|
||||||
if ($force
|
if ($force
|
||||||
|| (int)$settings['system']['store_index_file_subs'] == 1
|
|| (int)$settings['system']['store_index_file_subs'] == 1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function buildFormEx($form, $part = '')
|
function buildFormEx($form, $part = '')
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
$fields = '';
|
$fields = '';
|
||||||
|
|
||||||
if(validateFormDefinition($form))
|
if(validateFormDefinition($form))
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getFormFieldOutput($fieldname, $fielddata)
|
function getFormFieldOutput($fieldname, $fielddata)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
$returnvalue = '';
|
$returnvalue = '';
|
||||||
if(is_array($fielddata) && isset($fielddata['type']) && $fielddata['type'] != '' && function_exists('getFormFieldOutput' . ucfirst($fielddata['type'])))
|
if(is_array($fielddata) && isset($fielddata['type']) && $fielddata['type'] != '' && function_exists('getFormFieldOutput' . ucfirst($fielddata['type'])))
|
||||||
|
|||||||
@@ -19,14 +19,14 @@
|
|||||||
|
|
||||||
function getFormGroupOutput($groupname, $groupdetails)
|
function getFormGroupOutput($groupname, $groupdetails)
|
||||||
{
|
{
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
eval("\$group = \"" . getTemplate("settings/settings_group") . "\";");
|
eval("\$group = \"" . getTemplate("settings/settings_group") . "\";");
|
||||||
return $group;
|
return $group;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getFormOverviewGroupOutput($groupname, $groupdetails)
|
function getFormOverviewGroupOutput($groupname, $groupdetails)
|
||||||
{
|
{
|
||||||
global $lng, $settings, $filename, $s;
|
global $lng, $settings, $filename, $s, $theme;
|
||||||
|
|
||||||
$group = '';
|
$group = '';
|
||||||
$title = $groupdetails['title'];
|
$title = $groupdetails['title'];
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
function correctErrorDocument($errdoc = null)
|
function correctErrorDocument($errdoc = null)
|
||||||
{
|
{
|
||||||
global $settings, $idna_convert;
|
global $settings, $idna_convert, $theme;
|
||||||
|
|
||||||
if($errdoc !== null && $errdoc != '')
|
if($errdoc !== null && $errdoc != '')
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
function getNextCronjobs()
|
function getNextCronjobs()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$query = "SELECT `id`, `cronfile` FROM `".TABLE_PANEL_CRONRUNS."` WHERE `interval` <> '0' AND `isactive` = '1' AND (";
|
$query = "SELECT `id`, `cronfile` FROM `".TABLE_PANEL_CRONRUNS."` WHERE `interval` <> '0' AND `isactive` = '1' AND (";
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ function getNextCronjobs()
|
|||||||
|
|
||||||
function includeCronjobs($debugHandler, $pathtophpfiles)
|
function includeCronjobs($debugHandler, $pathtophpfiles)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
$cronjobs = getNextCronjobs();
|
$cronjobs = getNextCronjobs();
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ function includeCronjobs($debugHandler, $pathtophpfiles)
|
|||||||
|
|
||||||
function getIntervalOptions()
|
function getIntervalOptions()
|
||||||
{
|
{
|
||||||
global $db, $lng, $cronlog;
|
global $db, $lng, $cronlog, $theme;
|
||||||
|
|
||||||
$query = "SELECT DISTINCT `interval` FROM `" . TABLE_PANEL_CRONRUNS . "` ORDER BY `interval` ASC;";
|
$query = "SELECT DISTINCT `interval` FROM `" . TABLE_PANEL_CRONRUNS . "` ORDER BY `interval` ASC;";
|
||||||
$result = $db->query($query);
|
$result = $db->query($query);
|
||||||
@@ -110,7 +110,7 @@ function getIntervalOptions()
|
|||||||
|
|
||||||
function getCronjobsLastRun()
|
function getCronjobsLastRun()
|
||||||
{
|
{
|
||||||
global $db, $lng;
|
global $db, $lng, $theme;
|
||||||
|
|
||||||
$query = "SELECT `lastrun`, `desc_lng_key` FROM `".TABLE_PANEL_CRONRUNS."` WHERE `isactive` = '1' ORDER BY `cronfile` ASC";
|
$query = "SELECT `lastrun`, `desc_lng_key` FROM `".TABLE_PANEL_CRONRUNS."` WHERE `isactive` = '1' ORDER BY `cronfile` ASC";
|
||||||
$result = $db->query($query);
|
$result = $db->query($query);
|
||||||
@@ -135,7 +135,7 @@ function getCronjobsLastRun()
|
|||||||
|
|
||||||
function toggleCronStatus($module = null, $isactive = 0)
|
function toggleCronStatus($module = null, $isactive = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
if($isactive != 1) {
|
if($isactive != 1) {
|
||||||
$isactive = 0;
|
$isactive = 0;
|
||||||
@@ -148,7 +148,7 @@ function toggleCronStatus($module = null, $isactive = 0)
|
|||||||
|
|
||||||
function getOutstandingTasks()
|
function getOutstandingTasks()
|
||||||
{
|
{
|
||||||
global $db, $lng;
|
global $db, $lng, $theme;
|
||||||
|
|
||||||
$query = "SELECT * FROM `".TABLE_PANEL_TASKS."` ORDER BY `type` ASC";
|
$query = "SELECT * FROM `".TABLE_PANEL_TASKS."` ORDER BY `type` ASC";
|
||||||
$result = $db->query($query);
|
$result = $db->query($query);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
function createAWStatsConf($logFile, $siteDomain, $hostAliases, $customerDocroot, $awstats_params = array())
|
function createAWStatsConf($logFile, $siteDomain, $hostAliases, $customerDocroot, $awstats_params = array())
|
||||||
{
|
{
|
||||||
global $pathtophpfiles, $settings;
|
global $pathtophpfiles, $settings, $theme;
|
||||||
|
|
||||||
// Generation header
|
// Generation header
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
function customerHasPerlEnabled($cid = 0)
|
function customerHasPerlEnabled($cid = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
if($cid > 0)
|
if($cid > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
function domainHasMainSubDomains($id = 0)
|
function domainHasMainSubDomains($id = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$sql = "SELECT COUNT(`id`) as `mainsubs` FROM `".TABLE_PANEL_DOMAINS."` WHERE `ismainbutsubto` = '".(int)$id."'";
|
$sql = "SELECT COUNT(`id`) as `mainsubs` FROM `".TABLE_PANEL_DOMAINS."` WHERE `ismainbutsubto` = '".(int)$id."'";
|
||||||
$result = $db->query_first($sql);
|
$result = $db->query_first($sql);
|
||||||
@@ -47,7 +47,7 @@ function domainHasMainSubDomains($id = 0)
|
|||||||
*/
|
*/
|
||||||
function domainMainToSubExists($id = 0)
|
function domainMainToSubExists($id = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$sql = "SELECT `id` FROM `".TABLE_PANEL_DOMAINS."` WHERE `id` = '".(int)$id."'";
|
$sql = "SELECT `id` FROM `".TABLE_PANEL_DOMAINS."` WHERE `id` = '".(int)$id."'";
|
||||||
$result = $db->query_first($sql);
|
$result = $db->query_first($sql);
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
function generatePassword()
|
function generatePassword()
|
||||||
{
|
{
|
||||||
global $db, $settings;
|
global $db, $settings, $theme;
|
||||||
|
|
||||||
return substr(md5(uniqid(microtime(), 1)), 24, 10);
|
return substr(md5(uniqid(microtime(), 1)), 24, 10);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getAdmins($limit_resource = '')
|
function getAdmins($limit_resource = '')
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$additional_conditions = '';
|
$additional_conditions = '';
|
||||||
$additional_conditions_array = array();
|
$additional_conditions_array = array();
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getCustomerDetail($customerid, $varname)
|
function getCustomerDetail($customerid, $varname)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$query = 'SELECT `' . $db->escape($varname) . '` FROM `' . TABLE_PANEL_CUSTOMERS . '` WHERE `customerid` = \'' . (int)$customerid . '\'';
|
$query = 'SELECT `' . $db->escape($varname) . '` FROM `' . TABLE_PANEL_CUSTOMERS . '` WHERE `customerid` = \'' . (int)$customerid . '\'';
|
||||||
$customer = $db->query_first($query);
|
$customer = $db->query_first($query);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
function getCustomerIdByDomain($domain = null)
|
function getCustomerIdByDomain($domain = null)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$result = $db->query_first("SELECT `customerid` FROM `" . TABLE_PANEL_DOMAINS . "` WHERE `domain` = '".$domain."'");
|
$result = $db->query_first("SELECT `customerid` FROM `" . TABLE_PANEL_DOMAINS . "` WHERE `domain` = '".$domain."'");
|
||||||
if(is_array($result)
|
if(is_array($result)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getCustomers($limit_resource = '')
|
function getCustomers($limit_resource = '')
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$additional_conditions = '';
|
$additional_conditions = '';
|
||||||
$additional_conditions_array = array();
|
$additional_conditions_array = array();
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function getFilesystemQuota()
|
function getFilesystemQuota()
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
if ($settings['system']['diskquota_enabled'])
|
if ($settings['system']['diskquota_enabled'])
|
||||||
{
|
{
|
||||||
# Fetch all quota in the desired partition
|
# Fetch all quota in the desired partition
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getIpAddresses()
|
function getIpAddresses()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$query = 'SELECT `id`, `ip`, `port` FROM `' . TABLE_PANEL_IPSANDPORTS . '` ORDER BY `ip` ASC, `port` ASC';
|
$query = 'SELECT `id`, `ip`, `port` FROM `' . TABLE_PANEL_IPSANDPORTS . '` ORDER BY `ip` ASC, `port` ASC';
|
||||||
$result = $db->query($query);
|
$result = $db->query($query);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getIpPortCombinations($ssl = null)
|
function getIpPortCombinations($ssl = null)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$additional_conditions = '';
|
$additional_conditions = '';
|
||||||
$additional_conditions_array = array();
|
$additional_conditions_array = array();
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getLanguages()
|
function getLanguages()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$query = 'SELECT * FROM `' . TABLE_PANEL_LANGUAGE . '` ';
|
$query = 'SELECT * FROM `' . TABLE_PANEL_LANGUAGE . '` ';
|
||||||
$result = $db->query($query);
|
$result = $db->query($query);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
function getLoginNameByUid($uid = null)
|
function getLoginNameByUid($uid = null)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$result = $db->query_first("SELECT `loginname` FROM `" . TABLE_PANEL_CUSTOMERS . "` WHERE `guid` = '".(int)$uid."'");
|
$result = $db->query_first("SELECT `loginname` FROM `" . TABLE_PANEL_CUSTOMERS . "` WHERE `guid` = '".(int)$uid."'");
|
||||||
if(is_array($result)
|
if(is_array($result)
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
function getPhpConfigs()
|
function getPhpConfigs()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$query = 'SELECT * FROM `' . TABLE_PANEL_PHPCONFIGS . '` ';
|
$query = 'SELECT * FROM `' . TABLE_PANEL_PHPCONFIGS . '` ';
|
||||||
$result = $db->query($query, false, true);
|
$result = $db->query($query, false, true);
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
function getServerId() {
|
function getServerId() {
|
||||||
|
|
||||||
global $server_id;
|
global $server_id, $theme;
|
||||||
|
|
||||||
if(isset($server_id)
|
if(isset($server_id)
|
||||||
&& is_numeric($server_id)
|
&& is_numeric($server_id)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getSessionUserDetail($varname)
|
function getSessionUserDetail($varname)
|
||||||
{
|
{
|
||||||
global $userinfo;
|
global $userinfo, $theme;
|
||||||
|
|
||||||
if(isset($userinfo[$varname]))
|
if(isset($userinfo[$varname]))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
function inserttask($type, $param1 = '', $param2 = '', $param3 = '', $param4 = '')
|
function inserttask($type, $param1 = '', $param2 = '', $param3 = '', $param4 = '')
|
||||||
{
|
{
|
||||||
global $db, $settings;
|
global $db, $settings, $theme;
|
||||||
|
|
||||||
if($type == '1'
|
if($type == '1'
|
||||||
|| $type == '3'
|
|| $type == '3'
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
function isCustomerStdSubdomain($did = 0)
|
function isCustomerStdSubdomain($did = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
if($did > 0)
|
if($did > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
function loadConfigArrayDir()
|
function loadConfigArrayDir()
|
||||||
{
|
{
|
||||||
// Workaround until we use gettext
|
// Workaround until we use gettext
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
|
|
||||||
// we now use dynamic function parameters
|
// we now use dynamic function parameters
|
||||||
// so we can read from more than one directory
|
// so we can read from more than one directory
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
function openRootDB($debugHandler = false, $lockfile = false)
|
function openRootDB($debugHandler = false, $lockfile = false)
|
||||||
{
|
{
|
||||||
global $db_root;
|
global $db_root, $theme;
|
||||||
|
|
||||||
require dirname(dirname(dirname(__FILE__))).'/userdata.inc.php';
|
require dirname(dirname(dirname(__FILE__))).'/userdata.inc.php';
|
||||||
|
|
||||||
@@ -68,6 +68,6 @@ function openRootDB($debugHandler = false, $lockfile = false)
|
|||||||
|
|
||||||
function closeRootDB()
|
function closeRootDB()
|
||||||
{
|
{
|
||||||
global $db_root;
|
global $db_root, $theme;
|
||||||
if(isset($db_root)) unset($db_root);
|
if(isset($db_root)) unset($db_root);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
function updateCounters($returndebuginfo = false)
|
function updateCounters($returndebuginfo = false)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
$returnval = array();
|
$returnval = array();
|
||||||
|
|
||||||
if($returndebuginfo === true)
|
if($returndebuginfo === true)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
function updateToVersion($new_version = null)
|
function updateToVersion($new_version = null)
|
||||||
{
|
{
|
||||||
global $db, $settings;
|
global $db, $settings, $theme;
|
||||||
|
|
||||||
if($new_version !== null && $new_version != '')
|
if($new_version !== null && $new_version != '')
|
||||||
{
|
{
|
||||||
@@ -48,7 +48,7 @@ function updateToVersion($new_version = null)
|
|||||||
*/
|
*/
|
||||||
function isFroxlor()
|
function isFroxlor()
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
if(isset($settings['panel']['frontend'])
|
if(isset($settings['panel']['frontend'])
|
||||||
&& $settings['panel']['frontend'] == 'froxlor')
|
&& $settings['panel']['frontend'] == 'froxlor')
|
||||||
@@ -70,7 +70,7 @@ function isFroxlor()
|
|||||||
*/
|
*/
|
||||||
function isFroxlorVersion($to_check = null)
|
function isFroxlorVersion($to_check = null)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
if($settings['panel']['frontend'] == 'froxlor'
|
if($settings['panel']['frontend'] == 'froxlor'
|
||||||
&& $settings['panel']['version'] == $to_check)
|
&& $settings['panel']['version'] == $to_check)
|
||||||
@@ -92,7 +92,7 @@ function isFroxlorVersion($to_check = null)
|
|||||||
*/
|
*/
|
||||||
function hasUpdates($to_check = null)
|
function hasUpdates($to_check = null)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
if(!isset($settings['panel']['version'])
|
if(!isset($settings['panel']['version'])
|
||||||
|| $settings['panel']['version'] != $to_check)
|
|| $settings['panel']['version'] != $to_check)
|
||||||
@@ -115,7 +115,7 @@ function hasUpdates($to_check = null)
|
|||||||
*/
|
*/
|
||||||
function showUpdateStep($task = null, $needs_status = true)
|
function showUpdateStep($task = null, $needs_status = true)
|
||||||
{
|
{
|
||||||
global $updatelog, $filelog;
|
global $updatelog, $filelog, $theme;
|
||||||
|
|
||||||
// output
|
// output
|
||||||
echo $task;
|
echo $task;
|
||||||
@@ -141,7 +141,7 @@ function showUpdateStep($task = null, $needs_status = true)
|
|||||||
*/
|
*/
|
||||||
function lastStepStatus($status = -1, $message = '')
|
function lastStepStatus($status = -1, $message = '')
|
||||||
{
|
{
|
||||||
global $updatelog, $filelog;
|
global $updatelog, $filelog, $theme;
|
||||||
|
|
||||||
switch($status)
|
switch($status)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
function getRedirectCodesArray()
|
function getRedirectCodesArray()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$sql = "SELECT * FROM `".TABLE_PANEL_REDIRECTCODES."` WHERE `enabled` = '1' ORDER BY `id` ASC";
|
$sql = "SELECT * FROM `".TABLE_PANEL_REDIRECTCODES."` WHERE `enabled` = '1' ORDER BY `id` ASC";
|
||||||
$result = $db->query($sql);
|
$result = $db->query($sql);
|
||||||
@@ -44,7 +44,7 @@ function getRedirectCodesArray()
|
|||||||
*/
|
*/
|
||||||
function getRedirectCodes()
|
function getRedirectCodes()
|
||||||
{
|
{
|
||||||
global $db, $lng;
|
global $db, $lng, $theme;
|
||||||
|
|
||||||
$sql = "SELECT * FROM `".TABLE_PANEL_REDIRECTCODES."` WHERE `enabled` = '1' ORDER BY `id` ASC";
|
$sql = "SELECT * FROM `".TABLE_PANEL_REDIRECTCODES."` WHERE `enabled` = '1' ORDER BY `id` ASC";
|
||||||
$result = $db->query($sql);
|
$result = $db->query($sql);
|
||||||
@@ -68,7 +68,7 @@ function getRedirectCodes()
|
|||||||
*/
|
*/
|
||||||
function getDomainRedirectCode($domainid = 0)
|
function getDomainRedirectCode($domainid = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$code = '';
|
$code = '';
|
||||||
if($domainid > 0)
|
if($domainid > 0)
|
||||||
@@ -98,7 +98,7 @@ function getDomainRedirectCode($domainid = 0)
|
|||||||
*/
|
*/
|
||||||
function getDomainRedirectId($domainid = 0)
|
function getDomainRedirectId($domainid = 0)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$code = 1;
|
$code = 1;
|
||||||
if($domainid > 0)
|
if($domainid > 0)
|
||||||
@@ -128,7 +128,7 @@ function getDomainRedirectId($domainid = 0)
|
|||||||
*/
|
*/
|
||||||
function addRedirectToDomain($domainid = 0, $redirect = 1)
|
function addRedirectToDomain($domainid = 0, $redirect = 1)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
if($domainid > 0)
|
if($domainid > 0)
|
||||||
{
|
{
|
||||||
$db->query("INSERT INTO `".TABLE_PANEL_DOMAINREDIRECTS."`
|
$db->query("INSERT INTO `".TABLE_PANEL_DOMAINREDIRECTS."`
|
||||||
@@ -147,7 +147,7 @@ function addRedirectToDomain($domainid = 0, $redirect = 1)
|
|||||||
*/
|
*/
|
||||||
function updateRedirectOfDomain($domainid = 0, $redirect = false)
|
function updateRedirectOfDomain($domainid = 0, $redirect = false)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
if($redirect == false)
|
if($redirect == false)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
function ask_yesno($text, $yesfile, $params = array(), $targetname = '', $back_nr = 1)
|
function ask_yesno($text, $yesfile, $params = array(), $targetname = '', $back_nr = 1)
|
||||||
{
|
{
|
||||||
global $userinfo, $db, $s, $header, $footer, $lng;
|
global $userinfo, $db, $s, $header, $footer, $lng, $theme;
|
||||||
|
|
||||||
$hiddenparams = '';
|
$hiddenparams = '';
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ function ask_yesno($text, $yesfile, $params = array(), $targetname = '', $back_n
|
|||||||
|
|
||||||
function ask_yesno_withcheckbox($text, $chk_text, $yesfile, $params = array(), $targetname = '', $show_checkbox = true)
|
function ask_yesno_withcheckbox($text, $chk_text, $yesfile, $params = array(), $targetname = '', $show_checkbox = true)
|
||||||
{
|
{
|
||||||
global $userinfo, $db, $s, $header, $footer, $lng;
|
global $userinfo, $db, $s, $header, $footer, $lng, $theme;
|
||||||
|
|
||||||
$hiddenparams = '';
|
$hiddenparams = '';
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
function makeyesno($name, $yesvalue, $novalue = '', $yesselected = '', $disabled = false)
|
function makeyesno($name, $yesvalue, $novalue = '', $yesselected = '', $disabled = false)
|
||||||
{
|
{
|
||||||
global $lng;
|
global $lng, $theme;
|
||||||
|
|
||||||
if($disabled) {
|
if($disabled) {
|
||||||
$d = ' disabled="disabled"';
|
$d = ' disabled="disabled"';
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
function redirectTo($destination, $get_variables = array(), $isRelative = false)
|
function redirectTo($destination, $get_variables = array(), $isRelative = false)
|
||||||
{
|
{
|
||||||
global $s;
|
global $s, $theme;
|
||||||
|
|
||||||
if(is_array($get_variables))
|
if(is_array($get_variables))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
function standard_error($errors = '', $replacer = '')
|
function standard_error($errors = '', $replacer = '')
|
||||||
{
|
{
|
||||||
global $db, $userinfo, $s, $header, $footer, $lng;
|
global $db, $userinfo, $s, $header, $footer, $lng, $theme;
|
||||||
$_SESSION['requestData'] = $_POST;
|
$_SESSION['requestData'] = $_POST;
|
||||||
$replacer = htmlentities($replacer);
|
$replacer = htmlentities($replacer);
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
function standard_success($success_message = '', $replacer = '', $params = array())
|
function standard_success($success_message = '', $replacer = '', $params = array())
|
||||||
{
|
{
|
||||||
global $s, $header, $footer, $lng;
|
global $s, $header, $footer, $lng, $theme;
|
||||||
|
|
||||||
if(isset($lng['success'][$success_message]))
|
if(isset($lng['success'][$success_message]))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function getSetting($settinggroup, $varname)
|
function getSetting($settinggroup, $varname)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
if(isset($settings[$settinggroup]) && is_array($settings[$settinggroup]) && isset($settings[$settinggroup][$varname]))
|
if(isset($settings[$settinggroup]) && is_array($settings[$settinggroup]) && isset($settings[$settinggroup][$varname]))
|
||||||
{
|
{
|
||||||
return $settings[$settinggroup][$varname];
|
return $settings[$settinggroup][$varname];
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function saveSetting($settinggroup, $varname, $newvalue)
|
function saveSetting($settinggroup, $varname, $newvalue)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
$query = 'UPDATE `' . TABLE_PANEL_SETTINGS . '` SET `value` = \'' . $db->escape($newvalue) . '\' WHERE `settinggroup` = \'' . $db->escape($settinggroup) . '\' AND `varname`=\'' . $db->escape($varname) . '\'';
|
$query = 'UPDATE `' . TABLE_PANEL_SETTINGS . '` SET `value` = \'' . $db->escape($newvalue) . '\' WHERE `settinggroup` = \'' . $db->escape($settinggroup) . '\' AND `varname`=\'' . $db->escape($varname) . '\'';
|
||||||
return $db->query($query);
|
return $db->query($query);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ function storeSettingDefaultIp($fieldname, $fielddata, $newfieldvalue)
|
|||||||
|
|
||||||
if($returnvalue !== false && is_array($fielddata) && isset($fielddata['settinggroup']) && $fielddata['settinggroup'] == 'system' && isset($fielddata['varname']) && $fielddata['varname'] == 'defaultip')
|
if($returnvalue !== false && is_array($fielddata) && isset($fielddata['settinggroup']) && $fielddata['settinggroup'] == 'system' && isset($fielddata['varname']) && $fielddata['varname'] == 'defaultip')
|
||||||
{
|
{
|
||||||
global $db;
|
global $db, $theme;
|
||||||
|
|
||||||
$customerstddomains_result = $db->query('SELECT `standardsubdomain` FROM `' . TABLE_PANEL_CUSTOMERS . '` WHERE `standardsubdomain` <> \'0\'');
|
$customerstddomains_result = $db->query('SELECT `standardsubdomain` FROM `' . TABLE_PANEL_CUSTOMERS . '` WHERE `standardsubdomain` <> \'0\'');
|
||||||
$ids = array();
|
$ids = array();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ function storeSettingHostname($fieldname, $fielddata, $newfieldvalue)
|
|||||||
|
|
||||||
if($returnvalue !== false && is_array($fielddata) && isset($fielddata['settinggroup']) && $fielddata['settinggroup'] == 'system' && isset($fielddata['varname']) && $fielddata['varname'] == 'hostname')
|
if($returnvalue !== false && is_array($fielddata) && isset($fielddata['settinggroup']) && $fielddata['settinggroup'] == 'system' && isset($fielddata['varname']) && $fielddata['varname'] == 'hostname')
|
||||||
{
|
{
|
||||||
global $db, $idna_convert;
|
global $db, $idna_convert, $theme;
|
||||||
$newfieldvalue = $idna_convert->encode($newfieldvalue);
|
$newfieldvalue = $idna_convert->encode($newfieldvalue);
|
||||||
|
|
||||||
$customerstddomains_result = $db->query('SELECT `standardsubdomain` FROM `' . TABLE_PANEL_CUSTOMERS . '` WHERE `standardsubdomain` <> \'0\'');
|
$customerstddomains_result = $db->query('SELECT `standardsubdomain` FROM `' . TABLE_PANEL_CUSTOMERS . '` WHERE `standardsubdomain` <> \'0\'');
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
function checkLastGuid()
|
function checkLastGuid()
|
||||||
{
|
{
|
||||||
global $log, $cronlog, $db, $settings;
|
global $log, $cronlog, $db, $settings, $theme;
|
||||||
|
|
||||||
$mylog = null;
|
$mylog = null;
|
||||||
if (isset($cronlog) && $cronlog instanceof FroxlorLogger) {
|
if (isset($cronlog) && $cronlog instanceof FroxlorLogger) {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function checkFcgidPhpFpm($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
function checkFcgidPhpFpm($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
$returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_OK);
|
$returnvalue = array(FORMFIELDS_PLAUSIBILITY_CHECK_OK);
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function checkPathConflicts($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
function checkPathConflicts($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
if((int)$settings['system']['mod_fcgid'] == 1)
|
if((int)$settings['system']['mod_fcgid'] == 1)
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function checkUsername($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
function checkUsername($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
if(!isset($allnewfieldvalues['customer_mysqlprefix']))
|
if(!isset($allnewfieldvalues['customer_mysqlprefix']))
|
||||||
{
|
{
|
||||||
$allnewfieldvalues['customer_mysqlprefix'] = $settings['customer']['mysqlprefix'];
|
$allnewfieldvalues['customer_mysqlprefix'] = $settings['customer']['mysqlprefix'];
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function setCycleOfCronjob($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
function setCycleOfCronjob($fieldname, $fielddata, $newfieldvalue, $allnewfieldvalues)
|
||||||
{
|
{
|
||||||
global $settings, $db;
|
global $settings, $db, $theme;
|
||||||
|
|
||||||
switch($newfieldvalue)
|
switch($newfieldvalue)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
function validate($str, $fieldname, $pattern = '', $lng = '', $emptydefault = array())
|
function validate($str, $fieldname, $pattern = '', $lng = '', $emptydefault = array())
|
||||||
{
|
{
|
||||||
global $log;
|
global $log, $theme;
|
||||||
|
|
||||||
if(!is_array($emptydefault))
|
if(!is_array($emptydefault))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
function validatePassword($password = null)
|
function validatePassword($password = null)
|
||||||
{
|
{
|
||||||
global $settings;
|
global $settings, $theme;
|
||||||
|
|
||||||
if ($settings['panel']['password_min_length'] > 0) {
|
if ($settings['panel']['password_min_length'] > 0) {
|
||||||
$password = validate(
|
$password = validate(
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
function validateUrl($url)
|
function validateUrl($url)
|
||||||
{
|
{
|
||||||
global $idna_convert;
|
global $idna_convert, $theme;
|
||||||
|
|
||||||
if(strtolower(substr($url, 0, 7)) != "http://"
|
if(strtolower(substr($url, 0, 7)) != "http://"
|
||||||
&& strtolower(substr($url, 0, 8)) != "https://")
|
&& strtolower(substr($url, 0, 8)) != "https://")
|
||||||
|
|||||||
@@ -363,8 +363,9 @@ if(isset($userinfo['theme']) && $userinfo['theme'] != $theme)
|
|||||||
/*
|
/*
|
||||||
* check for custom header-graphic
|
* check for custom header-graphic
|
||||||
*/
|
*/
|
||||||
$hl_path = 'images/'.$theme;
|
$hl_path = 'templates/'.$theme.'/assets/img';
|
||||||
$header_logo = $hl_path.'/logo.png';
|
$header_logo = $hl_path.'/logo.png';
|
||||||
|
|
||||||
if(file_exists($hl_path.'/logo_custom.png')) {
|
if(file_exists($hl_path.'/logo_custom.png')) {
|
||||||
$header_logo = $hl_path.'/logo_custom.png';
|
$header_logo = $hl_path.'/logo_custom.png';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ else
|
|||||||
|
|
||||||
function read_directory($dir1 = null, $min_depth = 25, $htaccessfh = null)
|
function read_directory($dir1 = null, $min_depth = 25, $htaccessfh = null)
|
||||||
{
|
{
|
||||||
global $htaccessfh;
|
global $htaccessfh, $theme;
|
||||||
|
|
||||||
if(!is_string($dir1))
|
if(!is_string($dir1))
|
||||||
{
|
{
|
||||||
@@ -95,7 +95,7 @@ function read_directory($dir1 = null, $min_depth = 25, $htaccessfh = null)
|
|||||||
|
|
||||||
function parseHtaccess($file = null)
|
function parseHtaccess($file = null)
|
||||||
{
|
{
|
||||||
global $debugHandler, $htaccessfh;
|
global $debugHandler, $htaccessfh, $theme;
|
||||||
$htacc = @file_get_contents($file);
|
$htacc = @file_get_contents($file);
|
||||||
|
|
||||||
if($htacc != "")
|
if($htacc != "")
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
function awstatsDoSingleDomain($domain, $outputdir)
|
function awstatsDoSingleDomain($domain, $outputdir)
|
||||||
{
|
{
|
||||||
global $cronlog, $settings;
|
global $cronlog, $settings, $theme;
|
||||||
$returnval = 0;
|
$returnval = 0;
|
||||||
|
|
||||||
$domainconfig = makeCorrectFile($settings['system']['awstats_conf'].'/awstats.' . $domain . '.conf');
|
$domainconfig = makeCorrectFile($settings['system']['awstats_conf'].'/awstats.' . $domain . '.conf');
|
||||||
@@ -104,7 +104,7 @@ function awstatsDoSingleDomain($domain, $outputdir)
|
|||||||
|
|
||||||
function callAwstatsGetTraffic($customerid, $outputdir, $usersdomainlist)
|
function callAwstatsGetTraffic($customerid, $outputdir, $usersdomainlist)
|
||||||
{
|
{
|
||||||
global $settings, $db, $cronlog;
|
global $settings, $db, $cronlog, $theme;
|
||||||
$returnval = 0;
|
$returnval = 0;
|
||||||
|
|
||||||
foreach($usersdomainlist as $domainid => $singledomain)
|
foreach($usersdomainlist as $domainid => $singledomain)
|
||||||
@@ -156,7 +156,7 @@ function callAwstatsGetTraffic($customerid, $outputdir, $usersdomainlist)
|
|||||||
|
|
||||||
function callWebalizerGetTraffic($logfile, $outputdir, $caption, $usersdomainlist)
|
function callWebalizerGetTraffic($logfile, $outputdir, $caption, $usersdomainlist)
|
||||||
{
|
{
|
||||||
global $settings, $cronlog;
|
global $settings, $cronlog, $theme;
|
||||||
$returnval = 0;
|
$returnval = 0;
|
||||||
|
|
||||||
if(file_exists($settings['system']['logfiles_directory'] . $logfile . '-access.log'))
|
if(file_exists($settings['system']['logfiles_directory'] . $logfile . '-access.log'))
|
||||||
@@ -305,7 +305,7 @@ function callWebalizerGetTraffic($logfile, $outputdir, $caption, $usersdomainlis
|
|||||||
|
|
||||||
function safeSQLLogfile($domains, $loginname)
|
function safeSQLLogfile($domains, $loginname)
|
||||||
{
|
{
|
||||||
global $db, $settings;
|
global $db, $settings, $theme;
|
||||||
$sql = "SELECT * FROM access_log ";
|
$sql = "SELECT * FROM access_log ";
|
||||||
$where = "WHERE virtual_host = ";
|
$where = "WHERE virtual_host = ";
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left" colspan="3"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['admins']}</b> ({$admincount})</td>
|
<td class="maintitle_search_left" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['admins']}</b> ({$admincount})</td>
|
||||||
<td class="maintitle_search_right" colspan="<if ($settings['ticket']['enabled'] == 1 || $settings['autoresponder']['autoresponder_active'] == 1) >7<else>6</if>">{$searchcode}</td>
|
<td class="maintitle_search_right" colspan="<if ($settings['ticket']['enabled'] == 1 || $settings['autoresponder']['autoresponder_active'] == 1) >7<else>6</if>">{$searchcode}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$admin_add_form}
|
{$admin_add_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$admin_edit_form}
|
{$admin_edit_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable" style="border: solid 1px #B7B7B7;">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable" style="border: solid 1px #B7B7B7;">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="images/Classic/info.png" alt="" /></td>
|
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="templates/{$theme}/assets/img/info.png" alt="" /></td>
|
||||||
<td>
|
<td>
|
||||||
$Message
|
$Message
|
||||||
<form name="continue" action="$filename" method="post">
|
<form name="continue" action="$filename" method="post">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable" style="border: solid 1px #B7B7B7;">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable" style="border: solid 1px #B7B7B7;">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="images/Classic/info.png" alt="" /></td>
|
<td width="30" valign="top" style="padding: 15px; background-color: #EBECF5;"><img src="templates/{$theme}/assets/img/info.png" alt="" /></td>
|
||||||
<td>$Message</td>
|
<td>$Message</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['aps']['specialoptions']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['aps']['specialoptions']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_name_border_left" valign="top" width="15%"><strong>{$lng['aps']['statistics']}</strong></td>
|
<td class="field_name_border_left" valign="top" width="15%"><strong>{$lng['aps']['statistics']}</strong></td>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="3"><b><img src="images/Classic/title.gif" alt="" /> {$lng['aps']['manageinstances']}</b></td>
|
<td class="maintitle" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['aps']['manageinstances']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left">{$lng['aps']['packagenameandstatus']}</td>
|
<td class="field_display_border_left">{$lng['aps']['packagenameandstatus']}</td>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['aps']['specialoptions']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['aps']['specialoptions']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_name_border_left" valign="top" width="15%"><strong>{$lng['admin']['phpsettings']['actions']}</strong></td>
|
<td class="field_name_border_left" valign="top" width="15%"><strong>{$lng['admin']['phpsettings']['actions']}</strong></td>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="6"><b><img src="images/Classic/title.gif" alt="" /> {$lng['aps']['managepackages']}</b></td>
|
<td class="maintitle" colspan="6"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['aps']['managepackages']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left" width="30%">{$lng['aps']['packagenameandversion']}</td>
|
<td class="field_display_border_left" width="30%">{$lng['aps']['packagenameandversion']}</td>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['aps']['specialoptions']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['aps']['specialoptions']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_name_border_left" valign="top" width="15%"><strong>{$lng['admin']['phpsettings']['actions']}</strong></td>
|
<td class="field_name_border_left" valign="top" width="15%"><strong>{$lng['admin']['phpsettings']['actions']}</strong></td>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$lng['aps']['upload']}</b></td>
|
<td class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['aps']['upload']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name" nowrap="nowrap">{$lng['aps']['upload_description']} <a href="http://www.apsstandard.org/" target="_blank">http://www.apsstandard.org/</a></td>
|
<td class="main_field_name" nowrap="nowrap">{$lng['aps']['upload_description']} <a href="http://www.apsstandard.org/" target="_blank">http://www.apsstandard.org/</a></td>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_40">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_40">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']}</b> [<a href={$linker->getLink(array('section' => 'configfiles', 'page' => 'configfiles'))}">{$lng['admin']['configfiles']['wizard']}</a>]</td>
|
<td class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']}</b> [<a href={$linker->getLink(array('section' => 'configfiles', 'page' => 'configfiles'))}">{$lng['admin']['configfiles']['wizard']}</a>]</td>
|
||||||
</tr>
|
</tr>
|
||||||
$distributions
|
$distributions
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$configfiles[$distribution]['label']} » {$configfiles[$distribution]['services'][$service]['label']} » {$configfiles[$distribution]['services'][$service]['daemons'][$daemon]['label']}</b> [<a href="{$linker->getLink(array('section' => 'configfiles', 'page' => $page, 'distribution' => $distribution, 'service' => $service))}">{$lng['panel']['back']}</a>]</td>
|
<td class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$configfiles[$distribution]['label']} » {$configfiles[$distribution]['services'][$service]['label']} » {$configfiles[$distribution]['services'][$service]['daemons'][$daemon]['label']}</b> [<a href="{$linker->getLink(array('section' => 'configfiles', 'page' => $page, 'distribution' => $distribution, 'service' => $service))}">{$lng['panel']['back']}</a>]</td>
|
||||||
</tr>
|
</tr>
|
||||||
{$configpage}
|
{$configpage}
|
||||||
<if $restart != ''>
|
<if $restart != ''>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_40">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_40">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']}</b> [<a href="{$linker->getLink(array('section' => 'configfiles', 'page' => 'overview'))}">{$lng['admin']['configfiles']['overview']}</a>]</td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']}</b> [<a href="{$linker->getLink(array('section' => 'configfiles', 'page' => 'overview'))}">{$lng['admin']['configfiles']['overview']}</a>]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name"><b>{$lng['admin']['configfiles']['distribution']}:</b></td>
|
<td class="main_field_name"><b>{$lng['admin']['configfiles']['distribution']}:</b></td>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$cronjobs_edit_form}
|
{$cronjobs_edit_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['warning']}</b></td>
|
<td class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['warning']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_name_border_left">
|
<td class="field_name_border_left">
|
||||||
@@ -18,7 +18,7 @@ $header
|
|||||||
<br />
|
<br />
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="5"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['cron']['cronsettings']}</b></td>
|
<td class="maintitle" colspan="5"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['cron']['cronsettings']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_display_border_left">{$lng['cron']['description']}</td>
|
<td class="field_display_border_left">{$lng['cron']['description']}</td>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left" colspan="3" ><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['customers']}</b> ({$customercount})</td>
|
<td class="maintitle_search_left" colspan="3" ><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['customers']}</b> ({$customercount})</td>
|
||||||
<td class="maintitle_search_right" colspan="<if ($settings['ticket']['enabled'] == 1 || $settings['autoresponder']['autoresponder_active'] == 1) >8<else>7</if>">{$searchcode}</td>
|
<td class="maintitle_search_right" colspan="<if ($settings['ticket']['enabled'] == 1 || $settings['autoresponder']['autoresponder_active'] == 1) >8<else>7</if>">{$searchcode}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<if ($userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1') && 15 < $userinfo['customers_used']>
|
<if ($userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1') && 15 < $userinfo['customers_used']>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$customer_add_form}
|
{$customer_add_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$customer_edit_form}
|
{$customer_edit_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['domains']}</b> ({$domainscount})</td>
|
<td class="maintitle_search_left"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['domains']}</b> ({$domainscount})</td>
|
||||||
<td class="maintitle_search_right" colspan="4">{$searchcode}</td>
|
<td class="maintitle_search_right" colspan="4">{$searchcode}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && 15 < $count && 0 < $countcustomers >
|
<if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && 15 < $count && 0 < $countcustomers >
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$domain_add_form}
|
{$domain_add_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$domain_edit_form}
|
{$domain_edit_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['froxlorclient_settings']} "{$client->Get('name')}"</b>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['froxlorclient_settings']} "{$client->Get('name')}"</b>
|
||||||
[<a href="$filename?page=clients&action=settings&part=&s=$s&id={$id}">{$lng['admin']['configfiles']['compactoverview']}</a>]</td>
|
[<a href="$filename?page=clients&action=settings&part=&s=$s&id={$id}">{$lng['admin']['configfiles']['compactoverview']}</a>]</td>
|
||||||
</tr>
|
</tr>
|
||||||
$fields
|
$fields
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" align="center" colspan="3">
|
<td class="maintitle" align="center" colspan="3">
|
||||||
<b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']} "{$client->Get('name')}"</b>
|
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['configfiles']['serverconfiguration']} "{$client->Get('name')}"</b>
|
||||||
[<a href="$filename?page=clients&action=settings&part=all&s=$s&id={$id}">{$lng['admin']['configfiles']['overview']}</a>]
|
[<a href="$filename?page=clients&action=settings&part=all&s=$s&id={$id}">{$lng['admin']['configfiles']['overview']}</a>]
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_apply_left">
|
<td class="maintitle_apply_left">
|
||||||
<b><img src="images/Classic/title.gif" alt="" /> {$title}</b>
|
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$title}</b>
|
||||||
</td>
|
</td>
|
||||||
<td class="main_field_display_small" nowrap="nowrap">{$option}</td>
|
<td class="main_field_display_small" nowrap="nowrap">{$option}</td>
|
||||||
<td class="main_field_display_small" nowrap="nowrap">
|
<td class="main_field_display_small" nowrap="nowrap">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left" colspan="3"><b><img src="images/Classic/title.gif" alt="" /> {$lng['menue']['multiserver']['clients']}</b></td>
|
<td class="maintitle_search_left" colspan="3"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['menue']['multiserver']['clients']}</b></td>
|
||||||
<td class="maintitle_search_right" colspan="1">{$searchcode}</td>
|
<td class="maintitle_search_right" colspan="1">{$searchcode}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ $header
|
|||||||
<input type="hidden" name="action" value="$action" />
|
<input type="hidden" name="action" value="$action" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['froxlorclients']['add']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['froxlorclients']['add']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name" colspan="2">
|
<td class="main_field_name" colspan="2">
|
||||||
@@ -15,7 +15,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_apply_left">
|
<td class="maintitle_apply_left">
|
||||||
<b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['froxlorclients']['client']}</b>
|
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['froxlorclients']['client']}</b>
|
||||||
</td>
|
</td>
|
||||||
<td class="maintitle_apply_right" nowrap="nowrap">
|
<td class="maintitle_apply_right" nowrap="nowrap">
|
||||||
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
|
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
|
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
|
||||||
<td class="field_name_border_left">
|
<td class="field_name_border_left">
|
||||||
<img src="images/Classic/multiserver/server.png" alt="Client #{$row['id']}" /></td>
|
<img src="templates/{$theme}/assets/img/multiserver/server.png" alt="Client #{$row['id']}" /></td>
|
||||||
<td class="field_name">{$row['name']}<br /><span style="font-size:80%">{$row['desc']}</span></td>
|
<td class="field_name">{$row['name']}<br /><span style="font-size:80%">{$row['desc']}</span></td>
|
||||||
<td class="field_name">
|
<td class="field_name">
|
||||||
<if $row['enabled'] == 1 >
|
<if $row['enabled'] == 1 >
|
||||||
<img src="images/Classic/multiserver/tick.png" alt="{$lng['panel']['yes']}" />
|
<img src="templates/{$theme}/assets/img/multiserver/tick.png" alt="{$lng['panel']['yes']}" />
|
||||||
<else>
|
<else>
|
||||||
<img src="images/Classic/multiserver/no.png" alt="{$lng['panel']['no']}" />
|
<img src="templates/{$theme}/assets/img/multiserver/no.png" alt="{$lng['panel']['no']}" />
|
||||||
</if>
|
</if>
|
||||||
</td>
|
</td>
|
||||||
<td class="field_name">
|
<td class="field_name">
|
||||||
<a href="$filename?s=$s&page=$page&action=view&id={$row['id']}">
|
<a href="$filename?s=$s&page=$page&action=view&id={$row['id']}">
|
||||||
<img src="images/Classic/multiserver/view.png" alt="{$lng['admin']['froxlorclients']['view']}" style="border:0;" />
|
<img src="templates/{$theme}/assets/img/multiserver/view.png" alt="{$lng['admin']['froxlorclients']['view']}" style="border:0;" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['froxlorclients']['edit']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['froxlorclients']['edit']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name" colspan="2">
|
<td class="main_field_name" colspan="2">
|
||||||
@@ -17,7 +17,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_apply_left">
|
<td class="maintitle_apply_left">
|
||||||
<b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['froxlorclients']['client']}</b>
|
<b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['froxlorclients']['client']}</b>
|
||||||
</td>
|
</td>
|
||||||
<td class="maintitle_apply_right" nowrap="nowrap">
|
<td class="maintitle_apply_right" nowrap="nowrap">
|
||||||
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
|
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left" colspan="4"><b><img src="images/Classic/title.gif" alt="" /> {$lng['menue']['multiserver']['clients']} "{$client->Get('name')}"</b></td>
|
<td class="maintitle_search_left" colspan="4"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['menue']['multiserver']['clients']} "{$client->Get('name')}"</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">@TODO infos about client "{$client->Get('name')}"</td>
|
<td colspan="4">@TODO infos about client "{$client->Get('name')}"</td>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="none" rowspan="4"><img src="images/Classic/changelanguage.gif" alt="" /></td>
|
<td class="none" rowspan="4"><img src="templates/{$theme}/assets/img/changelanguage.gif" alt="" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['menue']['main']['changelanguage']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['menue']['main']['changelanguage']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name">{$lng['login']['language']}</td>
|
<td class="main_field_name">{$lng['login']['language']}</td>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="none" rowspan="6"><img src="images/Classic/logininternal.gif" alt="" /></td>
|
<td class="none" rowspan="6"><img src="templates/{$theme}/assets/img/logininternal.gif" alt="" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['menue']['main']['changepassword']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name">{$lng['changepassword']['old_password']}</td>
|
<td class="main_field_name">{$lng['changepassword']['old_password']}</td>
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="none" rowspan="4"><img src="images/Classic/changetheme.png" alt="" /></td>
|
<td class="none" rowspan="4"><img src="templates/{$theme}/assets/img/changetheme.png" alt="" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['menue']['main']['changetheme']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['menue']['main']['changetheme']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name">{$lng['panel']['theme']}</td>
|
<td class="main_field_name">{$lng['panel']['theme']}</td>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
$header
|
$header
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['ressourcedetails']}</b></td>
|
<td colspan="2" class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['ressourcedetails']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_name_border_left">{$lng['admin']['customers']}:</td>
|
<td class="field_name_border_left">{$lng['admin']['customers']}:</td>
|
||||||
@@ -78,7 +78,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['systemdetails']}</b></td>
|
<td colspan="2" class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['systemdetails']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="field_name_border_left">{$lng['admin']['serversoftware']}:</td>
|
<td class="field_name_border_left">{$lng['admin']['serversoftware']}:</td>
|
||||||
@@ -121,7 +121,7 @@ $header
|
|||||||
</tr>
|
</tr>
|
||||||
</if>
|
</if>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="maintitle"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['froxlordetails']}</b></td>
|
<td colspan="2" class="maintitle"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['froxlordetails']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$outstanding_tasks}
|
{$outstanding_tasks}
|
||||||
{$cron_last_runs}
|
{$cron_last_runs}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ $header
|
|||||||
<input type="hidden" name="page" value="$page"/>
|
<input type="hidden" name="page" value="$page"/>
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left" colspan="5"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['ipsandports']['ipsandports']}</b></td>
|
<td class="maintitle_search_left" colspan="5"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['ipsandports']['ipsandports']}</b></td>
|
||||||
<td class="maintitle_search_right" colspan="5">{$searchcode}</td>
|
<td class="maintitle_search_right" colspan="5">{$searchcode}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$ipsandports_add_form}
|
{$ipsandports_add_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" /> {$title}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="{$title}" /> {$title}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
{$ipsandports_edit_form}
|
{$ipsandports_edit_form}
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ $header
|
|||||||
<input type="hidden" name="send" value="send" />
|
<input type="hidden" name="send" value="send" />
|
||||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle_search_left" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['menue']['logger']['logger']}</b></td>
|
<td class="maintitle_search_left" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['menue']['logger']['logger']}</b></td>
|
||||||
<td class="maintitle_search_right" colspan="2">{$searchcode}</td>
|
<td class="maintitle_search_right" colspan="2">{$searchcode}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<if 15 < $log_count >
|
<if 15 < $log_count >
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ $header
|
|||||||
</if>
|
</if>
|
||||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" /> {$lng['admin']['message']}</b></td>
|
<td class="maintitle" colspan="2"><b><img src="templates/{$theme}/assets/img/title.gif" alt="" /> {$lng['admin']['message']}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="main_field_name">{$lng['admin']['receipient']}</td>
|
<td class="main_field_name">{$lng['admin']['receipient']}</td>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user