diff --git a/actions/admin/settings/100.panel.php b/actions/admin/settings/100.panel.php index bc7f00a9..9bb4a0a5 100644 --- a/actions/admin/settings/100.panel.php +++ b/actions/admin/settings/100.panel.php @@ -32,6 +32,17 @@ return array( 'option_options_method' => 'getLanguages', 'save_method' => 'storeSettingField', ), + 'panel_default_theme' => array( + 'label' => $lng['serversettings']['default_theme'], + 'settinggroup' => 'panel', + 'varname' => 'default_theme', + 'type' => 'option', + 'default' => 'Froxlor', + 'option_mode' => 'one', + 'option_options' => array('Classic' => 'Classic', 'Froxlor' => 'Froxlor'), + /* 'option_options_method' => 'getThemes', // iterate through templates/ and dynamically display all folders found */ + 'save_method' => 'storeSettingField', + ), 'panel_natsorting' => array( 'label' => $lng['serversettings']['natsorting'], 'settinggroup' => 'panel', @@ -151,14 +162,6 @@ return array( 'default' => false, 'save_method' => 'storeSettingField', ), - 'admin_froxlor_graphic' => array( - 'label' => $lng['admin']['froxlor_graphic'], - 'settinggroup' => 'admin', - 'varname' => 'froxlor_graphic', - 'type' => 'string', - 'default' => '', - 'save_method' => 'storeSettingField', - ), 'panel_allow_domain_change_admin' => array( 'label' => $lng['serversettings']['panel_allow_domain_change_admin'], 'settinggroup' => 'panel', diff --git a/admin_admins.php b/admin_admins.php index eeb5c8e5..e218f1a0 100644 --- a/admin_admins.php +++ b/admin_admins.php @@ -14,7 +14,7 @@ * @author Froxlor team (2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Panel - * @version $Id$ + * @version $Id: admin_admins.php 101 2010-12-08 07:03:42Z d00p $ */ define('AREA', 'admin'); @@ -47,6 +47,7 @@ if($page == 'admins' 'diskspace_used' => $lng['customer']['diskspace'] . ' (' . $lng['panel']['used'] . ')', 'traffic' => $lng['customer']['traffic'], 'traffic_used' => $lng['customer']['traffic'] . ' (' . $lng['panel']['used'] . ')', +/* 'mysqls' => $lng['customer']['mysqls'], 'mysqls_used' => $lng['customer']['mysqls'] . ' (' . $lng['panel']['used'] . ')', 'ftps' => $lng['customer']['ftps'], @@ -65,6 +66,7 @@ if($page == 'admins' 'email_quota_used' => $lng['customer']['email_quota'] . ' (' . $lng['panel']['used'] . ')', 'email_autoresponder' => $lng['customer']['autoresponder'], 'email_autoresponder_used' => $lng['customer']['autoresponder'] . ' (' . $lng['panel']['used'] . ')', +*/ 'deactivated' => $lng['admin']['deactivated'] ); $paging = new paging($userinfo, $db, TABLE_PANEL_ADMINS, $fields, $settings['panel']['paging'], $settings['panel']['natsorting']); @@ -86,6 +88,19 @@ if($page == 'admins' $row['traffic'] = round($row['traffic'] / (1024 * 1024), $settings['panel']['decimal_places']); $row['diskspace_used'] = round($row['diskspace_used'] / 1024, $settings['panel']['decimal_places']); $row['diskspace'] = round($row['diskspace'] / 1024, $settings['panel']['decimal_places']); + + /** + * percent-values for progressbar + */ + if($row['diskspace'] > 0) { + $percent = round(($row['diskspace_used']*100)/$row['diskspace'], 2); + $doublepercent = round($percent*2, 2); + } else { + $percent = 0; + $doublepercent = 0; + } + /* */ + $row = str_replace_array('-1', 'UL', $row, 'customers domains diskspace traffic mysqls emails email_accounts email_forwarders email_quota email_autoresponder ftps subdomains tickets'); $row = htmlentities_array($row); eval("\$admins.=\"" . getTemplate("admins/admins_admin") . "\";"); @@ -360,8 +375,38 @@ if($page == 'admins' $change_serversettings = '0'; } - $result = $db->query("INSERT INTO `" . TABLE_PANEL_ADMINS . "` (`loginname`, `password`, `name`, `email`, `def_language`, `change_serversettings`, `customers`, `customers_see_all`, `domains`, `domains_see_all`, `caneditphpsettings`, `diskspace`, `traffic`, `subdomains`, `emails`, `email_accounts`, `email_forwarders`, `email_quota`, `ftps`, `tickets`, `mysqls`, `ip`, `can_manage_aps_packages`, `aps_packages`, `email_autoresponder`) - VALUES ('" . $db->escape($loginname) . "', '" . md5($password) . "', '" . $db->escape($name) . "', '" . $db->escape($email) . "','" . $db->escape($def_language) . "', '" . $db->escape($change_serversettings) . "', '" . $db->escape($customers) . "', '" . $db->escape($customers_see_all) . "', '" . $db->escape($domains) . "', '" . $db->escape($domains_see_all) . "', '" . (int)$caneditphpsettings . "', '" . $db->escape($diskspace) . "', '" . $db->escape($traffic) . "', '" . $db->escape($subdomains) . "', '" . $db->escape($emails) . "', '" . $db->escape($email_accounts) . "', '" . $db->escape($email_forwarders) . "', '" . $db->escape($email_quota) . "', '" . $db->escape($ftps) . "', '" . $db->escape($tickets) . "', '" . $db->escape($mysqls) . "', '" . (int)$ipaddress . "', " . (int)$can_manage_aps_packages . ", " . (int)$number_of_aps_packages . ", " . $db->escape($email_autoresponder) . ")"); + $_theme = $settings['panel']['default_theme']; + + $result = $db->query("INSERT INTO + `" . TABLE_PANEL_ADMINS . "` + SET + `loginname` = '" . $db->escape($loginname) . "', + `password` = '" . md5($password) . "', + `name` = '" . $db->escape($name) . "', + `email` = '" . $db->escape($email) . "', + `def_language` = '" . $db->escape($def_language) . "', + `change_serversettings` = '" . $db->escape($change_serversettings) . "', + `customers` = '" . $db->escape($customers) . "', + `customers_see_all` = '" . $db->escape($customers_see_all) . "', + `domains` = '" . $db->escape($domains) . "', + `domains_see_all` = '" . $db->escape($domains_see_all) . "', + `caneditphpsettings` = '" . (int)$caneditphpsettings . "', + `diskspace` = '" . $db->escape($diskspace) . "', + `traffic` = '" . $db->escape($traffic) . "', + `subdomains` = '" . $db->escape($subdomains) . "', + `emails` = '" . $db->escape($emails) . "', + `email_accounts` = '" . $db->escape($email_accounts) . "', + `email_forwarders` = '" . $db->escape($email_forwarders) . "', + `email_quota` = '" . $db->escape($email_quota) . "', + `ftps` = '" . $db->escape($ftps) . "', + `tickets` = '" . $db->escape($tickets) . "', + `mysqls` = '" . $db->escape($mysqls) . "', + `ip` = '" . (int)$ipaddress . "', + `can_manage_aps_packages` = '" . (int)$can_manage_aps_packages . "', + `aps_packages` = '" . (int)$number_of_aps_packages . "', + `email_autoresponder` = '" . $db->escape($email_autoresponder) . "', + `theme` = '".$db->escape($_theme)."'; + "); $adminid = $db->insert_id(); $log->logAction(ADM_ACTION, LOG_INFO, "added admin '" . $loginname . "'"); redirectTo($filename, Array('page' => $page, 's' => $s)); @@ -414,6 +459,12 @@ if($page == 'admins' $can_manage_aps_packages = makeyesno('can_manage_aps_packages', '1', '0', '0'); $number_of_aps_packages_ul = makecheckbox('number_of_aps_packages_ul', $lng['customer']['unlimited'], '-1', false, '0', true, true); + $admin_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/admin/formfield.admin_add.php'; + $admin_add_form = htmlform::genHTMLForm($admin_add_data); + + $title = $admin_add_data['admin_add']['title']; + $image = $admin_add_data['admin_add']['image']; + eval("echo \"" . getTemplate("admins/admins_add") . "\";"); } } @@ -786,6 +837,13 @@ if($page == 'admins' $can_manage_aps_packages = makeyesno('can_manage_aps_packages', '1', '0', $result['can_manage_aps_packages']); $result = htmlentities_array($result); + + $admin_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/admin/formfield.admin_edit.php'; + $admin_edit_form = htmlform::genHTMLForm($admin_edit_data); + + $title = $admin_edit_data['admin_edit']['title']; + $image = $admin_edit_data['admin_edit']['image']; + eval("echo \"" . getTemplate("admins/admins_edit") . "\";"); } } diff --git a/admin_cronjobs.php b/admin_cronjobs.php index 164560ed..e1025a68 100644 --- a/admin_cronjobs.php +++ b/admin_cronjobs.php @@ -12,7 +12,7 @@ * @author Froxlor team (2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Panel - * @version $Id$ + * @version $Id: admin_cronjobs.php 105 2010-12-09 08:02:33Z d00p $ */ define('AREA', 'admin'); @@ -140,7 +140,13 @@ if($page == 'cronjobs' { $change_cronfile = true; } - + + $cronjobs_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/cronjobs/formfield.cronjobs_edit.php'; + $cronjobs_edit_form = htmlform::genHTMLForm($cronjobs_edit_data); + + $title = $cronjobs_edit_data['cronjobs_edit']['title']; + $image = $cronjobs_edit_data['cronjobs_edit']['image']; + eval("echo \"" . getTemplate("cronjobs/cronjob_edit") . "\";"); } } diff --git a/admin_customers.php b/admin_customers.php index 1782a808..237635c8 100644 --- a/admin_customers.php +++ b/admin_customers.php @@ -50,7 +50,8 @@ if($page == 'customers' 'c.diskspace' => $lng['customer']['diskspace'], 'c.diskspace_used' => $lng['customer']['diskspace'] . ' (' . $lng['panel']['used'] . ')', 'c.traffic' => $lng['customer']['traffic'], - 'c.traffic_used' => $lng['customer']['traffic'] . ' (' . $lng['panel']['used'] . ')', + 'c.traffic_used' => $lng['customer']['traffic'] . ' (' . $lng['panel']['used'] . ')' +/* 'c.mysqls' => $lng['customer']['mysqls'], 'c.mysqls_used' => $lng['customer']['mysqls'] . ' (' . $lng['panel']['used'] . ')', 'c.ftps' => $lng['customer']['ftps'], @@ -69,8 +70,10 @@ if($page == 'customers' 'c.lastlogin_succ' => $lng['admin']['lastlogin_succ'], 'c.phpenabled' => $lng['admin']['phpenabled'], 'c.perlenabled' => $lng['admin']['perlenabled'] +*/ ); +/* if($settings['ticket']['enabled'] == 1) { $fields['c.tickets'] = $lng['customer']['tickets']; @@ -82,6 +85,7 @@ if($page == 'customers' $fields['c.email_autoresponder'] = $lng['customer']['autoresponder']; $fields['c.email_autoresponder_used'] = $lng['customer']['autoresponder'] . ' (' . $lng['panel']['used'] . ')'; } +*/ $paging = new paging($userinfo, $db, TABLE_PANEL_CUSTOMERS, $fields, $settings['panel']['paging'], $settings['panel']['natsorting']); $customers = ''; @@ -106,6 +110,17 @@ if($page == 'customers' $row['diskspace'] = round($row['diskspace'] / 1024, $settings['panel']['decimal_places']); $last_login = ((int)$row['lastlogin_succ'] == 0) ? $lng['panel']['neverloggedin'] : date('d.m.Y', $row['lastlogin_succ']); + /** + * percent-values for progressbar + */ + if ($row['diskspace'] > 0) { + $percent = round(($row['diskspace_used']*100)/$row['diskspace'], 2); + $doublepercent = round($percent*2, 2); + } else { + $percent = 0; + $doublepercent = 0; + } + $column_style = ''; $unlock_link = ''; if($row['loginfail_count'] >= $settings['login']['maxloginattempts'] @@ -598,7 +613,45 @@ if($page == 'customers' $password = substr(md5(uniqid(microtime(), 1)), 12, 6); } - $result = $db->query("INSERT INTO `" . TABLE_PANEL_CUSTOMERS . "` (`adminid`, `loginname`, `password`, `name`, `firstname`, `company`, `street`, `zipcode`, `city`, `phone`, `fax`, `email`, `customernumber`, `def_language`, `documentroot`, `guid`, `diskspace`, `traffic`, `subdomains`, `emails`, `email_accounts`, `email_forwarders`, `email_quota`, `ftps`, `tickets`, `mysqls`, `standardsubdomain`, `phpenabled`, `imap`, `pop3`, `aps_packages`, `perlenabled`, `email_autoresponder`) VALUES ('" . (int)$userinfo['adminid'] . "', '" . $db->escape($loginname) . "', '" . md5($password) . "', '" . $db->escape($name) . "', '" . $db->escape($firstname) . "', '" . $db->escape($company) . "', '" . $db->escape($street) . "', '" . $db->escape($zipcode) . "', '" . $db->escape($city) . "', '" . $db->escape($phone) . "', '" . $db->escape($fax) . "', '" . $db->escape($email) . "', '" . $db->escape($customernumber) . "','" . $db->escape($def_language) . "', '" . $db->escape($documentroot) . "', '" . $db->escape($guid) . "', '" . $db->escape($diskspace) . "', '" . $db->escape($traffic) . "', '" . $db->escape($subdomains) . "', '" . $db->escape($emails) . "', '" . $db->escape($email_accounts) . "', '" . $db->escape($email_forwarders) . "', '" . $db->escape($email_quota) . "', '" . $db->escape($ftps) . "', '" . $db->escape($tickets) . "', '" . $db->escape($mysqls) . "', '0', '" . $db->escape($phpenabled) . "', '" . $db->escape($email_imap) . "', '" . $db->escape($email_pop3) . "', '" . (int)$number_of_aps_packages . "', '" . $db->escape($perlenabled) . "', '" . $db->escape($email_autoresponder) . "')"); + $_theme = $settings['panel']['default_theme']; + + $result = $db->query( + "INSERT INTO `" . TABLE_PANEL_CUSTOMERS . "` SET + `adminid` = '" . (int)$userinfo['adminid'] . "', + `loginname` = '" . $db->escape($loginname) . "', + `password` = '" . md5($password) . "', + `name` = '" . $db->escape($name) . "', + `firstname` = '" . $db->escape($firstname) . "', + `company` = '" . $db->escape($company) . "', + `street` = '" . $db->escape($street) . "', + `zipcode` = '" . $db->escape($zipcode) . "', + `city` = '" . $db->escape($city) . "', + `phone` = '" . $db->escape($phone) . "', + `fax` = '" . $db->escape($fax) . "', + `email` = '" . $db->escape($email) . "', + `customernumber` = '" . $db->escape($customernumber) . "', + `def_language` = '" . $db->escape($def_language) . "', + `documentroot` = '" . $db->escape($documentroot) . "', + `guid` = '" . $db->escape($guid) . "', + `diskspace` = '" . $db->escape($diskspace) . "', + `traffic` = '" . $db->escape($traffic) . "', + `subdomains` = '" . $db->escape($subdomains) . "', + `emails` = '" . $db->escape($emails) . "', + `email_accounts` = '" . $db->escape($email_accounts) . "', + `email_forwarders` = '" . $db->escape($email_forwarders) . "', + `email_quota` = '" . $db->escape($email_quota) . "', + `ftps` = '" . $db->escape($ftps) . "', + `tickets` = '" . $db->escape($tickets) . "', + `mysqls` = '" . $db->escape($mysqls) . "', + `standardsubdomain` = '0', + `phpenabled` = '" . $db->escape($phpenabled) . "', + `imap` = '" . $db->escape($email_imap) . "', + `pop3` = '" . $db->escape($email_pop3) . "', + `aps_packages` = '" . (int)$number_of_aps_packages . "', + `perlenabled` = '" . $db->escape($perlenabled) . "', + `email_autoresponder` = '" . $db->escape($email_autoresponder) . "', + `theme` = '" . $db->escape($_theme) . "'" + ); $customerid = $db->insert_id(); $admin_update_query = "UPDATE `" . TABLE_PANEL_ADMINS . "` SET `customers_used` = `customers_used` + 1"; @@ -806,6 +859,13 @@ if($page == 'customers' $phpenabled = makeyesno('phpenabled', '1', '0', '1'); $perlenabled = makeyesno('perlenabled', '1', '0', '0'); $store_defaultindex = makeyesno('store_defaultindex', '1', '0', '1'); + + $customer_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/customer/formfield.customer_add.php'; + $customer_add_form = htmlform::genHTMLForm($customer_add_data); + + $title = $customer_add_data['customer_add']['title']; + $image = $customer_add_data['customer_add']['image']; + eval("echo \"" . getTemplate("customers/customers_add") . "\";"); } } @@ -1378,6 +1438,13 @@ if($page == 'customers' $email_pop3 = makeyesno('email_pop3', '1', '0', $result['pop3']); $result = htmlentities_array($result); + + $customer_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/customer/formfield.customer_edit.php'; + $customer_edit_form = htmlform::genHTMLForm($customer_edit_data); + + $title = $customer_edit_data['customer_edit']['title']; + $image = $customer_edit_data['customer_edit']['image']; + eval("echo \"" . getTemplate("customers/customers_edit") . "\";"); } } diff --git a/admin_domains.php b/admin_domains.php index 5632e276..e898f848 100644 --- a/admin_domains.php +++ b/admin_domains.php @@ -669,6 +669,12 @@ if($page == 'domains' $ssl_redirect = makeyesno('ssl_redirect', '1', '0', '0'); $add_date = date('Y-m-d'); + $domain_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/domains/formfield.domains_add.php'; + $domain_add_form = htmlform::genHTMLForm($domain_add_data); + + $title = $domain_add_data['domain_add']['title']; + $image = $domain_add_data['domain_add']['image']; + eval("echo \"" . getTemplate("domains/domains_add") . "\";"); } } @@ -1208,6 +1214,13 @@ if($page == 'domains' $specialsettingsforsubdomains = makeyesno('specialsettingsforsubdomains', '1', '0', '1'); $result = htmlentities_array($result); + + $domain_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/domains/formfield.domains_edit.php'; + $domain_edit_form = htmlform::genHTMLForm($domain_edit_data); + + $title = $domain_edit_data['domain_edit']['title']; + $image = $domain_edit_data['domain_edit']['image']; + eval("echo \"" . getTemplate("domains/domains_edit") . "\";"); } } diff --git a/admin_index.php b/admin_index.php index a0155df9..0eb23488 100644 --- a/admin_index.php +++ b/admin_index.php @@ -295,5 +295,34 @@ elseif($page == 'change_language') eval("echo \"" . getTemplate("index/change_language") . "\";"); } } +elseif($page == 'change_theme') +{ + if(isset($_POST['send']) + && $_POST['send'] == 'send' + ) { + $theme = validate($_POST['theme'], 'theme'); -?> + $db->query("UPDATE `" . TABLE_PANEL_ADMINS . "` SET `theme`='" . $db->escape($theme) . "' WHERE `adminid`='" . (int)$userinfo['adminid'] . "'"); + $db->query("UPDATE `" . TABLE_PANEL_SESSIONS . "` SET `theme`='" . $db->escape($theme) . "' WHERE `hash`='" . $db->escape($s) . "'"); + + $log->logAction(ADM_ACTION, LOG_NOTICE, "changed his/her theme to '" . $theme . "'"); + redirectTo($filename, Array('s' => $s)); + } + else + { + $theme_options = ''; + + $default_theme = $settings['panel']['default_theme']; + if($userinfo['theme'] != '') { + $default_theme = $userinfo['theme']; + } + + $themes_avail = getThemes(); + foreach($themes_avail as $t) + { + $theme_options.= makeoption($t, $t, $default_theme, true); + } + + eval("echo \"" . getTemplate("index/change_theme") . "\";"); + } +} diff --git a/admin_ipsandports.php b/admin_ipsandports.php index 9260889f..ace5848f 100644 --- a/admin_ipsandports.php +++ b/admin_ipsandports.php @@ -256,6 +256,13 @@ if($page == 'ipsandports' $namevirtualhost_statement = makeyesno('namevirtualhost_statement', '1', '0', '1'); $vhostcontainer = makeyesno('vhostcontainer', '1', '0', '1'); $vhostcontainer_servername_statement = makeyesno('vhostcontainer_servername_statement', '1', '0', '1'); + + $ipsandports_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php'; + $ipsandports_add_form = htmlform::genHTMLForm($ipsandports_add_data); + + $title = $ipsandports_add_data['ipsandports_add']['title']; + $image = $ipsandports_add_data['ipsandports_add']['image']; + eval("echo \"" . getTemplate("ipsandports/ipsandports_add") . "\";"); } } @@ -396,6 +403,13 @@ if($page == 'ipsandports' $namevirtualhost_statement = makeyesno('namevirtualhost_statement', '1', '0', $result['namevirtualhost_statement']); $vhostcontainer = makeyesno('vhostcontainer', '1', '0', $result['vhostcontainer']); $vhostcontainer_servername_statement = makeyesno('vhostcontainer_servername_statement', '1', '0', $result['vhostcontainer_servername_statement']); + + $ipsandports_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php'; + $ipsandports_edit_form = htmlform::genHTMLForm($ipsandports_edit_data); + + $title = $ipsandports_edit_data['ipsandports_edit']['title']; + $image = $ipsandports_edit_data['ipsandports_edit']['image']; + eval("echo \"" . getTemplate("ipsandports/ipsandports_edit") . "\";"); } } diff --git a/admin_logger.php b/admin_logger.php index 74fc5847..da849a60 100644 --- a/admin_logger.php +++ b/admin_logger.php @@ -31,10 +31,10 @@ if($page == 'log' if($action == '') { $fields = array( - 'action' => $lng['logger']['action'], 'date' => $lng['logger']['date'], 'type' => $lng['logger']['type'], - 'user' => $lng['logger']['user'] + 'user' => $lng['logger']['user'], + 'text' => $lng['logger']['action'] ); $paging = new paging($userinfo, $db, TABLE_PANEL_LOG, $fields, $settings['panel']['paging'], $settings['panel']['natsorting']); $paging->sortfield = 'date'; @@ -167,5 +167,3 @@ if($page == 'log' } } } - -?> \ No newline at end of file diff --git a/admin_phpsettings.php b/admin_phpsettings.php index 3d6606f1..2213f84f 100644 --- a/admin_phpsettings.php +++ b/admin_phpsettings.php @@ -39,6 +39,7 @@ if($page == 'overview') if($action == '') { $tablecontent = ''; + $count = 0; $result = $db->query("SELECT * FROM `" . TABLE_PANEL_PHPCONFIGS . "`"); while($row = $db->fetch_array($result)) @@ -68,6 +69,7 @@ if($page == 'overview') $domains = $lng['admin']['phpsettings']['notused']; } + $count ++; eval("\$tablecontent.=\"" . getTemplate("phpconfig/overview_overview") . "\";"); } @@ -103,6 +105,13 @@ if($page == 'overview') else { $result = $db->query_first("SELECT * FROM `" . TABLE_PANEL_PHPCONFIGS . "` WHERE `id` = 1"); + + $phpconfig_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/phpconfig/formfield.phpconfig_add.php'; + $phpconfig_add_form = htmlform::genHTMLForm($phpconfig_add_data); + + $title = $phpconfig_add_data['phpconfig_add']['title']; + $image = $phpconfig_add_data['phpconfig_add']['image']; + eval("echo \"" . getTemplate("phpconfig/overview_add") . "\";"); } } @@ -172,6 +181,12 @@ if($page == 'overview') } else { + $phpconfig_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/phpconfig/formfield.phpconfig_edit.php'; + $phpconfig_edit_form = htmlform::genHTMLForm($phpconfig_edit_data); + + $title = $phpconfig_edit_data['phpconfig_edit']['title']; + $image = $phpconfig_edit_data['phpconfig_edit']['image']; + eval("echo \"" . getTemplate("phpconfig/overview_edit") . "\";"); } } diff --git a/admin_settings.php b/admin_settings.php index 5ae50347..cadf10ca 100644 --- a/admin_settings.php +++ b/admin_settings.php @@ -119,7 +119,7 @@ elseif($page == 'rebuildconfigs' inserttask('1'); inserttask('4'); inserttask('5'); - redirectTo('admin_index.php', array('s' => $s)); + standard_success('rebuildingconfigs', '', array('filename' => 'admin_index.php')); } else { diff --git a/admin_templates.php b/admin_templates.php index bd25a008..e2469e0a 100644 --- a/admin_templates.php +++ b/admin_templates.php @@ -152,7 +152,7 @@ elseif($action == 'delete' } } } -elseif($action == 'delete' +elseif($action == 'deletef' && $id != 0) { //file templates @@ -209,6 +209,12 @@ elseif($action == 'add') $template_options.= makeoption($lng['admin']['templates'][$template], $template, NULL, true); } + $template_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/templates/formfield.template_add.php'; + $template_add_form = htmlform::genHTMLForm($template_add_data); + + $title = $template_add_data['template_add']['title']; + $image = $template_add_data['template_add']['image']; + eval("echo \"" . getTemplate("templates/templates_add_2") . "\";"); } elseif(isset($_POST['send']) @@ -312,6 +318,12 @@ elseif($action == 'add') $free_templates.= makeoption($lng['admin']['templates'][$template], $template, '', true); } + $filetemplate_add_data = include_once dirname(__FILE__).'/lib/formfields/admin/templates/formfield.filetemplate_add.php'; + $filetemplate_add_form = htmlform::genHTMLForm($filetemplate_add_data); + + $title = $filetemplate_add_data['filetemplate_add']['title']; + $image = $filetemplate_add_data['filetemplate_add']['image']; + eval("echo \"" . getTemplate("templates/filetemplates_add") . "\";"); } } @@ -344,11 +356,18 @@ elseif($action == 'edit' $result = $db->query_first("SELECT `language`, `varname`, `value` FROM `" . TABLE_PANEL_TEMPLATES . "` WHERE `id`='$mailbodyid'"); $result = htmlentities_array($result); $mailbody = $result['value']; + + $template_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/templates/formfield.template_edit.php'; + $template_edit_form = htmlform::genHTMLForm($template_edit_data); + + $title = $template_edit_data['template_edit']['title']; + $image = $template_edit_data['template_edit']['image']; + eval("echo \"" . getTemplate("templates/templates_edit") . "\";"); } } } -elseif($action == 'edit' +elseif($action == 'editf' && $id != 0) { //file templates @@ -372,6 +391,13 @@ elseif($action == 'edit' else { $row = htmlentities_array($row); + + $filetemplate_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/templates/formfield.filetemplate_edit.php'; + $filetemplate_edit_form = htmlform::genHTMLForm($filetemplate_edit_data); + + $title = $filetemplate_edit_data['filetemplate_edit']['title']; + $image = $filetemplate_edit_data['filetemplate_edit']['image']; + eval("echo \"" . getTemplate("templates/filetemplates_edit") . "\";"); } } @@ -381,5 +407,3 @@ elseif($action == 'edit' exit; } } - -?> \ No newline at end of file diff --git a/admin_tickets.php b/admin_tickets.php index b140fc17..27f35ba6 100644 --- a/admin_tickets.php +++ b/admin_tickets.php @@ -227,6 +227,13 @@ if($page == 'tickets' $priorities = makeoption($lng['ticket']['unf_high'], '1', $settings['ticket']['default_priority']); $priorities.= makeoption($lng['ticket']['unf_normal'], '2', $settings['ticket']['default_priority']); $priorities.= makeoption($lng['ticket']['unf_low'], '3', $settings['ticket']['default_priority']); + + $ticket_new_data = include_once dirname(__FILE__).'/lib/formfields/admin/ticket/formfield.ticket_new.php'; + $ticket_new_form = htmlform::genHTMLForm($ticket_new_data); + + $title = $ticket_new_data['ticket_new']['title']; + $image = $ticket_new_data['ticket_new']['image']; + eval("echo \"" . getTemplate("ticket/tickets_new") . "\";"); } } @@ -338,6 +345,11 @@ if($page == 'tickets' $ticket_replies_count = $db->num_rows($andere) + 1; // don't forget the main-ticket! + $ticket_reply_data = include_once dirname(__FILE__).'/lib/formfields/admin/ticket/formfield.ticket_reply.php'; + $ticket_reply_form = htmlform::genHTMLForm($ticket_reply_data); + + $title = $ticket_reply_data['ticket_reply']['title']; + $image = $ticket_reply_data['ticket_reply']['image']; eval("echo \"" . getTemplate("ticket/tickets_reply") . "\";"); } @@ -491,6 +503,13 @@ elseif($page == 'categories' else { $order = ticket::getHighestOrderNumber($db) + 1; + + $category_new_data = include_once dirname(__FILE__).'/lib/formfields/admin/ticket/formfield.category_new.php'; + $category_new_form = htmlform::genHTMLForm($category_new_data); + + $title = $category_new_data['category_new']['title']; + $image = $category_new_data['category_new']['image']; + eval("echo \"" . getTemplate("ticket/tickets_newcategory") . "\";"); } } @@ -522,6 +541,13 @@ elseif($page == 'categories' else { $row = $db->query_first('SELECT * FROM `' . TABLE_PANEL_TICKET_CATS . '` WHERE `id` = "' . (int)$id . '"'); + + $category_edit_data = include_once dirname(__FILE__).'/lib/formfields/admin/ticket/formfield.category_edit.php'; + $category_edit_form = htmlform::genHTMLForm($category_edit_data); + + $title = $category_edit_data['category_edit']['title']; + $image = $category_edit_data['category_edit']['image']; + eval("echo \"" . getTemplate("ticket/tickets_editcategory") . "\";"); } } diff --git a/customer_autoresponder.php b/customer_autoresponder.php index 616b004d..c0c6e1be 100644 --- a/customer_autoresponder.php +++ b/customer_autoresponder.php @@ -279,6 +279,7 @@ if($action == "delete") else { $autoresponder = ''; + $count = 0; $result = $db->query("SELECT * FROM `" . TABLE_MAIL_AUTORESPONDER . "` WHERE `customerid` = '" . (int)$userinfo['customerid'] . "' ORDER BY email ASC"); while($row = $db->fetch_array($result)) @@ -300,9 +301,8 @@ else $activated_date = date('d-m-Y', $row['date_from']) . ' - ' . date('d-m-Y', $row['date_until']); } eval("\$autoresponder.=\"" . getTemplate("email/autoresponder_autoresponder") . "\";"); + $count++; } eval("echo \"" . getTemplate("email/autoresponder") . "\";"); } - -?> \ No newline at end of file diff --git a/customer_domains.php b/customer_domains.php index 8b6cbce7..6028311c 100644 --- a/customer_domains.php +++ b/customer_domains.php @@ -381,6 +381,13 @@ elseif($page == 'domains') $ssl_redirect = makeyesno('ssl_redirect', '1', '0', $result['ssl_redirect']); $openbasedir = makeoption($lng['domain']['docroot'], 0, NULL, true) . makeoption($lng['domain']['homedir'], 1, NULL, true); $pathSelect = makePathfield($userinfo['documentroot'], $userinfo['guid'], $userinfo['guid'], $settings['panel']['pathedit']); + + $subdomain_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/domains/formfield.domains_add.php'; + $subdomain_add_form = htmlform::genHTMLForm($subdomain_add_data); + + $title = $subdomain_add_data['domain_add']['title']; + $image = $subdomain_add_data['domain_add']['image']; + eval("echo \"" . getTemplate("domains/domains_add") . "\";"); } } @@ -569,6 +576,12 @@ elseif($page == 'domains') $domainip = $result_ipandport['ip']; $result = htmlentities_array($result); + $subdomain_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/domains/formfield.domains_edit.php'; + $subdomain_edit_form = htmlform::genHTMLForm($subdomain_edit_data); + + $title = $subdomain_edit_data['domain_edit']['title']; + $image = $subdomain_edit_data['domain_edit']['image']; + eval("echo \"" . getTemplate("domains/domains_edit") . "\";"); } } diff --git a/customer_email.php b/customer_email.php index adc0b8d2..a7255f90 100644 --- a/customer_email.php +++ b/customer_email.php @@ -282,6 +282,13 @@ elseif($page == 'emails') } $iscatchall = makeyesno('iscatchall', '1', '0', '0'); + + $email_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_add.php'; + $email_add_form = htmlform::genHTMLForm($email_add_data); + + $title = $email_add_data['emails_add']['title']; + $image = $email_add_data['emails_add']['image']; + eval("echo \"" . getTemplate("email/emails_add") . "\";"); } } @@ -321,6 +328,13 @@ elseif($page == 'emails') $destinations_count = count($result['destination']); $result = htmlentities_array($result); + + $email_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_edit.php'; + $email_edit_form = htmlform::genHTMLForm($email_edit_data); + + $title = $email_edit_data['emails_edit']['title']; + $image = $email_edit_data['emails_edit']['image']; + eval("echo \"" . getTemplate("email/emails_edit") . "\";"); } } @@ -505,6 +519,13 @@ elseif($page == 'accounts') $result['email_full'] = $idna_convert->decode($result['email_full']); $result = htmlentities_array($result); $quota = $settings['system']['mail_quota']; + + $account_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_addaccount.php'; + $account_add_form = htmlform::genHTMLForm($account_add_data); + + $title = $account_add_data['emails_addaccount']['title']; + $image = $account_add_data['emails_addaccount']['image']; + eval("echo \"" . getTemplate("email/account_add") . "\";"); } } @@ -543,6 +564,13 @@ elseif($page == 'accounts') { $result['email_full'] = $idna_convert->decode($result['email_full']); $result = htmlentities_array($result); + + $account_changepw_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_accountchangepasswd.php'; + $account_changepw_form = htmlform::genHTMLForm($account_changepw_data); + + $title = $account_changepw_data['emails_accountchangepasswd']['title']; + $image = $account_changepw_data['emails_accountchangepasswd']['image']; + eval("echo \"" . getTemplate("email/account_changepw") . "\";"); } } @@ -584,6 +612,13 @@ elseif($page == 'accounts') { $result['email_full'] = $idna_convert->decode($result['email_full']); $result = htmlentities_array($result); + + $quota_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_accountchangequota.php'; + $quota_edit_form = htmlform::genHTMLForm($quota_edit_data); + + $title = $quota_edit_data['emails_accountchangequota']['title']; + $image = $quota_edit_data['emails_accountchangequota']['image']; + eval("echo \"" . getTemplate("email/account_changequota") . "\";"); } } @@ -678,6 +713,13 @@ elseif($page == 'forwarders') { $result['email_full'] = $idna_convert->decode($result['email_full']); $result = htmlentities_array($result); + + $forwarder_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_addforwarder.php'; + $forwarder_add_form = htmlform::genHTMLForm($forwarder_add_data); + + $title = $forwarder_add_data['emails_addforwarder']['title']; + $image = $forwarder_add_data['emails_addforwarder']['image']; + eval("echo \"" . getTemplate("email/forwarder_add") . "\";"); } } diff --git a/customer_extras.php b/customer_extras.php index a6b1d3f9..b49e3052 100644 --- a/customer_extras.php +++ b/customer_extras.php @@ -161,6 +161,13 @@ elseif($page == 'htpasswds') else { $pathSelect = makePathfield($userinfo['documentroot'], $userinfo['guid'], $userinfo['guid'], $settings['panel']['pathedit']); + + $htpasswd_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/extras/formfield.htpasswd_add.php'; + $htpasswd_add_form = htmlform::genHTMLForm($htpasswd_add_data); + + $title = $htpasswd_add_data['htpasswd_add']['title']; + $image = $htpasswd_add_data['htpasswd_add']['image']; + eval("echo \"" . getTemplate("extras/htpasswds_add") . "\";"); } } @@ -220,6 +227,13 @@ elseif($page == 'htpasswds') } $result = htmlentities_array($result); + + $htpasswd_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/extras/formfield.htpasswd_edit.php'; + $htpasswd_edit_form = htmlform::genHTMLForm($htpasswd_edit_data); + + $title = $htpasswd_edit_data['htpasswd_edit']['title']; + $image = $htpasswd_edit_data['htpasswd_edit']['image']; + eval("echo \"" . getTemplate("extras/htpasswds_edit") . "\";"); } } @@ -357,6 +371,13 @@ elseif($page == 'htaccess') $options_indexes = makeyesno('options_indexes', '1', '0', '0'); $cperlenabled = customerHasPerlEnabled($userinfo['customerid']); $options_cgi = makeyesno('options_cgi', '1', '0', '0'); + + $htaccess_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/extras/formfield.htaccess_add.php'; + $htaccess_add_form = htmlform::genHTMLForm($htaccess_add_data); + + $title = $htaccess_add_data['htaccess_add']['title']; + $image = $htaccess_add_data['htaccess_add']['image']; + eval("echo \"" . getTemplate("extras/htaccess_add") . "\";"); } } @@ -418,6 +439,13 @@ elseif($page == 'htaccess') $cperlenabled = customerHasPerlEnabled($userinfo['customerid']); $options_cgi = makeyesno('options_cgi', '1', '0', $result['options_cgi']); $result = htmlentities_array($result); + + $htaccess_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/extras/formfield.htaccess_edit.php'; + $htaccess_edit_form = htmlform::genHTMLForm($htaccess_edit_data); + + $title = $htaccess_edit_data['htaccess_edit']['title']; + $image = $htaccess_edit_data['htaccess_edit']['image']; + eval("echo \"" . getTemplate("extras/htaccess_edit") . "\";"); } } diff --git a/customer_ftp.php b/customer_ftp.php index bc591acf..207fb60d 100644 --- a/customer_ftp.php +++ b/customer_ftp.php @@ -270,6 +270,12 @@ elseif($page == 'accounts') $sendinfomail = makeyesno('sendinfomail', '1', '0', '0'); + $ftp_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/ftp/formfield.ftp_add.php'; + $ftp_add_form = htmlform::genHTMLForm($ftp_add_data); + + $title = $ftp_add_data['ftp_add']['title']; + $image = $ftp_add_data['ftp_add']['image']; + eval("echo \"" . getTemplate("ftp/accounts_add") . "\";"); } } @@ -352,7 +358,13 @@ elseif($page == 'accounts') $domains.= makeoption($idna_convert->decode($row_domain['domain']), $row_domain['domain']); } } - + + $ftp_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/ftp/formfield.ftp_edit.php'; + $ftp_edit_form = htmlform::genHTMLForm($ftp_edit_data); + + $title = $ftp_edit_data['ftp_edit']['title']; + $image = $ftp_edit_data['ftp_edit']['image']; + eval("echo \"" . getTemplate("ftp/accounts_edit") . "\";"); } } diff --git a/customer_index.php b/customer_index.php index 1593442c..808bbea2 100644 --- a/customer_index.php +++ b/customer_index.php @@ -185,5 +185,33 @@ elseif($page == 'change_language') eval("echo \"" . getTemplate("index/change_language") . "\";"); } } +elseif($page == 'change_theme') +{ + if(isset($_POST['send']) + && $_POST['send'] == 'send' + ) { + $theme = validate($_POST['theme'], 'theme'); + + $db->query("UPDATE `" . TABLE_PANEL_CUSTOMERS . "` SET `theme`='" . $db->escape($theme) . "' WHERE `customerid`='" . (int)$userinfo['customerid'] . "'"); + $db->query("UPDATE `" . TABLE_PANEL_SESSIONS . "` SET `theme`='" . $db->escape($theme) . "' WHERE `hash`='" . $db->escape($s) . "'"); + $log->logAction(USR_ACTION, LOG_NOTICE, "changed default theme to '" . $theme . "'"); + redirectTo($filename, Array('s' => $s)); + } + else + { + $theme_options = ''; -?> + $default_theme = $settings['panel']['default_theme']; + if($userinfo['theme'] != '') { + $default_theme = $userinfo['theme']; + } + + $themes_avail = getThemes(); + foreach($themes_avail as $t) + { + $theme_options.= makeoption($t, $t, $default_theme, true); + } + + eval("echo \"" . getTemplate("index/change_theme") . "\";"); + } +} diff --git a/customer_mysql.php b/customer_mysql.php index 4e5e56c4..e5b9d16c 100644 --- a/customer_mysql.php +++ b/customer_mysql.php @@ -256,6 +256,12 @@ elseif($page == 'mysqls') $sendinfomail = makeyesno('sendinfomail', '1', '0', '0'); + $mysql_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/mysql/formfield.mysql_add.php'; + $mysql_add_form = htmlform::genHTMLForm($mysql_add_data); + + $title = $mysql_add_data['mysql_add']['title']; + $image = $mysql_add_data['mysql_add']['image']; + eval("echo \"" . getTemplate("mysql/mysqls_add") . "\";"); } } @@ -307,6 +313,12 @@ elseif($page == 'mysqls') } else { + $mysql_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/mysql/formfield.mysql_edit.php'; + $mysql_edit_form = htmlform::genHTMLForm($mysql_edit_data); + + $title = $mysql_edit_data['mysql_edit']['title']; + $image = $mysql_edit_data['mysql_edit']['image']; + eval("echo \"" . getTemplate("mysql/mysqls_edit") . "\";"); } } diff --git a/customer_tickets.php b/customer_tickets.php index ad90d428..9e7f844a 100644 --- a/customer_tickets.php +++ b/customer_tickets.php @@ -247,6 +247,13 @@ elseif($page == 'tickets') } $ticketsopen = (int)$opentickets['count']; + + $ticket_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/ticket/formfield.ticket_add.php'; + $ticket_add_form = htmlform::genHTMLForm($ticket_add_data); + + $title = $ticket_add_data['ticket_add']['title']; + $image = $ticket_add_data['ticket_add']['image']; + eval("echo \"" . getTemplate("ticket/tickets_new") . "\";"); } } @@ -360,6 +367,12 @@ elseif($page == 'tickets') // don't forget the main-ticket! + $ticket_reply_data = include_once dirname(__FILE__).'/lib/formfields/customer/ticket/formfield.ticket_reply.php'; + $ticket_reply_form = htmlform::genHTMLForm($ticket_reply_data); + + $title = $ticket_reply_data['ticket_reply']['title']; + $image = $ticket_reply_data['ticket_reply']['image']; + eval("echo \"" . getTemplate("ticket/tickets_reply") . "\";"); } } diff --git a/images/ball.gif b/images/Classic/ball.gif similarity index 100% rename from images/ball.gif rename to images/Classic/ball.gif diff --git a/images/changelanguage.gif b/images/Classic/changelanguage.gif similarity index 100% rename from images/changelanguage.gif rename to images/Classic/changelanguage.gif diff --git a/images/Classic/changetheme.png b/images/Classic/changetheme.png new file mode 100644 index 00000000..8f7eb599 Binary files /dev/null and b/images/Classic/changetheme.png differ diff --git a/images/default.png b/images/Classic/default.png similarity index 100% rename from images/default.png rename to images/Classic/default.png diff --git a/images/endsection.gif b/images/Classic/endsection.gif similarity index 100% rename from images/endsection.gif rename to images/Classic/endsection.gif diff --git a/images/error.gif b/images/Classic/error.gif similarity index 100% rename from images/error.gif rename to images/Classic/error.gif diff --git a/images/error.png b/images/Classic/error.png similarity index 100% rename from images/error.png rename to images/Classic/error.png diff --git a/images/footer.gif b/images/Classic/footer.gif similarity index 100% rename from images/footer.gif rename to images/Classic/footer.gif diff --git a/images/header_r.gif b/images/Classic/header_r.gif similarity index 100% rename from images/header_r.gif rename to images/Classic/header_r.gif diff --git a/images/info.png b/images/Classic/info.png similarity index 100% rename from images/info.png rename to images/Classic/info.png diff --git a/images/login.gif b/images/Classic/login.gif similarity index 100% rename from images/login.gif rename to images/Classic/login.gif diff --git a/images/logininternal.gif b/images/Classic/logininternal.gif similarity index 100% rename from images/logininternal.gif rename to images/Classic/logininternal.gif diff --git a/images/Classic/logo.png b/images/Classic/logo.png new file mode 100644 index 00000000..9d426a2b Binary files /dev/null and b/images/Classic/logo.png differ diff --git a/images/Classic/multiserver/clock.png b/images/Classic/multiserver/clock.png new file mode 100644 index 00000000..e58a1150 Binary files /dev/null and b/images/Classic/multiserver/clock.png differ diff --git a/images/Classic/multiserver/deploy.png b/images/Classic/multiserver/deploy.png new file mode 100644 index 00000000..0a268ad0 Binary files /dev/null and b/images/Classic/multiserver/deploy.png differ diff --git a/images/Classic/multiserver/deploy_dis.png b/images/Classic/multiserver/deploy_dis.png new file mode 100644 index 00000000..f9735341 Binary files /dev/null and b/images/Classic/multiserver/deploy_dis.png differ diff --git a/images/Classic/multiserver/edit.png b/images/Classic/multiserver/edit.png new file mode 100644 index 00000000..119464e4 Binary files /dev/null and b/images/Classic/multiserver/edit.png differ diff --git a/images/multiserver/no.png b/images/Classic/multiserver/no.png similarity index 100% rename from images/multiserver/no.png rename to images/Classic/multiserver/no.png diff --git a/images/Classic/multiserver/refresh.png b/images/Classic/multiserver/refresh.png new file mode 100644 index 00000000..eeb515b5 Binary files /dev/null and b/images/Classic/multiserver/refresh.png differ diff --git a/images/Classic/multiserver/refresh_dis.png b/images/Classic/multiserver/refresh_dis.png new file mode 100644 index 00000000..b3de144b Binary files /dev/null and b/images/Classic/multiserver/refresh_dis.png differ diff --git a/images/multiserver/server.png b/images/Classic/multiserver/server.png similarity index 100% rename from images/multiserver/server.png rename to images/Classic/multiserver/server.png diff --git a/images/Classic/multiserver/settings.png b/images/Classic/multiserver/settings.png new file mode 100644 index 00000000..6b8f5043 Binary files /dev/null and b/images/Classic/multiserver/settings.png differ diff --git a/images/Classic/multiserver/settings_dis.png b/images/Classic/multiserver/settings_dis.png new file mode 100644 index 00000000..c9e63b84 Binary files /dev/null and b/images/Classic/multiserver/settings_dis.png differ diff --git a/images/multiserver/tick.png b/images/Classic/multiserver/tick.png similarity index 100% rename from images/multiserver/tick.png rename to images/Classic/multiserver/tick.png diff --git a/images/Classic/multiserver/trash.png b/images/Classic/multiserver/trash.png new file mode 100644 index 00000000..c61e169f Binary files /dev/null and b/images/Classic/multiserver/trash.png differ diff --git a/images/multiserver/view.png b/images/Classic/multiserver/view.png similarity index 100% rename from images/multiserver/view.png rename to images/Classic/multiserver/view.png diff --git a/images/order_asc.gif b/images/Classic/order_asc.gif similarity index 100% rename from images/order_asc.gif rename to images/Classic/order_asc.gif diff --git a/images/order_desc.gif b/images/Classic/order_desc.gif similarity index 100% rename from images/order_desc.gif rename to images/Classic/order_desc.gif diff --git a/images/section.gif b/images/Classic/section.gif similarity index 100% rename from images/section.gif rename to images/Classic/section.gif diff --git a/images/shadow.gif b/images/Classic/shadow.gif similarity index 100% rename from images/shadow.gif rename to images/Classic/shadow.gif diff --git a/images/subsection.gif b/images/Classic/subsection.gif similarity index 100% rename from images/subsection.gif rename to images/Classic/subsection.gif diff --git a/images/title.gif b/images/Classic/title.gif similarity index 100% rename from images/title.gif rename to images/Classic/title.gif diff --git a/images/traffic_blue.gif b/images/Classic/traffic_blue.gif similarity index 100% rename from images/traffic_blue.gif rename to images/Classic/traffic_blue.gif diff --git a/images/traffic_green.gif b/images/Classic/traffic_green.gif similarity index 100% rename from images/traffic_green.gif rename to images/Classic/traffic_green.gif diff --git a/images/traffic_red.gif b/images/Classic/traffic_red.gif similarity index 100% rename from images/traffic_red.gif rename to images/Classic/traffic_red.gif diff --git a/images/traffic_yellow.gif b/images/Classic/traffic_yellow.gif similarity index 100% rename from images/traffic_yellow.gif rename to images/Classic/traffic_yellow.gif diff --git a/images/Froxlor/bar.gif b/images/Froxlor/bar.gif new file mode 100644 index 00000000..6ca1c5e6 Binary files /dev/null and b/images/Froxlor/bar.gif differ diff --git a/images/Froxlor/bargrey.gif b/images/Froxlor/bargrey.gif new file mode 100644 index 00000000..1439e131 Binary files /dev/null and b/images/Froxlor/bargrey.gif differ diff --git a/images/Froxlor/barred.gif b/images/Froxlor/barred.gif new file mode 100644 index 00000000..e3fe71f3 Binary files /dev/null and b/images/Froxlor/barred.gif differ diff --git a/images/Froxlor/bg_cover.gif b/images/Froxlor/bg_cover.gif new file mode 100644 index 00000000..f534113d Binary files /dev/null and b/images/Froxlor/bg_cover.gif differ diff --git a/images/Froxlor/header_g.png b/images/Froxlor/header_g.png new file mode 100644 index 00000000..77bd10e6 Binary files /dev/null and b/images/Froxlor/header_g.png differ diff --git a/images/Froxlor/icons/aps.png b/images/Froxlor/icons/aps.png new file mode 100644 index 00000000..075854ec Binary files /dev/null and b/images/Froxlor/icons/aps.png differ diff --git a/images/Froxlor/icons/aps_upload.png b/images/Froxlor/icons/aps_upload.png new file mode 100644 index 00000000..c1f9998a Binary files /dev/null and b/images/Froxlor/icons/aps_upload.png differ diff --git a/images/Froxlor/icons/archive_ticket.png b/images/Froxlor/icons/archive_ticket.png new file mode 100644 index 00000000..5e10c708 Binary files /dev/null and b/images/Froxlor/icons/archive_ticket.png differ diff --git a/images/Froxlor/icons/autoresponder.png b/images/Froxlor/icons/autoresponder.png new file mode 100644 index 00000000..179049f0 Binary files /dev/null and b/images/Froxlor/icons/autoresponder.png differ diff --git a/images/Froxlor/icons/autoresponder_add.png b/images/Froxlor/icons/autoresponder_add.png new file mode 100644 index 00000000..0e7c42ad Binary files /dev/null and b/images/Froxlor/icons/autoresponder_add.png differ diff --git a/images/Froxlor/icons/bad.png b/images/Froxlor/icons/bad.png new file mode 100644 index 00000000..535e3012 Binary files /dev/null and b/images/Froxlor/icons/bad.png differ diff --git a/images/Froxlor/icons/button_ok.png b/images/Froxlor/icons/button_ok.png new file mode 100644 index 00000000..a9925a06 Binary files /dev/null and b/images/Froxlor/icons/button_ok.png differ diff --git a/images/Froxlor/icons/cancel.png b/images/Froxlor/icons/cancel.png new file mode 100644 index 00000000..1514d51a Binary files /dev/null and b/images/Froxlor/icons/cancel.png differ diff --git a/images/Froxlor/icons/categories.png b/images/Froxlor/icons/categories.png new file mode 100644 index 00000000..0fc41419 Binary files /dev/null and b/images/Froxlor/icons/categories.png differ diff --git a/images/Froxlor/icons/category_add.png b/images/Froxlor/icons/category_add.png new file mode 100644 index 00000000..6cbcb23a Binary files /dev/null and b/images/Froxlor/icons/category_add.png differ diff --git a/images/Froxlor/icons/category_edit.png b/images/Froxlor/icons/category_edit.png new file mode 100644 index 00000000..2e14ffff Binary files /dev/null and b/images/Froxlor/icons/category_edit.png differ diff --git a/images/Froxlor/icons/category_new.png b/images/Froxlor/icons/category_new.png new file mode 100644 index 00000000..6cbcb23a Binary files /dev/null and b/images/Froxlor/icons/category_new.png differ diff --git a/images/Froxlor/icons/clock.png b/images/Froxlor/icons/clock.png new file mode 100644 index 00000000..e2672c20 Binary files /dev/null and b/images/Froxlor/icons/clock.png differ diff --git a/images/Froxlor/icons/clock_add.png b/images/Froxlor/icons/clock_add.png new file mode 100644 index 00000000..598b839b Binary files /dev/null and b/images/Froxlor/icons/clock_add.png differ diff --git a/images/Froxlor/icons/clock_delete.png b/images/Froxlor/icons/clock_delete.png new file mode 100644 index 00000000..8bf9efe4 Binary files /dev/null and b/images/Froxlor/icons/clock_delete.png differ diff --git a/images/Froxlor/icons/clock_edit.png b/images/Froxlor/icons/clock_edit.png new file mode 100644 index 00000000..7d357188 Binary files /dev/null and b/images/Froxlor/icons/clock_edit.png differ diff --git a/images/Froxlor/icons/clock_error.png b/images/Froxlor/icons/clock_error.png new file mode 100644 index 00000000..a7c461ba Binary files /dev/null and b/images/Froxlor/icons/clock_error.png differ diff --git a/images/Froxlor/icons/clock_go.png b/images/Froxlor/icons/clock_go.png new file mode 100644 index 00000000..a1a24d3f Binary files /dev/null and b/images/Froxlor/icons/clock_go.png differ diff --git a/images/Froxlor/icons/clock_link.png b/images/Froxlor/icons/clock_link.png new file mode 100644 index 00000000..481cf04c Binary files /dev/null and b/images/Froxlor/icons/clock_link.png differ diff --git a/images/Froxlor/icons/clock_pause.png b/images/Froxlor/icons/clock_pause.png new file mode 100644 index 00000000..ba747258 Binary files /dev/null and b/images/Froxlor/icons/clock_pause.png differ diff --git a/images/Froxlor/icons/clock_play.png b/images/Froxlor/icons/clock_play.png new file mode 100644 index 00000000..fb4ebc85 Binary files /dev/null and b/images/Froxlor/icons/clock_play.png differ diff --git a/images/Froxlor/icons/clock_red.png b/images/Froxlor/icons/clock_red.png new file mode 100644 index 00000000..2842cc33 Binary files /dev/null and b/images/Froxlor/icons/clock_red.png differ diff --git a/images/Froxlor/icons/clock_stop.png b/images/Froxlor/icons/clock_stop.png new file mode 100644 index 00000000..6fe8a6f9 Binary files /dev/null and b/images/Froxlor/icons/clock_stop.png differ diff --git a/images/Froxlor/icons/delete.png b/images/Froxlor/icons/delete.png new file mode 100644 index 00000000..3141467c Binary files /dev/null and b/images/Froxlor/icons/delete.png differ diff --git a/images/Froxlor/icons/display.png b/images/Froxlor/icons/display.png new file mode 100644 index 00000000..8b8c51d2 Binary files /dev/null and b/images/Froxlor/icons/display.png differ diff --git a/images/Froxlor/icons/domain_add.png b/images/Froxlor/icons/domain_add.png new file mode 100644 index 00000000..d97a0f99 Binary files /dev/null and b/images/Froxlor/icons/domain_add.png differ diff --git a/images/Froxlor/icons/domain_edit.png b/images/Froxlor/icons/domain_edit.png new file mode 100644 index 00000000..7f294077 Binary files /dev/null and b/images/Froxlor/icons/domain_edit.png differ diff --git a/images/Froxlor/icons/domains.png b/images/Froxlor/icons/domains.png new file mode 100644 index 00000000..bcb3c2d0 Binary files /dev/null and b/images/Froxlor/icons/domains.png differ diff --git a/images/Froxlor/icons/down.png b/images/Froxlor/icons/down.png new file mode 100644 index 00000000..c7b2f033 Binary files /dev/null and b/images/Froxlor/icons/down.png differ diff --git a/images/Froxlor/icons/edit.png b/images/Froxlor/icons/edit.png new file mode 100644 index 00000000..046811ed Binary files /dev/null and b/images/Froxlor/icons/edit.png differ diff --git a/images/Froxlor/icons/email_add.png b/images/Froxlor/icons/email_add.png new file mode 100644 index 00000000..0af79efb Binary files /dev/null and b/images/Froxlor/icons/email_add.png differ diff --git a/images/Froxlor/icons/email_edit.png b/images/Froxlor/icons/email_edit.png new file mode 100644 index 00000000..fd17c899 Binary files /dev/null and b/images/Froxlor/icons/email_edit.png differ diff --git a/images/Froxlor/icons/emails.png b/images/Froxlor/icons/emails.png new file mode 100644 index 00000000..36a208b1 Binary files /dev/null and b/images/Froxlor/icons/emails.png differ diff --git a/images/Froxlor/icons/encrypted.png b/images/Froxlor/icons/encrypted.png new file mode 100644 index 00000000..a06b962f Binary files /dev/null and b/images/Froxlor/icons/encrypted.png differ diff --git a/images/Froxlor/icons/find.png b/images/Froxlor/icons/find.png new file mode 100644 index 00000000..deed6a8f Binary files /dev/null and b/images/Froxlor/icons/find.png differ diff --git a/images/Froxlor/icons/flag.png b/images/Froxlor/icons/flag.png new file mode 100644 index 00000000..6fcec062 Binary files /dev/null and b/images/Froxlor/icons/flag.png differ diff --git a/images/Froxlor/icons/group_edit.png b/images/Froxlor/icons/group_edit.png new file mode 100644 index 00000000..6cb9b912 Binary files /dev/null and b/images/Froxlor/icons/group_edit.png differ diff --git a/images/Froxlor/icons/help.png b/images/Froxlor/icons/help.png new file mode 100644 index 00000000..546d8a79 Binary files /dev/null and b/images/Froxlor/icons/help.png differ diff --git a/images/Froxlor/icons/htaccess.png b/images/Froxlor/icons/htaccess.png new file mode 100644 index 00000000..6d27c343 Binary files /dev/null and b/images/Froxlor/icons/htaccess.png differ diff --git a/images/Froxlor/icons/htaccess_add.png b/images/Froxlor/icons/htaccess_add.png new file mode 100644 index 00000000..ef1a110a Binary files /dev/null and b/images/Froxlor/icons/htaccess_add.png differ diff --git a/images/Froxlor/icons/htpasswd.png b/images/Froxlor/icons/htpasswd.png new file mode 100644 index 00000000..6d27c343 Binary files /dev/null and b/images/Froxlor/icons/htpasswd.png differ diff --git a/images/Froxlor/icons/htpasswd_add.png b/images/Froxlor/icons/htpasswd_add.png new file mode 100644 index 00000000..ef1a110a Binary files /dev/null and b/images/Froxlor/icons/htpasswd_add.png differ diff --git a/images/Froxlor/icons/htpasswd_edit.png b/images/Froxlor/icons/htpasswd_edit.png new file mode 100644 index 00000000..a8e19094 Binary files /dev/null and b/images/Froxlor/icons/htpasswd_edit.png differ diff --git a/images/Froxlor/icons/info.png b/images/Froxlor/icons/info.png new file mode 100644 index 00000000..f59130d1 Binary files /dev/null and b/images/Froxlor/icons/info.png differ diff --git a/images/Froxlor/icons/ipsports.png b/images/Froxlor/icons/ipsports.png new file mode 100644 index 00000000..4915a85c Binary files /dev/null and b/images/Froxlor/icons/ipsports.png differ diff --git a/images/Froxlor/icons/ipsports_add.png b/images/Froxlor/icons/ipsports_add.png new file mode 100644 index 00000000..0e5664cc Binary files /dev/null and b/images/Froxlor/icons/ipsports_add.png differ diff --git a/images/Froxlor/icons/ipsports_edit.png b/images/Froxlor/icons/ipsports_edit.png new file mode 100644 index 00000000..4080988b Binary files /dev/null and b/images/Froxlor/icons/ipsports_edit.png differ diff --git a/images/Froxlor/icons/mail.png b/images/Froxlor/icons/mail.png new file mode 100644 index 00000000..a3e98b6a Binary files /dev/null and b/images/Froxlor/icons/mail.png differ diff --git a/images/Froxlor/icons/messages.png b/images/Froxlor/icons/messages.png new file mode 100644 index 00000000..4abfa1f1 Binary files /dev/null and b/images/Froxlor/icons/messages.png differ diff --git a/images/Froxlor/icons/mysql_add.png b/images/Froxlor/icons/mysql_add.png new file mode 100644 index 00000000..ae866e7d Binary files /dev/null and b/images/Froxlor/icons/mysql_add.png differ diff --git a/images/Froxlor/icons/mysql_edit.png b/images/Froxlor/icons/mysql_edit.png new file mode 100644 index 00000000..61e80135 Binary files /dev/null and b/images/Froxlor/icons/mysql_edit.png differ diff --git a/images/Froxlor/icons/mysqls.png b/images/Froxlor/icons/mysqls.png new file mode 100644 index 00000000..942c3ce1 Binary files /dev/null and b/images/Froxlor/icons/mysqls.png differ diff --git a/images/Froxlor/icons/ok.png b/images/Froxlor/icons/ok.png new file mode 100644 index 00000000..ab86df2f Binary files /dev/null and b/images/Froxlor/icons/ok.png differ diff --git a/images/Froxlor/icons/password.png b/images/Froxlor/icons/password.png new file mode 100644 index 00000000..0414b21b Binary files /dev/null and b/images/Froxlor/icons/password.png differ diff --git a/images/Froxlor/icons/phpsettings.png b/images/Froxlor/icons/phpsettings.png new file mode 100644 index 00000000..d9ed484d Binary files /dev/null and b/images/Froxlor/icons/phpsettings.png differ diff --git a/images/Froxlor/icons/phpsettings_add.png b/images/Froxlor/icons/phpsettings_add.png new file mode 100644 index 00000000..3627e930 Binary files /dev/null and b/images/Froxlor/icons/phpsettings_add.png differ diff --git a/images/Froxlor/icons/phpsettings_edit.png b/images/Froxlor/icons/phpsettings_edit.png new file mode 100644 index 00000000..1047dba6 Binary files /dev/null and b/images/Froxlor/icons/phpsettings_edit.png differ diff --git a/images/Froxlor/icons/replace_vars.png b/images/Froxlor/icons/replace_vars.png new file mode 100644 index 00000000..960f2bc2 Binary files /dev/null and b/images/Froxlor/icons/replace_vars.png differ diff --git a/images/Froxlor/icons/settings.png b/images/Froxlor/icons/settings.png new file mode 100644 index 00000000..992a10e9 Binary files /dev/null and b/images/Froxlor/icons/settings.png differ diff --git a/images/Froxlor/icons/syslog.png b/images/Froxlor/icons/syslog.png new file mode 100644 index 00000000..190b0323 Binary files /dev/null and b/images/Froxlor/icons/syslog.png differ diff --git a/images/Froxlor/icons/syslog_truncate.png b/images/Froxlor/icons/syslog_truncate.png new file mode 100644 index 00000000..b4613056 Binary files /dev/null and b/images/Froxlor/icons/syslog_truncate.png differ diff --git a/images/Froxlor/icons/tag_blue.png b/images/Froxlor/icons/tag_blue.png new file mode 100644 index 00000000..9757fc6e Binary files /dev/null and b/images/Froxlor/icons/tag_blue.png differ diff --git a/images/Froxlor/icons/tag_orange.png b/images/Froxlor/icons/tag_orange.png new file mode 100644 index 00000000..454a59f3 Binary files /dev/null and b/images/Froxlor/icons/tag_orange.png differ diff --git a/images/Froxlor/icons/templates.png b/images/Froxlor/icons/templates.png new file mode 100644 index 00000000..ffeb0595 Binary files /dev/null and b/images/Froxlor/icons/templates.png differ diff --git a/images/Froxlor/icons/templates_add.png b/images/Froxlor/icons/templates_add.png new file mode 100644 index 00000000..11044616 Binary files /dev/null and b/images/Froxlor/icons/templates_add.png differ diff --git a/images/Froxlor/icons/templates_edit.png b/images/Froxlor/icons/templates_edit.png new file mode 100644 index 00000000..515a658a Binary files /dev/null and b/images/Froxlor/icons/templates_edit.png differ diff --git a/images/Froxlor/icons/text_align_center.png b/images/Froxlor/icons/text_align_center.png new file mode 100644 index 00000000..57beb381 Binary files /dev/null and b/images/Froxlor/icons/text_align_center.png differ diff --git a/images/Froxlor/icons/text_align_justify.png b/images/Froxlor/icons/text_align_justify.png new file mode 100644 index 00000000..2fbdd692 Binary files /dev/null and b/images/Froxlor/icons/text_align_justify.png differ diff --git a/images/Froxlor/icons/text_align_left.png b/images/Froxlor/icons/text_align_left.png new file mode 100644 index 00000000..6c8fcc11 Binary files /dev/null and b/images/Froxlor/icons/text_align_left.png differ diff --git a/images/Froxlor/icons/text_align_right.png b/images/Froxlor/icons/text_align_right.png new file mode 100644 index 00000000..a1502571 Binary files /dev/null and b/images/Froxlor/icons/text_align_right.png differ diff --git a/images/Froxlor/icons/ticket_add.png b/images/Froxlor/icons/ticket_add.png new file mode 100644 index 00000000..49da1b1b Binary files /dev/null and b/images/Froxlor/icons/ticket_add.png differ diff --git a/images/Froxlor/icons/ticket_answer.png b/images/Froxlor/icons/ticket_answer.png new file mode 100644 index 00000000..7733dfd8 Binary files /dev/null and b/images/Froxlor/icons/ticket_answer.png differ diff --git a/images/Froxlor/icons/ticket_archive.png b/images/Froxlor/icons/ticket_archive.png new file mode 100644 index 00000000..a43a5a2a Binary files /dev/null and b/images/Froxlor/icons/ticket_archive.png differ diff --git a/images/Froxlor/icons/ticket_archive_search.png b/images/Froxlor/icons/ticket_archive_search.png new file mode 100644 index 00000000..e7bfc950 Binary files /dev/null and b/images/Froxlor/icons/ticket_archive_search.png differ diff --git a/images/Froxlor/icons/ticket_close.png b/images/Froxlor/icons/ticket_close.png new file mode 100644 index 00000000..97518437 Binary files /dev/null and b/images/Froxlor/icons/ticket_close.png differ diff --git a/images/Froxlor/icons/ticket_new.png b/images/Froxlor/icons/ticket_new.png new file mode 100644 index 00000000..49da1b1b Binary files /dev/null and b/images/Froxlor/icons/ticket_new.png differ diff --git a/images/Froxlor/icons/ticket_reopen.png b/images/Froxlor/icons/ticket_reopen.png new file mode 100644 index 00000000..9f06bbd4 Binary files /dev/null and b/images/Froxlor/icons/ticket_reopen.png differ diff --git a/images/Froxlor/icons/ticket_reply.png b/images/Froxlor/icons/ticket_reply.png new file mode 100644 index 00000000..6a3b4e85 Binary files /dev/null and b/images/Froxlor/icons/ticket_reply.png differ diff --git a/images/Froxlor/icons/ticket_show.png b/images/Froxlor/icons/ticket_show.png new file mode 100644 index 00000000..204247b3 Binary files /dev/null and b/images/Froxlor/icons/ticket_show.png differ diff --git a/images/Froxlor/icons/tickets.png b/images/Froxlor/icons/tickets.png new file mode 100644 index 00000000..a43a5a2a Binary files /dev/null and b/images/Froxlor/icons/tickets.png differ diff --git a/images/Froxlor/icons/traffic.png b/images/Froxlor/icons/traffic.png new file mode 100644 index 00000000..ca82310b Binary files /dev/null and b/images/Froxlor/icons/traffic.png differ diff --git a/images/Froxlor/icons/trash.png b/images/Froxlor/icons/trash.png new file mode 100644 index 00000000..3f46d7b5 Binary files /dev/null and b/images/Froxlor/icons/trash.png differ diff --git a/images/Froxlor/icons/up.png b/images/Froxlor/icons/up.png new file mode 100644 index 00000000..bace5c14 Binary files /dev/null and b/images/Froxlor/icons/up.png differ diff --git a/images/Froxlor/icons/user_add.png b/images/Froxlor/icons/user_add.png new file mode 100644 index 00000000..71179340 Binary files /dev/null and b/images/Froxlor/icons/user_add.png differ diff --git a/images/Froxlor/icons/user_edit.png b/images/Froxlor/icons/user_edit.png new file mode 100644 index 00000000..2219127f Binary files /dev/null and b/images/Froxlor/icons/user_edit.png differ diff --git a/images/Froxlor/icons/warning.png b/images/Froxlor/icons/warning.png new file mode 100644 index 00000000..704cf4ba Binary files /dev/null and b/images/Froxlor/icons/warning.png differ diff --git a/images/Froxlor/logo.png b/images/Froxlor/logo.png new file mode 100644 index 00000000..f3a64478 Binary files /dev/null and b/images/Froxlor/logo.png differ diff --git a/images/Froxlor/multiserver/Thumbs.db b/images/Froxlor/multiserver/Thumbs.db new file mode 100644 index 00000000..2b8c4e9a Binary files /dev/null and b/images/Froxlor/multiserver/Thumbs.db differ diff --git a/images/Froxlor/multiserver/clock.png b/images/Froxlor/multiserver/clock.png new file mode 100644 index 00000000..e58a1150 Binary files /dev/null and b/images/Froxlor/multiserver/clock.png differ diff --git a/images/Froxlor/multiserver/deploy.png b/images/Froxlor/multiserver/deploy.png new file mode 100644 index 00000000..0a268ad0 Binary files /dev/null and b/images/Froxlor/multiserver/deploy.png differ diff --git a/images/Froxlor/multiserver/deploy_dis.png b/images/Froxlor/multiserver/deploy_dis.png new file mode 100644 index 00000000..f9735341 Binary files /dev/null and b/images/Froxlor/multiserver/deploy_dis.png differ diff --git a/images/Froxlor/multiserver/edit.png b/images/Froxlor/multiserver/edit.png new file mode 100644 index 00000000..119464e4 Binary files /dev/null and b/images/Froxlor/multiserver/edit.png differ diff --git a/images/Froxlor/multiserver/no.png b/images/Froxlor/multiserver/no.png new file mode 100644 index 00000000..4f1cde2f Binary files /dev/null and b/images/Froxlor/multiserver/no.png differ diff --git a/images/Froxlor/multiserver/refresh.png b/images/Froxlor/multiserver/refresh.png new file mode 100644 index 00000000..eeb515b5 Binary files /dev/null and b/images/Froxlor/multiserver/refresh.png differ diff --git a/images/Froxlor/multiserver/refresh_dis.png b/images/Froxlor/multiserver/refresh_dis.png new file mode 100644 index 00000000..b3de144b Binary files /dev/null and b/images/Froxlor/multiserver/refresh_dis.png differ diff --git a/images/Froxlor/multiserver/server.png b/images/Froxlor/multiserver/server.png new file mode 100644 index 00000000..7f2ba3cc Binary files /dev/null and b/images/Froxlor/multiserver/server.png differ diff --git a/images/Froxlor/multiserver/settings.png b/images/Froxlor/multiserver/settings.png new file mode 100644 index 00000000..6b8f5043 Binary files /dev/null and b/images/Froxlor/multiserver/settings.png differ diff --git a/images/Froxlor/multiserver/settings_dis.png b/images/Froxlor/multiserver/settings_dis.png new file mode 100644 index 00000000..c9e63b84 Binary files /dev/null and b/images/Froxlor/multiserver/settings_dis.png differ diff --git a/images/Froxlor/multiserver/tick.png b/images/Froxlor/multiserver/tick.png new file mode 100644 index 00000000..fd847a5b Binary files /dev/null and b/images/Froxlor/multiserver/tick.png differ diff --git a/images/Froxlor/multiserver/trash.png b/images/Froxlor/multiserver/trash.png new file mode 100644 index 00000000..c61e169f Binary files /dev/null and b/images/Froxlor/multiserver/trash.png differ diff --git a/images/Froxlor/multiserver/view.png b/images/Froxlor/multiserver/view.png new file mode 100644 index 00000000..6adc65af Binary files /dev/null and b/images/Froxlor/multiserver/view.png differ diff --git a/images/header.gif b/images/header.gif deleted file mode 100644 index 8476d7ad..00000000 Binary files a/images/header.gif and /dev/null differ diff --git a/index.php b/index.php index 6b897a86..c14332ec 100644 --- a/index.php +++ b/index.php @@ -177,12 +177,32 @@ if($action == 'login') $language = $settings['panel']['standardlanguage']; } + if(isset($userinfo['theme']) && $userinfo['theme'] != '') { + $theme = $userinfo['theme']; + } + else + { + $theme = $settings['panel']['default_theme']; + } + if($settings['session']['allow_multiple_login'] != '1') { $db->query("DELETE FROM `" . TABLE_PANEL_SESSIONS . "` WHERE `userid` = '" . (int)$userinfo['userid'] . "' AND `adminsession` = '" . $db->escape($userinfo['adminsession']) . "'"); } - $db->query("INSERT INTO `" . TABLE_PANEL_SESSIONS . "` (`hash`, `userid`, `ipaddress`, `useragent`, `lastactivity`, `language`, `adminsession`) VALUES ('" . $db->escape($s) . "', '" . (int)$userinfo['userid'] . "', '" . $db->escape($remote_addr) . "', '" . $db->escape($http_user_agent) . "', '" . time() . "', '" . $db->escape($language) . "', '" . $db->escape($userinfo['adminsession']) . "')"); + // check for field 'theme' in session-table, refs #607 + $fields = mysql_list_fields($db->getDbName(), TABLE_PANEL_SESSIONS); + $columns = mysql_num_fields($fields); + $field_array = array(); + for ($i = 0; $i < $columns; $i++) { + $field_array[] = mysql_field_name($fields, $i); + } + + if (!in_array('theme', $field_array)) { + $db->query("INSERT INTO `" . TABLE_PANEL_SESSIONS . "` (`hash`, `userid`, `ipaddress`, `useragent`, `lastactivity`, `language`, `adminsession`) VALUES ('" . $db->escape($s) . "', '" . (int)$userinfo['userid'] . "', '" . $db->escape($remote_addr) . "', '" . $db->escape($http_user_agent) . "', '" . time() . "', '" . $db->escape($language) . "', '" . $db->escape($userinfo['adminsession']) . "')"); + } else { + $db->query("INSERT INTO `" . TABLE_PANEL_SESSIONS . "` (`hash`, `userid`, `ipaddress`, `useragent`, `lastactivity`, `language`, `adminsession`, `theme`) VALUES ('" . $db->escape($s) . "', '" . (int)$userinfo['userid'] . "', '" . $db->escape($remote_addr) . "', '" . $db->escape($http_user_agent) . "', '" . time() . "', '" . $db->escape($language) . "', '" . $db->escape($userinfo['adminsession']) . "', '" . $db->escape($theme) . "')"); + } if($userinfo['adminsession'] == '1') { @@ -221,6 +241,7 @@ if($action == 'login') $smessage = isset($_GET['showmessage']) ? (int)$_GET['showmessage'] : 0; $message = ''; + $successmessage = ''; switch($smessage) { @@ -369,9 +390,12 @@ if($action == 'forgotpwd') unset($user); } } + else + { + $message = $lng['login']['usernotfound']; + } } - if($adminchecked) { if($settings['panel']['allow_preset_admin'] != '1') @@ -390,5 +414,3 @@ if($action == 'forgotpwd') eval("echo \"" . getTemplate("fpwd") . "\";"); } - -?> diff --git a/install/froxlor.sql b/install/froxlor.sql index f2762aa7..38d7c77d 100644 --- a/install/froxlor.sql +++ b/install/froxlor.sql @@ -166,6 +166,7 @@ CREATE TABLE `panel_admins` ( `aps_packages_used` int(5) NOT NULL default '0', `email_autoresponder` int(5) NOT NULL default '0', `email_autoresponder_used` int(5) NOT NULL default '0', + `theme` varchar(255) NOT NULL default 'Froxlor', PRIMARY KEY (`adminid`), UNIQUE KEY `loginname` (`loginname`) ) ENGINE=MyISAM ; @@ -232,6 +233,7 @@ CREATE TABLE `panel_customers` ( `perlenabled` tinyint(1) NOT NULL default '0', `email_autoresponder` int(5) NOT NULL default '0', `email_autoresponder_used` int(5) NOT NULL default '0', + `theme` varchar(255) NOT NULL default 'Froxlor', PRIMARY KEY (`customerid`), UNIQUE KEY `loginname` (`loginname`) ) ENGINE=MyISAM ; @@ -413,6 +415,7 @@ CREATE TABLE `panel_sessions` ( `formtoken` char(32) NOT NULL default '', `language` varchar(64) NOT NULL default '', `adminsession` tinyint(1) unsigned NOT NULL default '0', + `theme` varchar(255) NOT NULL default '', PRIMARY KEY (`hash`), KEY `userid` (`userid`) ) TYPE=HEAP; @@ -444,176 +447,176 @@ CREATE TABLE `panel_settings` ( # Dumping data for table `panel_settings` # -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (1, 'session', 'sessiontimeout', '600'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (2, 'panel', 'adminmail', 'admin@SERVERNAME'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (3, 'panel', 'phpmyadmin_url', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (5, 'customer', 'accountprefix', 'web'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (6, 'customer', 'ftpprefix', 'ftp'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (7, 'customer', 'mysqlprefix', 'sql'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (8, 'system', 'lastaccountnumber', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (9, 'system', 'lastguid', '9999'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (10, 'system', 'documentroot_prefix', '/var/customers/webs/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (11, 'system', 'logfiles_directory', '/var/customers/logs/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (12, 'system', 'ipaddress', 'SERVERIP'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (14, 'system', 'apachereload_command', '/etc/init.d/apache reload'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (15, 'system', 'last_traffic_run', '000000'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (16, 'system', 'vmail_uid', '2000'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (17, 'system', 'vmail_gid', '2000'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (18, 'system', 'vmail_homedir', '/var/customers/mail/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (19, 'system', 'bindconf_directory', '/etc/bind/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (20, 'system', 'bindreload_command', '/etc/init.d/bind9 reload'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (22, 'panel', 'version', '0.9.18-svn1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (23, 'system', 'hostname', 'SERVERNAME'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (24, 'login', 'maxloginattempts', '3'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (25, 'login', 'deactivatetime', '900'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (26, 'panel', 'webmail_url', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (27, 'panel', 'webftp_url', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (28, 'panel', 'standardlanguage', 'English'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (29, 'system', 'mysql_access_host', 'localhost'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (30, 'panel', 'pathedit', 'Manual'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (32, 'system', 'lastcronrun', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (33, 'panel', 'paging', '20'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (34, 'system', 'defaultip', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (35, 'system', 'phpappendopenbasedir', '/tmp/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (36, 'panel', 'natsorting', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (37, 'system', 'deactivateddocroot', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (38, 'system', 'mailpwcleartext', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (39, 'system', 'last_tasks_run', '000000'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (40, 'customer', 'ftpatdomain', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (41, 'system', 'nameservers', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (42, 'system', 'mxservers', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (43, 'system', 'mod_log_sql', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (44, 'system', 'mod_fcgid', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (45, 'panel', 'sendalternativemail', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (46, 'system', 'apacheconf_vhost', '/etc/apache/vhosts.conf'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (47, 'system', 'apacheconf_diroptions', '/etc/apache/diroptions.conf'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (48, 'system', 'apacheconf_htpasswddir', '/etc/apache/htpasswd/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (49, 'system', 'webalizer_quiet', '2'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (50, 'ticket', 'noreply_email', 'NO-REPLY@SERVERNAME'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (51, 'ticket', 'worktime_all', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (52, 'ticket', 'worktime_begin', '00:00'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (53, 'ticket', 'worktime_end', '23:59'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (54, 'ticket', 'worktime_sat', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (55, 'ticket', 'worktime_sun', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (56, 'ticket', 'archiving_days', '5'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (57, 'system', 'last_archive_run', '000000'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (58, 'ticket', 'enabled', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (59, 'ticket', 'concurrently_open', '5'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (60, 'ticket', 'noreply_name', 'Froxlor Support'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (61, 'system', 'mod_fcgid_configdir', '/var/www/php-fcgi-scripts'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (62, 'system', 'mod_fcgid_tmpdir', '/var/customers/tmp'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (63, 'ticket', 'reset_cycle', '2'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (64, 'panel', 'no_robots', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (65, 'logger', 'enabled', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (66, 'logger', 'log_cron', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (67, 'logger', 'logfile', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (68, 'logger', 'logtypes', 'syslog,mysql'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (69, 'logger', 'severity', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (70, 'system', 'ssl_cert_file', '/etc/apache2/apache2.pem'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (71, 'system', 'use_ssl', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (72, 'system', 'openssl_cnf', '[ req ]\r\ndefault_bits = 1024\r\ndistinguished_name = req_distinguished_name\r\nattributes = req_attributes\r\nprompt = no\r\noutput_password =\r\ninput_password =\r\n[ req_distinguished_name ]\r\nC = DE\r\nST = froxlor\r\nL = froxlor \r\nO = Testcertificate\r\nOU = froxlor \r\nCN = @@domain_name@@\r\nemailAddress = @@email@@ \r\n[ req_attributes ]\r\nchallengePassword =\r\n'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (73, 'system', 'default_vhostconf', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (74, 'system', 'mail_quota_enabled', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (75, 'system', 'mail_quota', '100'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (76, 'panel', 'decimal_places', '4'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (77, 'dkim', 'use_dkim', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (78, 'system', 'webalizer_enabled', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (79, 'system', 'awstats_enabled', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (80, 'dkim', 'dkim_prefix', '/etc/postfix/dkim/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (81, 'dkim', 'dkim_domains', 'domains'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (82, 'dkim', 'dkim_dkimkeys', 'dkim-keys.conf'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (83, 'dkim', 'dkimrestart_command', '/etc/init.d/dkim-filter restart'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (84, 'panel', 'unix_names', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (85, 'panel', 'allow_preset', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (86, 'panel', 'allow_preset_admin', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (87, 'system', 'httpuser', 'www-data'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (88, 'system', 'httpgroup', 'www-data'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (89, 'system', 'webserver', 'apache2'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (90, 'autoresponder', 'autoresponder_active', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (91, 'autoresponder', 'last_autoresponder_run', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (92, 'admin', 'show_version_login', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (93, 'admin', 'show_version_footer', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (94, 'admin', 'froxlor_graphic', 'images/header.gif'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (95, 'system', 'mod_fcgid_wrapper', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (96, 'system', 'mod_fcgid_starter', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (97, 'system', 'mod_fcgid_peardir', '/usr/share/php/:/usr/share/php5/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (98, 'system', 'index_file_extension', 'html'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (99, 'aps', 'items_per_page', '20'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (100, 'aps', 'upload_fields', '5'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (101, 'aps', 'aps_active', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (102, 'aps', 'php-extension', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (103, 'aps', 'php-configuration', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (104, 'aps', 'webserver-htaccess', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (105, 'aps', 'php-function', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (106, 'aps', 'webserver-module', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (108, 'session', 'allow_multiple_login', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (109, 'panel', 'allow_domain_change_admin', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (110, 'panel', 'allow_domain_change_customer', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (111, 'system', 'mod_fcgid_maxrequests', '250'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (112, 'system','ssl_key_file','/etc/apache2/apache2.key'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (113, 'system','ssl_ca_file', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (114, 'panel', 'frontend', 'froxlor'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (115, 'spf', 'use_spf', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (116, 'spf', 'spf_entry', '@ IN TXT "v=spf1 a mx -all"'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (117, 'system', 'debug_cron', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (118, 'panel', 'password_min_length', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (119, 'system', 'store_index_file_subs', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (120, 'panel', 'adminmail_defname', 'Froxlor Administrator'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (121, 'panel', 'adminmail_return', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (122, 'dkim', 'dkim_algorithm', 'all'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (123, 'dkim', 'dkim_add_adsp', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (124, 'dkim', 'dkim_keylength', '1024'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (125, 'dkim', 'dkim_servicetype', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (126, 'dkim', 'dkim_add_adsppolicy', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (127, 'dkim', 'dkim_notes', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (128, 'system', 'stdsubdomain', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (129, 'system', 'awstats_path', '/usr/bin/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (130, 'system', 'awstats_conf', '/etc/awstats/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (131, 'system', 'defaultttl', '604800'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (132, 'defaultwebsrverrhandler', 'enabled', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (133, 'defaultwebsrverrhandler', 'err401', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (134, 'defaultwebsrverrhandler', 'err403', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (135, 'defaultwebsrverrhandler', 'err404', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (136, 'defaultwebsrverrhandler', 'err500', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (137, 'ticket', 'default_priority', '2'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (138, 'system', 'mod_fcgid_defaultini', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (139, 'system', 'ftpserver', 'proftpd'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (140, 'customredirect', 'enabled', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (141, 'customredirect', 'default', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (142, 'system', 'dns_createmailentry', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (143, 'system', 'froxlordirectlyviahostname', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (144, 'panel', 'password_regex', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (145, 'system', 'perl_path', '/usr/bin/perl'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (146, 'system', 'mod_fcgid_ownvhost', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (147, 'system', 'mod_fcgid_httpuser', 'froxlorlocal'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (148, 'system', 'mod_fcgid_httpgroup', 'froxlorlocal'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (149, 'perl', 'suexecworkaround', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (150, 'perl', 'suexecpath', '/var/www/cgi-bin/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (151, 'system', 'awstats_awstatspath', '/usr/bin/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (152, 'system', 'mod_fcgid_defaultini_ownvhost', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (153, 'system', 'awstats_icons', '/usr/share/awstats/icon/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (154, 'system', 'ssl_cert_chainfile', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (155, 'login', 'domain_login', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (156, 'system', 'nginx_php_backend', '127.0.0.1:8888'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (157, 'system', 'perl_server', 'unix:/var/run/nginx/cgiwrap-dispatch.sock'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (158, 'system', 'phpreload_command', ''); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (159, 'phpfpm', 'enabled', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (160, 'phpfpm', 'configdir', '/etc/php-fpm.d/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (161, 'phpfpm', 'reload', '/etc/init.d/php-fpm restart'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (162, 'phpfpm', 'pm', 'static'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (163, 'phpfpm', 'max_children', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (164, 'phpfpm', 'start_servers', '20'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (165, 'phpfpm', 'min_spare_servers', '5'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (166, 'phpfpm', 'max_spare_servers', '35'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (167, 'phpfpm', 'max_requests', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (168, 'phpfpm', 'tmpdir', '/var/customers/tmp/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (169, 'phpfpm', 'peardir', '/usr/share/php/:/usr/share/php5/'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (170, 'phpfpm', 'enabled_ownvhost', '0'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (171, 'phpfpm', 'vhost_httpuser', 'froxlorlocal'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (172, 'phpfpm', 'vhost_httpgroup', 'froxlorlocal'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (173, 'system', 'report_enable', '1'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (174, 'system', 'report_webmax', '90'); -INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (175, 'system', 'report_trafficmax', '90'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('session', 'sessiontimeout', '600'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'adminmail', 'admin@SERVERNAME'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'phpmyadmin_url', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('customer', 'accountprefix', 'web'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('customer', 'ftpprefix', 'ftp'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('customer', 'mysqlprefix', 'sql'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'lastaccountnumber', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'lastguid', '9999'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'documentroot_prefix', '/var/customers/webs/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'logfiles_directory', '/var/customers/logs/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'ipaddress', 'SERVERIP'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'apachereload_command', '/etc/init.d/apache reload'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'last_traffic_run', '000000'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'vmail_uid', '2000'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'vmail_gid', '2000'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'vmail_homedir', '/var/customers/mail/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'bindconf_directory', '/etc/bind/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'bindreload_command', '/etc/init.d/bind9 reload'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'version', '0.9.18-svn2'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'hostname', 'SERVERNAME'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('login', 'maxloginattempts', '3'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('login', 'deactivatetime', '900'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'webmail_url', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'webftp_url', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'standardlanguage', 'English'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mysql_access_host', 'localhost'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'pathedit', 'Manual'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'lastcronrun', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'paging', '20'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'defaultip', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'phpappendopenbasedir', '/tmp/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'natsorting', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'deactivateddocroot', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mailpwcleartext', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'last_tasks_run', '000000'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('customer', 'ftpatdomain', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'nameservers', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mxservers', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_log_sql', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'sendalternativemail', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'apacheconf_vhost', '/etc/apache/vhosts.conf'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'apacheconf_diroptions', '/etc/apache/diroptions.conf'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'apacheconf_htpasswddir', '/etc/apache/htpasswd/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'webalizer_quiet', '2'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'noreply_email', 'NO-REPLY@SERVERNAME'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'worktime_all', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'worktime_begin', '00:00'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'worktime_end', '23:59'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'worktime_sat', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'worktime_sun', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'archiving_days', '5'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'last_archive_run', '000000'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'enabled', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'concurrently_open', '5'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'noreply_name', 'Froxlor Support'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_configdir', '/var/www/php-fcgi-scripts'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_tmpdir', '/var/customers/tmp'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'reset_cycle', '2'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'no_robots', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('logger', 'enabled', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('logger', 'log_cron', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('logger', 'logfile', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('logger', 'logtypes', 'syslog,mysql'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('logger', 'severity', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'ssl_cert_file', '/etc/apache2/apache2.pem'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'use_ssl', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'openssl_cnf', '[ req ]\r\ndefault_bits = 1024\r\ndistinguished_name = req_distinguished_name\r\nattributes = req_attributes\r\nprompt = no\r\noutput_password =\r\ninput_password =\r\n[ req_distinguished_name ]\r\nC = DE\r\nST = froxlor\r\nL = froxlor \r\nO = Testcertificate\r\nOU = froxlor \r\nCN = @@domain_name@@\r\nemailAddress = @@email@@ \r\n[ req_attributes ]\r\nchallengePassword =\r\n'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'default_vhostconf', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mail_quota_enabled', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mail_quota', '100'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'decimal_places', '4'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'use_dkim', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'webalizer_enabled', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'awstats_enabled', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_prefix', '/etc/postfix/dkim/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_domains', 'domains'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_dkimkeys', 'dkim-keys.conf'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkimrestart_command', '/etc/init.d/dkim-filter restart'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'unix_names', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'allow_preset', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'allow_preset_admin', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'httpuser', 'www-data'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'httpgroup', 'www-data'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'webserver', 'apache2'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('autoresponder', 'autoresponder_active', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('autoresponder', 'last_autoresponder_run', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('admin', 'show_version_login', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('admin', 'show_version_footer', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_wrapper', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_starter', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_peardir', '/usr/share/php/:/usr/share/php5/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'index_file_extension', 'html'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'items_per_page', '20'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'upload_fields', '5'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'aps_active', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'php-extension', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'php-configuration', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'webserver-htaccess', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'php-function', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('aps', 'webserver-module', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('session', 'allow_multiple_login', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'allow_domain_change_admin', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'allow_domain_change_customer', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_maxrequests', '250'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system','ssl_key_file','/etc/apache2/apache2.key'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system','ssl_ca_file', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'frontend', 'froxlor'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('spf', 'use_spf', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('spf', 'spf_entry', '@ IN TXT "v=spf1 a mx -all"'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'debug_cron', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'password_min_length', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'store_index_file_subs', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'adminmail_defname', 'Froxlor Administrator'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'adminmail_return', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_algorithm', 'all'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_add_adsp', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_keylength', '1024'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_servicetype', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_add_adsppolicy', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('dkim', 'dkim_notes', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'stdsubdomain', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'awstats_path', '/usr/bin/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'awstats_conf', '/etc/awstats/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'defaultttl', '604800'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('defaultwebsrverrhandler', 'enabled', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('defaultwebsrverrhandler', 'err401', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('defaultwebsrverrhandler', 'err403', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('defaultwebsrverrhandler', 'err404', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('defaultwebsrverrhandler', 'err500', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('ticket', 'default_priority', '2'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_defaultini', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'ftpserver', 'proftpd'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('customredirect', 'enabled', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('customredirect', 'default', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'dns_createmailentry', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'froxlordirectlyviahostname', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'password_regex', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'perl_path', '/usr/bin/perl'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_ownvhost', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_httpuser', 'froxlorlocal'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_httpgroup', 'froxlorlocal'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('perl', 'suexecworkaround', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('perl', 'suexecpath', '/var/www/cgi-bin/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'awstats_awstatspath', '/usr/bin/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_defaultini_ownvhost', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'awstats_icons', '/usr/share/awstats/icon/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'ssl_cert_chainfile', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('login', 'domain_login', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'nginx_php_backend', '127.0.0.1:8888'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'perl_server', 'unix:/var/run/nginx/cgiwrap-dispatch.sock'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'phpreload_command', ''); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'enabled', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'configdir', '/etc/php-fpm.d/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'reload', '/etc/init.d/php-fpm restart'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'pm', 'static'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'max_children', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'start_servers', '20'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'min_spare_servers', '5'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'max_spare_servers', '35'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'max_requests', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'tmpdir', '/var/customers/tmp/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'peardir', '/usr/share/php/:/usr/share/php5/'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'enabled_ownvhost', '0'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'vhost_httpuser', 'froxlorlocal'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('phpfpm', 'vhost_httpgroup', 'froxlorlocal'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'report_enable', '1'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'report_webmax', '90'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('system', 'report_trafficmax', '90'); +INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'default_theme', 'Froxlor'); # -------------------------------------------------------- diff --git a/install/install.php b/install/install.php index 93063bbb..c9cd4b2a 100644 --- a/install/install.php +++ b/install/install.php @@ -37,9 +37,10 @@ if(file_exists('../lib/userdata.inc.php')) require ('../lib/userdata.inc.php'); if(isset($sql) - && is_array($sql)) - { - die('Sorry, Froxlor is already configured...'); + && is_array($sql) + ) { + $installed_hint = file_get_contents('../templates/Froxlor/misc/alreadyinstalledhint.tpl'); + die($installed_hint); } } @@ -94,58 +95,45 @@ if(file_exists('./lng/' . $language . '.lng.php')) * BEGIN FUNCTIONS ----------------------------------------------- */ -function page_header() -{ - +function page_header() { ?> - - + + - - - Froxlor + + + + + + + + Froxlor Server Management Panel - Installation + - - - - - - - - -
 
- - - - -
-
-
+ +
-
- - - - -
- + + + \n\t\t\t$text"; + echo ''.$text; } else { - echo " $text\n\t\t\n"; + echo ' + '.$text.' + '; } } -function requirement_checks() -{ +function requirement_checks() { + global $lng; page_header(); ?> - - - - +
+
+ Froxlor Server Management Panel +
+ +
+

Requirements

+
 Froxlor Installation
+
+ - - -
- - - +

+ +

+

+ +

- - -
- - - +

+ +

+

+ +

- -
-
+ + - - - - +
+
+ Froxlor Server Management Panel +
+ +
+

Installation

+
 Froxlor Installation
- - - -
-
- -
-
-
+ +

+ +

+

+ +

+ + -
- - - - - - - - - - - - - - - -
 
: - + -
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
:
:
>:
>:
>:
>:
 
:
>:
>:
 
>:
>:
>:/>Apache2 
/>Lighttpd2 
/>Nginx
>:
>:
-
-
-
+

+

+ + +

+ + + + +
+

+
+
+ Froxlor - Install +

+ +

+

+   + +

+

+   + +

+

+   + +

+

+   + +

+

+   + +

+

+   + +

+

+ +

+

+   + +

+

+   + +

+

+   + +

+

+ +

+

+   + +

+

+   + +

+

+   + />Apache2 +

+

+   + />ligHTTPd +

+

+   + +

+

+   + +

+

+ + + + +

+
+
+ +
+ diff --git a/install/lng/english.lng.php b/install/lng/english.lng.php index 6cfac351..68c8df3a 100644 --- a/install/lng/english.lng.php +++ b/install/lng/english.lng.php @@ -42,6 +42,7 @@ $lng['install']['httpuser'] = 'HTTP username'; $lng['install']['httpgroup'] = 'HTTP groupname'; $lng['install']['apacheversion'] = 'Apacheversion'; $lng['install']['next'] = 'Next'; +$lng['install']['installdata'] = 'Installation - Data'; /** * Progress diff --git a/install/lng/french.lng.php b/install/lng/french.lng.php index d80297bf..9ec47bf4 100644 --- a/install/lng/french.lng.php +++ b/install/lng/french.lng.php @@ -41,6 +41,7 @@ $lng['install']['servername'] = 'Nom du serveur (FQDN)'; $lng['install']['serverip'] = 'Adresse IP du serveur'; $lng['install']['apacheversion'] = 'Version du serveur Apache'; $lng['install']['next'] = 'Continuer'; +$lng['install']['installdata'] = 'Installation - Data'; /** * Progress diff --git a/install/lng/german.lng.php b/install/lng/german.lng.php index 755402cd..07e06288 100644 --- a/install/lng/german.lng.php +++ b/install/lng/german.lng.php @@ -40,6 +40,7 @@ $lng['install']['servername'] = 'Servername (FQDN)'; $lng['install']['serverip'] = 'Server-IP'; $lng['install']['apacheversion'] = 'Apacheversion'; $lng['install']['next'] = 'Fortfahren'; +$lng['install']['installdata'] = 'Installation - Daten'; /** * Progress diff --git a/install/updates/froxlor/0.9/update_0.9.inc.php b/install/updates/froxlor/0.9/update_0.9.inc.php index f3cb8976..6b2e646d 100644 --- a/install/updates/froxlor/0.9/update_0.9.inc.php +++ b/install/updates/froxlor/0.9/update_0.9.inc.php @@ -1443,3 +1443,26 @@ if(isFroxlorVersion('0.9.17')) updateToVersion('0.9.18-svn1'); } + +if(isFroxlorVersion('0.9.18-svn1')) +{ + showUpdateStep("Updating from 0.9.18-svn1 to 0.9.18-svn2", false); + + $update_default_theme = isset($_POST['update_default_theme']) ? $_POST['update_default_theme'] : 'Froxlor'; + + showUpdateStep("Adding new settings for themes"); + $db->query("INSERT INTO `" . TABLE_PANEL_SETTINGS . "` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'default_theme', '".$db->escape($update_default_theme)."');"); + lastStepStatus(0); + + showUpdateStep("Delete old setting for header-graphic"); + $db->query("DELETE FROM `" . TABLE_PANEL_SETTINGS . "` WHERE `settinggroup`='admin' AND `varname` = 'froxlor_graphic';"); + lastStepStatus(0); + + showUpdateStep("Updating table layouts"); + $db->query("ALTER TABLE `".TABLE_PANEL_ADMINS."` ADD `theme` varchar(255) NOT NULL default 'Froxlor' AFTER `email_autoresponder_used`;"); + $db->query("ALTER TABLE `".TABLE_PANEL_CUSTOMERS."` ADD `theme` varchar(255) NOT NULL default 'Froxlor' AFTER `email_autoresponder_used`;"); + $db->query("ALTER TABLE `".TABLE_PANEL_SESSIONS."` ADD `theme` varchar(255) NOT NULL default '' AFTER `adminsession`;"); + lastStepStatus(0); + + updateToVersion('0.9.18-svn2'); +} diff --git a/install/updates/preconfig/0.9/preconfig_0.9.inc.php b/install/updates/preconfig/0.9/preconfig_0.9.inc.php index a29cd1c2..78754d24 100644 --- a/install/updates/preconfig/0.9/preconfig_0.9.inc.php +++ b/install/updates/preconfig/0.9/preconfig_0.9.inc.php @@ -415,4 +415,18 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version) $question.= '
'; eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";"); } + + if(versionInUpdate($current_version, '0.9.18-svn2')) + { + $has_preconfig = true; + $description = 'As you can (obviously) see, Froxlor now comes with a new theme. You also have the possibility to switch back to "Classic" if you want to.'; + $question = 'Select default panel theme: '; + $question.= ''; + eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";"); + } } diff --git a/install/updatesql.php b/install/updatesql.php index 8e2beec3..5f5f7ab6 100644 --- a/install/updatesql.php +++ b/install/updatesql.php @@ -105,5 +105,3 @@ if(isFroxlor()) $filelog->logAction(ADM_ACTION, LOG_WARNING, '--------------- END LOG ---------------'); unset($filelog); } - -?> diff --git a/lib/.gitignore b/lib/.gitignore new file mode 100644 index 00000000..015be9fe --- /dev/null +++ b/lib/.gitignore @@ -0,0 +1 @@ +userdata.inc.php diff --git a/lib/classes/aps/class.ApsParser.php b/lib/classes/aps/class.ApsParser.php index efb58382..87b12bc0 100644 --- a/lib/classes/aps/class.ApsParser.php +++ b/lib/classes/aps/class.ApsParser.php @@ -911,7 +911,7 @@ class ApsParser if($Error == 1) { - self::InfoBox($lng['aps']['nospecialchars']); + self::InfoBox($lng['aps']['nospecialchars'], 1); } elseif($Error == 2) { @@ -948,11 +948,11 @@ class ApsParser { if($this->db->num_rows($result) == 1) { - self::InfoBox(sprintf($lng['aps']['searchoneresult'], $this->db->num_rows($result))); + self::InfoBox(sprintf($lng['aps']['searchoneresult'], $this->db->num_rows($result)), 2); } else { - self::InfoBox(sprintf($lng['aps']['searchmultiresult'], $this->db->num_rows($result))); + self::InfoBox(sprintf($lng['aps']['searchmultiresult'], $this->db->num_rows($result)), 2); } while($Row = $this->db->fetch_array($result)) @@ -996,7 +996,7 @@ class ApsParser //skip if parse of xml has failed if($Xml == false)continue; - $Icon = './images/default.png'; + $Icon = './images/Classic/default.png'; $this->aps_version = isset($Xml->attributes()->version) ? (string)$Xml->attributes()->version : '1.0'; @@ -1162,7 +1162,7 @@ class ApsParser if($this->db->num_rows($result) == 0) { - self::InfoBox($lng['aps']['erroronnewinstance']); + self::InfoBox($lng['aps']['erroronnewinstance'], 1); return false; } @@ -1194,7 +1194,7 @@ class ApsParser //update used counter for packages $this->db->query('UPDATE `' . TABLE_PANEL_CUSTOMERS . '` SET `aps_packages_used` = `aps_packages_used` + 1 WHERE `customerid` = ' . (int)$CustomerId); - self::InfoBox(sprintf($lng['aps']['successonnewinstance'], $Xml->name)); + self::InfoBox(sprintf($lng['aps']['successonnewinstance'], $Xml->name), 2); unset($Xml); } @@ -1735,7 +1735,7 @@ class ApsParser $Output.= '
  • ' . $Entry . '
  • '; } - self::InfoBox(sprintf($lng['aps']['erroronscan'], $Xml->name, $Output)); + self::InfoBox(sprintf($lng['aps']['erroronscan'], $Xml->name, $Output), 1); return false; } else @@ -1819,11 +1819,11 @@ class ApsParser if($Newer == 1) { - self::InfoBox(sprintf($lng['aps']['successpackageupdate'], $Xml->name)); + self::InfoBox(sprintf($lng['aps']['successpackageupdate'], $Xml->name), 2); } else { - self::InfoBox(sprintf($lng['aps']['successpackageinstall'], $Xml->name)); + self::InfoBox(sprintf($lng['aps']['successpackageinstall'], $Xml->name), 2); } unset($Xml); @@ -1870,11 +1870,11 @@ class ApsParser if(!isset($this->userinfo['customerid'])) { - self::InfoBox(sprintf($lng['aps']['initerror'], $Error)); + self::InfoBox(sprintf($lng['aps']['initerror'], $Error), 1); } else { - self::InfoBox($lng['aps']['initerror_customer']); + self::InfoBox($lng['aps']['initerror_customer'], 1); } return; @@ -2139,11 +2139,11 @@ class ApsParser { if($i == $_GET['page']) { - echo ('' . $i . ''); + echo ('' . $i . ' '); } else { - echo ('' . $i . ''); + echo ('' . $i . ' '); } } @@ -2177,7 +2177,7 @@ class ApsParser echo ('

    '); for ($i = 1;$i < $Pages + 1;$i++) { - echo ('' . $i . ''); + echo ('' . $i . ' '); } echo ('
    '); @@ -2935,7 +2935,7 @@ class ApsParser //icon for package - $Icon = './images/default.png'; + $Icon = './images/Classic/default.png'; if($this->aps_version != '1.0') { @@ -3342,7 +3342,7 @@ class ApsParser //return if parse of xml file has failed if($Xml == false)return false; - $Icon = './images/default.png'; + $Icon = './images/Classic/default.png'; $this->aps_version = isset($Xml->attributes()->version) ? (string)$Xml->attributes()->version : '1.0'; @@ -3551,15 +3551,14 @@ class ApsParser /** * show a nice looking infobox * - * @param message message to display in beautifull layout + * @param string $Message message to display in beautifull layout + * @param int $Type 0 = warning, 1 = errror, 2 = success + * */ - - private function InfoBox($Message) + private function InfoBox($Message, $Type = 0) { global $lng, $filename, $s, $page, $action; - //shows a box with informations - eval("echo \"" . getTemplate("aps/infobox") . "\";"); } @@ -3574,5 +3573,3 @@ class ApsParser return '
    ' . $Error . '
    '; } } - -?> \ No newline at end of file diff --git a/lib/classes/database/class.db.php b/lib/classes/database/class.db.php index 3d9bc652..2c786bee 100644 --- a/lib/classes/database/class.db.php +++ b/lib/classes/database/class.db.php @@ -150,6 +150,11 @@ class db return @mysql_close($this->link_id); } + function getDbName() + { + return $this->database; + } + /** * Escapes user input to be used in mysql queries * diff --git a/lib/classes/output/class.Minify_HTML.php b/lib/classes/output/class.Minify_HTML.php new file mode 100644 index 00000000..9deff776 --- /dev/null +++ b/lib/classes/output/class.Minify_HTML.php @@ -0,0 +1,246 @@ + + */ +class Minify_HTML { + + /** + * "Minify" an HTML page + * + * @param string $html + * + * @param array $options + * + * 'cssMinifier' : (optional) callback function to process content of STYLE + * elements. + * + * 'jsMinifier' : (optional) callback function to process content of SCRIPT + * elements. Note: the type attribute is ignored. + * + * 'xhtml' : (optional boolean) should content be treated as XHTML1.0? If + * unset, minify will sniff for an XHTML doctype. + * + * @return string + */ + public static function minify($html, $options = array()) { + $min = new Minify_HTML($html, $options); + return $min->process(); + } + + + /** + * Create a minifier object + * + * @param string $html + * + * @param array $options + * + * 'cssMinifier' : (optional) callback function to process content of STYLE + * elements. + * + * 'jsMinifier' : (optional) callback function to process content of SCRIPT + * elements. Note: the type attribute is ignored. + * + * 'xhtml' : (optional boolean) should content be treated as XHTML1.0? If + * unset, minify will sniff for an XHTML doctype. + * + * @return null + */ + public function __construct($html, $options = array()) + { + $this->_html = str_replace("\r\n", "\n", trim($html)); + if (isset($options['xhtml'])) { + $this->_isXhtml = (bool)$options['xhtml']; + } + if (isset($options['cssMinifier'])) { + $this->_cssMinifier = $options['cssMinifier']; + } + if (isset($options['jsMinifier'])) { + $this->_jsMinifier = $options['jsMinifier']; + } + } + + + /** + * Minify the markeup given in the constructor + * + * @return string + */ + public function process() + { + if ($this->_isXhtml === null) { + $this->_isXhtml = (false !== strpos($this->_html, '_replacementHash = 'MINIFYHTML' . md5($_SERVER['REQUEST_TIME']); + $this->_placeholders = array(); + + // replace SCRIPTs (and minify) with placeholders + $this->_html = preg_replace_callback( + '/(\\s*)(]*?>)([\\s\\S]*?)<\\/script>(\\s*)/i' + ,array($this, '_removeScriptCB') + ,$this->_html); + + // replace STYLEs (and minify) with placeholders + $this->_html = preg_replace_callback( + '/\\s*(]*?>)([\\s\\S]*?)<\\/style>\\s*/i' + ,array($this, '_removeStyleCB') + ,$this->_html); + + // remove HTML comments (not containing IE conditional comments). + $this->_html = preg_replace_callback( + '//' + ,array($this, '_commentCB') + ,$this->_html); + + // replace PREs with placeholders + $this->_html = preg_replace_callback('/\\s*(]*?>[\\s\\S]*?<\\/pre>)\\s*/i' + ,array($this, '_removePreCB') + ,$this->_html); + + // replace TEXTAREAs with placeholders + $this->_html = preg_replace_callback( + '/\\s*(]*?>[\\s\\S]*?<\\/textarea>)\\s*/i' + ,array($this, '_removeTextareaCB') + ,$this->_html); + + // trim each line. + // @todo take into account attribute values that span multiple lines. + $this->_html = preg_replace('/^\\s+|\\s+$/m', '', $this->_html); + + // remove ws around block/undisplayed elements + $this->_html = preg_replace('/\\s+(<\\/?(?:area|base(?:font)?|blockquote|body' + .'|caption|center|cite|col(?:group)?|dd|dir|div|dl|dt|fieldset|form' + .'|frame(?:set)?|h[1-6]|head|hr|html|legend|li|link|map|menu|meta' + .'|ol|opt(?:group|ion)|p|param|t(?:able|body|head|d|h||r|foot|itle)' + .'|ul)\\b[^>]*>)/i', '$1', $this->_html); + + // remove ws outside of all elements + $this->_html = preg_replace_callback( + '/>([^<]+)_html); + + // use newlines before 1st attribute in open tags (to limit line lengths) + $this->_html = preg_replace('/(<[a-z\\-]+)\\s+([^>]+>)/i', "$1\n$2", $this->_html); + + // fill placeholders + $this->_html = str_replace( + array_keys($this->_placeholders) + ,array_values($this->_placeholders) + ,$this->_html + ); + return $this->_html; + } + + protected function _commentCB($m) + { + return (0 === strpos($m[1], '[') || false !== strpos($m[1], '_replacementHash . count($this->_placeholders) . '%'; + $this->_placeholders[$placeholder] = $content; + return $placeholder; + } + + protected $_isXhtml = null; + protected $_replacementHash = null; + protected $_placeholders = array(); + protected $_cssMinifier = null; + protected $_jsMinifier = null; + + protected function _outsideTagCB($m) + { + return '>' . preg_replace('/^\\s+|\\s+$/', ' ', $m[1]) . '<'; + } + + protected function _removePreCB($m) + { + return $this->_reservePlace($m[1]); + } + + protected function _removeTextareaCB($m) + { + return $this->_reservePlace($m[1]); + } + + protected function _removeStyleCB($m) + { + $openStyle = $m[1]; + $css = $m[2]; + // remove HTML comments + $css = preg_replace('/(?:^\\s*\\s*$)/', '', $css); + + // remove CDATA section markers + $css = $this->_removeCdata($css); + + // minify + $minifier = $this->_cssMinifier + ? $this->_cssMinifier + : 'trim'; + $css = call_user_func($minifier, $css); + + return $this->_reservePlace($this->_needsCdata($css) + ? "{$openStyle}/**/" + : "{$openStyle}{$css}" + ); + } + + protected function _removeScriptCB($m) + { + $openScript = $m[2]; + $js = $m[3]; + + // whitespace surrounding? preserve at least one space + $ws1 = ($m[1] === '') ? '' : ' '; + $ws2 = ($m[4] === '') ? '' : ' '; + + // remove HTML comments (and ending "//" if present) + $js = preg_replace('/(?:^\\s*\\s*$)/', '', $js); + + // remove CDATA section markers + $js = $this->_removeCdata($js); + + // minify + $minifier = $this->_jsMinifier + ? $this->_jsMinifier + : 'trim'; + $js = call_user_func($minifier, $js); + + return $this->_reservePlace($this->_needsCdata($js) + ? "{$ws1}{$openScript}/**/{$ws2}" + : "{$ws1}{$openScript}{$js}{$ws2}" + ); + } + + protected function _removeCdata($str) + { + return (false !== strpos($str, ''), '', $str) + : $str; + } + + protected function _needsCdata($str) + { + return ($this->_isXhtml && preg_match('/(?:[<&]|\\-\\-|\\]\\]>)/', $str)); + } +} + diff --git a/lib/classes/output/class.htmlform.php b/lib/classes/output/class.htmlform.php new file mode 100644 index 00000000..62c3db8c --- /dev/null +++ b/lib/classes/output/class.htmlform.php @@ -0,0 +1,188 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Classes + * @version $Id: class.htmlform.php 130 2010-12-22 00:54:11Z d00p $ + */ + +class htmlform +{ + /** + * internal tmp-variable to store form + * @var string + */ + private static $_form = ''; + private static $_filename = ''; + + public static function genHTMLForm($data = array()) + { + global $lng; + + self::$_form = ''; + + foreach($data as $fdata) + { + $sections = $fdata['sections']; + + foreach($sections as $section) + { + /* + * here be section title & image + */ + $title = $section['title']; + $image = $section['image']; + + if(isset($section['visible']) && $section['visible'] === false) + { + continue; + } + + eval("self::\$_form .= \"" . getTemplate("misc/form/table_section", "1") . "\";"); + + $nexto = false; + foreach($section['fields'] as $fieldname => $fielddata) + { + if(isset($fielddata['visible']) && $fielddata['visible'] === false) + { + continue; + } + + if ($nexto === false || (isset($fielddata['next_to']) && $nexto['field'] != $fielddata['next_to'])) { + $label = $fielddata['label']; + $desc = (isset($fielddata['desc']) ? $fielddata['desc'] : ''); + $style = (isset($fielddata['style']) ? ' style="'.$fielddata['style'].'"' : ''); + $mandatory = self::_getMandatoryFlag($fielddata); + $data_field = self::_parseDataField($fieldname, $fielddata); + $data_field = str_replace("\n", "", $data_field); + $data_field = str_replace("\t", "", $data_field); + if (isset($fielddata['has_nextto'])) { + $nexto = array('field' => $fieldname); + $data_field.='{NEXTTOFIELD_'.$fieldname.'}'; + } else { + $nexto = false; + } + eval("self::\$_form .= \"" . getTemplate("misc/form/table_row", "1") . "\";"); + } else { + $data_field = self::_parseDataField($fieldname, $fielddata); + $data_field = str_replace("\n", "", $data_field); + $data_field = str_replace("\t", "", $data_field); + $data_field = $fielddata['next_to_prefix'].$data_field; + self::$_form = str_replace( + '{NEXTTOFIELD_'.$fielddata['next_to'].'}', + $data_field, + self::$_form + ); + $nexto = false; + } + } + } + } + + return self::$_form; + } + + private static function _parseDataField($fieldname, $data = array()) + { + switch($data['type']) + { + case 'text': + return self::_textBox($fieldname, $data); break; + case 'textul': + return self::_textBox($fieldname, $data, 'text', true); break; + case 'password': + return self::_textBox($fieldname, $data, 'password'); break; + case 'hidden': + return self::_textBox($fieldname, $data, 'hidden'); break; + case 'yesno': + return self::_yesnoBox($data); break; + case 'select': + return self::_selectBox($fieldname, $data); break; + case 'label': + return self::_labelField($data); break; + case 'textarea': + return self::_textArea($fieldname, $data); break; + } + } + + private static function _getMandatoryFlag($data = array()) + { + if(isset($data['mandatory'])) + { + return ' *'; + } + elseif(isset($data['mandatory_ex'])) + { + return ' **'; + } + return ''; + } + + private static function _textBox($fieldname = '', $data = array(), $type = 'text', $unlimited = false) + { + $return = ''; + $extras = ''; + if(isset($data['maxlength'])) { + $extras .= ' maxlength="'.$data['maxlength'].'"'; + } + if(isset($data['size'])) { + $extras .= ' size="'.$data['size'].'"'; + } + + $value = isset($data['value']) ? $data['value'] : ''; + $ulfield = ($unlimited == true ? ' '.$data['ul_field'] : ''); + if(isset($data['display']) && $data['display'] != '') + { + $ulfield = ''.$data['display'].''; + } + + eval("\$return = \"" . getTemplate("misc/form/input_text", "1") . "\";"); + return $return; + } + + private static function _textArea($fieldname = '', $data = array()) + { + $return = ''; + $extras = ''; + if(isset($data['cols'])) { + $extras .= ' cols="'.$data['cols'].'"'; + } + if(isset($data['rows'])) { + $extras .= ' rows="'.$data['rows'].'"'; + } + $value = isset($data['value']) ? $data['value'] : ''; + + eval("\$return = \"" . getTemplate("misc/form/input_textarea", "1") . "\";"); + return $return; + } + + private static function _yesnoBox($data = array()) + { + return $data['yesno_var']; + } + + private static function _labelField($data = array()) + { + return $data['value']; + } + + private static function _selectBox($fieldname = '', $data = array()) + { + return ''; + } +} diff --git a/lib/classes/output/class.paging.php b/lib/classes/output/class.paging.php index c3180a26..e0c68e90 100644 --- a/lib/classes/output/class.paging.php +++ b/lib/classes/output/class.paging.php @@ -392,19 +392,22 @@ class paging function getHtmlSortCode($lng, $break = false) { - $sortcode = '' . ($break ? '
    ' : ' ') . ' '; + eval("\$sortcode =\"" . getTemplate("misc/htmlsortcode", '1') . "\";"); return $sortcode; } @@ -421,14 +424,18 @@ class paging if($field != '' && isset($this->fields[$field])) { - $arrowcode = ''; + $baseurl = htmlspecialchars($baseurl); + $fieldname = htmlspecialchars($field); + eval("\$arrowcode =\"" . getTemplate("misc/htmlarrowcode", '1') . "\";"); } else { + $baseurl = htmlspecialchars($baseurl); $arrowcode = array(); foreach($this->fields as $fieldname => $fieldcaption) { - $arrowcode[$fieldname] = ''; + $fieldname = htmlspecialchars($fieldname); + eval("\$arrowcode[\$fieldname] =\"" . getTemplate("misc/htmlarrowcode", '1') . "\";"); } } @@ -444,14 +451,15 @@ class paging function getHtmlSearchCode($lng) { - $sortcode = $lng['panel']['search'] . ':   '; - return $sortcode; + eval("\$searchcode =\"" . getTemplate("misc/htmlsearchcode", '1') . "\";"); + return $searchcode; } /** @@ -493,16 +501,16 @@ class paging $stop = $pages; } - $pagingcode = '« < '; + $pagingcode = '« < '; for ($i = $start;$i <= $stop;$i++) { if($i != $this->pageno) { - $pagingcode.= ' ' . $i . ' '; + $pagingcode.= ' ' . $i . ' '; } else { - $pagingcode.= ' ' . $i . ' '; + $pagingcode.= ' ' . $i . ' '; } } diff --git a/lib/formfields/admin/admin/formfield.admin_add.php b/lib/formfields/admin/admin/formfield.admin_add.php new file mode 100644 index 00000000..a35b25c4 --- /dev/null +++ b/lib/formfields/admin/admin/formfield.admin_add.php @@ -0,0 +1,211 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.admin_add.php 104 2010-12-08 07:23:22Z d00p $ + */ + +return array( + 'admin_add' => array( + 'title' => $lng['admin']['admin_add'], + 'image' => 'icons/user_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['accountdata'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'loginname' => array( + 'label' => $lng['login']['username'], + 'type' => 'text', + 'mandatory' => true + ), + 'admin_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password', + 'mandatory' => true + ), + 'def_language' => array( + 'label' => $lng['login']['language'], + 'type' => 'select', + 'select_var' => $language_options + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['contactdata'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'name' => array( + 'label' => $lng['customer']['name'], + 'type' => 'text', + 'mandatory' => true + ), + 'email' => array( + 'label' => $lng['customer']['email'], + 'type' => 'text', + 'mandatory' => true + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['servicedata'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'ipaddress' => array( + 'label' => $lng['serversettings']['ipaddress']['title'], + 'type' => 'select', + 'select_var' => $ipaddress + ), + 'change_serversettings' => array( + 'label' => $lng['admin']['change_serversettings'], + 'type' => 'yesno', + 'yesno_var' => $change_serversettings, + ), + 'customers' => array( + 'label' => $lng['admin']['customers'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $customers_ul + ), + 'customers_see_all' => array( + 'label' => $lng['admin']['customers_see_all'], + 'type' => 'yesno', + 'yesno_var' => $customers_see_all, + ), + 'domains' => array( + 'label' => $lng['admin']['domains'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $domains_ul + ), + 'domains_see_all' => array( + 'label' => $lng['admin']['domains_see_all'], + 'type' => 'yesno', + 'yesno_var' => $domains_see_all, + ), + 'caneditphpsettings' => array( + 'label' => $lng['admin']['caneditphpsettings'], + 'type' => 'yesno', + 'yesno_var' => $caneditphpsettings, + ), + 'diskspace' => array( + 'label' => $lng['customer']['diskspace'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 6, + 'mandatory' => true, + 'ul_field' => $diskspace_ul + ), + 'traffic' => array( + 'label' => $lng['customer']['traffic'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 4, + 'mandatory' => true, + 'ul_field' => $traffic_ul + ), + 'subdomains' => array( + 'label' => $lng['customer']['subdomains'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $subdomains_ul + ), + 'emails' => array( + 'label' => $lng['customer']['emails'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $emails_ul + ), + 'email_accounts' => array( + 'label' => $lng['customer']['accounts'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_accounts_ul + ), + 'email_forwarders' => array( + 'label' => $lng['customer']['forwarders'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_forwarders_ul + ), + 'email_quota' => array( + 'label' => $lng['customer']['email_quota'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['system']['mail_quota_enabled'], + 'mandatory' => true, + 'ul_field' => $email_quota_ul + ), + 'email_autoresponder' => array( + 'label' => $lng['customer']['autoresponder'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['autoresponder']['autoresponder_active'], + 'ul_field' => $email_autoresponder_ul + ), + 'ftps' => array( + 'label' => $lng['customer']['ftps'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'ul_field' => $ftps_ul + ), + 'tickets' => array( + 'label' => $lng['customer']['tickets'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['ticket']['enabled'], + 'ul_field' => $tickets_ul + ), + 'mysqls' => array( + 'label' => $lng['customer']['mysqls'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $mysqls_ul + ), + 'can_manage_aps_packages' => array( + 'label' => $lng['aps']['canmanagepackages'], + 'type' => 'yesno', + 'yesno_var' => $can_manage_aps_packages, + 'visible' => $settings['aps']['aps_active'] + ), + 'number_of_aps_packages' => array( + 'label' => $lng['aps']['numberofapspackages'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['aps']['aps_active'], + 'ul_field' => $number_of_aps_packages_ul + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/admin/formfield.admin_edit.php b/lib/formfields/admin/admin/formfield.admin_edit.php new file mode 100644 index 00000000..e23598b7 --- /dev/null +++ b/lib/formfields/admin/admin/formfield.admin_edit.php @@ -0,0 +1,221 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.admin_edit.php 104 2010-12-08 07:23:22Z d00p $ + */ + +return array( + 'admin_edit' => array( + 'title' => $lng['admin']['admin_edit'], + 'image' => 'icons/user_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['accountdata'], + 'image' => 'icons/user_edit.png', + 'fields' => array( + 'loginname' => array( + 'label' => $lng['login']['username'], + 'type' => 'label', + 'value' => $result['loginname'] + ), + 'deactivated' => array( + 'label' => $lng['admin']['deactivated_user'], + 'type' => 'yesno', + 'yesno_var' => $deactivated, + 'visible' => ($result['adminid'] == $userinfo['userid'] ? false : true) + ), + 'admin_password' => array( + 'label' => $lng['login']['password'].' ('.$lng['panel']['emptyfornochanges'].')', + 'type' => 'password', + 'visible' => ($result['adminid'] == $userinfo['userid'] ? false : true) + ), + 'def_language' => array( + 'label' => $lng['login']['language'], + 'type' => 'select', + 'select_var' => $language_options, + 'visible' => ($result['adminid'] == $userinfo['userid'] ? false : true) + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['contactdata'], + 'image' => 'icons/user_edit.png', + 'fields' => array( + 'name' => array( + 'label' => $lng['customer']['name'], + 'type' => 'text', + 'mandatory' => true, + 'value' => $result['name'] + ), + 'email' => array( + 'label' => $lng['customer']['email'], + 'type' => 'text', + 'mandatory' => true, + 'value' => $result['email'] + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['servicedata'], + 'image' => 'icons/user_add.png', + 'visible' => ($result['adminid'] != $userinfo['userid'] ? true : false), + 'fields' => array( + 'ipaddress' => array( + 'label' => $lng['serversettings']['ipaddress']['title'], + 'type' => 'select', + 'select_var' => $ipaddress + ), + 'change_serversettings' => array( + 'label' => $lng['admin']['change_serversettings'], + 'type' => 'yesno', + 'yesno_var' => $change_serversettings, + ), + 'customers' => array( + 'label' => $lng['admin']['customers'], + 'type' => 'textul', + 'value' => $result['customers'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $customers_ul + ), + 'customers_see_all' => array( + 'label' => $lng['admin']['customers_see_all'], + 'type' => 'yesno', + 'yesno_var' => $customers_see_all, + ), + 'domains' => array( + 'label' => $lng['admin']['domains'], + 'type' => 'textul', + 'value' => $result['domains'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $domains_ul + ), + 'domains_see_all' => array( + 'label' => $lng['admin']['domains_see_all'], + 'type' => 'yesno', + 'yesno_var' => $domains_see_all, + ), + 'caneditphpsettings' => array( + 'label' => $lng['admin']['caneditphpsettings'], + 'type' => 'yesno', + 'yesno_var' => $caneditphpsettings, + ), + 'diskspace' => array( + 'label' => $lng['customer']['diskspace'], + 'type' => 'textul', + 'value' => $result['diskspace'], + 'maxlength' => 6, + 'mandatory' => true, + 'ul_field' => $diskspace_ul + ), + 'traffic' => array( + 'label' => $lng['customer']['traffic'], + 'type' => 'textul', + 'value' => $result['traffic'], + 'maxlength' => 4, + 'mandatory' => true, + 'ul_field' => $traffic_ul + ), + 'subdomains' => array( + 'label' => $lng['customer']['subdomains'], + 'type' => 'textul', + 'value' => $result['subdomains'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $subdomains_ul + ), + 'emails' => array( + 'label' => $lng['customer']['emails'], + 'type' => 'textul', + 'value' => $result['emails'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $emails_ul + ), + 'email_accounts' => array( + 'label' => $lng['customer']['accounts'], + 'type' => 'textul', + 'value' => $result['email_accounts'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_accounts_ul + ), + 'email_forwarders' => array( + 'label' => $lng['customer']['forwarders'], + 'type' => 'textul', + 'value' => $result['email_forwarders'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_forwarders_ul + ), + 'email_quota' => array( + 'label' => $lng['customer']['email_quota'], + 'type' => 'textul', + 'value' => $result['email_quota'], + 'maxlength' => 9, + 'visible' => $settings['system']['mail_quota_enabled'], + 'mandatory' => true, + 'ul_field' => $email_quota_ul + ), + 'email_autoresponder' => array( + 'label' => $lng['customer']['autoresponder'], + 'type' => 'textul', + 'value' => $result['email_autoresponder'], + 'maxlength' => 9, + 'visible' => $settings['autoresponder']['autoresponder_active'], + 'ul_field' => $email_autoresponder_ul + ), + 'ftps' => array( + 'label' => $lng['customer']['ftps'], + 'type' => 'textul', + 'value' => $result['ftps'], + 'maxlength' => 9, + 'ul_field' => $ftps_ul + ), + 'tickets' => array( + 'label' => $lng['customer']['tickets'], + 'type' => 'textul', + 'value' => $result['tickets'], + 'maxlength' => 9, + 'visible' => $settings['ticket']['enabled'], + 'ul_field' => $tickets_ul + ), + 'mysqls' => array( + 'label' => $lng['customer']['mysqls'], + 'type' => 'textul', + 'value' => $result['mysqls'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $mysqls_ul + ), + 'can_manage_aps_packages' => array( + 'label' => $lng['aps']['canmanagepackages'], + 'type' => 'yesno', + 'yesno_var' => $can_manage_aps_packages, + 'visible' => $settings['aps']['aps_active'] + ), + 'number_of_aps_packages' => array( + 'label' => $lng['aps']['numberofapspackages'], + 'type' => 'textul', + 'value' => $result['aps_packages'], + 'maxlength' => 9, + 'visible' => $settings['aps']['aps_active'], + 'ul_field' => $number_of_aps_packages_ul + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/cronjobs/formfield.cronjobs_edit.php b/lib/formfields/admin/cronjobs/formfield.cronjobs_edit.php new file mode 100644 index 00000000..c121e55a --- /dev/null +++ b/lib/formfields/admin/cronjobs/formfield.cronjobs_edit.php @@ -0,0 +1,51 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.cronjobs_edit.php 105 2010-12-09 08:02:33Z d00p $ + */ + +return array( + 'cronjobs_edit' => array( + 'title' => $lng['admin']['cronjob_edit'], + 'image' => 'icons/clock_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['cronjob']['cronjobsettings'], + 'image' => 'icons/clock_edit.png', + 'fields' => array( + 'cronfile' => array( + 'label' => 'Cronjob', + 'type' => ($change_cronfile == 1 ? 'text' : 'label'), + 'value' => $result['cronfile'] + ), + 'isactive' => array( + 'label' => $lng['admin']['activated'], + 'type' => 'yesno', + 'yesno_var' => $isactive + ), + 'interval_value' => array( + 'label' => $lng['cronjob']['cronjobintervalv'], + 'type' => 'text', + 'value' => $interval_value + ), + 'interval_interval' => array( + 'label' => $lng['cronjob']['cronjobinterval'], + 'type' => 'select', + 'select_var' => $interval_interval + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/customer/formfield.customer_add.php b/lib/formfields/admin/customer/formfield.customer_add.php new file mode 100644 index 00000000..6c7e30bc --- /dev/null +++ b/lib/formfields/admin/customer/formfield.customer_add.php @@ -0,0 +1,233 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.customer_add.php 96 2010-12-07 11:53:52Z d00p $ + */ + +return array( + 'customer_add' => array( + 'title' => $lng['admin']['customer_add'], + 'image' => 'icons/user_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['accountdata'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'new_loginname' => array( + 'label' => $lng['login']['username'], + 'type' => 'text' + ), + 'createstdsubdomain' => array( + 'label' => $lng['admin']['stdsubdomain_add'].'?', + 'type' => 'yesno', + 'yesno_var' => $createstdsubdomain + ), + 'store_defaultindex' => array( + 'label' => $lng['admin']['store_defaultindex'].'?', + 'type' => 'yesno', + 'yesno_var' => $store_defaultindex + ), + 'new_customer_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password' + ), + 'sendpassword' => array( + 'label' => $lng['admin']['sendpassword'], + 'type' => 'yesno', + 'yesno_var' => $sendpassword + ), + 'def_language' => array( + 'label' => $lng['login']['language'], + 'type' => 'select', + 'select_var' => $language_options + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['contactdata'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'name' => array( + 'label' => $lng['customer']['name'], + 'type' => 'text', + 'mandatory_ex' => true + ), + 'firstname' => array( + 'label' => $lng['customer']['firstname'], + 'type' => 'text', + 'mandatory_ex' => true + ), + 'company' => array( + 'label' => $lng['customer']['company'], + 'type' => 'text', + 'mandatory_ex' => true + ), + 'street' => array( + 'label' => $lng['customer']['street'], + 'type' => 'text' + ), + 'zipcode' => array( + 'label' => $lng['customer']['zipcode'], + 'type' => 'text' + ), + 'city' => array( + 'label' => $lng['customer']['city'], + 'type' => 'text' + ), + 'phone' => array( + 'label' => $lng['customer']['phone'], + 'type' => 'text' + ), + 'fax' => array( + 'label' => $lng['customer']['fax'], + 'type' => 'text' + ), + 'email' => array( + 'label' => $lng['customer']['email'], + 'type' => 'text', + 'mandatory' => true + ), + 'customernumber' => array( + 'label' => $lng['customer']['customernumber'], + 'type' => 'text' + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['servicedata'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'diskspace' => array( + 'label' => $lng['customer']['diskspace'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 6, + 'mandatory' => true, + 'ul_field' => $diskspace_ul + ), + 'traffic' => array( + 'label' => $lng['customer']['traffic'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 4, + 'mandatory' => true, + 'ul_field' => $traffic_ul + ), + 'subdomains' => array( + 'label' => $lng['customer']['subdomains'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $subdomains_ul + ), + 'emails' => array( + 'label' => $lng['customer']['emails'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $emails_ul + ), + 'email_accounts' => array( + 'label' => $lng['customer']['accounts'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_accounts_ul + ), + 'email_forwarders' => array( + 'label' => $lng['customer']['forwarders'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_forwarders_ul + ), + 'email_quota' => array( + 'label' => $lng['customer']['email_quota'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['system']['mail_quota_enabled'], + 'mandatory' => true, + 'ul_field' => $email_quota_ul + ), + 'email_autoresponder' => array( + 'label' => $lng['customer']['autoresponder'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['autoresponder']['autoresponder_active'], + 'ul_field' => $email_autoresponder_ul + ), + 'email_imap' => array( + 'label' => $lng['customer']['email_imap'], + 'type' => 'yesno', + 'yesno_var' => $email_imap, + 'mandatory' => true + ), + 'email_pop3' => array( + 'label' => $lng['customer']['email_pop3'], + 'type' => 'yesno', + 'yesno_var' => $email_pop3, + 'mandatory' => true + ), + 'ftps' => array( + 'label' => $lng['customer']['ftps'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'ul_field' => $ftps_ul + ), + 'tickets' => array( + 'label' => $lng['customer']['tickets'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['ticket']['enabled'], + 'ul_field' => $tickets_ul + ), + 'mysqls' => array( + 'label' => $lng['customer']['mysqls'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $mysqls_ul + ), + 'phpenabled' => array( + 'label' => $lng['admin']['phpenabled'].'?', + 'type' => 'yesno', + 'yesno_var' => $phpenabled + ), + 'perlenabled' => array( + 'label' => $lng['admin']['perlenabled'].'?', + 'type' => 'yesno', + 'yesno_var' => $perlenabled + ), + 'number_of_aps_packages' => array( + 'label' => $lng['aps']['numberofapspackages'], + 'type' => 'textul', + 'value' => 0, + 'maxlength' => 9, + 'visible' => $settings['aps']['aps_active'], + 'ul_field' => $number_of_aps_packages_ul + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/customer/formfield.customer_edit.php b/lib/formfields/admin/customer/formfield.customer_edit.php new file mode 100644 index 00000000..9d23da52 --- /dev/null +++ b/lib/formfields/admin/customer/formfield.customer_edit.php @@ -0,0 +1,244 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.customer_edit.php 100 2010-12-07 12:20:17Z d00p $ + */ + +return array( + 'customer_edit' => array( + 'title' => $lng['admin']['customer_edit'], + 'image' => 'icons/user_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['accountdata'], + 'image' => 'icons/user_edit.png', + 'fields' => array( + 'loginname' => array( + 'label' => $lng['login']['username'], + 'type' => 'label', + 'value' => $result['loginname'] + ), + 'documentroot' => array( + 'label' => $lng['customer']['documentroot'], + 'type' => 'label', + 'value' => $result['documentroot'] + ), + 'createstdsubdomain' => array( + 'label' => $lng['admin']['stdsubdomain_add'].'?', + 'type' => 'yesno', + 'yesno_var' => $createstdsubdomain + ), + 'deactivated' => array( + 'label' => $lng['admin']['deactivated_user'], + 'type' => 'yesno', + 'yesno_var' => $deactivated + ), + 'new_customer_password' => array( + 'label' => $lng['login']['password'].' ('.$lng['panel']['emptyfornochanges'].')', + 'type' => 'password' + ), + 'def_language' => array( + 'label' => $lng['login']['language'], + 'type' => 'select', + 'select_var' => $language_options + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['contactdata'], + 'image' => 'icons/user_edit.png', + 'fields' => array( + 'name' => array( + 'label' => $lng['customer']['name'], + 'type' => 'text', + 'mandatory_ex' => true, + 'value' => $result['name'] + ), + 'firstname' => array( + 'label' => $lng['customer']['firstname'], + 'type' => 'text', + 'mandatory_ex' => true, + 'value' => $result['firstname'] + ), + 'company' => array( + 'label' => $lng['customer']['company'], + 'type' => 'text', + 'mandatory_ex' => true, + 'value' => $result['company'] + ), + 'street' => array( + 'label' => $lng['customer']['street'], + 'type' => 'text', + 'value' => $result['street'] + ), + 'zipcode' => array( + 'label' => $lng['customer']['zipcode'], + 'type' => 'text', + 'value' => $result['zipcode'] + ), + 'city' => array( + 'label' => $lng['customer']['city'], + 'type' => 'text', + 'value' => $result['city'] + ), + 'phone' => array( + 'label' => $lng['customer']['phone'], + 'type' => 'text', + 'value' => $result['phone'] + ), + 'fax' => array( + 'label' => $lng['customer']['fax'], + 'type' => 'text', + 'value' => $result['fax'] + ), + 'email' => array( + 'label' => $lng['customer']['email'], + 'type' => 'text', + 'mandatory' => true, + 'value' => $result['email'] + ), + 'customernumber' => array( + 'label' => $lng['customer']['customernumber'], + 'type' => 'text', + 'value' => $result['customernumber'] + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['servicedata'], + 'image' => 'icons/user_edit.png', + 'fields' => array( + 'diskspace' => array( + 'label' => $lng['customer']['diskspace'], + 'type' => 'textul', + 'value' => $result['diskspace'], + 'maxlength' => 6, + 'mandatory' => true, + 'ul_field' => $diskspace_ul + ), + 'traffic' => array( + 'label' => $lng['customer']['traffic'], + 'type' => 'textul', + 'value' => $result['traffic'], + 'maxlength' => 4, + 'mandatory' => true, + 'ul_field' => $traffic_ul + ), + 'subdomains' => array( + 'label' => $lng['customer']['subdomains'], + 'type' => 'textul', + 'value' => $result['subdomains'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $subdomains_ul + ), + 'emails' => array( + 'label' => $lng['customer']['emails'], + 'type' => 'textul', + 'value' => $result['emails'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $emails_ul + ), + 'email_accounts' => array( + 'label' => $lng['customer']['accounts'], + 'type' => 'textul', + 'value' => $result['email_accounts'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_accounts_ul + ), + 'email_forwarders' => array( + 'label' => $lng['customer']['forwarders'], + 'type' => 'textul', + 'value' => $result['email_forwarders'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $email_forwarders_ul + ), + 'email_quota' => array( + 'label' => $lng['customer']['email_quota'], + 'type' => 'textul', + 'value' => $result['email_quota'], + 'maxlength' => 9, + 'visible' => $settings['system']['mail_quota_enabled'], + 'mandatory' => true, + 'ul_field' => $email_quota_ul + ), + 'email_autoresponder' => array( + 'label' => $lng['customer']['autoresponder'], + 'type' => 'textul', + 'value' => $result['email_autoresponder'], + 'maxlength' => 9, + 'visible' => $settings['autoresponder']['autoresponder_active'], + 'ul_field' => $email_autoresponder_ul + ), + 'email_imap' => array( + 'label' => $lng['customer']['email_imap'], + 'type' => 'yesno', + 'yesno_var' => $email_imap, + 'mandatory' => true + ), + 'email_pop3' => array( + 'label' => $lng['customer']['email_pop3'], + 'type' => 'yesno', + 'yesno_var' => $email_pop3, + 'mandatory' => true + ), + 'ftps' => array( + 'label' => $lng['customer']['ftps'], + 'type' => 'textul', + 'value' => $result['ftps'], + 'maxlength' => 9, + 'ul_field' => $ftps_ul + ), + 'tickets' => array( + 'label' => $lng['customer']['tickets'], + 'type' => 'textul', + 'value' => $result['tickets'], + 'maxlength' => 9, + 'visible' => $settings['ticket']['enabled'], + 'ul_field' => $tickets_ul + ), + 'mysqls' => array( + 'label' => $lng['customer']['mysqls'], + 'type' => 'textul', + 'value' => $result['mysqls'], + 'maxlength' => 9, + 'mandatory' => true, + 'ul_field' => $mysqls_ul + ), + 'phpenabled' => array( + 'label' => $lng['admin']['phpenabled'].'?', + 'type' => 'yesno', + 'yesno_var' => $phpenabled + ), + 'perlenabled' => array( + 'label' => $lng['admin']['perlenabled'].'?', + 'type' => 'yesno', + 'yesno_var' => $perlenabled + ), + 'number_of_aps_packages' => array( + 'label' => $lng['aps']['numberofapspackages'], + 'type' => 'textul', + 'value' => $result['aps_packages'], + 'maxlength' => 9, + 'visible' => $settings['aps']['aps_active'], + 'ul_field' => $number_of_aps_packages_ul + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/domains/formfield.domains_add.php b/lib/formfields/admin/domains/formfield.domains_add.php new file mode 100644 index 00000000..93dddf35 --- /dev/null +++ b/lib/formfields/admin/domains/formfield.domains_add.php @@ -0,0 +1,211 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'domain_add' => array( + 'title' => $lng['admin']['domain_add'], + 'image' => 'icons/domain_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['domains']['domainsettings'], + 'image' => 'icons/domain_add.png', + 'fields' => array( + 'domain' => array( + 'label' => 'Domain', + 'type' => 'text' + ), + 'customerid' => array( + 'label' => $lng['admin']['customer'], + 'type' => 'select', + 'select_var' => $customers + ), + 'adminid' => array( + 'visible' => ($userinfo['customers_see_all'] == '1' ? true : false), + 'label' => $lng['admin']['admin'], + 'type' => 'select', + 'select_var' => $admins + ), + 'alias' => array( + 'label' => $lng['domains']['aliasdomain'], + 'type' => 'select', + 'select_var' => $domains + ), + 'issubof' => array( + 'label' => $lng['domains']['issubof'], + 'desc' => $lng['domains']['issubofinfo'], + 'type' => 'select', + 'select_var' => $subtodomains + ), + 'caneditdomain' => array( + 'label' => $lng['admin']['domain_edit'], + 'type' => 'yesno', + 'yesno_var' => $caneditdomain + ), + 'add_date' => array( + 'label' => $lng['domains']['add_date'], + 'desc' => $lng['panel']['dateformat'], + 'type' => 'label', + 'value' => $add_date + ), + 'registration_date' => array( + 'label' => $lng['domains']['registration_date'], + 'desc' => $lng['panel']['dateformat'], + 'type' => 'text', + 'size' => 10 + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['webserversettings'], + 'image' => 'icons/domain_add.png', + 'fields' => array( + 'documentroot' => array( + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'label' => 'DocumentRoot', + 'desc' => $lng['panel']['emptyfordefault'], + 'type' => 'text' + ), + 'ipandport' => array( + 'label' => 'IP/Port', + 'type' => 'select', + 'select_var' => $ipsandports, + ), + 'ssl' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports != '' ? true : false) : false), + 'label' => 'SSL', + 'type' => 'yesno', + 'yesno_var' => $ssl + ), + 'ssl_redirect' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports != '' ? true : false) : false), + 'label' => 'SSL Redirect', + 'type' => 'yesno', + 'yesno_var' => $ssl_redirect + ), + 'ssl_ipandport' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports != '' ? true : false) : false), + 'label' => 'SSL IP/Port', + 'type' => 'select', + 'select_var' => $ssl_ipsandports + ), + 'no_ssl_available_info' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports == '' ? true : false) : false), + 'label' => 'SSL', + 'type' => 'label', + 'value' => $lng['panel']['nosslipsavailable'] + ), + 'wwwserveralias' => array( + 'label' => $lng['admin']['wwwserveralias'], + 'type' => 'yesno', + 'yesno_var' => $wwwserveralias + ), + 'speciallogfile' => array( + 'label' => 'Speciallogfile', + 'type' => 'yesno', + 'yesno_var' => $speciallogfile + ), + 'specialsettings' => array( + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['ownvhostsettings'], + 'desc' => $lng['serversettings']['default_vhostconf']['description'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['phpserversettings'], + 'image' => 'icons/domain_add.png', + 'visible' => (($userinfo['change_serversettings'] == '1' || $userinfo['caneditphpsettings'] == '1') ? true : false), + 'fields' => array( + 'openbasedir' => array( + 'label' => 'OpenBasedir', + 'type' => 'yesno', + 'yesno_var' => $openbasedir + ), + 'safemode' => array( + 'label' => 'Safemode', + 'type' => 'yesno', + 'yesno_var' => $safemode + ), + 'phpsettingid' => array( + 'visible' => ((int)$settings['system']['mod_fcgid'] == 1 ? true : false), + 'label' => $lng['admin']['phpsettings']['title'], + 'type' => 'select', + 'select_var' => $phpconfigs + ), + 'mod_fcgid_starter' => array( + 'visible' => ((int)$settings['system']['mod_fcgid'] == 1 ? true : false), + 'label' => $lng['admin']['mod_fcgid_starter']['title'], + 'type' => 'text' + ), + 'mod_fcgid_maxrequests' => array( + 'visible' => ((int)$settings['system']['mod_fcgid'] == 1 ? true : false), + 'label' => $lng['admin']['mod_fcgid_maxrequests']['title'], + 'type' => 'text' + ) + ) + ), + 'section_d' => array( + 'title' => $lng['admin']['nameserversettings'], + 'image' => 'icons/domain_add.png', + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'fields' => array( + 'isbinddomain' => array( + 'label' => 'Nameserver', + 'type' => 'yesno', + 'yesno_var' => $isbinddomain + ), + 'zonefile' => array( + 'label' => 'Zonefile', + 'desc' => $lng['panel']['emptyfordefault'], + 'type' => 'text' + ) + ) + ), + 'section_e' => array( + 'title' => $lng['admin']['mailserversettings'], + 'image' => 'icons/domain_add.png', + 'fields' => array( + 'isemaildomain' => array( + 'label' => $lng['admin']['emaildomain'], + 'type' => 'yesno', + 'yesno_var' => $isemaildomain + ), + 'email_only' => array( + 'label' => $lng['admin']['email_only'], + 'type' => 'yesno', + 'yesno_var' => $email_only + ), + 'subcanemaildomain' => array( + 'label' => $lng['admin']['subdomainforemail'], + 'type' => 'select', + 'select_var' => $subcanemaildomain + ), + 'dkim' => array( + 'visible' => ($settings['dkim']['use_dkim'] == '1' ? true : false), + 'label' => 'DomainKeys', + 'type' => 'yesno', + 'yesno_var' => $dkim + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/domains/formfield.domains_edit.php b/lib/formfields/admin/domains/formfield.domains_edit.php new file mode 100644 index 00000000..91209dfe --- /dev/null +++ b/lib/formfields/admin/domains/formfield.domains_edit.php @@ -0,0 +1,233 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_edit.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'domain_edit' => array( + 'title' => $lng['admin']['domain_edit'], + 'image' => 'icons/domain_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['domains']['domainsettings'], + 'image' => 'icons/domain_edit.png', + 'fields' => array( + 'domain' => array( + 'label' => 'Domain', + 'type' => 'label', + 'value' => $result['domain'] + ), + 'customerid' => array( + 'label' => $lng['admin']['customer'], + 'type' => ($settings['panel']['allow_domain_change_customer'] == '1' ? 'select' : 'label'), + 'select_var' => (isset($customers) ? $customers : null), + 'value' => (isset($result['customername']) ? $result['customername'] : null) + ), + 'adminid' => array( + 'visible' => ($userinfo['customers_see_all'] == '1' ? true : false), + 'label' => $lng['admin']['admin'], + 'type' => ($settings['panel']['allow_domain_change_admin'] == '1' ? 'select' : 'label'), + 'select_var' => (isset($admins) ? $admins : null), + 'value' => (isset($result['adminname']) ? $result['adminname'] : null) + ), + 'alias' => array( + 'visible' => ($alias_check == '0' ? true : false), + 'label' => $lng['domains']['aliasdomain'], + 'type' => 'select', + 'select_var' => $domains + ), + 'issubof' => array( + 'label' => $lng['domains']['issubof'], + 'desc' => $lng['domains']['issubofinfo'], + 'type' => 'select', + 'select_var' => $subtodomains + ), + 'associated_info' => array( + 'label' => $lng['domains']['associated_with_domain'], + 'type' => 'label', + 'value' => $subdomains.' '.$lng['customer']['subdomains'].', '.$alias_check.' '.$lng['domains']['aliasdomains'].', '.$emails.' '.$lng['customer']['emails'].', '.$email_accounts.' '.$lng['customer']['accounts'].', '.$email_forwarders.' '.$lng['customer']['forwarders'] + ), + 'caneditdomain' => array( + 'label' => $lng['admin']['domain_edit'], + 'type' => 'yesno', + 'yesno_var' => $caneditdomain + ), + 'add_date' => array( + 'label' => $lng['domains']['add_date'], + 'desc' => $lng['panel']['dateformat'], + 'type' => 'label', + 'value' => $result['add_date'] + ), + 'registration_date' => array( + 'label' => $lng['domains']['registration_date'], + 'desc' => $lng['panel']['dateformat'], + 'type' => 'text', + 'value' => $result['registration_date'], + 'size' => 10 + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['webserversettings'], + 'image' => 'icons/domain_edit.png', + 'fields' => array( + 'documentroot' => array( + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'label' => 'DocumentRoot', + 'desc' => $lng['panel']['emptyfordefault'], + 'type' => 'text', + 'value' => $result['documentroot'] + ), + 'ipandport' => array( + 'label' => 'IP/Port', + 'type' => 'select', + 'select_var' => $ipsandports, + ), + 'ssl' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports != '' ? true : false) : false), + 'label' => 'SSL', + 'type' => 'yesno', + 'yesno_var' => $ssl + ), + 'ssl_redirect' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports != '' ? true : false) : false), + 'label' => 'SSL Redirect', + 'type' => 'yesno', + 'yesno_var' => $ssl_redirect + ), + 'ssl_ipandport' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports != '' ? true : false) : false), + 'label' => 'SSL IP/Port', + 'type' => 'select', + 'select_var' => $ssl_ipsandports + ), + 'no_ssl_available_info' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? ($ssl_ipsandports == '' ? true : false) : false), + 'label' => 'SSL', + 'type' => 'label', + 'value' => $lng['panel']['nosslipsavailable'] + ), + 'wwwserveralias' => array( + 'label' => $lng['admin']['wwwserveralias'], + 'type' => 'yesno', + 'yesno_var' => $wwwserveralias + ), + 'speciallogfile' => array( + 'label' => 'Speciallogfile', + 'type' => 'label', + 'value' => $speciallogfile + ), + 'specialsettings' => array( + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['ownvhostsettings'], + 'desc' => $lng['serversettings']['default_vhostconf']['description'], + 'type' => 'textarea', + 'value' => $result['specialsettings'], + 'cols' => 60, + 'rows' => 12 + ), + 'specialsettingsforsubdomains' => array( + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'label' => $lng['admin']['specialsettingsforsubdomains'], + 'desc' => $lng['serversettings']['specialsettingsforsubdomains']['description'], + 'type' => 'yesno', + 'yesno_var' => $specialsettingsforsubdomains + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['phpserversettings'], + 'image' => 'icons/domain_edit.png', + 'visible' => (($userinfo['change_serversettings'] == '1' || $userinfo['caneditphpsettings'] == '1') ? true : false), + 'fields' => array( + 'openbasedir' => array( + 'label' => 'OpenBasedir', + 'type' => 'yesno', + 'yesno_var' => $openbasedir + ), + 'safemode' => array( + 'label' => 'Safemode', + 'type' => 'yesno', + 'yesno_var' => $safemode + ), + 'phpsettingid' => array( + 'visible' => ((int)$settings['system']['mod_fcgid'] == 1 ? true : false), + 'label' => $lng['admin']['phpsettings']['title'], + 'type' => 'select', + 'select_var' => $phpconfigs + ), + 'mod_fcgid_starter' => array( + 'visible' => ((int)$settings['system']['mod_fcgid'] == 1 ? true : false), + 'label' => $lng['admin']['mod_fcgid_starter']['title'], + 'type' => 'text', + 'value' => ((int)$result['mod_fcgid_starter'] != - 1 ? $result['mod_fcgid_starter'] : '') + ), + 'mod_fcgid_maxrequests' => array( + 'visible' => ((int)$settings['system']['mod_fcgid'] == 1 ? true : false), + 'label' => $lng['admin']['mod_fcgid_maxrequests']['title'], + 'type' => 'text', + 'value' => ((int)$result['mod_fcgid_maxrequests'] != - 1 ? $result['mod_fcgid_maxrequests'] : '') + ) + ) + ), + 'section_d' => array( + 'title' => $lng['admin']['nameserversettings'], + 'image' => 'icons/domain_edit.png', + 'visible' => ($userinfo['change_serversettings'] == '1' ? true : false), + 'fields' => array( + 'isbinddomain' => array( + 'label' => 'Nameserver', + 'type' => 'yesno', + 'yesno_var' => $isbinddomain + ), + 'zonefile' => array( + 'label' => 'Zonefile', + 'desc' => $lng['panel']['emptyfordefault'], + 'type' => 'text', + 'value' => $result['zonefile'] + ) + ) + ), + 'section_e' => array( + 'title' => $lng['admin']['mailserversettings'], + 'image' => 'icons/domain_edit.png', + 'fields' => array( + 'isemaildomain' => array( + 'label' => $lng['admin']['emaildomain'], + 'type' => 'yesno', + 'yesno_var' => $isemaildomain + ), + 'email_only' => array( + 'label' => $lng['admin']['email_only'], + 'type' => 'yesno', + 'yesno_var' => $email_only + ), + 'subcanemaildomain' => array( + 'label' => $lng['admin']['subdomainforemail'], + 'type' => 'select', + 'select_var' => $subcanemaildomain + ), + 'dkim' => array( + 'visible' => ($settings['dkim']['use_dkim'] == '1' ? true : false), + 'label' => 'DomainKeys', + 'type' => 'yesno', + 'yesno_var' => $dkim + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php b/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php new file mode 100644 index 00000000..1af03726 --- /dev/null +++ b/lib/formfields/admin/ipsandports/formfield.ipsandports_add.php @@ -0,0 +1,121 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.ipsandports_add.php 111 2010-12-14 07:48:33Z d00p $ + */ + +return array( + 'ipsandports_add' => array( + 'title' => $lng['admin']['ipsandports']['add'], + 'image' => 'icons/ipsports_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['ipsandports']['ipandport'], + 'image' => 'icons/ipsports_add.png', + 'fields' => array( + 'ip' => array( + 'label' => $lng['admin']['ipsandports']['ip'], + 'type' => 'text' + ), + 'port' => array( + 'label' => $lng['admin']['ipsandports']['port'], + 'type' => 'text', + 'size' => 5 + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['ipsandports']['webserverdefaultconfig'], + 'image' => 'icons/ipsports_add.png', + 'fields' => array( + 'listen_statement' => array( + 'label' => $lng['admin']['ipsandports']['create_listen_statement'], + 'type' => 'yesno', + 'yesno_var' => $listen_statement + ), + 'namevirtualhost_statement' => array( + 'label' => $lng['admin']['ipsandports']['create_namevirtualhost_statement'], + 'type' => 'yesno', + 'yesno_var' => $namevirtualhost_statement, + ), + 'vhostcontainer' => array( + 'label' => $lng['admin']['ipsandports']['create_vhostcontainer'], + 'type' => 'yesno', + 'yesno_var' => $vhostcontainer + ), + 'docroot' => array( + 'label' => $lng['admin']['ipsandports']['docroot']['title'], + 'desc' => $lng['admin']['ipsandports']['docroot']['description'], + 'type' => 'text' + ), + 'specialsettings' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['ownvhostsettings'], + 'desc' => $lng['serversettings']['default_vhostconf']['description'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ), + 'vhostcontainer_servername_statement' => array( + 'label' => $lng['admin']['ipsandports']['create_vhostcontainer_servername_statement'], + 'type' => 'yesno', + 'yesno_var' => $vhostcontainer_servername_statement + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['ipsandports']['webserverdomainconfig'], + 'image' => 'icons/ipsports_add.png', + 'fields' => array( + 'default_vhostconf_domain' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['ipsandports']['default_vhostconf_domain'], + 'desc' => $lng['serversettings']['default_vhostconf']['description'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ) + ) + ), + 'section_d' => array( + 'title' => $lng['admin']['ipsandports']['webserverssldomainconfig'], + 'image' => 'icons/ipsports_add.png', + 'visible' => ($settings['system']['use_ssl'] == 1 ? true : false), + 'fields' => array( + 'ssl' => array( + 'label' => $lng['admin']['ipsandports']['enable_ssl'], + 'type' => 'yesno', + 'yesno_var' => $enable_ssl + ), + 'ssl_cert_file' => array( + 'label' => $lng['admin']['ipsandports']['ssl_cert_file'], + 'type' => 'text' + ), + 'ssl_key_file' => array( + 'label' => $lng['admin']['ipsandports']['ssl_key_file'], + 'type' => 'text' + ), + 'ssl_ca_file' => array( + 'label' => $lng['admin']['ipsandports']['ssl_ca_file'], + 'type' => 'text' + ), + 'ssl_cert_chainfile' => array( + 'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile'], + 'type' => 'text' + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php b/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php new file mode 100644 index 00000000..dcee8aa7 --- /dev/null +++ b/lib/formfields/admin/ipsandports/formfield.ipsandports_edit.php @@ -0,0 +1,130 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.ipsandports_edit.php 111 2010-12-14 07:48:33Z d00p $ + */ + +return array( + 'ipsandports_edit' => array( + 'title' => $lng['admin']['ipsandports']['edit'], + 'image' => 'icons/ipsports_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['ipsandports']['ipandport'], + 'image' => 'icons/ipsports_add.png', + 'fields' => array( + 'ip' => array( + 'label' => $lng['admin']['ipsandports']['ip'], + 'type' => 'text', + 'value' => $result['ip'] + ), + 'port' => array( + 'label' => $lng['admin']['ipsandports']['port'], + 'type' => 'text', + 'value' => $result['port'], + 'size' => 5 + ) + ) + ), + 'section_b' => array( + 'title' => $lng['admin']['ipsandports']['webserverdefaultconfig'], + 'image' => 'icons/ipsports_edit.png', + 'fields' => array( + 'listen_statement' => array( + 'label' => $lng['admin']['ipsandports']['create_listen_statement'], + 'type' => 'yesno', + 'yesno_var' => $listen_statement + ), + 'namevirtualhost_statement' => array( + 'label' => $lng['admin']['ipsandports']['create_namevirtualhost_statement'], + 'type' => 'yesno', + 'yesno_var' => $namevirtualhost_statement, + ), + 'vhostcontainer' => array( + 'label' => $lng['admin']['ipsandports']['create_vhostcontainer'], + 'type' => 'yesno', + 'yesno_var' => $vhostcontainer + ), + 'docroot' => array( + 'label' => $lng['admin']['ipsandports']['docroot']['title'], + 'desc' => $lng['admin']['ipsandports']['docroot']['description'], + 'type' => 'text', + 'value' => $result['docroot'] + ), + 'specialsettings' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['ownvhostsettings'], + 'desc' => $lng['serversettings']['default_vhostconf']['description'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ), + 'vhostcontainer_servername_statement' => array( + 'label' => $lng['admin']['ipsandports']['create_vhostcontainer_servername_statement'], + 'type' => 'yesno', + 'yesno_var' => $vhostcontainer_servername_statement, + 'value' => $result['specialsettings'] + ) + ) + ), + 'section_c' => array( + 'title' => $lng['admin']['ipsandports']['webserverdomainconfig'], + 'image' => 'icons/ipsports_edit.png', + 'fields' => array( + 'default_vhostconf_domain' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['ipsandports']['default_vhostconf_domain'], + 'desc' => $lng['serversettings']['default_vhostconf']['description'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12, + 'value' => $result['default_vhostconf_domain'] + ) + ) + ), + 'section_d' => array( + 'title' => $lng['admin']['ipsandports']['webserverssldomainconfig'], + 'image' => 'icons/ipsports_edit.png', + 'visible' => ($settings['system']['use_ssl'] == 1 ? true : false), + 'fields' => array( + 'ssl' => array( + 'label' => $lng['admin']['ipsandports']['enable_ssl'], + 'type' => 'yesno', + 'yesno_var' => $enable_ssl + ), + 'ssl_cert_file' => array( + 'label' => $lng['admin']['ipsandports']['ssl_cert_file'], + 'type' => 'text', + 'value' => $result['ssl_cert_file'] + ), + 'ssl_key_file' => array( + 'label' => $lng['admin']['ipsandports']['ssl_key_file'], + 'type' => 'text', + 'value' => $result['ssl_key_file'] + ), + 'ssl_ca_file' => array( + 'label' => $lng['admin']['ipsandports']['ssl_ca_file'], + 'type' => 'text', + 'value' => $result['ssl_ca_file'] + ), + 'ssl_cert_chainfile' => array( + 'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile'], + 'type' => 'text', + 'value' => $result['ssl_cert_chainfile'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/phpconfig/formfield.phpconfig_add.php b/lib/formfields/admin/phpconfig/formfield.phpconfig_add.php new file mode 100644 index 00000000..fc3dfcec --- /dev/null +++ b/lib/formfields/admin/phpconfig/formfield.phpconfig_add.php @@ -0,0 +1,65 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.phpconfig_add.php 114 2010-12-21 07:02:45Z d00p $ + */ + +return array( + 'phpconfig_add' => array( + 'title' => $lng['admin']['phpsettings']['addsettings'], + 'image' => 'icons/phpsettings_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['phpsettings']['addsettings'], + 'image' => 'icons/phpsettings_add.png', + 'fields' => array( + 'description' => array( + 'label' => $lng['admin']['phpsettings']['description'], + 'type' => 'text', + 'maxlength' => 50 + ), + 'binary' => array( + 'label' => $lng['admin']['phpsettings']['binary'], + 'type' => 'text', + 'maxlength' => 255, + 'value' => '/usr/bin/php-cgi' + ), + 'file_extensions' => array( + 'label' => $lng['admin']['phpsettings']['file_extensions'], + 'desc' => $lng['admin']['phpsettings']['file_extensions_note'], + 'type' => 'text', + 'maxlength' => 255, + 'value' => 'php' + ), + 'mod_fcgid_starter' => array( + 'label' => $lng['admin']['mod_fcgid_starter']['title'], + 'type' => 'text' + ), + 'mod_fcgid_maxrequests' => array( + 'label' => $lng['admin']['mod_fcgid_maxrequests']['title'], + 'type' => 'text' + ), + 'phpsettings' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['phpsettings']['phpinisettings'], + 'type' => 'textarea', + 'cols' => 80, + 'rows' => 20, + 'value' => $result['phpsettings'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/phpconfig/formfield.phpconfig_edit.php b/lib/formfields/admin/phpconfig/formfield.phpconfig_edit.php new file mode 100644 index 00000000..a9005d29 --- /dev/null +++ b/lib/formfields/admin/phpconfig/formfield.phpconfig_edit.php @@ -0,0 +1,68 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.phpconfig_edit.php 115 2010-12-21 07:09:28Z d00p $ + */ + +return array( + 'phpconfig_edit' => array( + 'title' => $lng['admin']['phpsettings']['editsettings'], + 'image' => 'icons/phpsettings_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['phpsettings']['editsettings'], + 'image' => 'icons/phpsettings_edit.png', + 'fields' => array( + 'description' => array( + 'label' => $lng['admin']['phpsettings']['description'], + 'type' => 'text', + 'maxlength' => 50, + 'value' => $result['description'] + ), + 'binary' => array( + 'label' => $lng['admin']['phpsettings']['binary'], + 'type' => 'text', + 'maxlength' => 255, + 'value' => $result['binary'] + ), + 'file_extensions' => array( + 'label' => $lng['admin']['phpsettings']['file_extensions'], + 'desc' => $lng['admin']['phpsettings']['file_extensions_note'], + 'type' => 'text', + 'maxlength' => 255, + 'value' => $result['file_extensions'] + ), + 'mod_fcgid_starter' => array( + 'label' => $lng['admin']['mod_fcgid_starter']['title'], + 'type' => 'text', + 'value' => ((int)$result['mod_fcgid_starter'] != - 1 ? $result['mod_fcgid_starter'] : '') + ), + 'mod_fcgid_maxrequests' => array( + 'label' => $lng['admin']['mod_fcgid_maxrequests']['title'], + 'type' => 'text', + 'value' => ((int)$result['mod_fcgid_maxrequests'] != - 1 ? $result['mod_fcgid_maxrequests'] : '') + ), + 'phpsettings' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['admin']['phpsettings']['phpinisettings'], + 'type' => 'textarea', + 'cols' => 80, + 'rows' => 20, + 'value' => $result['phpsettings'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/templates/formfield.filetemplate_add.php b/lib/formfields/admin/templates/formfield.filetemplate_add.php new file mode 100644 index 00000000..2b9ca7ee --- /dev/null +++ b/lib/formfields/admin/templates/formfield.filetemplate_add.php @@ -0,0 +1,42 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.filetemplate_add.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'filetemplate_add' => array( + 'title' => $lng['admin']['templates']['template_add'], + 'image' => 'icons/templates_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['templates']['template_add'], + 'image' => 'icons/templates_add.png', + 'fields' => array( + 'template' => array( + 'label' => $lng['admin']['templates']['action'], + 'type' => 'select', + 'select_var' => $free_templates + ), + 'filecontent' => array( + 'label' => $lng['admin']['templates']['filecontent'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/templates/formfield.filetemplate_edit.php b/lib/formfields/admin/templates/formfield.filetemplate_edit.php new file mode 100644 index 00000000..18dadee0 --- /dev/null +++ b/lib/formfields/admin/templates/formfield.filetemplate_edit.php @@ -0,0 +1,44 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.filetemplate_edit.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'filetemplate_edit' => array( + 'title' => $lng['admin']['templates']['template_edit'], + 'image' => 'icons/templates_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['templates']['template_edit'], + 'image' => 'icons/templates_edit.png', + 'fields' => array( + 'template' => array( + 'label' => $lng['admin']['templates']['action'], + 'type' => 'hidden', + 'value' => $lng['admin']['templates'][$row['varname']], + 'display' => $lng['admin']['templates'][$row['varname']] + ), + 'filecontent' => array( + 'label' => $lng['admin']['templates']['filecontent'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12, + 'value' => $row['value'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/templates/formfield.template_add.php b/lib/formfields/admin/templates/formfield.template_add.php new file mode 100644 index 00000000..9f1c259c --- /dev/null +++ b/lib/formfields/admin/templates/formfield.template_add.php @@ -0,0 +1,52 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.template_add.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'template_add' => array( + 'title' => $lng['admin']['templates']['template_add'], + 'image' => 'icons/templates_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['templates']['template_add'], + 'image' => 'icons/templates_add.png', + 'fields' => array( + 'language' => array( + 'label' => $lng['login']['language'], + 'type' => 'hidden', + 'value' => $language, + 'display' => $language + ), + 'template' => array( + 'label' => $lng['admin']['templates']['action'], + 'type' => 'select', + 'select_var' => $template_options + ), + 'subject' => array( + 'label' => $lng['admin']['templates']['subject'], + 'type' => 'text' + ), + 'mailbody' => array( + 'label' => $lng['admin']['templates']['mailbody'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/templates/formfield.template_edit.php b/lib/formfields/admin/templates/formfield.template_edit.php new file mode 100644 index 00000000..280a3d13 --- /dev/null +++ b/lib/formfields/admin/templates/formfield.template_edit.php @@ -0,0 +1,55 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.template_edit.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'template_edit' => array( + 'title' => $lng['admin']['templates']['template_edit'], + 'image' => 'icons/templates_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['admin']['templates']['template_edit'], + 'image' => 'icons/templates_edit.png', + 'fields' => array( + 'language' => array( + 'label' => $lng['login']['language'], + 'type' => 'hidden', + 'value' => $language, + 'display' => $language + ), + 'template' => array( + 'label' => $lng['admin']['templates']['action'], + 'type' => 'hidden', + 'value' => $template, + 'display' => $template + ), + 'subject' => array( + 'label' => $lng['admin']['templates']['subject'], + 'type' => 'text', + 'value' => $subject + ), + 'mailbody' => array( + 'label' => $lng['admin']['templates']['mailbody'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12, + 'value' => $mailbody + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/ticket/formfield.category_edit.php b/lib/formfields/admin/ticket/formfield.category_edit.php new file mode 100644 index 00000000..ea7f65e5 --- /dev/null +++ b/lib/formfields/admin/ticket/formfield.category_edit.php @@ -0,0 +1,44 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.category_edit.php 128 2010-12-21 08:45:13Z d00p $ + */ + +return array( + 'category_edit' => array( + 'title' => $lng['ticket']['ticket_editcateory'], + 'image' => 'icons/category_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ticket']['ticket_editcateory'], + 'image' => 'icons/category_edit.png', + 'fields' => array( + 'category' => array( + 'label' => $lng['ticket']['category'], + 'type' => 'text', + 'maxlength' => 50, + 'value' => $row['name'] + ), + 'logicalorder' => array( + 'label' => $lng['ticket']['logicalorder'], + 'desc' => $lng['ticket']['orderdesc'], + 'type' => 'text', + 'maxlength' => 3, + 'value' => $row['logicalorder'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/ticket/formfield.category_new.php b/lib/formfields/admin/ticket/formfield.category_new.php new file mode 100644 index 00000000..3e6d774d --- /dev/null +++ b/lib/formfields/admin/ticket/formfield.category_new.php @@ -0,0 +1,43 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.category_new.php 127 2010-12-21 08:41:31Z d00p $ + */ + +return array( + 'category_new' => array( + 'title' => $lng['ticket']['ticket_newcateory'], + 'image' => 'icons/category_new.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ticket']['ticket_newcateory'], + 'image' => 'icons/category_new.png', + 'fields' => array( + 'category' => array( + 'label' => $lng['ticket']['category'], + 'type' => 'text', + 'maxlength' => 50 + ), + 'logicalorder' => array( + 'label' => $lng['ticket']['logicalorder'], + 'desc' => $lng['ticket']['orderdesc'], + 'type' => 'text', + 'maxlength' => 3, + 'value' => $order + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/ticket/formfield.ticket_new.php b/lib/formfields/admin/ticket/formfield.ticket_new.php new file mode 100644 index 00000000..8d26dab6 --- /dev/null +++ b/lib/formfields/admin/ticket/formfield.ticket_new.php @@ -0,0 +1,58 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.ticket_new.php 116 2010-12-21 07:16:35Z d00p $ + */ + +return array( + 'ticket_new' => array( + 'title' => $lng['ticket']['ticket_new'], + 'image' => 'icons/ticket_new.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ticket']['ticket_new'], + 'image' => 'icons/ticket_new.png', + 'fields' => array( + 'customer' => array( + 'label' => $lng['ticket']['customer'], + 'type' => 'select', + 'select_var' => $customers + ), + 'subject' => array( + 'label' => $lng['ticket']['subject'], + 'type' => 'text', + 'maxlength' => 70 + ), + 'priority' => array( + 'label' => $lng['ticket']['priority'], + 'type' => 'select', + 'select_var' => $priorities + ), + 'category' => array( + 'label' => $lng['ticket']['category'], + 'type' => 'select', + 'select_var' => $categories + ), + 'message' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['ticket']['message'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/admin/ticket/formfield.ticket_reply.php b/lib/formfields/admin/ticket/formfield.ticket_reply.php new file mode 100644 index 00000000..423afc51 --- /dev/null +++ b/lib/formfields/admin/ticket/formfield.ticket_reply.php @@ -0,0 +1,54 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.ticket_reply.php 117 2010-12-21 07:26:58Z d00p $ + */ + +return array( + 'ticket_reply' => array( + 'title' => $lng['ticket']['ticket_reply'], + 'image' => 'icons/ticket_reply.png', + 'sections' => array( + 'section_a' => array( + 'visible' => ($isclosed == 0 ? true : false), + 'title' => $lng['ticket']['ticket_reply'], + 'image' => 'icons/ticket_reply.png', + 'fields' => array( + 'subject' => array( + 'label' => $lng['ticket']['subject'], + 'type' => 'text', + 'value' => 'Re: '.$subject + ), + 'priority' => array( + 'label' => $lng['ticket']['priority'], + 'type' => 'select', + 'select_var' => $priorities + ), + 'category' => array( + 'label' => $lng['ticket']['category'], + 'type' => 'label', + 'value' => $row['name'] + ), + 'message' => array( + 'style' => 'vertical-align:top;', + 'label' => $lng['ticket']['message'], + 'type' => 'textarea', + 'cols' => 60, + 'rows' => 12 + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/domains/formfield.domains_add.php b/lib/formfields/customer/domains/formfield.domains_add.php new file mode 100644 index 00000000..d333bb07 --- /dev/null +++ b/lib/formfields/customer/domains/formfield.domains_add.php @@ -0,0 +1,76 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_edit.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'domain_add' => array( + 'title' => $lng['domains']['subdomain_add'], + 'image' => 'icons/domain_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['domains']['subdomain_add'], + 'image' => 'icons/domain_add.png', + 'fields' => array( + 'subdomain' => array( + 'label' => $lng['domains']['domainname'], + 'type' => 'text', + 'has_nextto' => true + ), + 'domain' => array( + 'next_to' => 'subdomain', + 'next_to_prefix' => ' . ', + 'type' => 'select', + 'select_var' => $domains + ), + 'alias' => array( + 'label' => $lng['domains']['aliasdomain'], + 'type' => 'select', + 'select_var' => $aliasdomains + ), + 'path' => array( + 'label' => $lng['panel']['path'], + 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
    '.$pathSelect['value'] : ''), + 'type' => $pathSelect['type'], + 'select_var' => $pathSelect['value'] + ), + 'url' => array( + 'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false), + 'label' => $lng['panel']['urloverridespath'], + 'type' => 'text' + ), + 'redirectcode' => array( + 'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false), + 'label' => $lng['domains']['redirectifpathisurl'], + 'desc' => $lng['domains']['redirectifpathisurlinfo'], + 'type' => 'select', + 'select_var' => isset($redirectcode) ? $redirectcode : null + ), + 'ssl_redirect' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? true : false), + 'label' => 'SSL Redirect', + 'type' => 'yesno', + 'yesno_var' => $ssl_redirect + ), + 'openbasedir_path' => array( + 'label' => $lng['domain']['openbasedirpath'], + 'type' => 'select', + 'select_var' => $openbasedir + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/domains/formfield.domains_edit.php b/lib/formfields/customer/domains/formfield.domains_edit.php new file mode 100644 index 00000000..2741e5f3 --- /dev/null +++ b/lib/formfields/customer/domains/formfield.domains_edit.php @@ -0,0 +1,89 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_edit.php 130 2010-12-22 00:54:11Z d00p $ + */ + +return array( + 'domain_edit' => array( + 'title' => $lng['domains']['subdomain_edit'], + 'image' => 'icons/domain_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['domains']['subdomain_edit'], + 'image' => 'icons/domain_edit.png', + 'fields' => array( + 'domain' => array( + 'label' => $lng['domains']['domainname'], + 'type' => 'label', + 'value' => $result['domain'] + ), + 'dns' => array( + 'label' => $lng['dns']['destinationip'], + 'type' => 'label', + 'value' => $domainip + ), + 'alias' => array( + 'visible' => ($alias_check == '0' ? true : false), + 'label' => $lng['domains']['aliasdomain'], + 'type' => 'select', + 'select_var' => $domains + ), + 'path' => array( + 'label' => $lng['panel']['path'], + 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
    '.$pathSelect['value'] : ''), + 'type' => $pathSelect['type'], + 'select_var' => $pathSelect['value'] + ), + 'url' => array( + 'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false), + 'label' => $lng['panel']['urloverridespath'], + 'type' => 'text', + 'value' => $urlvalue + ), + 'redirectcode' => array( + 'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false), + 'label' => $lng['domains']['redirectifpathisurl'], + 'desc' => $lng['domains']['redirectifpathisurlinfo'], + 'type' => 'select', + 'select_var' => $redirectcode + ), + 'iswildcarddomain' => array( + 'visible' => (($result['parentdomainid'] == '0' && $userinfo['subdomains'] != '0') ? true : false), + 'label' => $lng['domains']['wildcarddomain'], + 'type' => 'yesno', + 'yesno_var' => $iswildcarddomain + ), + 'isemaildomain' => array( + 'visible' => ((( $result['subcanemaildomain'] == '1' || $result['subcanemaildomain'] == '2' ) && $result['parentdomainid'] != '0') ? true : false), + 'label' => 'Emaildomain', + 'type' => 'yesno', + 'yesno_var' => $isemaildomain + ), + 'ssl_redirect' => array( + 'visible' => ($settings['system']['use_ssl'] == '1' ? true : false), + 'label' => 'SSL Redirect', + 'type' => 'yesno', + 'yesno_var' => $ssl_redirect + ), + 'openbasedir_path' => array( + 'label' => $lng['domain']['openbasedirpath'], + 'type' => 'select', + 'select_var' => $openbasedir + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/email/formfield.emails_accountchangepasswd.php b/lib/formfields/customer/email/formfield.emails_accountchangepasswd.php new file mode 100644 index 00000000..da72cf02 --- /dev/null +++ b/lib/formfields/customer/email/formfield.emails_accountchangepasswd.php @@ -0,0 +1,40 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'emails_accountchangepasswd' => array( + 'title' => $lng['menue']['main']['changepassword'], + 'image' => 'icons/email_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['menue']['main']['changepassword'], + 'image' => 'icons/email_edit.png', + 'fields' => array( + 'email_full' => array( + 'label' => $lng['emails']['emailaddress'], + 'type' => 'label', + 'value' => $result['email_full'] + ), + 'email_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password' + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/email/formfield.emails_accountchangequota.php b/lib/formfields/customer/email/formfield.emails_accountchangequota.php new file mode 100644 index 00000000..28e9da70 --- /dev/null +++ b/lib/formfields/customer/email/formfield.emails_accountchangequota.php @@ -0,0 +1,41 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'emails_accountchangequota' => array( + 'title' => $lng['emails']['quota_edit'], + 'image' => 'icons/email_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['emails']['quota_edit'], + 'image' => 'icons/email_edit.png', + 'fields' => array( + 'email_full' => array( + 'label' => $lng['emails']['emailaddress'], + 'type' => 'label', + 'value' => $result['email_full'] + ), + 'email_quota' => array( + 'label' => $lng['emails']['quota'].' ('.$lng['panel']['megabyte'].')', + 'type' => 'text', + 'value' => $result['quota'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/email/formfield.emails_add.php b/lib/formfields/customer/email/formfield.emails_add.php new file mode 100644 index 00000000..401e074f --- /dev/null +++ b/lib/formfields/customer/email/formfield.emails_add.php @@ -0,0 +1,47 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'emails_add' => array( + 'title' => $lng['emails']['emails_add'], + 'image' => 'icons/email_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['emails']['emails_add'], + 'image' => 'icons/email_add.png', + 'fields' => array( + 'email_part' => array( + 'label' => $lng['emails']['emailaddress'], + 'type' => 'text', + 'has_nextto' => true + ), + 'domain' => array( + 'next_to' => 'email_part', + 'next_to_prefix' => ' @ ', + 'type' => 'select', + 'select_var' => $domains + ), + 'pathedit' => array( + 'label' => $lng['emails']['iscatchall'], + 'type' => 'yesno', + 'yesno_var' => $iscatchall + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/email/formfield.emails_addaccount.php b/lib/formfields/customer/email/formfield.emails_addaccount.php new file mode 100644 index 00000000..895b682e --- /dev/null +++ b/lib/formfields/customer/email/formfield.emails_addaccount.php @@ -0,0 +1,52 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'emails_addaccount' => array( + 'title' => $lng['emails']['account_add'], + 'image' => 'icons/email_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['emails']['account_add'], + 'image' => 'icons/email_add.png', + 'fields' => array( + 'email_full' => array( + 'label' => $lng['emails']['emailaddress'], + 'type' => 'label', + 'value' => $result['email_full'] + ), + 'email_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password' + ), + 'email_quota' => array( + 'visible' => $settings['system']['mail_quota_enabled'], + 'label' => $lng['emails']['quota'], + 'desc' => $lng['panel']['megabyte'], + 'type' => 'text', + 'value' => $quota + ), + 'alternative_email' => array( + 'visible' => $settings['panel']['sendalternativemail'], + 'label' => $lng['emails']['alternative_emailaddress'], + 'type' => 'text' + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/email/formfield.emails_addforwarder.php b/lib/formfields/customer/email/formfield.emails_addforwarder.php new file mode 100644 index 00000000..e247003f --- /dev/null +++ b/lib/formfields/customer/email/formfield.emails_addforwarder.php @@ -0,0 +1,40 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'emails_addforwarder' => array( + 'title' => $lng['emails']['forwarder_add'], + 'image' => 'icons/autoresponder_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['emails']['forwarder_add'], + 'image' => 'icons/autoresponder_add.png', + 'fields' => array( + 'email_full' => array( + 'label' => $lng['emails']['from'], + 'type' => 'label', + 'value' => $result['email_full'] + ), + 'destination' => array( + 'label' => $lng['emails']['to'], + 'type' => 'text' + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/email/formfield.emails_edit.php b/lib/formfields/customer/email/formfield.emails_edit.php new file mode 100644 index 00000000..9a45d847 --- /dev/null +++ b/lib/formfields/customer/email/formfield.emails_edit.php @@ -0,0 +1,64 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'emails_edit' => array( + 'title' => $lng['emails']['emails_edit'], + 'image' => 'icons/email_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['emails']['emails_edit'], + 'image' => 'icons/email_edit.png', + 'fields' => array( + 'email_full' => array( + 'label' => $lng['emails']['emailaddress'], + 'type' => 'label', + 'value' => $result['email_full'] + ), + 'account_yes' => array( + 'visible' => ($result['popaccountid'] != 0 ? true : false), + 'label' => $lng['emails']['account'], + 'type' => 'label', + 'value' => $lng['panel']['yes'].' ['.$lng['menue']['main']['changepassword'].'] ['.$lng['emails']['account_delete'].']' + ), + 'account_no' => array( + 'visible' => ($result['popaccountid'] == 0 ? true : false), + 'label' => $lng['emails']['account'], + 'type' => 'label', + 'value' => $lng['panel']['no'].' ['.$lng['emails']['account_add'].']' + ), + 'mail_quota' => array( + 'visible' => ($result['popaccountid'] != 0 && $settings['system']['mail_quota_enabled']), + 'label' => $lng['customer']['email_quota'], + 'type' => 'label', + 'value' => $result['quota'].' '.$lng['panel']['megabyte'].' ['.$lng['emails']['quota_edit'].']' + ), + 'mail_catchall' => array( + 'label' => $lng['emails']['catchall'], + 'type' => 'label', + 'value' => ($result['iscatchall'] == 0 ? $lng['panel']['no'] : $lng['panel']['yes']).' ['.$lng['panel']['toggle'].']' + ), + 'mail_fwds' => array( + 'label' => $lng['emails']['forwarders'].' ('.$forwarders_count.')', + 'type' => 'label', + 'value' => $forwarders.' '.$lng['emails']['forwarder_add'].'' + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/extras/formfield.htaccess_add.php b/lib/formfields/customer/extras/formfield.htaccess_add.php new file mode 100644 index 00000000..9890554b --- /dev/null +++ b/lib/formfields/customer/extras/formfield.htaccess_add.php @@ -0,0 +1,65 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'htaccess_add' => array( + 'title' => $lng['extras']['pathoptions_add'], + 'image' => 'icons/htpasswd_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['extras']['pathoptions_add'], + 'image' => 'icons/htpasswd_add.png', + 'fields' => array( + 'path' => array( + 'label' => $lng['panel']['path'], + 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
    '.$pathSelect['value'] : ''), + 'type' => $pathSelect['type'], + 'select_var' => $pathSelect['value'] + ), + 'options_indexes' => array( + 'label' => $lng['extras']['directory_browsing'], + 'type' => 'yesno', + 'yesno_var' => $options_indexes + ), + 'error404path' => array( + 'label' => $lng['extras']['errordocument404path'], + 'desc' => $lng['panel']['descriptionerrordocument'], + 'type' => 'text' + ), + 'error403path' => array( + 'visible' => ($settings['system']['webserver'] == 'apache2'), + 'label' => $lng['extras']['errordocument403path'], + 'desc' => $lng['panel']['descriptionerrordocument'], + 'type' => 'text' + ), + 'error500path' => array( + 'visible' => ($settings['system']['webserver'] == 'apache2'), + 'label' => $lng['extras']['errordocument500path'], + 'desc' => $lng['panel']['descriptionerrordocument'], + 'type' => 'text' + ), + 'options_cgi' => array( + 'visible' => ($cperlenabled == 1), + 'label' => $lng['extras']['execute_perl'], + 'type' => 'yesno', + 'yesno_var' => $options_cgi + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/extras/formfield.htaccess_edit.php b/lib/formfields/customer/extras/formfield.htaccess_edit.php new file mode 100644 index 00000000..216a6114 --- /dev/null +++ b/lib/formfields/customer/extras/formfield.htaccess_edit.php @@ -0,0 +1,67 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'htaccess_edit' => array( + 'title' => $lng['extras']['pathoptions_edit'], + 'image' => 'icons/htpasswd_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['extras']['pathoptions_edit'], + 'image' => 'icons/htpasswd_edit.png', + 'fields' => array( + 'path' => array( + 'label' => $lng['panel']['path'], + 'type' => 'label', + 'value' => $result['path'] + ), + 'options_indexes' => array( + 'label' => $lng['extras']['directory_browsing'], + 'type' => 'yesno', + 'yesno_var' => $options_indexes + ), + 'error404path' => array( + 'label' => $lng['extras']['errordocument404path'], + 'desc' => $lng['panel']['descriptionerrordocument'], + 'type' => 'text', + 'value' => $result['error404path'] + ), + 'error403path' => array( + 'visible' => ($settings['system']['webserver'] == 'apache2'), + 'label' => $lng['extras']['errordocument403path'], + 'desc' => $lng['panel']['descriptionerrordocument'], + 'type' => 'text', + 'value' => $result['error403path'] + ), + 'error500path' => array( + 'visible' => ($settings['system']['webserver'] == 'apache2'), + 'label' => $lng['extras']['errordocument500path'], + 'desc' => $lng['panel']['descriptionerrordocument'], + 'type' => 'text', + 'value' => $result['error500path'] + ), + 'options_cgi' => array( + 'visible' => ($cperlenabled == 1), + 'label' => $lng['extras']['execute_perl'], + 'type' => 'yesno', + 'yesno_var' => $options_cgi + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/extras/formfield.htpasswd_add.php b/lib/formfields/customer/extras/formfield.htpasswd_add.php new file mode 100644 index 00000000..fe936c37 --- /dev/null +++ b/lib/formfields/customer/extras/formfield.htpasswd_add.php @@ -0,0 +1,49 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'htpasswd_add' => array( + 'title' => $lng['extras']['directoryprotection_add'], + 'image' => 'icons/htpasswd_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['extras']['directoryprotection_add'], + 'image' => 'icons/htpasswd_add.png', + 'fields' => array( + 'path' => array( + 'label' => $lng['panel']['path'], + 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
    '.$pathSelect['value'] : ''), + 'type' => $pathSelect['type'], + 'select_var' => $pathSelect['value'] + ), + 'username' => array( + 'label' => $lng['login']['username'], + 'type' => 'text' + ), + 'directory_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password' + ), + 'directory_authname' => array( + 'label' => $lng['extras']['htpasswdauthname'], + 'type' => 'text' + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/extras/formfield.htpasswd_edit.php b/lib/formfields/customer/extras/formfield.htpasswd_edit.php new file mode 100644 index 00000000..a21b085a --- /dev/null +++ b/lib/formfields/customer/extras/formfield.htpasswd_edit.php @@ -0,0 +1,50 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + * @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ + */ + +return array( + 'htpasswd_edit' => array( + 'title' => $lng['extras']['directoryprotection_add'], + 'image' => 'icons/htpasswd_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['extras']['directoryprotection_add'], + 'image' => 'icons/htpasswd_add.png', + 'fields' => array( + 'path' => array( + 'label' => $lng['panel']['path'], + 'type' => 'label', + 'value' => $result['path'] + ), + 'username' => array( + 'label' => $lng['login']['username'], + 'type' => 'label', + 'value' => $result['username'] + ), + 'directory_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password' + ), + 'directory_authname' => array( + 'label' => $lng['extras']['htpasswdauthname'], + 'type' => 'text', + 'value' => $result['authname'] + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/ftp/formfield.ftp_add.php b/lib/formfields/customer/ftp/formfield.ftp_add.php new file mode 100644 index 00000000..bc7529c2 --- /dev/null +++ b/lib/formfields/customer/ftp/formfield.ftp_add.php @@ -0,0 +1,56 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + */ + +return array( + 'ftp_add' => array( + 'title' => $lng['ftp']['account_add'], + 'image' => 'icons/user_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ftp']['account_add'], + 'image' => 'icons/user_add.png', + 'fields' => array( + 'ftp_username' => array( + 'visible' => ($settings['customer']['ftpatdomain'] == '1' ? true : false), + 'label' => $lng['login']['username'], + 'type' => 'text' + ), + 'ftp_domain' => array( + 'visible' => ($settings['customer']['ftpatdomain'] == '1' ? true : false), + 'label' => $lng['domains']['domainname'], + 'type' => 'select', + 'select_var' => (isset($domains) ? $domains : ""), + ), + 'path' => array( + 'label' => $lng['panel']['path'], + 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
    '.$pathSelect['value'] : ''), + 'type' => $pathSelect['type'], + 'select_var' => $pathSelect['value'] + ), + 'ftp_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password', + ), + 'sendinfomail' => array( + 'label' => $lng['customer']['sendinfomail'], + 'type' => 'yesno', + 'yesno_var' => $sendinfomail, + ), + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/ftp/formfield.ftp_edit.php b/lib/formfields/customer/ftp/formfield.ftp_edit.php new file mode 100644 index 00000000..5015870e --- /dev/null +++ b/lib/formfields/customer/ftp/formfield.ftp_edit.php @@ -0,0 +1,57 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + */ + +return array( + 'ftp_edit' => array( + 'title' => $lng['ftp']['account_edit'], + 'image' => 'icons/user_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ftp']['account_edit'], + 'image' => 'icons/user_edit.png', + 'fields' => array( + 'username' => array( + 'label' => $lng['login']['username'], + 'type' => 'label', + 'value' => $result['username'], + ), + 'ftp_username' => array( + 'visible' => ($settings['customer']['ftpatdomain'] == '1' ? true : false), + 'label' => $lng['login']['username'], + 'type' => 'text' + ), + 'ftp_domain' => array( + 'visible' => ($settings['customer']['ftpatdomain'] == '1' ? true : false), + 'label' => $lng['domains']['domainname'], + 'type' => 'select', + 'select_var' => (isset($domains) ? $domains : ""), + ), + 'path' => array( + 'label' => $lng['panel']['path'], + 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null).(isset($pathSelect['note']) ? '
    '.$pathSelect['value'] : ''), + 'type' => $pathSelect['type'], + 'select_var' => $pathSelect['value'] + ), + 'ftp_password' => array( + 'label' => $lng['login']['password'], + 'desc' => $lng['ftp']['editpassdescription'], + 'type' => 'password', + ), + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/mysql/formfield.mysql_add.php b/lib/formfields/customer/mysql/formfield.mysql_add.php new file mode 100644 index 00000000..adb166fb --- /dev/null +++ b/lib/formfields/customer/mysql/formfield.mysql_add.php @@ -0,0 +1,49 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + */ + +return array( + 'mysql_add' => array( + 'title' => $lng['mysql']['database_create'], + 'image' => 'icons/mysql_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['mysql']['database_create'], + 'image' => 'icons/mysql_add.png', + 'fields' => array( + 'description' => array( + 'label' => $lng['mysql']['databasedescription'], + 'type' => 'text', + ), + 'mysql_server' => array( + 'visible' => (1 < count($sql_root) ? true : false), + 'label' => $lng['mysql']['mysql_server'], + 'type' => 'select', + 'select_var' => $mysql_servers, + ), + 'mysql_password' => array( + 'label' => $lng['login']['password'], + 'type' => 'password', + ), + 'sendinfomail' => array( + 'label' => $lng['customer']['sendinfomail'], + 'type' => 'yesno', + 'yesno_var' => $sendinfomail, + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/mysql/formfield.mysql_edit.php b/lib/formfields/customer/mysql/formfield.mysql_edit.php new file mode 100644 index 00000000..bd812fae --- /dev/null +++ b/lib/formfields/customer/mysql/formfield.mysql_edit.php @@ -0,0 +1,50 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + */ + +return array( + 'mysql_edit' => array( + 'title' => $lng['mysql']['database_edit'], + 'image' => 'icons/mysql_edit.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['mysql']['database_edit'], + 'image' => 'icons/mysql_edit.png', + 'fields' => array( + 'databasename' => array( + 'label' => $lng['mysql']['databasename'], + 'type' => 'label', + 'value' => $result['databasename'], + ), + 'description' => array( + 'label' => $lng['mysql']['databasedescription'], + 'type' => 'text', + 'value' => $result['description'], + ), + 'mysql_server' => array( + 'visible' => (1 < count($sql_root) ? true : false), + 'label' => $lng['mysql']['mysql_server'], + 'type' => 'label', + 'value' => $sql_root[$result['dbserver']]['caption'] + ), + 'mysql_password' => array( + 'label' => $lng['changepassword']['new_password_ifnotempty'], + 'type' => 'password', + ), + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/ticket/formfield.ticket_add.php b/lib/formfields/customer/ticket/formfield.ticket_add.php new file mode 100644 index 00000000..be86b2da --- /dev/null +++ b/lib/formfields/customer/ticket/formfield.ticket_add.php @@ -0,0 +1,50 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + */ + +return array( + 'ticket_add' => array( + 'title' => $lng['ticket']['ticket_new'], + 'image' => 'icons/ticket_add.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ticket']['ticket_new'], + 'image' => 'icons/ticket_add.png', + 'fields' => array( + 'subject' => array( + 'label' => $lng['ticket']['subject'], + 'type' => 'text', + ), + 'priority' => array( + 'label' => $lng['ticket']['priority'], + 'type' => 'select', + 'select_var' => $priorities, + ), + 'category' => array( + 'label' => $lng['ticket']['category'], + 'type' => 'select', + 'select_var' => $categories, + ), + 'message' => array( + 'label' => $lng['ticket']['message'], + 'type' => 'textarea', + 'rows' => 12, + 'cols' => 60, + ) + ) + ) + ) + ) +); diff --git a/lib/formfields/customer/ticket/formfield.ticket_reply.php b/lib/formfields/customer/ticket/formfield.ticket_reply.php new file mode 100644 index 00000000..698e55d6 --- /dev/null +++ b/lib/formfields/customer/ticket/formfield.ticket_reply.php @@ -0,0 +1,51 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Formfields + */ + +return array( + 'ticket_reply' => array( + 'title' => $lng['ticket']['ticket_reply'], + 'image' => 'icons/ticket_reply.png', + 'sections' => array( + 'section_a' => array( + 'title' => $lng['ticket']['ticket_reply'], + 'image' => 'icons/ticket_reply.png', + 'fields' => array( + 'subject' => array( + 'label' => $lng['ticket']['subject'], + 'type' => 'text', + 'value' => "Re: $subject", + ), + 'priority' => array( + 'label' => $lng['ticket']['priority'], + 'type' => 'select', + 'select_var' => $priorities, + ), + 'category' => array( + 'label' => $lng['ticket']['category'], + 'type' => 'label', + 'value' => $row['name'], + ), + 'message' => array( + 'label' => $lng['ticket']['message'], + 'type' => 'textarea', + 'rows' => 12, + 'cols' => 60, + ), + ) + ) + ) + ) +); diff --git a/lib/functions/filedir/function.makePathfield.php b/lib/functions/filedir/function.makePathfield.php index f2293b85..1d5098b3 100644 --- a/lib/functions/filedir/function.makePathfield.php +++ b/lib/functions/filedir/function.makePathfield.php @@ -36,11 +36,15 @@ function makePathfield($path, $uid, $gid, $fieldType, $value = '') { global $lng; $value = str_replace($path, '', $value); - $field = ''; + $field = array(); if($fieldType == 'Manual') { - $field = ''; + $field = array( + 'type' => 'text', + 'value' => htmlspecialchars($value) + ); + } elseif($fieldType == 'Dropdown') { @@ -58,7 +62,7 @@ function makePathfield($path, $uid, $gid, $fieldType, $value = '') { if(sizeof($dirList) <= 100) { - $field = ''; + $field = array( + 'type' => 'select', + 'value' => $_field + ); } else { // remove starting slash we added // for the Dropdown, #225 $value = substr($value, 1); - $field = $lng['panel']['toomanydirs']; - $field.= '
    '; + //$field = $lng['panel']['toomanydirs']; + $field = array( + 'type' => 'text', + 'value' => htmlspecialchars($value), + 'note' => $lng['panel']['toomanydirs'] + ); } } else { - $field = $lng['panel']['dirsmissing']; - $field.= ''; + //$field = $lng['panel']['dirsmissing']; + $field = ''; + $field = array( + 'type' => 'hidden', + 'value' => '/', + 'note' => $lng['panel']['dirsmissing'] + ); } } diff --git a/lib/functions/froxlor/function.CronjobFunctions.php b/lib/functions/froxlor/function.CronjobFunctions.php index 3815619c..a081327f 100644 --- a/lib/functions/froxlor/function.CronjobFunctions.php +++ b/lib/functions/froxlor/function.CronjobFunctions.php @@ -123,11 +123,11 @@ function getCronjobsLastRun() if($row['lastrun'] > 0) { $lastrun = date('d.m.Y H:i:s', $row['lastrun']); } - - $cronjobs_last_run .= ' - '.$lng['crondesc'][$row['desc_lng_key']].': - '.$lastrun.' - '; + + $text = $lng['crondesc'][$row['desc_lng_key']]; + $value = $lastrun; + + eval("\$cronjobs_last_run .= \"" . getTemplate("index/overview_item") . "\";"); } return $cronjobs_last_run; @@ -153,10 +153,7 @@ function getOutstandingTasks() $query = "SELECT * FROM `".TABLE_PANEL_TASKS."` ORDER BY `type` ASC"; $result = $db->query($query); - $outstanding_tasks = ' - '.$lng['tasks']['outstanding_tasks'].': -
      '; - + $value = '
        '; $tasks = ''; while($row = $db->fetch_array($result)) { @@ -272,12 +269,14 @@ function getOutstandingTasks() } if(trim($tasks) == '') { - $outstanding_tasks .= '
      • '.$lng['tasks']['noneoutstanding'].'
      • '; + $value .= '
      • '.$lng['tasks']['noneoutstanding'].'
      • '; } else { - $outstanding_tasks .= $tasks; + $value .= $tasks; } - - $outstanding_tasks .= '
      '; - + + $value .= '
    '; + $text = $lng['tasks']['outstanding_tasks']; + eval("\$outstanding_tasks = \"" . getTemplate("index/overview_item") . "\";"); + return $outstanding_tasks; } diff --git a/lib/functions/froxlor/function.getThemes.php b/lib/functions/froxlor/function.getThemes.php new file mode 100644 index 00000000..d15e92a6 --- /dev/null +++ b/lib/functions/froxlor/function.getThemes.php @@ -0,0 +1,45 @@ + (2010-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Functions + * @version $Id: function.getThemes.php 5 2010-11-08 09:35:26Z d00p $ + */ + +/** + * returns an array for the settings-array + * + * @return array + */ +function getThemes() +{ + $themespath = makeCorrectDir(dirname(dirname(dirname(dirname(__FILE__)))).'/templates/'); + $themes_available = array(); + + if (is_dir($themespath)) + { + $its = new DirectoryIterator($themespath); + + foreach ($its as $it) + { + if ($it->isDir() + && $it->getFilename() != '.' + && $it->getFilename() != '..' + && $it->getFilename() != '.svn' + && $it->getFilename() != 'misc' + ) { + $themes_available[] = $it->getFilename(); + } + } + } + return $themes_available; +} diff --git a/lib/functions/froxlor/function.updateCounters.php b/lib/functions/froxlor/function.updateCounters.php index e4d6cf52..7ab5549f 100644 --- a/lib/functions/froxlor/function.updateCounters.php +++ b/lib/functions/froxlor/function.updateCounters.php @@ -332,14 +332,15 @@ function updateCounters($returndebuginfo = false) $admin_resources[$admin['adminid']]['aps_packages_used'] = 0; } - $admin['aps_packages_used_new'] = $admin_resources[$admin['adminid']]['aps_packages_used']; + $admin['subdomains_used_new'] = $admin_resources[$admin['adminid']]['subdomains_used']; if(!isset($admin_resources[$admin['adminid']]['aps_packages_used'])) { $admin_resources[$admin['adminid']]['aps_packages_used'] = 0; } - $admin['subdomains_used_new'] = $admin_resources[$admin['adminid']]['subdomains_used']; + $admin['aps_packages_used_new'] = $admin_resources[$admin['adminid']]['aps_packages_used']; + $db->query('UPDATE `' . TABLE_PANEL_ADMINS . '` SET diff --git a/lib/functions/output/function.getTemplate.php b/lib/functions/output/function.getTemplate.php index fbcbd23c..d001e553 100644 --- a/lib/functions/output/function.getTemplate.php +++ b/lib/functions/output/function.getTemplate.php @@ -28,16 +28,21 @@ function getTemplate($template, $noarea = 0) { - global $templatecache; + global $templatecache, $theme; + + if(!isset($theme) || $theme == '') + { + $theme = 'Froxlor'; + } if($noarea != 1) { $template = AREA . '/' . $template; } - if(!isset($templatecache[$template])) + if(!isset($templatecache[$theme][$template])) { - $filename = './templates/' . $template . '.tpl'; + $filename = './templates/' . $theme . '/' . $template . '.tpl'; if(file_exists($filename) && is_readable($filename)) @@ -56,8 +61,9 @@ function getTemplate($template, $noarea = 0) $templatefile = 'TEMPLATE NOT FOUND: ' . $filename; } - $templatecache[$template] = $templatefile; + $output = $templatefile; // Minify_HTML::minify($templatefile, array('cssMinifier', 'jsMinifier')); + $templatecache[$theme][$template] = $output; } - return $templatecache[$template]; + return $templatecache[$theme][$template]; } diff --git a/lib/functions/output/function.makeyesno.php b/lib/functions/output/function.makeyesno.php index 6b29584b..da2305be 100644 --- a/lib/functions/output/function.makeyesno.php +++ b/lib/functions/output/function.makeyesno.php @@ -39,5 +39,5 @@ function makeyesno($name, $yesvalue, $novalue = '', $yesselected = '', $disabled } else { $d = ''; } - return ''; + return ''; } diff --git a/lib/init.php b/lib/init.php index d33f0530..ebe65fb1 100644 --- a/lib/init.php +++ b/lib/init.php @@ -49,7 +49,7 @@ $filename = basename($_SERVER['PHP_SELF']); if(!file_exists('./lib/userdata.inc.php')) { - $config_hint = file_get_contents('./templates/misc/configurehint.tpl'); + $config_hint = file_get_contents('./templates/Froxlor/misc/configurehint.tpl'); die($config_hint); } @@ -67,7 +67,7 @@ require ('./lib/userdata.inc.php'); if(!isset($sql) || !is_array($sql)) { - $config_hint = file_get_contents('./templates/misc/configurehint.tpl'); + $config_hint = file_get_contents('./templates/Froxlor/misc/configurehint.tpl'); die($config_hint); } @@ -161,23 +161,6 @@ if(get_magic_quotes_gpc()) $settings_data = loadConfigArrayDir('./actions/admin/settings/'); $settings = loadSettings($settings_data, $db); -/* - * when upgrading from syscp, the header-graphic gets lost - */ -if(!isset($settings['admin']['froxlor_graphic']) - || $settings['admin']['froxlor_graphic'] == '' -) { - if(isset($settings['admin']['syscp_graphic']) - && $settings['admin']['syscp_graphic'] != '' - ){ - $settings['admin']['froxlor_graphic'] = $settings['admin']['syscp_graphic']; - } - else - { - $settings['admin']['froxlor_graphic'] = 'images/header.gif'; - } -} - /** * SESSION MANAGEMENT */ @@ -261,19 +244,16 @@ $langs = array(); $languages = array(); // query the whole table - $query = 'SELECT * FROM `' . TABLE_PANEL_LANGUAGE . '` '; $result = $db->query($query); // presort languages - while($row = $db->fetch_array($result)) { $langs[$row['language']][] = $row; } // buildup $languages for the login screen - foreach($langs as $key => $value) { $languages[$key] = $key; @@ -306,7 +286,6 @@ else } // include every english language file we can get - foreach($langs['English'] as $key => $value) { include_once makeSecurePath($value['file']); @@ -322,6 +301,28 @@ if($language != 'English') } } +/** + * global Theme-variable + */ +$theme = isset($settings['panel']['default_theme']) ? $settings['panel']['default_theme'] : 'Froxlor'; + +/** + * overwrite with customer/admin theme if defined + */ +if(isset($userinfo['theme']) && $userinfo['theme'] != $theme) +{ + $theme = $userinfo['theme']; +} + +/* + * check for custom header-graphic + */ +$hl_path = 'images/'.$theme; +$header_logo = $hl_path.'/logo.png'; +if(file_exists($hl_path.'/logo_custom.png')) { + $header_logo = $hl_path.'/logo_custom.png'; +} + /** * Redirects to index.php (login page) if no session exists */ @@ -455,5 +456,3 @@ if(PHPMailer::ValidateAddress($settings['panel']['adminmail']) !== false) $mail->AddReplyTo($settings['panel']['adminmail_return'], $settings['panel']['adminmail_defname']); } } - -?> diff --git a/lib/navigation/00.froxlor.main.php b/lib/navigation/00.froxlor.main.php index a9e08637..931d8252 100644 --- a/lib/navigation/00.froxlor.main.php +++ b/lib/navigation/00.froxlor.main.php @@ -21,7 +21,7 @@ return array ( 'customer' => array ( 'index' => array ( 'url' => 'customer_index.php', - 'label' => $lng['menue']['main']['main'], + 'label' => $lng['admin']['overview'], 'elements' => array ( array ( 'label' => $lng['menue']['main']['username'], @@ -34,6 +34,10 @@ return array ( 'url' => 'customer_index.php?page=change_language', 'label' => $lng['menue']['main']['changelanguage'], ), + array ( + 'url' => 'customer_index.php?page=change_theme', + 'label' => $lng['menue']['main']['changetheme'], + ), array ( 'url' => 'customer_index.php?action=logout', 'label' => $lng['login']['logout'], @@ -52,7 +56,7 @@ return array ( array ( 'url' => 'customer_email.php?page=emails&action=add', 'label' => $lng['emails']['emails_add'], - 'required_resources' => 'emails', + 'required_resources' => 'emails' ), array ( 'url' => 'customer_autoresponder.php', @@ -154,6 +158,10 @@ return array ( 'url' => 'admin_index.php?page=change_language', 'label' => $lng['menue']['main']['changelanguage'], ), + array ( + 'url' => 'admin_index.php?page=change_theme', + 'label' => $lng['menue']['main']['changetheme'], + ), array ( 'url' => 'admin_index.php?action=logout', 'label' => $lng['login']['logout'], @@ -250,4 +258,3 @@ return array ( ), ), ); -?> \ No newline at end of file diff --git a/lib/tables.inc.php b/lib/tables.inc.php index 9e72bd3e..f1bc3c8a 100644 --- a/lib/tables.inc.php +++ b/lib/tables.inc.php @@ -73,8 +73,6 @@ define('PACKAGE_ENABLED', 2); // VERSION INFO -$version = '0.9.18-svn1'; +$version = '0.9.18-svn2'; $dbversion = '2'; $branding = ''; - -?> diff --git a/lng/english.lng.php b/lng/english.lng.php index 080da75e..57a4805e 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -70,7 +70,7 @@ $lng['customer']['forwarders'] = 'E-mail-Forwarders'; $lng['customer']['ftps'] = 'FTP-Accounts'; $lng['customer']['subdomains'] = 'Sub-Domain'; $lng['customer']['domains'] = 'Domain'; -$lng['customer']['unlimited'] = 'unlimited'; +$lng['customer']['unlimited'] = '∞'; /** * Customermenue @@ -1332,6 +1332,7 @@ $lng['cronmgmt']['weeks'] = 'weeks'; $lng['cronmgmt']['months'] = 'months'; $lng['admin']['cronjob_edit'] = 'Edit cronjob'; $lng['cronjob']['cronjobsettings'] = 'Cronjob settings'; +$lng['cronjob']['cronjobintervalv'] = 'Runtime interval value'; $lng['cronjob']['cronjobinterval'] = 'Runtime interval'; $lng['panel']['options'] = 'options'; $lng['admin']['warning'] = 'WARNING - Please note!'; @@ -1566,3 +1567,9 @@ $lng['mysql']['database_edit'] = 'Edit database'; // ADDED IN FROXLOR 0.9.18 $lng['error']['domains_cantdeletedomainwithaliases'] = 'You cannot delete a domain which is used for alias-domains. You have to delete the aliases first.'; +$lng['serversettings']['default_theme'] = 'Default theme'; +$lng['menue']['main']['changetheme'] = 'Change theme'; +$lng['panel']['theme'] = 'Theme'; +$lng['success']['rebuildingconfigs'] = 'Successfully inserted tasks for rebuild configfiles'; +$lng['panel']['variable'] = 'Variable'; +$lng['panel']['description'] = 'Description'; diff --git a/lng/german.lng.php b/lng/german.lng.php index 37db6fbd..4e3b49f0 100644 --- a/lng/german.lng.php +++ b/lng/german.lng.php @@ -1311,6 +1311,7 @@ $lng['cronmgmt']['weeks'] = 'Wochen'; $lng['cronmgmt']['months'] = 'Monate'; $lng['admin']['cronjob_edit'] = 'Cronjob bearbeiten'; $lng['cronjob']['cronjobsettings'] = 'Cronjob Einstellungen'; +$lng['cronjob']['cronjobintervalv'] = 'Laufzeit-Intervall Wert'; $lng['cronjob']['cronjobinterval'] = 'Laufzeit-Intervall'; $lng['panel']['options'] = 'Optionen'; $lng['admin']['warning'] = 'ACHTUNG - Wichtiger Hinweis!'; @@ -1548,3 +1549,9 @@ $lng['mysql']['database_edit'] = 'Datenbank bearbeiten'; // ADDED IN FROXLOR 0.9.18 $lng['error']['domains_cantdeletedomainwithaliases'] = 'Sie können keine Domain löschen, die noch von Alias-Domains verwendet wird. Löschen Sie zuerst alle Alias-Domains dieser Domain.'; +$lng['serversettings']['default_theme'] = 'Standard Theme'; +$lng['menue']['main']['changetheme'] = 'Theme wechseln'; +$lng['panel']['theme'] = 'Theme'; +$lng['success']['rebuildingconfigs'] = 'Task für das Neuerstellen der Konfigurationen wurde erfolgreich eingetragen'; +$lng['panel']['variable'] = 'Variable'; +$lng['panel']['description'] = 'Beschreibung'; diff --git a/templates/admin/admins/admins.tpl b/templates/Classic/admin/admins/admins.tpl similarity index 96% rename from templates/admin/admins/admins.tpl rename to templates/Classic/admin/admins/admins.tpl index 8da2a445..58edf4a9 100644 --- a/templates/admin/admins/admins.tpl +++ b/templates/Classic/admin/admins/admins.tpl @@ -4,7 +4,7 @@ $header - + diff --git a/templates/Classic/admin/admins/admins_add.tpl b/templates/Classic/admin/admins/admins_add.tpl new file mode 100644 index 00000000..540ea66d --- /dev/null +++ b/templates/Classic/admin/admins/admins_add.tpl @@ -0,0 +1,25 @@ +$header + + + + + +
     {$lng['admin']['admins']} ({$admincount}) {$lng['admin']['admins']} ({$admincount}) {$searchcode}
    + + + + {$admin_add_form} +
    {$title} {$title}
    + +
    + + + + + + + +
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    +
    +
    +$footer diff --git a/templates/admin/admins/admins_admin.tpl b/templates/Classic/admin/admins/admins_admin.tpl similarity index 100% rename from templates/admin/admins/admins_admin.tpl rename to templates/Classic/admin/admins/admins_admin.tpl diff --git a/templates/Classic/admin/admins/admins_edit.tpl b/templates/Classic/admin/admins/admins_edit.tpl new file mode 100644 index 00000000..9530a155 --- /dev/null +++ b/templates/Classic/admin/admins/admins_edit.tpl @@ -0,0 +1,26 @@ +$header +
    + + + + + + + + + + {$admin_edit_form} +
    {$title} {$title}
    +
    +
    + + + + + + + +
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/admin/aps/askyesno.tpl b/templates/Classic/admin/aps/askyesno.tpl similarity index 92% rename from templates/admin/aps/askyesno.tpl rename to templates/Classic/admin/aps/askyesno.tpl index 527b1452..767c15d8 100644 --- a/templates/admin/aps/askyesno.tpl +++ b/templates/Classic/admin/aps/askyesno.tpl @@ -1,6 +1,6 @@ - + - - - - - - + + + + + + + diff --git a/templates/admin/customers/customers.tpl b/templates/Classic/admin/customers/customers.tpl similarity index 96% rename from templates/admin/customers/customers.tpl rename to templates/Classic/admin/customers/customers.tpl index f2bf1c67..2109e617 100644 --- a/templates/admin/customers/customers.tpl +++ b/templates/Classic/admin/customers/customers.tpl @@ -4,7 +4,7 @@ $header
    $Message
    diff --git a/templates/admin/aps/footer.tpl b/templates/Classic/admin/aps/footer.tpl similarity index 100% rename from templates/admin/aps/footer.tpl rename to templates/Classic/admin/aps/footer.tpl diff --git a/templates/admin/aps/header.tpl b/templates/Classic/admin/aps/header.tpl similarity index 100% rename from templates/admin/aps/header.tpl rename to templates/Classic/admin/aps/header.tpl diff --git a/templates/admin/aps/infobox.tpl b/templates/Classic/admin/aps/infobox.tpl similarity index 77% rename from templates/admin/aps/infobox.tpl rename to templates/Classic/admin/aps/infobox.tpl index 182f811e..bf515fd5 100644 --- a/templates/admin/aps/infobox.tpl +++ b/templates/Classic/admin/aps/infobox.tpl @@ -1,6 +1,6 @@ - +
    $Message
    diff --git a/templates/admin/aps/manage_instances.tpl b/templates/Classic/admin/aps/manage_instances.tpl similarity index 87% rename from templates/admin/aps/manage_instances.tpl rename to templates/Classic/admin/aps/manage_instances.tpl index 82028c96..a9e87645 100644 --- a/templates/admin/aps/manage_instances.tpl +++ b/templates/Classic/admin/aps/manage_instances.tpl @@ -1,6 +1,6 @@ - + @@ -15,7 +15,7 @@
     {$lng['aps']['specialoptions']} {$lng['aps']['specialoptions']}
    {$lng['aps']['statistics']}
    - + diff --git a/templates/admin/aps/manage_instances_error.tpl b/templates/Classic/admin/aps/manage_instances_error.tpl similarity index 100% rename from templates/admin/aps/manage_instances_error.tpl rename to templates/Classic/admin/aps/manage_instances_error.tpl diff --git a/templates/admin/aps/manage_instances_install.tpl b/templates/Classic/admin/aps/manage_instances_install.tpl similarity index 100% rename from templates/admin/aps/manage_instances_install.tpl rename to templates/Classic/admin/aps/manage_instances_install.tpl diff --git a/templates/admin/aps/manage_instances_package.tpl b/templates/Classic/admin/aps/manage_instances_package.tpl similarity index 100% rename from templates/admin/aps/manage_instances_package.tpl rename to templates/Classic/admin/aps/manage_instances_package.tpl diff --git a/templates/admin/aps/manage_instances_success.tpl b/templates/Classic/admin/aps/manage_instances_success.tpl similarity index 100% rename from templates/admin/aps/manage_instances_success.tpl rename to templates/Classic/admin/aps/manage_instances_success.tpl diff --git a/templates/admin/aps/manage_instances_taskactive.tpl b/templates/Classic/admin/aps/manage_instances_taskactive.tpl similarity index 100% rename from templates/admin/aps/manage_instances_taskactive.tpl rename to templates/Classic/admin/aps/manage_instances_taskactive.tpl diff --git a/templates/admin/aps/manage_instances_uninstall.tpl b/templates/Classic/admin/aps/manage_instances_uninstall.tpl similarity index 100% rename from templates/admin/aps/manage_instances_uninstall.tpl rename to templates/Classic/admin/aps/manage_instances_uninstall.tpl diff --git a/templates/admin/aps/manage_packages.tpl b/templates/Classic/admin/aps/manage_packages.tpl similarity index 92% rename from templates/admin/aps/manage_packages.tpl rename to templates/Classic/admin/aps/manage_packages.tpl index 0331972c..74cbfc5c 100644 --- a/templates/admin/aps/manage_packages.tpl +++ b/templates/Classic/admin/aps/manage_packages.tpl @@ -1,6 +1,6 @@
     {$lng['aps']['manageinstances']} {$lng['aps']['manageinstances']}
    {$lng['aps']['packagenameandstatus']}
    - + @@ -50,7 +50,7 @@
     {$lng['aps']['specialoptions']} {$lng['aps']['specialoptions']}
    {$lng['admin']['phpsettings']['actions']}
    - + diff --git a/templates/admin/aps/manage_packages_detail.tpl b/templates/Classic/admin/aps/manage_packages_detail.tpl similarity index 100% rename from templates/admin/aps/manage_packages_detail.tpl rename to templates/Classic/admin/aps/manage_packages_detail.tpl diff --git a/templates/admin/aps/manage_packages_download.tpl b/templates/Classic/admin/aps/manage_packages_download.tpl similarity index 83% rename from templates/admin/aps/manage_packages_download.tpl rename to templates/Classic/admin/aps/manage_packages_download.tpl index b1029719..4db78e95 100644 --- a/templates/admin/aps/manage_packages_download.tpl +++ b/templates/Classic/admin/aps/manage_packages_download.tpl @@ -1,6 +1,6 @@
     {$lng['aps']['managepackages']} {$lng['aps']['managepackages']}
    {$lng['aps']['packagenameandversion']}
    - + diff --git a/templates/admin/aps/manage_packages_row.tpl b/templates/Classic/admin/aps/manage_packages_row.tpl similarity index 100% rename from templates/admin/aps/manage_packages_row.tpl rename to templates/Classic/admin/aps/manage_packages_row.tpl diff --git a/templates/admin/aps/upload.tpl b/templates/Classic/admin/aps/upload.tpl similarity index 86% rename from templates/admin/aps/upload.tpl rename to templates/Classic/admin/aps/upload.tpl index b33bdb66..854f6efb 100644 --- a/templates/admin/aps/upload.tpl +++ b/templates/Classic/admin/aps/upload.tpl @@ -4,7 +4,7 @@
     {$lng['aps']['specialoptions']} {$lng['aps']['specialoptions']}
    {$lng['admin']['phpsettings']['actions']}
    - + diff --git a/templates/Classic/admin/configfiles/choose.tpl b/templates/Classic/admin/configfiles/choose.tpl new file mode 100644 index 00000000..06c84aca --- /dev/null +++ b/templates/Classic/admin/configfiles/choose.tpl @@ -0,0 +1,10 @@ +$header +
     {$lng['aps']['upload']} {$lng['aps']['upload']}
    {$lng['aps']['upload_description']} http://www.apsstandard.org/
    + + + + $distributions +
     {$lng['admin']['configfiles']['serverconfiguration']} [{$lng['admin']['configfiles']['wizard']}]
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/admin/configfiles/choose_daemon.tpl b/templates/Classic/admin/configfiles/choose_daemon.tpl similarity index 100% rename from templates/admin/configfiles/choose_daemon.tpl rename to templates/Classic/admin/configfiles/choose_daemon.tpl diff --git a/templates/admin/configfiles/choose_distribution.tpl b/templates/Classic/admin/configfiles/choose_distribution.tpl similarity index 100% rename from templates/admin/configfiles/choose_distribution.tpl rename to templates/Classic/admin/configfiles/choose_distribution.tpl diff --git a/templates/admin/configfiles/choose_service.tpl b/templates/Classic/admin/configfiles/choose_service.tpl similarity index 100% rename from templates/admin/configfiles/choose_service.tpl rename to templates/Classic/admin/configfiles/choose_service.tpl diff --git a/templates/Classic/admin/configfiles/configfiles.tpl b/templates/Classic/admin/configfiles/configfiles.tpl new file mode 100644 index 00000000..12576fd5 --- /dev/null +++ b/templates/Classic/admin/configfiles/configfiles.tpl @@ -0,0 +1,15 @@ +$header + + + + + {$configpage} + + + + + +
     {$configfiles[$distribution]['label']} » {$configfiles[$distribution]['services'][$service]['label']} » {$configfiles[$distribution]['services'][$service]['daemons'][$daemon]['label']} [{$lng['panel']['back']}]
    {$lng['admin']['configfiles']['restart']}

    +
    +
    +$footer \ No newline at end of file diff --git a/templates/admin/configfiles/configfiles_commands.tpl b/templates/Classic/admin/configfiles/configfiles_commands.tpl similarity index 100% rename from templates/admin/configfiles/configfiles_commands.tpl rename to templates/Classic/admin/configfiles/configfiles_commands.tpl diff --git a/templates/admin/configfiles/configfiles_file.tpl b/templates/Classic/admin/configfiles/configfiles_file.tpl similarity index 100% rename from templates/admin/configfiles/configfiles_file.tpl rename to templates/Classic/admin/configfiles/configfiles_file.tpl diff --git a/templates/admin/configfiles/configfiles_files.tpl b/templates/Classic/admin/configfiles/configfiles_files.tpl similarity index 100% rename from templates/admin/configfiles/configfiles_files.tpl rename to templates/Classic/admin/configfiles/configfiles_files.tpl diff --git a/templates/admin/configfiles/wizard.tpl b/templates/Classic/admin/configfiles/wizard.tpl similarity index 89% rename from templates/admin/configfiles/wizard.tpl rename to templates/Classic/admin/configfiles/wizard.tpl index 575757d4..82aa044a 100644 --- a/templates/admin/configfiles/wizard.tpl +++ b/templates/Classic/admin/configfiles/wizard.tpl @@ -4,7 +4,7 @@ $header - + diff --git a/templates/Classic/admin/cronjobs/cronjob_edit.tpl b/templates/Classic/admin/cronjobs/cronjob_edit.tpl new file mode 100644 index 00000000..e4c76680 --- /dev/null +++ b/templates/Classic/admin/cronjobs/cronjob_edit.tpl @@ -0,0 +1,17 @@ +$header + + + + + + +
     {$lng['admin']['configfiles']['serverconfiguration']} [{$lng['admin']['configfiles']['overview']}] {$lng['admin']['configfiles']['serverconfiguration']} [{$lng['admin']['configfiles']['overview']}]
    {$lng['admin']['configfiles']['distribution']}:
    + + + + {$cronjobs_edit_form} +
    {$title} {$title}
    +
    +
    +
    +$footer diff --git a/templates/admin/cronjobs/cronjobs.tpl b/templates/Classic/admin/cronjobs/cronjobs.tpl similarity index 77% rename from templates/admin/cronjobs/cronjobs.tpl rename to templates/Classic/admin/cronjobs/cronjobs.tpl index e26eb4dc..bd744c71 100644 --- a/templates/admin/cronjobs/cronjobs.tpl +++ b/templates/Classic/admin/cronjobs/cronjobs.tpl @@ -1,35 +1,35 @@ -$header -
    - - - - - - - - - -
     {$lng['admin']['warning']}
    - - {$lng['cron']['changewarning']} - -
    -
    -
    - - - - - - - - - - - - $crons -
     {$lng['admin']['cron']['cronsettings']}
    {$lng['cron']['description']}{$lng['cron']['lastrun']}{$lng['cron']['interval']}{$lng['cron']['isactive']}{$lng['panel']['options']}
    -
    -
    -
    -$footer +$header +
    + + + + + + + + + +
     {$lng['admin']['warning']}
    + + {$lng['cron']['changewarning']} + +
    +
    +
    + + + + + + + + + + + + $crons +
     {$lng['admin']['cron']['cronsettings']}
    {$lng['cron']['description']}{$lng['cron']['lastrun']}{$lng['cron']['interval']}{$lng['cron']['isactive']}{$lng['panel']['options']}
    +
    +
    +
    +$footer diff --git a/templates/admin/cronjobs/cronjobs_cronjob.tpl b/templates/Classic/admin/cronjobs/cronjobs_cronjob.tpl similarity index 98% rename from templates/admin/cronjobs/cronjobs_cronjob.tpl rename to templates/Classic/admin/cronjobs/cronjobs_cronjob.tpl index 7d8967ce..7f7b4cc4 100644 --- a/templates/admin/cronjobs/cronjobs_cronjob.tpl +++ b/templates/Classic/admin/cronjobs/cronjobs_cronjob.tpl @@ -1,7 +1,7 @@ -
    {$description}{$row['lastrun']}{$row['interval']}{$row['isactive']}{$lng['panel']['edit']}
    {$description}{$row['lastrun']}{$row['interval']}{$row['isactive']}{$lng['panel']['edit']}
    - + diff --git a/templates/Classic/admin/customers/customers_add.tpl b/templates/Classic/admin/customers/customers_add.tpl new file mode 100644 index 00000000..bd5ff631 --- /dev/null +++ b/templates/Classic/admin/customers/customers_add.tpl @@ -0,0 +1,25 @@ +$header +
    + + + + +
     {$lng['admin']['customers']} ({$customercount}) {$lng['admin']['customers']} ({$customercount}) {$searchcode}
    + + + + {$customer_add_form} +
    {$title} {$title}
    + +
    + + + + + + + +
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    +
    +
    +$footer diff --git a/templates/admin/customers/customers_customer.tpl b/templates/Classic/admin/customers/customers_customer.tpl similarity index 93% rename from templates/admin/customers/customers_customer.tpl rename to templates/Classic/admin/customers/customers_customer.tpl index 674ab204..421cc374 100644 --- a/templates/admin/customers/customers_customer.tpl +++ b/templates/Classic/admin/customers/customers_customer.tpl @@ -27,5 +27,5 @@ {$row['emails_used']}/{$row['emails']}
    {$row['subdomains_used']}/{$row['subdomains']} {$row['email_accounts_used']}/{$row['email_accounts']}
    {$row['email_forwarders_used']}/{$row['email_forwarders']} {$lng['panel']['yes']}{$lng['panel']['no']}
    {$last_login} - {$unlock_link}{$lng['panel']['edit']}
    {$lng['panel']['delete']} + {$lng['panel']['edit']}
    {$lng['panel']['delete']} diff --git a/templates/Classic/admin/customers/customers_edit.tpl b/templates/Classic/admin/customers/customers_edit.tpl new file mode 100644 index 00000000..28b63db9 --- /dev/null +++ b/templates/Classic/admin/customers/customers_edit.tpl @@ -0,0 +1,26 @@ +$header +
    + + + + + + + + + + {$customer_edit_form} +
     {$title}
    +
    +
    + + + + + + + +
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    +
    +
    +$footer diff --git a/templates/admin/domains/domains.tpl b/templates/Classic/admin/domains/domains.tpl similarity index 92% rename from templates/admin/domains/domains.tpl rename to templates/Classic/admin/domains/domains.tpl index d9391e9a..6bbca57b 100644 --- a/templates/admin/domains/domains.tpl +++ b/templates/Classic/admin/domains/domains.tpl @@ -4,7 +4,7 @@ $header - + diff --git a/templates/Classic/admin/domains/domains_add.tpl b/templates/Classic/admin/domains/domains_add.tpl new file mode 100644 index 00000000..81ae6d73 --- /dev/null +++ b/templates/Classic/admin/domains/domains_add.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + +
     {$lng['admin']['domains']} ({$domainscount}) {$lng['admin']['domains']} ({$domainscount}) {$searchcode}
    + + + + {$domain_add_form} +
    {$title} {$title}
    + +
    +
    +$footer diff --git a/templates/admin/domains/domains_domain.tpl b/templates/Classic/admin/domains/domains_domain.tpl similarity index 100% rename from templates/admin/domains/domains_domain.tpl rename to templates/Classic/admin/domains/domains_domain.tpl diff --git a/templates/Classic/admin/domains/domains_edit.tpl b/templates/Classic/admin/domains/domains_edit.tpl new file mode 100644 index 00000000..947008d6 --- /dev/null +++ b/templates/Classic/admin/domains/domains_edit.tpl @@ -0,0 +1,17 @@ +$header +
    + + + + + + + + + + {$domain_edit_form} +
     {$title}
    +
    +
    +
    +$footer diff --git a/templates/Classic/admin/froxlorclients/froxlorclient_settings.tpl b/templates/Classic/admin/froxlorclients/froxlorclient_settings.tpl new file mode 100644 index 00000000..de003662 --- /dev/null +++ b/templates/Classic/admin/froxlorclients/froxlorclient_settings.tpl @@ -0,0 +1,12 @@ + + + + + $fields + + + +
     {$lng['admin']['froxlorclient_settings']} "{$client->Get('name')}" + [{$lng['admin']['configfiles']['compactoverview']}]
    + +
    diff --git a/templates/admin/froxlorclients/froxlorclient_settingsend.tpl b/templates/Classic/admin/froxlorclients/froxlorclient_settingsend.tpl similarity index 100% rename from templates/admin/froxlorclients/froxlorclient_settingsend.tpl rename to templates/Classic/admin/froxlorclients/froxlorclient_settingsend.tpl diff --git a/templates/Classic/admin/froxlorclients/froxlorclient_settingsoverview.tpl b/templates/Classic/admin/froxlorclients/froxlorclient_settingsoverview.tpl new file mode 100644 index 00000000..6bdf2e2b --- /dev/null +++ b/templates/Classic/admin/froxlorclients/froxlorclient_settingsoverview.tpl @@ -0,0 +1,14 @@ + + + + + $fields + + + +
    +  {$lng['admin']['configfiles']['serverconfiguration']} "{$client->Get('name')}" + [{$lng['admin']['configfiles']['overview']}] +
    +   +
    diff --git a/templates/Classic/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl b/templates/Classic/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl new file mode 100644 index 00000000..d331b732 --- /dev/null +++ b/templates/Classic/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl @@ -0,0 +1,12 @@ + + +  {$title} + + {$option} + + + {$lng['admin']['configfiles']['serverconfiguration']} + + + + diff --git a/templates/Classic/admin/froxlorclients/froxlorclients.tpl b/templates/Classic/admin/froxlorclients/froxlorclients.tpl new file mode 100644 index 00000000..60ee1a94 --- /dev/null +++ b/templates/Classic/admin/froxlorclients/froxlorclients.tpl @@ -0,0 +1,29 @@ +$header +
    + + + + + + + + + + + + + + $froxlorclients + + + + + + + + +
     {$lng['menue']['multiserver']['clients']}{$searchcode}
    #{$lng['admin']['froxlorclients']['name']} {$arrowcode['name']}
    {$lng['admin']['froxlorclients']['desc']}
    {$lng['admin']['froxlorclients']['enabled']} {$arrowcode['enabled']}
    {$pagingcode}
    {$lng['admin']['froxlorclients']['add']}
    +
    +
    +
    +$footer diff --git a/templates/Classic/admin/froxlorclients/froxlorclients_add.tpl b/templates/Classic/admin/froxlorclients/froxlorclients_add.tpl new file mode 100644 index 00000000..71ceac19 --- /dev/null +++ b/templates/Classic/admin/froxlorclients/froxlorclients_add.tpl @@ -0,0 +1,43 @@ +$header +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     {$lng['admin']['froxlorclients']['add']}
    + + {$lng['admin']['froxlorclients']['longdesc_add']} +
    +  {$lng['admin']['froxlorclients']['client']} + + +
    {$lng['admin']['froxlorclients']['name']}:
    {$lng['admin']['froxlorclients']['desc']}:
    {$lng['admin']['froxlorclients']['enabled']}:$client_enabled
    +
    +
    +
    +$footer diff --git a/templates/admin/froxlorclients/froxlorclients_client.tpl b/templates/Classic/admin/froxlorclients/froxlorclients_client.tpl similarity index 54% rename from templates/admin/froxlorclients/froxlorclients_client.tpl rename to templates/Classic/admin/froxlorclients/froxlorclients_client.tpl index 9916d3f8..2d0ec74d 100644 --- a/templates/admin/froxlorclients/froxlorclients_client.tpl +++ b/templates/Classic/admin/froxlorclients/froxlorclients_client.tpl @@ -1,17 +1,17 @@ - Client #{$row['id']} + Client #{$row['id']} {$row['name']}
    {$row['desc']} - {$lng['panel']['yes']} + {$lng['panel']['yes']} - {$lng['panel']['no']} + {$lng['panel']['no']} - {$lng['admin']['froxlorclients']['view']} + {$lng['admin']['froxlorclients']['view']} diff --git a/templates/Classic/admin/froxlorclients/froxlorclients_edit.tpl b/templates/Classic/admin/froxlorclients/froxlorclients_edit.tpl new file mode 100644 index 00000000..54c90f65 --- /dev/null +++ b/templates/Classic/admin/froxlorclients/froxlorclients_edit.tpl @@ -0,0 +1,45 @@ +$header +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     {$lng['admin']['froxlorclients']['edit']}
    + + {$lng['admin']['froxlorclients']['longdesc_add']} +
    +  {$lng['admin']['froxlorclients']['client']} + + +
    {$lng['admin']['froxlorclients']['name']}:
    {$lng['admin']['froxlorclients']['desc']}:
    {$lng['admin']['froxlorclients']['enabled']}:$client_enabled
    +
    +
    +
    +$footer diff --git a/templates/admin/froxlorclients/froxlorclients_view.tpl b/templates/Classic/admin/froxlorclients/froxlorclients_view.tpl similarity index 89% rename from templates/admin/froxlorclients/froxlorclients_view.tpl rename to templates/Classic/admin/froxlorclients/froxlorclients_view.tpl index 0f9a53d3..346cdfa2 100644 --- a/templates/admin/froxlorclients/froxlorclients_view.tpl +++ b/templates/Classic/admin/froxlorclients/froxlorclients_view.tpl @@ -4,7 +4,7 @@ $header - + diff --git a/templates/admin/index/change_language.tpl b/templates/Classic/admin/index/change_language.tpl similarity index 75% rename from templates/admin/index/change_language.tpl rename to templates/Classic/admin/index/change_language.tpl index ba24c291..45c1becd 100644 --- a/templates/admin/index/change_language.tpl +++ b/templates/Classic/admin/index/change_language.tpl @@ -4,10 +4,10 @@ $header
     {$lng['menue']['multiserver']['clients']} "{$client->Get('name')}" {$lng['menue']['multiserver']['clients']} "{$client->Get('name')}"
    @TODO infos about client "{$client->Get('name')}"
    - + - + diff --git a/templates/admin/index/change_password.tpl b/templates/Classic/admin/index/change_password.tpl similarity index 83% rename from templates/admin/index/change_password.tpl rename to templates/Classic/admin/index/change_password.tpl index f39a24e7..75a60005 100644 --- a/templates/admin/index/change_password.tpl +++ b/templates/Classic/admin/index/change_password.tpl @@ -4,10 +4,10 @@ $header
     {$lng['menue']['main']['changelanguage']} {$lng['menue']['main']['changelanguage']}
    {$lng['login']['language']}
    - + - + diff --git a/templates/Classic/admin/index/change_theme.tpl b/templates/Classic/admin/index/change_theme.tpl new file mode 100644 index 00000000..34c100cd --- /dev/null +++ b/templates/Classic/admin/index/change_theme.tpl @@ -0,0 +1,23 @@ +$header + + + +
     {$lng['menue']['main']['changepassword']} {$lng['menue']['main']['changepassword']}
    {$lng['changepassword']['old_password']}
    + + + + + + + + + + + + + +
     {$lng['menue']['main']['changetheme']}
    {$lng['panel']['theme']}
    + +
    +
    +$footer diff --git a/templates/admin/index/index.tpl b/templates/Classic/admin/index/index.tpl similarity index 93% rename from templates/admin/index/index.tpl rename to templates/Classic/admin/index/index.tpl index caa3ad59..364a5e9b 100644 --- a/templates/admin/index/index.tpl +++ b/templates/Classic/admin/index/index.tpl @@ -1,7 +1,7 @@ $header - + @@ -78,7 +78,7 @@ $header - + @@ -121,7 +121,7 @@ $header - + {$outstanding_tasks} {$cron_last_runs} diff --git a/templates/Classic/admin/index/overview_item.tpl b/templates/Classic/admin/index/overview_item.tpl new file mode 100644 index 00000000..09ccf36e --- /dev/null +++ b/templates/Classic/admin/index/overview_item.tpl @@ -0,0 +1,4 @@ + + + + diff --git a/templates/admin/ipsandports/ipsandports.tpl b/templates/Classic/admin/ipsandports/ipsandports.tpl similarity index 93% rename from templates/admin/ipsandports/ipsandports.tpl rename to templates/Classic/admin/ipsandports/ipsandports.tpl index 2b2bbe6f..01c5bbcb 100644 --- a/templates/admin/ipsandports/ipsandports.tpl +++ b/templates/Classic/admin/ipsandports/ipsandports.tpl @@ -4,7 +4,7 @@ $header
     {$lng['admin']['ressourcedetails']} {$lng['admin']['ressourcedetails']}
    {$lng['admin']['customers']}:
     {$lng['admin']['systemdetails']} {$lng['admin']['systemdetails']}
    {$lng['admin']['serversoftware']}:
     {$lng['admin']['froxlordetails']} {$lng['admin']['froxlordetails']}
    {$text}:{$value}
    - + diff --git a/templates/Classic/admin/ipsandports/ipsandports_add.tpl b/templates/Classic/admin/ipsandports/ipsandports_add.tpl new file mode 100644 index 00000000..b9014b69 --- /dev/null +++ b/templates/Classic/admin/ipsandports/ipsandports_add.tpl @@ -0,0 +1,16 @@ +$header + + + + + +
     {$lng['admin']['ipsandports']['ipsandports']} {$lng['admin']['ipsandports']['ipsandports']} {$searchcode}
    + + + + {$ipsandports_add_form} +
    {$title} {$title}
    + +
    +
    +$footer diff --git a/templates/Classic/admin/ipsandports/ipsandports_edit.tpl b/templates/Classic/admin/ipsandports/ipsandports_edit.tpl new file mode 100644 index 00000000..e0046cc1 --- /dev/null +++ b/templates/Classic/admin/ipsandports/ipsandports_edit.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$ipsandports_edit_form} +
    {$title} {$title}
    +
    +
    +
    +$footer diff --git a/templates/admin/ipsandports/ipsandports_ipandport.tpl b/templates/Classic/admin/ipsandports/ipsandports_ipandport.tpl similarity index 100% rename from templates/admin/ipsandports/ipsandports_ipandport.tpl rename to templates/Classic/admin/ipsandports/ipsandports_ipandport.tpl diff --git a/templates/admin/logger/logger.tpl b/templates/Classic/admin/logger/logger.tpl similarity index 93% rename from templates/admin/logger/logger.tpl rename to templates/Classic/admin/logger/logger.tpl index 79569329..a2701c98 100644 --- a/templates/admin/logger/logger.tpl +++ b/templates/Classic/admin/logger/logger.tpl @@ -5,7 +5,7 @@ $header - + diff --git a/templates/admin/logger/logger_action.tpl b/templates/Classic/admin/logger/logger_action.tpl similarity index 100% rename from templates/admin/logger/logger_action.tpl rename to templates/Classic/admin/logger/logger_action.tpl diff --git a/templates/admin/logger/logger_log.tpl b/templates/Classic/admin/logger/logger_log.tpl similarity index 100% rename from templates/admin/logger/logger_log.tpl rename to templates/Classic/admin/logger/logger_log.tpl diff --git a/templates/admin/message/message.tpl b/templates/Classic/admin/message/message.tpl similarity index 91% rename from templates/admin/message/message.tpl rename to templates/Classic/admin/message/message.tpl index 9afe9f5e..03fb2e6a 100644 --- a/templates/admin/message/message.tpl +++ b/templates/Classic/admin/message/message.tpl @@ -14,7 +14,7 @@ $header
     {$lng['menue']['logger']['logger']} {$lng['menue']['logger']['logger']} {$searchcode}
    - + diff --git a/templates/admin/phpconfig/overview.tpl b/templates/Classic/admin/phpconfig/overview.tpl similarity index 90% rename from templates/admin/phpconfig/overview.tpl rename to templates/Classic/admin/phpconfig/overview.tpl index 01b862ac..0bc632db 100644 --- a/templates/admin/phpconfig/overview.tpl +++ b/templates/Classic/admin/phpconfig/overview.tpl @@ -1,7 +1,7 @@ $header
     {$lng['admin']['message']} {$lng['admin']['message']}
    {$lng['admin']['receipient']}
    - + diff --git a/templates/admin/phpconfig/overview_add.tpl b/templates/Classic/admin/phpconfig/overview_add.tpl similarity index 53% rename from templates/admin/phpconfig/overview_add.tpl rename to templates/Classic/admin/phpconfig/overview_add.tpl index c7c3909d..629c507f 100644 --- a/templates/admin/phpconfig/overview_add.tpl +++ b/templates/Classic/admin/phpconfig/overview_add.tpl @@ -6,42 +6,16 @@ $header
     {$lng['menue']['phpsettings']['maintitle']} {$lng['menue']['phpsettings']['maintitle']}  
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {$phpconfig_add_form}
     {$lng['admin']['phpsettings']['addsettings']}
    {$lng['admin']['phpsettings']['description']}
    {$lng['admin']['phpsettings']['binary']}
    {$lng['admin']['phpsettings']['file_extensions']}
    {$lng['admin']['phpsettings']['file_extensions_note']}
    {$lng['admin']['mod_fcgid_starter']['title']}
    {$lng['admin']['mod_fcgid_maxrequests']['title']}
    {$lng['admin']['phpsettings']['phpinisettings']}
     {$title} {$title}


    - + diff --git a/templates/admin/phpconfig/overview_edit.tpl b/templates/Classic/admin/phpconfig/overview_edit.tpl similarity index 50% rename from templates/admin/phpconfig/overview_edit.tpl rename to templates/Classic/admin/phpconfig/overview_edit.tpl index 569c68f5..205e7a56 100644 --- a/templates/admin/phpconfig/overview_edit.tpl +++ b/templates/Classic/admin/phpconfig/overview_edit.tpl @@ -7,42 +7,16 @@ $header
      {$lng['admin']['phpconfig']['template_replace_vars']}  {$lng['admin']['phpconfig']['template_replace_vars']}
    {SAFE_MODE}
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + {$phpconfig_edit_form}
     {$lng['admin']['phpsettings']['editsettings']}
    {$lng['admin']['phpsettings']['description']}
    {$lng['admin']['phpsettings']['binary']}
    {$lng['admin']['phpsettings']['file_extensions']}
    {$lng['admin']['phpsettings']['file_extensions_note']}
    {$lng['admin']['mod_fcgid_starter']['title']}
    {$lng['admin']['mod_fcgid_maxrequests']['title']}
    {$lng['admin']['phpsettings']['phpinisettings']}
     {$title} {$title}


    - + diff --git a/templates/admin/phpconfig/overview_overview.tpl b/templates/Classic/admin/phpconfig/overview_overview.tpl similarity index 100% rename from templates/admin/phpconfig/overview_overview.tpl rename to templates/Classic/admin/phpconfig/overview_overview.tpl diff --git a/templates/admin/settings/settings.tpl b/templates/Classic/admin/settings/settings.tpl similarity index 78% rename from templates/admin/settings/settings.tpl rename to templates/Classic/admin/settings/settings.tpl index cfcdcdf2..a315a55d 100644 --- a/templates/admin/settings/settings.tpl +++ b/templates/Classic/admin/settings/settings.tpl @@ -1,6 +1,6 @@
      {$lng['admin']['phpconfig']['template_replace_vars']}  {$lng['admin']['phpconfig']['template_replace_vars']}
    {SAFE_MODE}
    - $fields diff --git a/templates/admin/settings/settings_form_begin.tpl b/templates/Classic/admin/settings/settings_form_begin.tpl similarity index 100% rename from templates/admin/settings/settings_form_begin.tpl rename to templates/Classic/admin/settings/settings_form_begin.tpl diff --git a/templates/admin/settings/settings_form_end.tpl b/templates/Classic/admin/settings/settings_form_end.tpl similarity index 100% rename from templates/admin/settings/settings_form_end.tpl rename to templates/Classic/admin/settings/settings_form_end.tpl diff --git a/templates/Classic/admin/settings/settings_group.tpl b/templates/Classic/admin/settings/settings_group.tpl new file mode 100644 index 00000000..c35e9594 --- /dev/null +++ b/templates/Classic/admin/settings/settings_group.tpl @@ -0,0 +1,8 @@ + + + + diff --git a/templates/admin/settings/settings_overview.tpl b/templates/Classic/admin/settings/settings_overview.tpl similarity index 82% rename from templates/admin/settings/settings_overview.tpl rename to templates/Classic/admin/settings/settings_overview.tpl index 9f9bc4ba..f8c2e458 100644 --- a/templates/admin/settings/settings_overview.tpl +++ b/templates/Classic/admin/settings/settings_overview.tpl @@ -1,7 +1,7 @@
     {$lng['admin']['serversettings']} +  {$lng['admin']['serversettings']} [{$lng['admin']['configfiles']['compactoverview']}]
    +  {$groupdetails['title']} + + +
    diff --git a/templates/admin/settings/settings_overviewgroup.tpl b/templates/Classic/admin/settings/settings_overviewgroup.tpl similarity index 83% rename from templates/admin/settings/settings_overviewgroup.tpl rename to templates/Classic/admin/settings/settings_overviewgroup.tpl index 801a7b1f..10185e73 100644 --- a/templates/admin/settings/settings_overviewgroup.tpl +++ b/templates/Classic/admin/settings/settings_overviewgroup.tpl @@ -1,6 +1,6 @@ + + diff --git a/templates/Froxlor/admin/configfiles/configfiles_file.tpl b/templates/Froxlor/admin/configfiles/configfiles_file.tpl new file mode 100644 index 00000000..852dd76c --- /dev/null +++ b/templates/Froxlor/admin/configfiles/configfiles_file.tpl @@ -0,0 +1,7 @@ +

    +
    + +

    + diff --git a/templates/Froxlor/admin/configfiles/configfiles_files.tpl b/templates/Froxlor/admin/configfiles/configfiles_files.tpl new file mode 100644 index 00000000..b248385a --- /dev/null +++ b/templates/Froxlor/admin/configfiles/configfiles_files.tpl @@ -0,0 +1,3 @@ + + + diff --git a/templates/Froxlor/admin/configfiles/wizard.tpl b/templates/Froxlor/admin/configfiles/wizard.tpl new file mode 100644 index 00000000..3715179b --- /dev/null +++ b/templates/Froxlor/admin/configfiles/wizard.tpl @@ -0,0 +1,39 @@ +$header +
    -  {$lng['admin']['configfiles']['serverconfiguration']} +  {$lng['admin']['configfiles']['serverconfiguration']} [{$lng['admin']['configfiles']['overview']}]
    -  {$title} +  {$title} {$option} diff --git a/templates/Classic/admin/settings/updatecounters.tpl b/templates/Classic/admin/settings/updatecounters.tpl new file mode 100644 index 00000000..abf661c7 --- /dev/null +++ b/templates/Classic/admin/settings/updatecounters.tpl @@ -0,0 +1,18 @@ +$header + + + + +{$customers} + + + +{$admins} +
    +  {$lng['admin']['updatecounters']}: {$lng['admin']['customers']} +
    +  {$lng['admin']['updatecounters']}: {$lng['admin']['admins']} +
    +
    +
    +$footer diff --git a/templates/admin/settings/updatecounters_row_admin.tpl b/templates/Classic/admin/settings/updatecounters_row_admin.tpl similarity index 100% rename from templates/admin/settings/updatecounters_row_admin.tpl rename to templates/Classic/admin/settings/updatecounters_row_admin.tpl diff --git a/templates/admin/settings/updatecounters_row_customer.tpl b/templates/Classic/admin/settings/updatecounters_row_customer.tpl similarity index 100% rename from templates/admin/settings/updatecounters_row_customer.tpl rename to templates/Classic/admin/settings/updatecounters_row_customer.tpl diff --git a/templates/admin/templates/filetemplates_add.tpl b/templates/Classic/admin/templates/filetemplates_add.tpl similarity index 89% rename from templates/admin/templates/filetemplates_add.tpl rename to templates/Classic/admin/templates/filetemplates_add.tpl index 3b10b0ae..be75afba 100644 --- a/templates/admin/templates/filetemplates_add.tpl +++ b/templates/Classic/admin/templates/filetemplates_add.tpl @@ -5,7 +5,7 @@ $header - + @@ -23,7 +23,7 @@ $header
     {$lng['admin']['templates']['template_add']} {$lng['admin']['templates']['template_add']}
    {$lng['admin']['templates']['action']}
    - + diff --git a/templates/admin/templates/filetemplates_edit.tpl b/templates/Classic/admin/templates/filetemplates_edit.tpl similarity index 89% rename from templates/admin/templates/filetemplates_edit.tpl rename to templates/Classic/admin/templates/filetemplates_edit.tpl index fec8a397..068ec50e 100644 --- a/templates/admin/templates/filetemplates_edit.tpl +++ b/templates/Classic/admin/templates/filetemplates_edit.tpl @@ -6,7 +6,7 @@ $header
      {$lng['admin']['templates']['template_replace_vars']}  {$lng['admin']['templates']['template_replace_vars']}
    {$lng['admin']['templates']['index_html']}
    - + @@ -24,7 +24,7 @@ $header
     {$lng['admin']['templates']['template_add']} {$lng['admin']['templates']['template_add']}
    {$lng['admin']['templates']['action']}
    - + diff --git a/templates/admin/templates/templates.tpl b/templates/Classic/admin/templates/templates.tpl similarity index 79% rename from templates/admin/templates/templates.tpl rename to templates/Classic/admin/templates/templates.tpl index dcbeac87..a2388a00 100644 --- a/templates/admin/templates/templates.tpl +++ b/templates/Classic/admin/templates/templates.tpl @@ -1,7 +1,7 @@ $header
      {$lng['admin']['templates']['template_replace_vars']}  {$lng['admin']['templates']['template_replace_vars']}
    {$lng['admin']['templates']['index_html']}
    - + @@ -18,7 +18,7 @@ $header
     {$lng['admin']['templates']['templates']} {$lng['admin']['templates']['templates']}
    {$lng['login']['language']}
    - + diff --git a/templates/admin/templates/templates_add_1.tpl b/templates/Classic/admin/templates/templates_add_1.tpl similarity index 83% rename from templates/admin/templates/templates_add_1.tpl rename to templates/Classic/admin/templates/templates_add_1.tpl index ef569b66..9d11b893 100644 --- a/templates/admin/templates/templates_add_1.tpl +++ b/templates/Classic/admin/templates/templates_add_1.tpl @@ -5,7 +5,7 @@ $header
     {$lng['admin']['templates']['filetemplates']} {$lng['admin']['templates']['filetemplates']}
    {$lng['admin']['templates']['action']}
    - + diff --git a/templates/admin/templates/templates_add_2.tpl b/templates/Classic/admin/templates/templates_add_2.tpl similarity index 84% rename from templates/admin/templates/templates_add_2.tpl rename to templates/Classic/admin/templates/templates_add_2.tpl index 3c647457..6ba15a5a 100644 --- a/templates/admin/templates/templates_add_2.tpl +++ b/templates/Classic/admin/templates/templates_add_2.tpl @@ -5,7 +5,7 @@ $header
     {$lng['admin']['templates']['template_add']} {$lng['admin']['templates']['template_add']}
    {$lng['login']['language']}:
    - + @@ -31,7 +31,7 @@ $header
     {$lng['admin']['templates']['template_add']} {$lng['admin']['templates']['template_add']}
    {$lng['login']['language']}
    - + @@ -106,33 +106,6 @@ $header - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -206,4 +179,4 @@ $header

    -$footer \ No newline at end of file +$footer diff --git a/templates/admin/templates/templates_edit.tpl b/templates/Classic/admin/templates/templates_edit.tpl similarity index 96% rename from templates/admin/templates/templates_edit.tpl rename to templates/Classic/admin/templates/templates_edit.tpl index 4b28a05f..6dd1d4ba 100644 --- a/templates/admin/templates/templates_edit.tpl +++ b/templates/Classic/admin/templates/templates_edit.tpl @@ -7,7 +7,7 @@ $header
      {$lng['admin']['templates']['template_replace_vars']}  {$lng['admin']['templates']['template_replace_vars']}
    {$lng['admin']['templates']['createcustomer']}{TRAFFICUSED}: {$lng['admin']['templates']['TRAFFICUSED']}
    {MAX_PERCENT}:{$lng['admin']['templates']['MAX_PERCENT']}
    {USAGE_PERCENT}:{$lng['admin']['templates']['USAGE_PERCENT']}
    {$lng['admin']['templates']['diskmaxpercent']}
    {DISKAVAILABLE}:{$lng['admin']['templates']['DISKAVAILABLE']}
    {DISKUSED}:{$lng['admin']['templates']['DISKUSED']}
    {MAX_PERCENT}:{$lng['admin']['templates']['MAX_PERCENT']}
    {USAGE_PERCENT}:{$lng['admin']['templates']['USAGE_PERCENT']}
    {$lng['admin']['templates']['ticket']}
    - + @@ -33,7 +33,7 @@ $header
     {$lng['admin']['templates']['template_edit']} {$lng['admin']['templates']['template_edit']}
    {$lng['login']['language']}
    - + diff --git a/templates/admin/templates/templates_filetemplate.tpl b/templates/Classic/admin/templates/templates_filetemplate.tpl similarity index 68% rename from templates/admin/templates/templates_filetemplate.tpl rename to templates/Classic/admin/templates/templates_filetemplate.tpl index d11e4db7..0841e15a 100644 --- a/templates/admin/templates/templates_filetemplate.tpl +++ b/templates/Classic/admin/templates/templates_filetemplate.tpl @@ -1,5 +1,5 @@ - - + + diff --git a/templates/admin/templates/templates_template.tpl b/templates/Classic/admin/templates/templates_template.tpl similarity index 100% rename from templates/admin/templates/templates_template.tpl rename to templates/Classic/admin/templates/templates_template.tpl diff --git a/templates/admin/ticket/archive.tpl b/templates/Classic/admin/ticket/archive.tpl similarity index 90% rename from templates/admin/ticket/archive.tpl rename to templates/Classic/admin/ticket/archive.tpl index b4a6c03d..7e2e6d5f 100644 --- a/templates/admin/ticket/archive.tpl +++ b/templates/Classic/admin/ticket/archive.tpl @@ -5,7 +5,7 @@ $header
      {$lng['admin']['templates']['template_replace_vars']}  {$lng['admin']['templates']['template_replace_vars']}
    {$lng['admin']['templates']['createcustomer']}
    {$lng['admin']['templates'][$row['varname']]}{$lng['panel']['delete']}{$lng['panel']['edit']}{$lng['panel']['delete']}{$lng['panel']['edit']}
    - + @@ -27,7 +27,7 @@ $header
     {$lng['ticket']['lastarchived']} {$lng['ticket']['lastarchived']}  
    - + diff --git a/templates/admin/ticket/archived_tickets.tpl b/templates/Classic/admin/ticket/archived_tickets.tpl similarity index 100% rename from templates/admin/ticket/archived_tickets.tpl rename to templates/Classic/admin/ticket/archived_tickets.tpl diff --git a/templates/Classic/admin/ticket/archivesearch.tpl b/templates/Classic/admin/ticket/archivesearch.tpl new file mode 100644 index 00000000..91662d6c --- /dev/null +++ b/templates/Classic/admin/ticket/archivesearch.tpl @@ -0,0 +1,31 @@ +$header + + + + +
     {$lng['ticket']['search']} {$lng['ticket']['search']}
    {$lng['ticket']['subject']}:
    + + + + + + + + + + + + + + $tickets + + + + + + +
     {$lng['ticket']['archivesearch']} 
    {$lng['ticket']['archivedtime']}{$lng['ticket']['ticket_answers']}{$lng['ticket']['subject']}{$lng['ticket']['lastreplier']}{$lng['ticket']['priority']}
    {$lng['ticket']['noresults']}
    + +
    +
    +$footer \ No newline at end of file diff --git a/templates/admin/ticket/categories.tpl b/templates/Classic/admin/ticket/categories.tpl similarity index 90% rename from templates/admin/ticket/categories.tpl rename to templates/Classic/admin/ticket/categories.tpl index 38cdcdbb..fcbd4a02 100644 --- a/templates/admin/ticket/categories.tpl +++ b/templates/Classic/admin/ticket/categories.tpl @@ -5,7 +5,7 @@ $header - + @@ -32,4 +32,4 @@ $header

    -$footer \ No newline at end of file +$footer diff --git a/templates/admin/ticket/tickets.tpl b/templates/Classic/admin/ticket/tickets.tpl similarity index 93% rename from templates/admin/ticket/tickets.tpl rename to templates/Classic/admin/ticket/tickets.tpl index faa02b67..b6a2c149 100644 --- a/templates/admin/ticket/tickets.tpl +++ b/templates/Classic/admin/ticket/tickets.tpl @@ -5,7 +5,7 @@ $header
     {$lng['menue']['ticket']['categories']} {$lng['menue']['ticket']['categories']} {$searchcode}
    - + diff --git a/templates/admin/ticket/tickets_categories.tpl b/templates/Classic/admin/ticket/tickets_categories.tpl similarity index 100% rename from templates/admin/ticket/tickets_categories.tpl rename to templates/Classic/admin/ticket/tickets_categories.tpl diff --git a/templates/admin/ticket/tickets_customer.tpl b/templates/Classic/admin/ticket/tickets_customer.tpl similarity index 100% rename from templates/admin/ticket/tickets_customer.tpl rename to templates/Classic/admin/ticket/tickets_customer.tpl diff --git a/templates/Classic/admin/ticket/tickets_editcategory.tpl b/templates/Classic/admin/ticket/tickets_editcategory.tpl new file mode 100644 index 00000000..c206e94e --- /dev/null +++ b/templates/Classic/admin/ticket/tickets_editcategory.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + +
     {$lng['menue']['ticket']['ticket']} {$lng['menue']['ticket']['ticket']} {$searchcode}
    + + + + {$category_edit_form} +
    {$title} {$title}
    + +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/admin/ticket/tickets_new.tpl b/templates/Classic/admin/ticket/tickets_new.tpl new file mode 100644 index 00000000..41d15d17 --- /dev/null +++ b/templates/Classic/admin/ticket/tickets_new.tpl @@ -0,0 +1,15 @@ +$header +
    + + + + + + + + {$ticket_new_form} +
    {$title} {$title}
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/admin/ticket/tickets_newcategory.tpl b/templates/Classic/admin/ticket/tickets_newcategory.tpl new file mode 100644 index 00000000..42cb969c --- /dev/null +++ b/templates/Classic/admin/ticket/tickets_newcategory.tpl @@ -0,0 +1,15 @@ +$header +
    + + + + + + + + {$category_new_form} +
    {$title} {$title}
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/admin/ticket/tickets_reply.tpl b/templates/Classic/admin/ticket/tickets_reply.tpl new file mode 100644 index 00000000..13edda7f --- /dev/null +++ b/templates/Classic/admin/ticket/tickets_reply.tpl @@ -0,0 +1,31 @@ +$header +
    + + + + + + $ticket_replies + + + + + + + {$ticket_reply_form} +
    {$title} {$title}
    +
    + + + + + + + + +
     {$lng['ticket']['ticket_reopen']}
    {$lng['ticket']['ticket_reopen']}
    +
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/admin/ticket/tickets_tickets.tpl b/templates/Classic/admin/ticket/tickets_tickets.tpl similarity index 100% rename from templates/admin/ticket/tickets_tickets.tpl rename to templates/Classic/admin/ticket/tickets_tickets.tpl diff --git a/templates/admin/ticket/tickets_tickets_list.tpl b/templates/Classic/admin/ticket/tickets_tickets_list.tpl similarity index 68% rename from templates/admin/ticket/tickets_tickets_list.tpl rename to templates/Classic/admin/ticket/tickets_tickets_list.tpl index 3c081dfd..f2979ab4 100644 --- a/templates/admin/ticket/tickets_tickets_list.tpl +++ b/templates/Classic/admin/ticket/tickets_tickets_list.tpl @@ -1,6 +1,6 @@ - + diff --git a/templates/admin/ticket/tickets_tickets_main.tpl b/templates/Classic/admin/ticket/tickets_tickets_main.tpl similarity index 60% rename from templates/admin/ticket/tickets_tickets_main.tpl rename to templates/Classic/admin/ticket/tickets_tickets_main.tpl index f97f68e8..9767d66f 100644 --- a/templates/admin/ticket/tickets_tickets_main.tpl +++ b/templates/Classic/admin/ticket/tickets_tickets_main.tpl @@ -1,6 +1,6 @@
      {$lastchange} {$lng['ticket']['by']} {$by}  {$lastchange} {$lng['ticket']['by']} {$by}
    {$subject}
    - + diff --git a/templates/Classic/admin/ticket/tickets_view.tpl b/templates/Classic/admin/ticket/tickets_view.tpl new file mode 100644 index 00000000..df999143 --- /dev/null +++ b/templates/Classic/admin/ticket/tickets_view.tpl @@ -0,0 +1,17 @@ +$header +
      {$dt} {$lng['ticket']['by']} {$by} ({$status})  {$dt} {$lng['ticket']['by']} {$by} ({$status})
    {$subject}
    + + + + + + +
     {$lng['ticket']['ticket_delete']}
    {$lng['panel']['delete']}
    +
    +
    + + $ticket_replies + +
    +
    +$footer \ No newline at end of file diff --git a/templates/admin/update/index.tpl b/templates/Classic/admin/update/index.tpl similarity index 84% rename from templates/admin/update/index.tpl rename to templates/Classic/admin/update/index.tpl index b249eeb8..5e7c04d2 100644 --- a/templates/admin/update/index.tpl +++ b/templates/Classic/admin/update/index.tpl @@ -5,7 +5,7 @@ $header - + diff --git a/templates/admin/update/noupdatesavail.tpl b/templates/Classic/admin/update/noupdatesavail.tpl similarity index 57% rename from templates/admin/update/noupdatesavail.tpl rename to templates/Classic/admin/update/noupdatesavail.tpl index 12d1d571..906d4507 100644 --- a/templates/admin/update/noupdatesavail.tpl +++ b/templates/Classic/admin/update/noupdatesavail.tpl @@ -1,10 +1,10 @@ $header
     {$lng['update']['update']} {$lng['update']['update']}
    {$update_information}
    - + - +
      {$lng['update']['update']}  {$lng['update']['update']}
    $success_message
    {$lng['success']['clickheretocontinue']}
    diff --git a/templates/admin/update/preconfigitem.tpl b/templates/Classic/admin/update/preconfigitem.tpl similarity index 100% rename from templates/admin/update/preconfigitem.tpl rename to templates/Classic/admin/update/preconfigitem.tpl diff --git a/templates/admin/update/update_end.tpl b/templates/Classic/admin/update/update_end.tpl similarity index 100% rename from templates/admin/update/update_end.tpl rename to templates/Classic/admin/update/update_end.tpl diff --git a/templates/admin/update/update_start.tpl b/templates/Classic/admin/update/update_start.tpl similarity index 61% rename from templates/admin/update/update_start.tpl rename to templates/Classic/admin/update/update_start.tpl index 7994b8bf..17a484b9 100644 --- a/templates/admin/update/update_start.tpl +++ b/templates/Classic/admin/update/update_start.tpl @@ -1,7 +1,7 @@ $header - + + + + + + + + + diff --git a/templates/Froxlor/admin/configfiles/choose_service.tpl b/templates/Froxlor/admin/configfiles/choose_service.tpl new file mode 100644 index 00000000..d71751ec --- /dev/null +++ b/templates/Froxlor/admin/configfiles/choose_service.tpl @@ -0,0 +1,5 @@ +{$service_details['label']} +
    +
      +$daemons +
    diff --git a/templates/Froxlor/admin/configfiles/configfiles.tpl b/templates/Froxlor/admin/configfiles/configfiles.tpl new file mode 100644 index 00000000..66cd9500 --- /dev/null +++ b/templates/Froxlor/admin/configfiles/configfiles.tpl @@ -0,0 +1,25 @@ +$header +
    +
    +

    +   + {$configfiles[$distribution]['label']} »  + {$configfiles[$distribution]['services'][$service]['label']} »  + {$configfiles[$distribution]['services'][$service]['daemons'][$daemon]['label']}  +[{$lng['panel']['back']}] +

    +
    + +
    +
     {$lng['update']['update']} {$lng['update']['update']}
    diff --git a/templates/customer/aps/askyesno.tpl b/templates/Classic/customer/aps/askyesno.tpl similarity index 92% rename from templates/customer/aps/askyesno.tpl rename to templates/Classic/customer/aps/askyesno.tpl index 4e60528e..b7593a82 100644 --- a/templates/customer/aps/askyesno.tpl +++ b/templates/Classic/customer/aps/askyesno.tpl @@ -1,6 +1,6 @@ - + + + + + + + + diff --git a/templates/Froxlor/admin/aps/manage_packages_download.tpl b/templates/Froxlor/admin/aps/manage_packages_download.tpl new file mode 100644 index 00000000..1476bd49 --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_packages_download.tpl @@ -0,0 +1,30 @@ +
    +
    +

    +   + {$lng['aps']['specialoptions']} +

    +
    + +
    + +
    +
    + Froxlor - {$lng['aps']['specialoptions']} +

    + {$lng['admin']['phpsettings']['actions']} +

    +

    + + + + + +

    +
    + + +
    + +
    + diff --git a/templates/Froxlor/admin/aps/manage_packages_row.tpl b/templates/Froxlor/admin/aps/manage_packages_row.tpl new file mode 100644 index 00000000..4b658828 --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_packages_row.tpl @@ -0,0 +1,3 @@ + + + diff --git a/templates/Froxlor/admin/aps/upload.tpl b/templates/Froxlor/admin/aps/upload.tpl new file mode 100644 index 00000000..b250e580 --- /dev/null +++ b/templates/Froxlor/admin/aps/upload.tpl @@ -0,0 +1,33 @@ +
    +
    +

    +   + {$lng['aps']['upload']} +

    +
    + +
    + +
    +
    + Froxlor - {$lng['aps']['upload']} +

    + {$lng['aps']['upload_description']}
    + http://www.apsstandard.org/ +

    +

    + {$Output} +

    +

    + + + + +

    +
    + + +
    + +
    + diff --git a/templates/Froxlor/admin/configfiles/choose.tpl b/templates/Froxlor/admin/configfiles/choose.tpl new file mode 100644 index 00000000..575c7739 --- /dev/null +++ b/templates/Froxlor/admin/configfiles/choose.tpl @@ -0,0 +1,25 @@ +$header +
    +
    +

    + {$lng['admin']['configfiles']['serverconfiguration']}  + {$lng['admin']['configfiles']['serverconfiguration']}   + [{$lng['admin']['configfiles']['wizard']}] +

    +
    + +
    +
    +
    + Froxlor - {$lng['admin']['configfiles']['serverconfiguration']} + + + +
    $Message
    diff --git a/templates/customer/aps/data.tpl b/templates/Classic/customer/aps/data.tpl similarity index 100% rename from templates/customer/aps/data.tpl rename to templates/Classic/customer/aps/data.tpl diff --git a/templates/customer/aps/footer.tpl b/templates/Classic/customer/aps/footer.tpl similarity index 100% rename from templates/customer/aps/footer.tpl rename to templates/Classic/customer/aps/footer.tpl diff --git a/templates/customer/aps/header.tpl b/templates/Classic/customer/aps/header.tpl similarity index 100% rename from templates/customer/aps/header.tpl rename to templates/Classic/customer/aps/header.tpl diff --git a/templates/customer/aps/infobox.tpl b/templates/Classic/customer/aps/infobox.tpl similarity index 77% rename from templates/customer/aps/infobox.tpl rename to templates/Classic/customer/aps/infobox.tpl index 182f811e..bf515fd5 100644 --- a/templates/customer/aps/infobox.tpl +++ b/templates/Classic/customer/aps/infobox.tpl @@ -1,6 +1,6 @@ - +
    $Message
    diff --git a/templates/customer/aps/installer.tpl b/templates/Classic/customer/aps/installer.tpl similarity index 89% rename from templates/customer/aps/installer.tpl rename to templates/Classic/customer/aps/installer.tpl index 08384e22..bbd462c8 100644 --- a/templates/customer/aps/installer.tpl +++ b/templates/Classic/customer/aps/installer.tpl @@ -7,7 +7,7 @@ - + + + + + \ No newline at end of file diff --git a/templates/Froxlor/admin/aps/manage_instances_install.tpl b/templates/Froxlor/admin/aps/manage_instances_install.tpl new file mode 100644 index 00000000..f308906d --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances_install.tpl @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/templates/Froxlor/admin/aps/manage_instances_package.tpl b/templates/Froxlor/admin/aps/manage_instances_package.tpl new file mode 100644 index 00000000..f2e4e06e --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances_package.tpl @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/Froxlor/admin/aps/manage_instances_success.tpl b/templates/Froxlor/admin/aps/manage_instances_success.tpl new file mode 100644 index 00000000..5c5ce122 --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances_success.tpl @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/templates/Froxlor/admin/aps/manage_instances_taskactive.tpl b/templates/Froxlor/admin/aps/manage_instances_taskactive.tpl new file mode 100644 index 00000000..57d7dcdd --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances_taskactive.tpl @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/Froxlor/admin/aps/manage_instances_uninstall.tpl b/templates/Froxlor/admin/aps/manage_instances_uninstall.tpl new file mode 100644 index 00000000..57d7dcdd --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances_uninstall.tpl @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/Froxlor/admin/aps/manage_packages.tpl b/templates/Froxlor/admin/aps/manage_packages.tpl new file mode 100644 index 00000000..e71449a4 --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_packages.tpl @@ -0,0 +1,110 @@ +
    +
    +

    +   + {$lng['aps']['specialoptions']} +

    +
    + +
    + +
    +

    + {$lng['admin']['phpsettings']['actions']} +

    +

    + + + + + +

    + + +
    +

    + + + + + +

    + + +
    +

    + + + + + +

    + + +
    +

    + + + + + +

    + + +
    +
    +
    +

    {$lng['aps']['statistics']}

    +

    {$Statistics}

    +
    +
    +
    +
    +
    +

    +   + {$lng['aps']['managepackages']} +

    +
    + +
    + +
    + +
     {$Xml->name} {$Xml->name}
    {$lng['aps']['install_wizard']} diff --git a/templates/customer/aps/package.tpl b/templates/Classic/customer/aps/package.tpl similarity index 95% rename from templates/customer/aps/package.tpl rename to templates/Classic/customer/aps/package.tpl index 41a9e4bb..0eb4947d 100644 --- a/templates/customer/aps/package.tpl +++ b/templates/Classic/customer/aps/package.tpl @@ -1,6 +1,6 @@ - + diff --git a/templates/customer/aps/package_status.tpl b/templates/Classic/customer/aps/package_status.tpl similarity index 94% rename from templates/customer/aps/package_status.tpl rename to templates/Classic/customer/aps/package_status.tpl index 5eb5622d..c53dc6ad 100644 --- a/templates/customer/aps/package_status.tpl +++ b/templates/Classic/customer/aps/package_status.tpl @@ -1,6 +1,6 @@
     {$Xml->name} {$Xml->name}
    $Summary
    - + diff --git a/templates/customer/aps/search.tpl b/templates/Classic/customer/aps/search.tpl similarity index 85% rename from templates/customer/aps/search.tpl rename to templates/Classic/customer/aps/search.tpl index c3c25691..ea00da16 100644 --- a/templates/customer/aps/search.tpl +++ b/templates/Classic/customer/aps/search.tpl @@ -4,7 +4,7 @@
     {$Xml->name} {$Xml->name}
    $Summary
    - + diff --git a/templates/customer/domains/domainlist.tpl b/templates/Classic/customer/domains/domainlist.tpl similarity index 90% rename from templates/customer/domains/domainlist.tpl rename to templates/Classic/customer/domains/domainlist.tpl index 26c92346..d13cd1df 100644 --- a/templates/customer/domains/domainlist.tpl +++ b/templates/Classic/customer/domains/domainlist.tpl @@ -4,7 +4,7 @@ $header
     {$lng['aps']['search']} {$lng['aps']['search']}
    {$lng['aps']['search_description']}
    - + diff --git a/templates/customer/domains/domains.tpl b/templates/Classic/customer/domains/domains.tpl similarity index 64% rename from templates/customer/domains/domains.tpl rename to templates/Classic/customer/domains/domains.tpl index e5d49243..2985f77a 100644 --- a/templates/customer/domains/domains.tpl +++ b/templates/Classic/customer/domains/domains.tpl @@ -1,7 +1,7 @@ $header
     {$lng['domains']['domainsettings']} ({$domains_count}) {$lng['domains']['domainsettings']} ({$domains_count}) {$searchcode}
    - + diff --git a/templates/customer/domains/domains_add.tpl b/templates/Classic/customer/domains/domains_add.tpl similarity index 93% rename from templates/customer/domains/domains_add.tpl rename to templates/Classic/customer/domains/domains_add.tpl index 419a1ec6..d9862601 100644 --- a/templates/customer/domains/domains_add.tpl +++ b/templates/Classic/customer/domains/domains_add.tpl @@ -5,7 +5,7 @@ $header
     {$lng['menue']['domains']['domains']} {$lng['menue']['domains']['domains']}
    {$lng['domains']['description']}
    - + @@ -28,7 +28,7 @@ $header - + diff --git a/templates/customer/domains/domains_delimiter.tpl b/templates/Classic/customer/domains/domains_delimiter.tpl similarity index 100% rename from templates/customer/domains/domains_delimiter.tpl rename to templates/Classic/customer/domains/domains_delimiter.tpl diff --git a/templates/customer/domains/domains_domain.tpl b/templates/Classic/customer/domains/domains_domain.tpl similarity index 100% rename from templates/customer/domains/domains_domain.tpl rename to templates/Classic/customer/domains/domains_domain.tpl diff --git a/templates/customer/domains/domains_edit.tpl b/templates/Classic/customer/domains/domains_edit.tpl similarity index 95% rename from templates/customer/domains/domains_edit.tpl rename to templates/Classic/customer/domains/domains_edit.tpl index e253c72a..526808c6 100644 --- a/templates/customer/domains/domains_edit.tpl +++ b/templates/Classic/customer/domains/domains_edit.tpl @@ -6,7 +6,7 @@ $header
     {$lng['domains']['subdomain_add']} {$lng['domains']['subdomain_add']}
    {$lng['domains']['domainname']}:
    {$lng['panel']['urloverridespath']}:
    - + diff --git a/templates/Classic/customer/email/account_add.tpl b/templates/Classic/customer/email/account_add.tpl new file mode 100644 index 00000000..2bb422e5 --- /dev/null +++ b/templates/Classic/customer/email/account_add.tpl @@ -0,0 +1,16 @@ +$header + + + + + +
     {$lng['domains']['subdomain_edit']} {$lng['domains']['subdomain_edit']}
    {$lng['domains']['domainname']}:
    + + + + {$account_add_form} +
    $title {$title}
    + +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/customer/email/account_changepw.tpl b/templates/Classic/customer/email/account_changepw.tpl new file mode 100644 index 00000000..34971069 --- /dev/null +++ b/templates/Classic/customer/email/account_changepw.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$account_changepw} +
    {$title} {$title}
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/customer/email/account_changequota.tpl b/templates/Classic/customer/email/account_changequota.tpl new file mode 100644 index 00000000..a4f032b9 --- /dev/null +++ b/templates/Classic/customer/email/account_changequota.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$quota_edit} +
    {$title} {$title}
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/customer/email/autoresponder.tpl b/templates/Classic/customer/email/autoresponder.tpl similarity index 84% rename from templates/customer/email/autoresponder.tpl rename to templates/Classic/customer/email/autoresponder.tpl index a946acd8..98bad22f 100644 --- a/templates/customer/email/autoresponder.tpl +++ b/templates/Classic/customer/email/autoresponder.tpl @@ -1,7 +1,7 @@ $header - + diff --git a/templates/Classic/customer/email/autoresponder_add.tpl b/templates/Classic/customer/email/autoresponder_add.tpl new file mode 100644 index 00000000..31879d01 --- /dev/null +++ b/templates/Classic/customer/email/autoresponder_add.tpl @@ -0,0 +1,14 @@ +$header + + + +
     {$lng['menue']['email']['autoresponder']} {$lng['menue']['email']['autoresponder']}
    {$lng['emails']['emailaddress']}
    + + + + {$autoresponder_add_form} +
    {$title} {$title}
    + +
    +
    +$footer \ No newline at end of file diff --git a/templates/customer/email/autoresponder_autoresponder.tpl b/templates/Classic/customer/email/autoresponder_autoresponder.tpl similarity index 100% rename from templates/customer/email/autoresponder_autoresponder.tpl rename to templates/Classic/customer/email/autoresponder_autoresponder.tpl diff --git a/templates/customer/email/autoresponder_add.tpl b/templates/Classic/customer/email/autoresponder_edit.tpl similarity index 66% rename from templates/customer/email/autoresponder_add.tpl rename to templates/Classic/customer/email/autoresponder_edit.tpl index d3df8fae..cd9f9ddf 100644 --- a/templates/customer/email/autoresponder_add.tpl +++ b/templates/Classic/customer/email/autoresponder_edit.tpl @@ -2,38 +2,39 @@ $header
    + - + - + - + - + - - + + - + - + - +
     {$lng['autoresponder']['autoresponder_new']}{$title} {$title}
    {$lng['autoresponder']['account']}:{$email}
    {$lng['autoresponder']['active']}:
    {$lng['autoresponder']['date_from']} (dd-mm-yyyy): {$date_from_off} {$date_from_off}
    {$lng['autoresponder']['date_until']} (dd-mm-yyyy): {$date_until_off}
     {$date_until_off}
    {$lng['autoresponder']['subject']}:
    {$lng['autoresponder']['message']}:
    diff --git a/templates/customer/email/email.tpl b/templates/Classic/customer/email/email.tpl similarity index 65% rename from templates/customer/email/email.tpl rename to templates/Classic/customer/email/email.tpl index 93092351..ecc75a3c 100644 --- a/templates/customer/email/email.tpl +++ b/templates/Classic/customer/email/email.tpl @@ -1,7 +1,7 @@ $header - + diff --git a/templates/customer/email/emails.tpl b/templates/Classic/customer/email/emails.tpl similarity index 91% rename from templates/customer/email/emails.tpl rename to templates/Classic/customer/email/emails.tpl index 48ef6693..d7b0c222 100644 --- a/templates/customer/email/emails.tpl +++ b/templates/Classic/customer/email/emails.tpl @@ -4,7 +4,7 @@ $header
     {$lng['menue']['email']['email']} {$lng['menue']['email']['email']}
    {$lng['emails']['description']}
    - + diff --git a/templates/Classic/customer/email/emails_add.tpl b/templates/Classic/customer/email/emails_add.tpl new file mode 100644 index 00000000..a2da73cb --- /dev/null +++ b/templates/Classic/customer/email/emails_add.tpl @@ -0,0 +1,15 @@ +$header +
    + + + +
     {$lng['menue']['email']['emails']} ({$emailscount}) {$lng['menue']['email']['emails']} ({$emailscount}) {$searchcode}
    + + + + {$email_add_form} +
    $title {$title}
    + +
    +
    +$footer \ No newline at end of file diff --git a/templates/customer/email/emails_domain.tpl b/templates/Classic/customer/email/emails_domain.tpl similarity index 100% rename from templates/customer/email/emails_domain.tpl rename to templates/Classic/customer/email/emails_domain.tpl diff --git a/templates/Classic/customer/email/emails_edit.tpl b/templates/Classic/customer/email/emails_edit.tpl new file mode 100644 index 00000000..3f6cc570 --- /dev/null +++ b/templates/Classic/customer/email/emails_edit.tpl @@ -0,0 +1,10 @@ +$header + + + + + {$email_edit_form} +
    {$title} {$title}
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/customer/email/emails_edit_forwarder.tpl b/templates/Classic/customer/email/emails_edit_forwarder.tpl similarity index 100% rename from templates/customer/email/emails_edit_forwarder.tpl rename to templates/Classic/customer/email/emails_edit_forwarder.tpl diff --git a/templates/customer/email/emails_email.tpl b/templates/Classic/customer/email/emails_email.tpl similarity index 100% rename from templates/customer/email/emails_email.tpl rename to templates/Classic/customer/email/emails_email.tpl diff --git a/templates/Classic/customer/email/forwarder_add.tpl b/templates/Classic/customer/email/forwarder_add.tpl new file mode 100644 index 00000000..4c0dcf1e --- /dev/null +++ b/templates/Classic/customer/email/forwarder_add.tpl @@ -0,0 +1,19 @@ +$header +
    + + + + + + + + + {$forwarder_add_form} +
    {$title} {$title}
    +
    +
    +
    + +$footer diff --git a/templates/customer/extras/extras.tpl b/templates/Classic/customer/extras/extras.tpl similarity index 65% rename from templates/customer/extras/extras.tpl rename to templates/Classic/customer/extras/extras.tpl index 16179a6e..e4bd5c7a 100644 --- a/templates/customer/extras/extras.tpl +++ b/templates/Classic/customer/extras/extras.tpl @@ -1,7 +1,7 @@ $header - + diff --git a/templates/customer/extras/htaccess.tpl b/templates/Classic/customer/extras/htaccess.tpl similarity index 91% rename from templates/customer/extras/htaccess.tpl rename to templates/Classic/customer/extras/htaccess.tpl index 2f7fb083..7f6ad368 100644 --- a/templates/customer/extras/htaccess.tpl +++ b/templates/Classic/customer/extras/htaccess.tpl @@ -4,7 +4,7 @@ $header
     {$lng['menue']['extras']['extras']} {$lng['menue']['extras']['extras']}
    {$lng['extras']['description']}
    - + diff --git a/templates/Classic/customer/extras/htaccess_add.tpl b/templates/Classic/customer/extras/htaccess_add.tpl new file mode 100644 index 00000000..0377bb7c --- /dev/null +++ b/templates/Classic/customer/extras/htaccess_add.tpl @@ -0,0 +1,15 @@ +$header + + + + +
     {$lng['menue']['extras']['pathoptions']} {$lng['menue']['extras']['pathoptions']} {$searchcode}
    + + + + {$htaccess_add_form} +
    {$title} {$title}
    + +
    +
    +$footer diff --git a/templates/Classic/customer/extras/htaccess_edit.tpl b/templates/Classic/customer/extras/htaccess_edit.tpl new file mode 100644 index 00000000..c14936d7 --- /dev/null +++ b/templates/Classic/customer/extras/htaccess_edit.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$htaccess_edit_form} +
    {$title} {$title}
    +
    +
    +
    +$footer diff --git a/templates/customer/extras/htaccess_htaccess.tpl b/templates/Classic/customer/extras/htaccess_htaccess.tpl similarity index 100% rename from templates/customer/extras/htaccess_htaccess.tpl rename to templates/Classic/customer/extras/htaccess_htaccess.tpl diff --git a/templates/customer/extras/htpasswds.tpl b/templates/Classic/customer/extras/htpasswds.tpl similarity index 86% rename from templates/customer/extras/htpasswds.tpl rename to templates/Classic/customer/extras/htpasswds.tpl index 8c9c45af..f8f7607c 100644 --- a/templates/customer/extras/htpasswds.tpl +++ b/templates/Classic/customer/extras/htpasswds.tpl @@ -4,7 +4,7 @@ $header - + diff --git a/templates/Classic/customer/extras/htpasswds_add.tpl b/templates/Classic/customer/extras/htpasswds_add.tpl new file mode 100644 index 00000000..cd75df0e --- /dev/null +++ b/templates/Classic/customer/extras/htpasswds_add.tpl @@ -0,0 +1,15 @@ +$header + + + + +
     {$lng['menue']['extras']['directoryprotection']} {$lng['menue']['extras']['directoryprotection']} {$searchcode}
    + + + + {$htpasswd_add_form} +
    {$title} {$title}
    + +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/customer/extras/htpasswds_edit.tpl b/templates/Classic/customer/extras/htpasswds_edit.tpl new file mode 100644 index 00000000..290d2331 --- /dev/null +++ b/templates/Classic/customer/extras/htpasswds_edit.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$htpasswd_edit_form} +
    {$title} {$title}
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/customer/extras/htpasswds_htpasswd.tpl b/templates/Classic/customer/extras/htpasswds_htpasswd.tpl similarity index 100% rename from templates/customer/extras/htpasswds_htpasswd.tpl rename to templates/Classic/customer/extras/htpasswds_htpasswd.tpl diff --git a/templates/customer/ftp/accounts.tpl b/templates/Classic/customer/ftp/accounts.tpl similarity index 89% rename from templates/customer/ftp/accounts.tpl rename to templates/Classic/customer/ftp/accounts.tpl index 3edc751d..39a9cfcf 100644 --- a/templates/customer/ftp/accounts.tpl +++ b/templates/Classic/customer/ftp/accounts.tpl @@ -5,7 +5,7 @@ $header - + diff --git a/templates/customer/ftp/accounts_account.tpl b/templates/Classic/customer/ftp/accounts_account.tpl similarity index 100% rename from templates/customer/ftp/accounts_account.tpl rename to templates/Classic/customer/ftp/accounts_account.tpl diff --git a/templates/Classic/customer/ftp/accounts_add.tpl b/templates/Classic/customer/ftp/accounts_add.tpl new file mode 100644 index 00000000..795f6c7a --- /dev/null +++ b/templates/Classic/customer/ftp/accounts_add.tpl @@ -0,0 +1,15 @@ +$header +
    + + + +
     {$lng['menue']['ftp']['accounts']} ({$ftps_count}) {$lng['menue']['ftp']['accounts']} ({$ftps_count}) {$searchcode}
    + + + + {$ftp_add_form} +
     {$title}
    + +
    +
    +$footer diff --git a/templates/Classic/customer/ftp/accounts_edit.tpl b/templates/Classic/customer/ftp/accounts_edit.tpl new file mode 100644 index 00000000..0d00707d --- /dev/null +++ b/templates/Classic/customer/ftp/accounts_edit.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$ftp_edit_form} +
     {$title}
    +
    +
    +
    +$footer diff --git a/templates/customer/ftp/ftp.tpl b/templates/Classic/customer/ftp/ftp.tpl similarity index 65% rename from templates/customer/ftp/ftp.tpl rename to templates/Classic/customer/ftp/ftp.tpl index bca14b22..4ced6ec8 100644 --- a/templates/customer/ftp/ftp.tpl +++ b/templates/Classic/customer/ftp/ftp.tpl @@ -1,7 +1,7 @@ $header - + diff --git a/templates/customer/index/change_language.tpl b/templates/Classic/customer/index/change_language.tpl similarity index 75% rename from templates/customer/index/change_language.tpl rename to templates/Classic/customer/index/change_language.tpl index ba24c291..45c1becd 100644 --- a/templates/customer/index/change_language.tpl +++ b/templates/Classic/customer/index/change_language.tpl @@ -4,10 +4,10 @@ $header
     {$lng['menue']['ftp']['ftp']} {$lng['menue']['ftp']['ftp']}
    {$lng['ftp']['description']}
    - + - + diff --git a/templates/customer/index/change_password.tpl b/templates/Classic/customer/index/change_password.tpl similarity index 86% rename from templates/customer/index/change_password.tpl rename to templates/Classic/customer/index/change_password.tpl index 48db0c78..858dc9d0 100644 --- a/templates/customer/index/change_password.tpl +++ b/templates/Classic/customer/index/change_password.tpl @@ -4,10 +4,10 @@ $header
     {$lng['menue']['main']['changelanguage']} {$lng['menue']['main']['changelanguage']}
    {$lng['login']['language']}
    - + - + diff --git a/templates/Classic/customer/index/change_theme.tpl b/templates/Classic/customer/index/change_theme.tpl new file mode 100644 index 00000000..0af3f1ea --- /dev/null +++ b/templates/Classic/customer/index/change_theme.tpl @@ -0,0 +1,24 @@ +$header + + + +
     {$lng['menue']['main']['changepassword']} {$lng['menue']['main']['changepassword']}
    {$lng['changepassword']['old_password']}:
    + + + + + + + + + + + + + +
     {$lng['menue']['main']['changetheme']}
    {$lng['panel']['theme']}
    + +
    +
    +$footer + diff --git a/templates/customer/index/index.tpl b/templates/Classic/customer/index/index.tpl similarity index 93% rename from templates/customer/index/index.tpl rename to templates/Classic/customer/index/index.tpl index 447ee2e4..74ac88a2 100644 --- a/templates/customer/index/index.tpl +++ b/templates/Classic/customer/index/index.tpl @@ -1,7 +1,7 @@ $header - + @@ -28,7 +28,7 @@ $header - + diff --git a/templates/customer/mysql/mysql.tpl b/templates/Classic/customer/mysql/mysql.tpl similarity index 65% rename from templates/customer/mysql/mysql.tpl rename to templates/Classic/customer/mysql/mysql.tpl index 88102583..830b90c2 100644 --- a/templates/customer/mysql/mysql.tpl +++ b/templates/Classic/customer/mysql/mysql.tpl @@ -1,7 +1,7 @@ $header
     {$lng['index']['customerdetails']} {$lng['index']['customerdetails']}
    {$lng['customer']['name']}:{$userinfo['customernumber']}
     {$lng['index']['accountdetails']} {$lng['index']['accountdetails']}
    {$lng['login']['username']}:
    - + diff --git a/templates/customer/mysql/mysqls.tpl b/templates/Classic/customer/mysql/mysqls.tpl similarity index 93% rename from templates/customer/mysql/mysqls.tpl rename to templates/Classic/customer/mysql/mysqls.tpl index f1495aa5..fdb2b302 100644 --- a/templates/customer/mysql/mysqls.tpl +++ b/templates/Classic/customer/mysql/mysqls.tpl @@ -4,7 +4,7 @@ $header
     {$lng['menue']['mysql']['mysql']} {$lng['menue']['mysql']['mysql']}
    {$lng['mysql']['description']}
    - + diff --git a/templates/Classic/customer/mysql/mysqls_add.tpl b/templates/Classic/customer/mysql/mysqls_add.tpl new file mode 100644 index 00000000..6fb61ce6 --- /dev/null +++ b/templates/Classic/customer/mysql/mysqls_add.tpl @@ -0,0 +1,15 @@ +$header +
    + + + +
     {$lng['menue']['mysql']['databases']} ({$mysqls_count}) {$lng['menue']['mysql']['databases']} ({$mysqls_count}) {$searchcode}
    + + + + {$mysql_add_form} +
     {$title}
    + +
    +
    +$footer diff --git a/templates/customer/mysql/mysqls_database.tpl b/templates/Classic/customer/mysql/mysqls_database.tpl similarity index 100% rename from templates/customer/mysql/mysqls_database.tpl rename to templates/Classic/customer/mysql/mysqls_database.tpl diff --git a/templates/Classic/customer/mysql/mysqls_edit.tpl b/templates/Classic/customer/mysql/mysqls_edit.tpl new file mode 100644 index 00000000..bdd27005 --- /dev/null +++ b/templates/Classic/customer/mysql/mysqls_edit.tpl @@ -0,0 +1,16 @@ +$header +
    + + + + + + + + + {$mysql_edit_form} +
     {$title}
    +
    +
    +
    +$footer diff --git a/templates/customer/ticket/ticket.tpl b/templates/Classic/customer/ticket/ticket.tpl similarity index 65% rename from templates/customer/ticket/ticket.tpl rename to templates/Classic/customer/ticket/ticket.tpl index 473fad44..6b44fe5d 100644 --- a/templates/customer/ticket/ticket.tpl +++ b/templates/Classic/customer/ticket/ticket.tpl @@ -1,7 +1,7 @@ $header - + diff --git a/templates/customer/ticket/tickets.tpl b/templates/Classic/customer/ticket/tickets.tpl similarity index 90% rename from templates/customer/ticket/tickets.tpl rename to templates/Classic/customer/ticket/tickets.tpl index e0ca2a7d..caf8abab 100644 --- a/templates/customer/ticket/tickets.tpl +++ b/templates/Classic/customer/ticket/tickets.tpl @@ -5,7 +5,7 @@ $header
     {$lng['menue']['ticket']['ticket']} {$lng['menue']['ticket']['ticket']}
    {$lng['ticket']['description']}
    - + @@ -23,7 +23,7 @@ $header
     {$lng['ticket']['supportstatus']} {$lng['ticket']['supportstatus']}  
    - + diff --git a/templates/Classic/customer/ticket/tickets_new.tpl b/templates/Classic/customer/ticket/tickets_new.tpl new file mode 100644 index 00000000..283738de --- /dev/null +++ b/templates/Classic/customer/ticket/tickets_new.tpl @@ -0,0 +1,15 @@ +$header +
    + + + +
     {$lng['menue']['ticket']['ticket']} {$lng['menue']['ticket']['ticket']} {$searchcode}
    + + + + {$ticket_add_form} +
     {$title}
    + +
    +
    +$footer diff --git a/templates/Classic/customer/ticket/tickets_reply.tpl b/templates/Classic/customer/ticket/tickets_reply.tpl new file mode 100644 index 00000000..ab0e613d --- /dev/null +++ b/templates/Classic/customer/ticket/tickets_reply.tpl @@ -0,0 +1,31 @@ +$header +
    + + + + + + $ticket_replies + + + + + + + {$ticket_reply_form} +
     {$title}
    +
    + + + + + + + + +
     {$lng['ticket']['ticket_reopen']}
    {$lng['ticket']['ticket_reopen']}
    +
    +
    +
    +
    +$footer diff --git a/templates/customer/ticket/tickets_tickets.tpl b/templates/Classic/customer/ticket/tickets_tickets.tpl similarity index 100% rename from templates/customer/ticket/tickets_tickets.tpl rename to templates/Classic/customer/ticket/tickets_tickets.tpl diff --git a/templates/customer/ticket/tickets_tickets_list.tpl b/templates/Classic/customer/ticket/tickets_tickets_list.tpl similarity index 64% rename from templates/customer/ticket/tickets_tickets_list.tpl rename to templates/Classic/customer/ticket/tickets_tickets_list.tpl index 31dec034..a8d4ae41 100644 --- a/templates/customer/ticket/tickets_tickets_list.tpl +++ b/templates/Classic/customer/ticket/tickets_tickets_list.tpl @@ -1,6 +1,6 @@ - + diff --git a/templates/customer/ticket/tickets_tickets_main.tpl b/templates/Classic/customer/ticket/tickets_tickets_main.tpl similarity index 63% rename from templates/customer/ticket/tickets_tickets_main.tpl rename to templates/Classic/customer/ticket/tickets_tickets_main.tpl index 4eb04acf..c967772c 100644 --- a/templates/customer/ticket/tickets_tickets_main.tpl +++ b/templates/Classic/customer/ticket/tickets_tickets_main.tpl @@ -1,6 +1,6 @@
      {$lastchange} von {$by}  {$lastchange} von {$by}
    {$subject}
    - + diff --git a/templates/customer/traffic/traffic.tpl b/templates/Classic/customer/traffic/traffic.tpl similarity index 88% rename from templates/customer/traffic/traffic.tpl rename to templates/Classic/customer/traffic/traffic.tpl index f113a153..05525c13 100644 --- a/templates/customer/traffic/traffic.tpl +++ b/templates/Classic/customer/traffic/traffic.tpl @@ -1,7 +1,7 @@ $header
      {$dt} von {$by} ({$status})  {$dt} von {$by} ({$status})
    {$subject}
    - + + + + diff --git a/templates/admin/settings/settings_group.tpl b/templates/Classic/misc/form/table_section.tpl similarity index 76% rename from templates/admin/settings/settings_group.tpl rename to templates/Classic/misc/form/table_section.tpl index 0a992447..0febf2f0 100644 --- a/templates/admin/settings/settings_group.tpl +++ b/templates/Classic/misc/form/table_section.tpl @@ -1,6 +1,6 @@ + + + + + + + diff --git a/templates/Froxlor/admin/admins/admins_edit.tpl b/templates/Froxlor/admin/admins/admins_edit.tpl new file mode 100644 index 00000000..9188fcb0 --- /dev/null +++ b/templates/Froxlor/admin/admins/admins_edit.tpl @@ -0,0 +1,48 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + + +
    +
    {$lng['error']['youcanteditallfieldsofyourself']}
    +
    +
    + +
    + +
    +
    + Froxlor - {$title} + +
     {$lng['menue']['traffic']['traffic']} {$lng['menue']['traffic']['traffic']}
    diff --git a/templates/customer/traffic/traffic_details.tpl b/templates/Classic/customer/traffic/traffic_details.tpl similarity index 88% rename from templates/customer/traffic/traffic_details.tpl rename to templates/Classic/customer/traffic/traffic_details.tpl index f3b1ba1c..56728e0e 100644 --- a/templates/customer/traffic/traffic_details.tpl +++ b/templates/Classic/customer/traffic/traffic_details.tpl @@ -1,7 +1,7 @@ $header - + + + + + diff --git a/templates/Classic/customer/traffic/traffic_traffic.tpl b/templates/Classic/customer/traffic/traffic_traffic.tpl new file mode 100644 index 00000000..aadfa3f5 --- /dev/null +++ b/templates/Classic/customer/traffic/traffic_traffic.tpl @@ -0,0 +1,7 @@ + + + + + diff --git a/templates/footer.tpl b/templates/Classic/footer.tpl similarity index 100% rename from templates/footer.tpl rename to templates/Classic/footer.tpl diff --git a/templates/formfields/bool.tpl b/templates/Classic/formfields/bool.tpl similarity index 100% rename from templates/formfields/bool.tpl rename to templates/Classic/formfields/bool.tpl diff --git a/templates/formfields/hidden.tpl b/templates/Classic/formfields/hidden.tpl similarity index 100% rename from templates/formfields/hidden.tpl rename to templates/Classic/formfields/hidden.tpl diff --git a/templates/formfields/label.tpl b/templates/Classic/formfields/label.tpl similarity index 100% rename from templates/formfields/label.tpl rename to templates/Classic/formfields/label.tpl diff --git a/templates/formfields/option.tpl b/templates/Classic/formfields/option.tpl similarity index 100% rename from templates/formfields/option.tpl rename to templates/Classic/formfields/option.tpl diff --git a/templates/formfields/string.tpl b/templates/Classic/formfields/string.tpl similarity index 100% rename from templates/formfields/string.tpl rename to templates/Classic/formfields/string.tpl diff --git a/templates/formfields/text.tpl b/templates/Classic/formfields/text.tpl similarity index 100% rename from templates/formfields/text.tpl rename to templates/Classic/formfields/text.tpl diff --git a/templates/header.tpl b/templates/Classic/header.tpl similarity index 84% rename from templates/header.tpl rename to templates/Classic/header.tpl index 51b92cd3..66cd062f 100644 --- a/templates/header.tpl +++ b/templates/Classic/header.tpl @@ -1,12 +1,12 @@ - + - + - + <if isset($userinfo['loginname']) && $userinfo['loginname'] != ''>{$userinfo['loginname']} - </if>Froxlor onload="document.loginform.loginname.focus()"> @@ -22,7 +22,7 @@ // -->
     {$lng['menue']['traffic']['traffic']} $show {$lng['menue']['traffic']['traffic']} $show
    diff --git a/templates/Classic/customer/traffic/traffic_month.tpl b/templates/Classic/customer/traffic/traffic_month.tpl new file mode 100644 index 00000000..8f456e88 --- /dev/null +++ b/templates/Classic/customer/traffic/traffic_month.tpl @@ -0,0 +1,5 @@ +
    {$traf['day']}.  

    {$traf['byte']}
    + {$traf['monthname']} + {$traf['ftptext']}
    {$traf['httptext']}
    {$traf['mailtext']}
    {$traf['byte']}
    - +
     
    diff --git a/templates/login/fpwd.tpl b/templates/Classic/login/fpwd.tpl similarity index 78% rename from templates/login/fpwd.tpl rename to templates/Classic/login/fpwd.tpl index 2f9d2ac6..08c1a9ff 100644 --- a/templates/login/fpwd.tpl +++ b/templates/Classic/login/fpwd.tpl @@ -5,10 +5,10 @@ $header - + - +
      {$lng['error']['error']}/{$lng['error']['info']}  {$lng['error']['error']}/{$lng['error']['info']}
    $message
    @@ -18,10 +18,10 @@ $header - + - + diff --git a/templates/login/login.tpl b/templates/Classic/login/login.tpl similarity index 82% rename from templates/login/login.tpl rename to templates/Classic/login/login.tpl index 531e8af9..3e0d003d 100644 --- a/templates/login/login.tpl +++ b/templates/Classic/login/login.tpl @@ -4,10 +4,10 @@ $header
     Froxlor - {$lng['login']['presend']} Froxlor - {$lng['login']['presend']}
    {$lng['login']['username']}:
    - + - +
      {$lng['error']['error']}/{$lng['error']['info']}  {$lng['error']['error']}/{$lng['error']['info']}
    $message
    @@ -16,10 +16,10 @@ $header
    - + - + diff --git a/templates/main.css b/templates/Classic/main.css similarity index 95% rename from templates/main.css rename to templates/Classic/main.css index 51b546ea..9fd766fd 100644 --- a/templates/main.css +++ b/templates/Classic/main.css @@ -5,7 +5,7 @@ body { } .header { - background-image : url( '../images/header_r.gif' ); + background-image : url( '/images/Classic/header_r.gif' ); background-repeat : repeat-x; } @@ -16,7 +16,7 @@ body { border-width : 1px; border-right : none; border-left : none; - background : url('../images/footer.gif') repeat-y #FFFFFF; + background : url('/images/Classic/footer.gif') repeat-y #FFFFFF; } a,a:visited,a:active { @@ -97,24 +97,24 @@ ul { } .line_shadow { - background-image : url( '../images/shadow.gif' ); + background-image : url( '/images/Classic/shadow.gif' ); background-repeat : repeat-y; background-position : top left; } .section { height : 25px; - background-image : url( '../images/section.gif' ); + background-image : url( '/images/Classic/section.gif' ); } .subsection { padding-top : 8px; - background-image : url( '../images/subsection.gif' ); + background-image : url( '/images/Classic/subsection.gif' ); } .endsection { height : 10px; - background-image : url( '../images/endsection.gif' ); + background-image : url( '/images/Classic/endsection.gif' ); background-position : bottom; } @@ -420,7 +420,7 @@ TR.RowOverSelected { padding: 20px 20px 20px 60px; background-color: #f1baba; border: 1px solid #ce1d1d; - background-image: url('../images/error.png'); + background-image: url('/images/Classic/error.png'); background-repeat: no-repeat; background-position: 15px 50%; } @@ -475,3 +475,4 @@ TR.RowOverSelected { text-decoration: line-through; } + diff --git a/templates/Classic/misc/alreadyinstalledhint.tpl b/templates/Classic/misc/alreadyinstalledhint.tpl new file mode 100644 index 00000000..296d2d96 --- /dev/null +++ b/templates/Classic/misc/alreadyinstalledhint.tpl @@ -0,0 +1,68 @@ + + + + + + + Attention: Froxlor has not been configured yet! + + + + + +
    +
      +
    • It seems that Froxlor has already been installed..
    • +
    +
    + + + + + + diff --git a/templates/misc/configurehint.tpl b/templates/Classic/misc/configurehint.tpl similarity index 100% rename from templates/misc/configurehint.tpl rename to templates/Classic/misc/configurehint.tpl diff --git a/templates/Classic/misc/error.tpl b/templates/Classic/misc/error.tpl new file mode 100644 index 00000000..a252443c --- /dev/null +++ b/templates/Classic/misc/error.tpl @@ -0,0 +1,13 @@ +$header +
     Froxlor - Login Froxlor - Login
    {$lng['login']['username']}:
    + + + + + + + +
      {$lng['error']['error']}
    $error
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/Classic/misc/form/input_text.tpl b/templates/Classic/misc/form/input_text.tpl new file mode 100644 index 00000000..ed827ab2 --- /dev/null +++ b/templates/Classic/misc/form/input_text.tpl @@ -0,0 +1 @@ +{$ulfield} diff --git a/templates/Classic/misc/form/input_textarea.tpl b/templates/Classic/misc/form/input_textarea.tpl new file mode 100644 index 00000000..fbcf9e8f --- /dev/null +++ b/templates/Classic/misc/form/input_textarea.tpl @@ -0,0 +1 @@ + diff --git a/templates/Classic/misc/form/table_row.tpl b/templates/Classic/misc/form/table_row.tpl new file mode 100644 index 00000000..6bd4bc52 --- /dev/null +++ b/templates/Classic/misc/form/table_row.tpl @@ -0,0 +1,9 @@ +
    + {$label}{$mandatory}: + +
    {$desc} +
    +
    {$data_field}
    -  {$groupdetails['title']} + {$title} {$title} diff --git a/templates/Classic/misc/htmlarrowcode.tpl b/templates/Classic/misc/htmlarrowcode.tpl new file mode 100644 index 00000000..0c419605 --- /dev/null +++ b/templates/Classic/misc/htmlarrowcode.tpl @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/Classic/misc/htmlsearchcode.tpl b/templates/Classic/misc/htmlsearchcode.tpl new file mode 100644 index 00000000..b58952b4 --- /dev/null +++ b/templates/Classic/misc/htmlsearchcode.tpl @@ -0,0 +1,6 @@ +{$lng['panel']['search']}:  +  +  + diff --git a/templates/Classic/misc/htmlsortcode.tpl b/templates/Classic/misc/htmlsortcode.tpl new file mode 100644 index 00000000..e0f16838 --- /dev/null +++ b/templates/Classic/misc/htmlsortcode.tpl @@ -0,0 +1,7 @@ + +{$breakorws} +  diff --git a/templates/misc/question_yesno.tpl b/templates/Classic/misc/question_yesno.tpl similarity index 90% rename from templates/misc/question_yesno.tpl rename to templates/Classic/misc/question_yesno.tpl index 4314db45..f1fd0254 100644 --- a/templates/misc/question_yesno.tpl +++ b/templates/Classic/misc/question_yesno.tpl @@ -5,7 +5,7 @@ $header $hiddenparams - + diff --git a/templates/misc/question_yesno_checkbox.tpl b/templates/Classic/misc/question_yesno_checkbox.tpl similarity index 91% rename from templates/misc/question_yesno_checkbox.tpl rename to templates/Classic/misc/question_yesno_checkbox.tpl index 5823a051..9e0241b1 100644 --- a/templates/misc/question_yesno_checkbox.tpl +++ b/templates/Classic/misc/question_yesno_checkbox.tpl @@ -5,7 +5,7 @@ $header $hiddenparams
      {$lng['question']['question']}  {$lng['question']['question']}
    $text
    - + diff --git a/templates/misc/success.tpl b/templates/Classic/misc/success.tpl similarity index 57% rename from templates/misc/success.tpl rename to templates/Classic/misc/success.tpl index a98c3b6d..588c7c07 100644 --- a/templates/misc/success.tpl +++ b/templates/Classic/misc/success.tpl @@ -1,10 +1,10 @@ $header
      {$lng['question']['question']}  {$lng['question']['question']}
    $text
    - + - +
      {$lng['success']['success']}  {$lng['success']['success']}
    $success_message
    {$lng['success']['clickheretocontinue']}
    diff --git a/templates/navigation_element.tpl b/templates/Classic/navigation_element.tpl similarity index 65% rename from templates/navigation_element.tpl rename to templates/Classic/navigation_element.tpl index 88221cf1..d13eb735 100644 --- a/templates/navigation_element.tpl +++ b/templates/Classic/navigation_element.tpl @@ -1,7 +1,7 @@
    - + diff --git a/templates/Classic/navigation_link.tpl b/templates/Classic/navigation_link.tpl new file mode 100644 index 00000000..bab71ede --- /dev/null +++ b/templates/Classic/navigation_link.tpl @@ -0,0 +1,2 @@ +   {$completeLink} +
    \ No newline at end of file diff --git a/templates/Froxlor/admin/admins/admins.tpl b/templates/Froxlor/admin/admins/admins.tpl new file mode 100644 index 00000000..20d9edab --- /dev/null +++ b/templates/Froxlor/admin/admins/admins.tpl @@ -0,0 +1,63 @@ +$header +
       $completeLink   $completeLink
    $navigation_links
    + + + + + + + + + + + + + + + $admins + +
    + {$lng['customer']['name']}  {$arrowcode['name']}  + {$lng['login']['username']} {$arrowcode['loginname']} + {$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + + + + + + + + +$footer + diff --git a/templates/Froxlor/admin/admins/admins_add.tpl b/templates/Froxlor/admin/admins/admins_add.tpl new file mode 100644 index 00000000..09cc5650 --- /dev/null +++ b/templates/Froxlor/admin/admins/admins_add.tpl @@ -0,0 +1,41 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$admin_add_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +
    +
    +
    +

    + *: {$lng['admin']['valuemandatory']}
    + **: {$lng['admin']['valuemandatorycompany']} +

    +
    +
    +$footer diff --git a/templates/Froxlor/admin/admins/admins_admin.tpl b/templates/Froxlor/admin/admins/admins_admin.tpl new file mode 100644 index 00000000..86e6316c --- /dev/null +++ b/templates/Froxlor/admin/admins/admins_admin.tpl @@ -0,0 +1,66 @@ +
    + + {$row['name']} + +  ({$row['loginname']}) + + +  ({$row['loginname']}) + + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + +
    + + + + + + +
    + Webspace:  + + + + + + + + {$percent}% + + + + 100% + + + + Traffic:  + + + + + + + + {$percent}% + + + + 100% + + + + {$lng['admin']['customers']}: {$row['customers_used']} +
    +
    + {$admin_edit_form} +
    + +

    + + + + + +

    + + + + + + +
    +
    +
    +

    + *: {$lng['admin']['valuemandatory']} +

    +
    +
    +$footer + diff --git a/templates/Froxlor/admin/aps/askyesno.tpl b/templates/Froxlor/admin/aps/askyesno.tpl new file mode 100644 index 00000000..e8002ffb --- /dev/null +++ b/templates/Froxlor/admin/aps/askyesno.tpl @@ -0,0 +1,24 @@ +
    +
    +
    {$lng['question']['question']}
    +
    + $Message +
    +
    + + + + + $Ids +
    +   +
    + + + +
    +
    +
    +
    + +
    diff --git a/templates/Froxlor/admin/aps/footer.tpl b/templates/Froxlor/admin/aps/footer.tpl new file mode 100644 index 00000000..35ee6c15 --- /dev/null +++ b/templates/Froxlor/admin/aps/footer.tpl @@ -0,0 +1 @@ +$footer diff --git a/templates/Froxlor/admin/aps/header.tpl b/templates/Froxlor/admin/aps/header.tpl new file mode 100644 index 00000000..6af88b30 --- /dev/null +++ b/templates/Froxlor/admin/aps/header.tpl @@ -0,0 +1 @@ +$header diff --git a/templates/Froxlor/admin/aps/infobox.tpl b/templates/Froxlor/admin/aps/infobox.tpl new file mode 100644 index 00000000..d99e5788 --- /dev/null +++ b/templates/Froxlor/admin/aps/infobox.tpl @@ -0,0 +1,24 @@ + +
    +
    {$lng['success']['success']}
    +
    + $Message +
    +
    +
    + +
    +
    {$lng['error']['error']}
    +
    + $Message +
    +
    +
    + +
    +
    {$lng['success']['success']}
    +
    + $Message +
    +
    +
    diff --git a/templates/Froxlor/admin/aps/manage_instances.tpl b/templates/Froxlor/admin/aps/manage_instances.tpl new file mode 100644 index 00000000..c7c3fa6c --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances.tpl @@ -0,0 +1,78 @@ +
    +
    +

    +   + {$lng['aps']['specialoptions']} +

    +
    + +
    + + + + + +
    {$lng['aps']['statistics']}$Statistics
    + +

    +
    +
    +

    +
    +
    +

    +   + {$lng['aps']['manageinstances']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['aps']['manageinstances']} + + + + + + + + + + + + + + $InstancesInstall + + + + $InstancesTaskActive + + + + $InstancesSuccess + + + + $InstancesError + + + + $InstancesUninstall + + + + +
    {$lng['aps']['packagenameandstatus']}{$lng['aps']['stopinstall']}{$lng['aps']['uninstall']}
    {$lng['aps']['instance_install']}
    {$lng['aps']['instance_task_active']}
    {$lng['aps']['instance_success']}
    {$lng['aps']['instance_error']}
    {$lng['aps']['instance_uninstall']}
     
    +

    + + + + +

    +
    +
    +

    +
    +
    diff --git a/templates/Froxlor/admin/aps/manage_instances_error.tpl b/templates/Froxlor/admin/aps/manage_instances_error.tpl new file mode 100644 index 00000000..5c5ce122 --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_instances_error.tpl @@ -0,0 +1,5 @@ +
    {$Row3['name']}, {$Row3['firstname']} | {$Row3['company']} ({$Row3['loginname']})$Remove
    {$Row3['name']}, {$Row3['firstname']} | {$Row3['company']} ({$Row3['loginname']})$Stop
    {$Row['Name']} {$Row['Version']} (Release {$Row['Release']})
    {$Row3['name']}, {$Row3['firstname']} | {$Row3['company']} ({$Row3['loginname']})$Remove
    {$Row3['name']}, {$Row3['firstname']} | {$Row3['company']} ({$Row3['loginname']})
    {$Row3['name']}, {$Row3['firstname']} | {$Row3['company']} ({$Row3['loginname']})
    + + + + + + + + + + + + + + + + + + + + {$Packages} + +
    {$lng['aps']['packagenameandversion']}{$lng['ticket']['status']}{$lng['aps']['installations']}{$lng['aps']['lock']}{$lng['aps']['unlock']}{$lng['aps']['remove']}
    {$lng['aps']['allpackages']}
    + +

    + + + +   + +

    + + + + + + diff --git a/templates/Froxlor/admin/aps/manage_packages_detail.tpl b/templates/Froxlor/admin/aps/manage_packages_detail.tpl new file mode 100644 index 00000000..719f1a34 --- /dev/null +++ b/templates/Froxlor/admin/aps/manage_packages_detail.tpl @@ -0,0 +1,8 @@ +
    {$Row2['Version']} (Release {$Row2['Release']}){$lng['aps']['package_locked']}{$lng['aps']['package_enabled']}{$Installations}$Lock$Unlock$Remove
    {$Row['Name']}
    + $distributions +
    + + + + +$footer diff --git a/templates/Froxlor/admin/configfiles/choose_daemon.tpl b/templates/Froxlor/admin/configfiles/choose_daemon.tpl new file mode 100644 index 00000000..be6fb069 --- /dev/null +++ b/templates/Froxlor/admin/configfiles/choose_daemon.tpl @@ -0,0 +1 @@ +
  • {$daemon_details['label']}
  • diff --git a/templates/Froxlor/admin/configfiles/choose_distribution.tpl b/templates/Froxlor/admin/configfiles/choose_distribution.tpl new file mode 100644 index 00000000..5fb28182 --- /dev/null +++ b/templates/Froxlor/admin/configfiles/choose_distribution.tpl @@ -0,0 +1,9 @@ +
    {$distribution_details['label']}
    $services

    + {$configpage} + + + + +
    {$lng['admin']['configfiles']['restart']}

    +
    +

    + + +$footer diff --git a/templates/Froxlor/admin/configfiles/configfiles_commands.tpl b/templates/Froxlor/admin/configfiles/configfiles_commands.tpl new file mode 100644 index 00000000..b87371ce --- /dev/null +++ b/templates/Froxlor/admin/configfiles/configfiles_commands.tpl @@ -0,0 +1,4 @@ +
    {$lng['admin']['configfiles']['commands']}

    +
    {$lng['admin']['configfiles']['files']}

    {$files}
    + + + + + + + + + + + + + + + +
    {$lng['admin']['configfiles']['distribution']}:{$configfiles[$distribution]['label']}
    {$lng['admin']['configfiles']['service']}:{$configfiles[$distribution]['services'][$service]['label']}
    {$lng['admin']['configfiles']['daemon']}:
    + + + + +$footer diff --git a/templates/Froxlor/admin/cronjobs/cronjob_edit.tpl b/templates/Froxlor/admin/cronjobs/cronjob_edit.tpl new file mode 100644 index 00000000..850fc4bc --- /dev/null +++ b/templates/Froxlor/admin/cronjobs/cronjob_edit.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$cronjobs_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/cronjobs/cronjobs.tpl b/templates/Froxlor/admin/cronjobs/cronjobs.tpl new file mode 100644 index 00000000..91bdd751 --- /dev/null +++ b/templates/Froxlor/admin/cronjobs/cronjobs.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$lng['admin']['cron']['cronsettings']}

    +
    + +
    + + + + + + + + + + + + $crons + +
    {$lng['cron']['description']}{$lng['cron']['lastrun']}{$lng['cron']['interval']}{$lng['cron']['isactive']}{$lng['panel']['options']}
    +
    + +
    +
    +
    {$lng['admin']['warning']}
    +
    {$lng['cron']['changewarning']}
    +
    +
    + +
    +$footer diff --git a/templates/Froxlor/admin/cronjobs/cronjobs_cronjob.tpl b/templates/Froxlor/admin/cronjobs/cronjobs_cronjob.tpl new file mode 100644 index 00000000..9aad3682 --- /dev/null +++ b/templates/Froxlor/admin/cronjobs/cronjobs_cronjob.tpl @@ -0,0 +1,11 @@ + + {$description} + {$row['lastrun']} + {$row['interval']} + {$row['isactive']} + + + {$lng['panel']['edit']} + + + diff --git a/templates/Froxlor/admin/customers/customers.tpl b/templates/Froxlor/admin/customers/customers.tpl new file mode 100644 index 00000000..dea6ee51 --- /dev/null +++ b/templates/Froxlor/admin/customers/customers.tpl @@ -0,0 +1,66 @@ +$header +
    +
    +

    +   + {$lng['admin']['customers']} ({$customercount}) +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + $customers + +
    + {$lng['customer']['name']}  {$arrowcode['c.name']}  + {$lng['customer']['firstname']}  {$arrowcode['c.firstname']}  + {$lng['login']['username']} {$arrowcode['c.loginname']} + {$lng['admin']['admin']} {$arrowcode['a.loginname']} + {$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + + + + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/customers/customers_add.tpl b/templates/Froxlor/admin/customers/customers_add.tpl new file mode 100644 index 00000000..f8842330 --- /dev/null +++ b/templates/Froxlor/admin/customers/customers_add.tpl @@ -0,0 +1,41 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$customer_add_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +
    +
    +
    +

    + *: {$lng['admin']['valuemandatory']}
    + **: {$lng['admin']['valuemandatorycompany']} +

    +
    +
    +$footer diff --git a/templates/Froxlor/admin/customers/customers_customer.tpl b/templates/Froxlor/admin/customers/customers_customer.tpl new file mode 100644 index 00000000..8ae17344 --- /dev/null +++ b/templates/Froxlor/admin/customers/customers_customer.tpl @@ -0,0 +1,66 @@ + + + + + {$row['name']} {$row['firstname']} + + + {$row['company']} + +  ({$row['loginname']} | {$row['adminname']}) + + + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + + + + + + + + + +
    + Webspace:  + + + + + + + + {$percent}% + + + + 100% + + + + Traffic:  + + + + + + + + {$percent}% + + + + 100% + + + + {$last_login} +
    + + diff --git a/templates/Froxlor/admin/customers/customers_edit.tpl b/templates/Froxlor/admin/customers/customers_edit.tpl new file mode 100644 index 00000000..ae4c13b4 --- /dev/null +++ b/templates/Froxlor/admin/customers/customers_edit.tpl @@ -0,0 +1,42 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$customer_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +
    +
    +
    +

    + *: {$lng['admin']['valuemandatory']}
    + **: {$lng['admin']['valuemandatorycompany']} +

    +
    +
    +$footer diff --git a/templates/Froxlor/admin/domains/domains.tpl b/templates/Froxlor/admin/domains/domains.tpl new file mode 100644 index 00000000..2f4370c5 --- /dev/null +++ b/templates/Froxlor/admin/domains/domains.tpl @@ -0,0 +1,71 @@ + $header +
    +
    +

    +   + {$lng['admin']['domains']} ({$domainscount}) +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + {$domains} + +
    {$lng['domains']['domainname']} {$arrowcode['d.domain']}{$lng['admin']['ipsandports']['ip']} {$arrowcode['ip.ip']} : {$lng['admin']['ipsandports']['port']} {$arrowcode['ip.port']}{$lng['admin']['customer']}  {$arrowcode['c.loginname']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + +
    +
    {$lng['admin']['warning']}
    + +
    +
    + + + + + +
    +
    +$footer diff --git a/templates/Froxlor/admin/domains/domains_add.tpl b/templates/Froxlor/admin/domains/domains_add.tpl new file mode 100644 index 00000000..6e06e80c --- /dev/null +++ b/templates/Froxlor/admin/domains/domains_add.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$domain_add_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/domains/domains_domain.tpl b/templates/Froxlor/admin/domains/domains_domain.tpl new file mode 100644 index 00000000..5598ae36 --- /dev/null +++ b/templates/Froxlor/admin/domains/domains_domain.tpl @@ -0,0 +1,26 @@ + + {$row['domain']} + +  ({$lng['admin']['stdsubdomain']}) + + + {$row['ipandport']} + {$row['customername']}  + ({$row['loginname']}) + + + + {$lng['panel']['edit']} + + + +   + {$lng['panel']['delete']} + + + + +  {$lng['domains']['hasaliasdomains']} + + + diff --git a/templates/Froxlor/admin/domains/domains_edit.tpl b/templates/Froxlor/admin/domains/domains_edit.tpl new file mode 100644 index 00000000..74eb5e8f --- /dev/null +++ b/templates/Froxlor/admin/domains/domains_edit.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$domain_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/admin/froxlorclients/froxlorclient_settings.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclient_settings.tpl similarity index 85% rename from templates/admin/froxlorclients/froxlorclient_settings.tpl rename to templates/Froxlor/admin/froxlorclients/froxlorclient_settings.tpl index 7b167585..c61df999 100644 --- a/templates/admin/froxlorclients/froxlorclient_settings.tpl +++ b/templates/Froxlor/admin/froxlorclients/froxlorclient_settings.tpl @@ -1,6 +1,7 @@ - $fields diff --git a/templates/Froxlor/admin/froxlorclients/froxlorclient_settingsend.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclient_settingsend.tpl new file mode 100644 index 00000000..27b0931d --- /dev/null +++ b/templates/Froxlor/admin/froxlorclients/froxlorclient_settingsend.tpl @@ -0,0 +1,8 @@ + + + + + +
    +
    +$footer diff --git a/templates/admin/froxlorclients/froxlorclient_settingsoverview.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclient_settingsoverview.tpl similarity index 80% rename from templates/admin/froxlorclients/froxlorclient_settingsoverview.tpl rename to templates/Froxlor/admin/froxlorclients/froxlorclient_settingsoverview.tpl index 540f5550..0501faab 100644 --- a/templates/admin/froxlorclients/froxlorclient_settingsoverview.tpl +++ b/templates/Froxlor/admin/froxlorclients/froxlorclient_settingsoverview.tpl @@ -1,7 +1,8 @@
     {$lng['admin']['froxlorclient_settings']} "{$client->Get('name')}" +  {$lng['admin']['froxlorclient_settings']}  + "{$client->Get('name')}" [{$lng['admin']['configfiles']['compactoverview']}]
    diff --git a/templates/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl similarity index 100% rename from templates/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl rename to templates/Froxlor/admin/froxlorclients/froxlorclient_settingsoverviewgroup.tpl diff --git a/templates/admin/froxlorclients/froxlorclients.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients.tpl similarity index 100% rename from templates/admin/froxlorclients/froxlorclients.tpl rename to templates/Froxlor/admin/froxlorclients/froxlorclients.tpl diff --git a/templates/admin/froxlorclients/froxlorclients_add.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_add.tpl similarity index 90% rename from templates/admin/froxlorclients/froxlorclients_add.tpl rename to templates/Froxlor/admin/froxlorclients/froxlorclients_add.tpl index 55584783..614237cd 100644 --- a/templates/admin/froxlorclients/froxlorclients_add.tpl +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_add.tpl @@ -7,12 +7,6 @@ $header - - - + + + + + diff --git a/templates/admin/froxlorclients/froxlorclients_edit.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_edit.tpl similarity index 91% rename from templates/admin/froxlorclients/froxlorclients_edit.tpl rename to templates/Froxlor/admin/froxlorclients/froxlorclients_edit.tpl index 9c3ebbfc..9a231403 100644 --- a/templates/admin/froxlorclients/froxlorclients_edit.tpl +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_edit.tpl @@ -9,12 +9,6 @@ $header - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/Froxlor/admin/index/change_language.tpl b/templates/Froxlor/admin/index/change_language.tpl new file mode 100644 index 00000000..4190d20a --- /dev/null +++ b/templates/Froxlor/admin/index/change_language.tpl @@ -0,0 +1,28 @@ +$header +
    +
    +

    +   + {$lng['menue']['main']['changelanguage']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changelanguage']} +

    +   + +

    +

    + + + + +

    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/admin/index/change_password.tpl b/templates/Froxlor/admin/index/change_password.tpl new file mode 100644 index 00000000..8c852bc6 --- /dev/null +++ b/templates/Froxlor/admin/index/change_password.tpl @@ -0,0 +1,36 @@ +$header +
    +
    +

    +   + {$lng['menue']['main']['changepassword']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changepassword']} +

    +   + +

    +

    +   + +

    +

    +   + +

    +

    + + + + +

    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/admin/index/change_theme.tpl b/templates/Froxlor/admin/index/change_theme.tpl new file mode 100644 index 00000000..82616fc5 --- /dev/null +++ b/templates/Froxlor/admin/index/change_theme.tpl @@ -0,0 +1,28 @@ +$header +
    +
    +

    +   + {$lng['menue']['main']['changetheme']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changetheme']} +

    +   + +

    +

    + + + + +

    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/admin/index/index.tpl b/templates/Froxlor/admin/index/index.tpl new file mode 100644 index 00000000..116e30bb --- /dev/null +++ b/templates/Froxlor/admin/index/index.tpl @@ -0,0 +1,170 @@ +$header +
    + + +
    +
    +
    {$lng['admin']['warning']}
    +

    {$awaitingtickets_text}
    +
    +
    +
    + +
    + +
    +

    {$lng['admin']['ressourcedetails']}

    +
    -  {$lng['admin']['configfiles']['serverconfiguration']} "{$client->Get('name')}" +  {$lng['admin']['configfiles']['serverconfiguration']}  + "{$client->Get('name')}" [{$lng['admin']['configfiles']['overview']}]
     {$lng['admin']['froxlorclients']['add']}
    - - {$lng['admin']['froxlorclients']['longdesc_add']} -
     {$lng['admin']['froxlorclients']['client']} diff --git a/templates/Froxlor/admin/froxlorclients/froxlorclients_client.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_client.tpl new file mode 100644 index 00000000..10ef004d --- /dev/null +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_client.tpl @@ -0,0 +1,28 @@ +
    + + Client #{$row['id']} + + + + {$row['name']} +
    {$row['desc']} +
    + + + {$lng['panel']['yes']} + + + + {$lng['panel']['no']} + + + + + {$lng['admin']['froxlorclients']['view']} + +
     {$lng['admin']['froxlorclients']['edit']}
    - - {$lng['admin']['froxlorclients']['longdesc_add']} -
     {$lng['admin']['froxlorclients']['client']} diff --git a/templates/Froxlor/admin/froxlorclients/froxlorclients_tasks.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_tasks.tpl new file mode 100644 index 00000000..968ea9b1 --- /dev/null +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_tasks.tpl @@ -0,0 +1,10 @@ +$header + + + + + {$outstanding_tasks} +
     {$lng['admin']['multiservercronjobs']}
    +
    +
    +$footer diff --git a/templates/Froxlor/admin/froxlorclients/froxlorclients_tasks_head.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_tasks_head.tpl new file mode 100644 index 00000000..52b1f19d --- /dev/null +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_tasks_head.tpl @@ -0,0 +1,10 @@ +
    + + {$client->Get('name')} + +

    + {$client->Get('name')} +
    +
      diff --git a/templates/Froxlor/admin/froxlorclients/froxlorclients_view.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_view.tpl new file mode 100644 index 00000000..4359a1e1 --- /dev/null +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_view.tpl @@ -0,0 +1,77 @@ +$header +
      + + + + + + + + + + + + + + +
       {$lng['menue']['multiserver']['clients']} "{$client->Get('name')}"
      + Client #{$row['id']} + +

      Froxlor-client "{$client->Get('name')}"

      +

      {$client->Get('desc')}

      +
      + + + {$lng['admin']['froxlorclients']['settings']} +   + + {$lng['admin']['froxlorclients']['deploy']} +   + + {$lng['admin']['froxlorclients']['settings']} :: {$lng['admin']['froxlorclients']['clientdisabled']}  + {$lng['admin']['froxlorclients']['deploy']} :: {$lng['admin']['froxlorclients']['clientdisabled']} + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + +
      +

      + + + + + + + + + + + + + + + + + + + + + + $info +
      {$lng['froxlorclient']['base_config']}
      + {$lastrefresh} + + + {$lng['admin']['froxlorclients']['refreshsysinfo']} + + + {$lastrefresh} + +
      {$lng['froxlorclient']['ipaddress']}:{$client->getSetting('client', 'ipaddress')}
      {$lng['froxlorclient']['hostname']}:{$client->getSetting('client', 'hostname')}
      {$lng['froxlorclient']['install_destination']}:{$client->getSetting('client', 'install_destination')}
      +
      +
      +
      +$footer diff --git a/templates/Froxlor/admin/froxlorclients/froxlorclients_view_clientinfo.tpl b/templates/Froxlor/admin/froxlorclients/froxlorclients_view_clientinfo.tpl new file mode 100644 index 00000000..b020d3b0 --- /dev/null +++ b/templates/Froxlor/admin/froxlorclients/froxlorclients_view_clientinfo.tpl @@ -0,0 +1,32 @@ +
    Kernel:{$client->getSetting('clientinfo', 'kernel')}
    Memory:{$client->getSetting('clientinfo', 'memory')}
    Swap:{$client->getSetting('clientinfo', 'swap')}
    CPU:{$client->getSetting('clientinfo', 'cpu')}
    Load:{$client->getSetting('clientinfo', 'loadavg')}
    Uptime:{$client->getSetting('clientinfo', 'uptime')}
    Diskusage:{$client->getSetting('clientinfo', 'diskusage')}
    PHP version:{$client->getSetting('clientinfo', 'phpversion')}
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['admin']['customers']}:{$overview['number_customers']} ({$userinfo['customers']})
    {$lng['customer']['domains']}:{$overview['number_domains']} ({$userinfo['domains']})
    {$lng['customer']['subdomains']}:{$overview['subdomains_used']} ({$userinfo['subdomains_used']}/{$userinfo['subdomains']})
    {$lng['customer']['diskspace']}:{$overview['diskspace_used']} ({$userinfo['diskspace_used']}/{$userinfo['diskspace']})
    {$lng['customer']['traffic']}:{$overview['traffic_used']} ({$userinfo['traffic_used']}/{$userinfo['traffic']})
    {$lng['customer']['mysqls']}:{$overview['mysqls_used']} ({$userinfo['mysqls_used']}/{$userinfo['mysqls']})
    {$lng['customer']['emails']}:{$overview['emails_used']} ({$userinfo['emails_used']}/{$userinfo['emails']})
    {$lng['customer']['accounts']}:{$overview['email_accounts_used']} ({$userinfo['email_accounts_used']}/{$userinfo['email_accounts']})
    {$lng['customer']['forwarders']}:{$overview['email_forwarders_used']} ({$userinfo['email_forwarders_used']}/{$userinfo['email_forwarders']})
    {$lng['customer']['email_quota']}:{$overview['email_quota_used']} ({$userinfo['email_quota_used']}/{$userinfo['email_quota']})
    {$lng['customer']['autoresponder']}:{$userinfo['email_autoresponder_used']} ({$userinfo['email_autoresponder']})
    {$lng['aps']['numberofapspackages']}:{$overview['aps_packages_used']} ({$userinfo['aps_packages_used']}/{$userinfo['aps_packages']})
    {$lng['customer']['ftps']}:{$overview['ftps_used']} ({$userinfo['ftps_used']}/{$userinfo['ftps']})
    {$lng['customer']['tickets']}:{$overview['tickets_used']} ({$userinfo['tickets_used']}/{$userinfo['tickets']})
    + +
    +

    {$lng['admin']['systemdetails']}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['admin']['serversoftware']}:{$_SERVER['SERVER_SOFTWARE']}
    {$lng['admin']['phpversion']}:$phpversion
    {$lng['admin']['phpmemorylimit']}:$phpmemorylimit
    {$lng['admin']['mysqlserverversion']}:$mysqlserverversion
    {$lng['admin']['mysqlclientversion']}:$mysqlclientversion
    {$lng['admin']['webserverinterface']}:$webserverinterface
    {$lng['admin']['sysload']}:$load
    Kernel:$kernel
    Uptime:$uptime
    +
    +
    +

    {$lng['admin']['froxlordetails']}

    + + {$outstanding_tasks} + {$cron_last_runs} + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['admin']['installedversion']}:{$version}{$branding}
    {$lng['admin']['latestversion']}:$lookfornewversion_lable$lookfornewversion_lable
    {$lng['admin']['newerversionavailable']}
    $lookfornewversion_addinfo
    +
    + + +$footer + diff --git a/templates/Froxlor/admin/index/overview_item.tpl b/templates/Froxlor/admin/index/overview_item.tpl new file mode 100644 index 00000000..6f9bd3fa --- /dev/null +++ b/templates/Froxlor/admin/index/overview_item.tpl @@ -0,0 +1,4 @@ + + {$text}: + {$value} + diff --git a/templates/Froxlor/admin/ipsandports/ipsandports.tpl b/templates/Froxlor/admin/ipsandports/ipsandports.tpl new file mode 100644 index 00000000..7962960c --- /dev/null +++ b/templates/Froxlor/admin/ipsandports/ipsandports.tpl @@ -0,0 +1,65 @@ +$header +
    +
    +

    +   + {$lng['admin']['ipsandports']['ipsandports']} +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + $ipsandports + +
    {$lng['admin']['ipsandports']['ip']} {$arrowcode['ip']} : {$lng['admin']['ipsandports']['port']} {$arrowcode['port']}ListenNameVirtualHostvHost-ContainerSpecialsettingsServerNameSSL{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ipsandports/ipsandports_add.tpl b/templates/Froxlor/admin/ipsandports/ipsandports_add.tpl new file mode 100644 index 00000000..873a2ca8 --- /dev/null +++ b/templates/Froxlor/admin/ipsandports/ipsandports_add.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$ipsandports_add_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ipsandports/ipsandports_edit.tpl b/templates/Froxlor/admin/ipsandports/ipsandports_edit.tpl new file mode 100644 index 00000000..2cbb1207 --- /dev/null +++ b/templates/Froxlor/admin/ipsandports/ipsandports_edit.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$ipsandports_edit_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ipsandports/ipsandports_ipandport.tpl b/templates/Froxlor/admin/ipsandports/ipsandports_ipandport.tpl new file mode 100644 index 00000000..1515738a --- /dev/null +++ b/templates/Froxlor/admin/ipsandports/ipsandports_ipandport.tpl @@ -0,0 +1,17 @@ + + {$row['ip']}:{$row['port']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['panel']['yes']}{$lng['panel']['no']} + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + diff --git a/templates/Froxlor/admin/logger/logger.tpl b/templates/Froxlor/admin/logger/logger.tpl new file mode 100644 index 00000000..2fc93ae1 --- /dev/null +++ b/templates/Froxlor/admin/logger/logger.tpl @@ -0,0 +1,55 @@ +$header +
    +
    +

    +   + {$lng['menue']['logger']['logger']} +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + $log + +
    {$lng['logger']['date']}  {$arrowcode['date']}{$lng['logger']['type']}  {$arrowcode['type']}{$lng['logger']['user']}  {$arrowcode['user']}{$lng['logger']['action']}
    + +

    + + + +

    + +
    + + + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/logger/logger_action.tpl b/templates/Froxlor/admin/logger/logger_action.tpl new file mode 100644 index 00000000..4c85d62e --- /dev/null +++ b/templates/Froxlor/admin/logger/logger_action.tpl @@ -0,0 +1,3 @@ + + {$row['action']} + diff --git a/templates/Froxlor/admin/logger/logger_log.tpl b/templates/Froxlor/admin/logger/logger_log.tpl new file mode 100644 index 00000000..3d86a015 --- /dev/null +++ b/templates/Froxlor/admin/logger/logger_log.tpl @@ -0,0 +1,6 @@ + + {$row['date']} + {$row['type']} + {$row['user']} + {$row['text']} + diff --git a/templates/Froxlor/admin/message/message.tpl b/templates/Froxlor/admin/message/message.tpl new file mode 100644 index 00000000..faa0b7f8 --- /dev/null +++ b/templates/Froxlor/admin/message/message.tpl @@ -0,0 +1,47 @@ +$header +
    +
    +

    +   + {$lng['admin']['message']} +

    +
    + +
    + + +
    +
    {$lng['success']['success']}
    +
    {$successmessage}
    +
    +
    + +
    +
    + Froxlor - {$lng['admin']['message']} +

    +   + +

    +

    +   + +

    +

    +   + +

    +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/phpconfig/overview.tpl b/templates/Froxlor/admin/phpconfig/overview.tpl new file mode 100644 index 00000000..40521a3a --- /dev/null +++ b/templates/Froxlor/admin/phpconfig/overview.tpl @@ -0,0 +1,41 @@ +$header +
    +
    +

    +   + {$lng['menue']['phpsettings']['maintitle']} +

    +
    + +
    + + + + + + + + + + + + + + + + $tablecontent + +
    {$lng['admin']['phpsettings']['description']}{$lng['admin']['phpsettings']['activedomains']}{$lng['admin']['phpsettings']['binary']}{$lng['admin']['phpsettings']['file_extensions']}{$lng['panel']['options']}
    + + + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/phpconfig/overview_add.tpl b/templates/Froxlor/admin/phpconfig/overview_add.tpl new file mode 100644 index 00000000..ff727b9d --- /dev/null +++ b/templates/Froxlor/admin/phpconfig/overview_add.tpl @@ -0,0 +1,106 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$phpconfig_add_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['template_replace_vars']} +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['panel']['variable']}{$lng['panel']['description']}
    + {$lng['admin']['phpconfig']['template_replace_vars']} +
    {SAFE_MODE}{$lng['admin']['phpconfig']['safe_mode']}
    {PEAR_DIR}{$lng['admin']['phpconfig']['pear_dir']}
    {OPEN_BASEDIR_C}{$lng['admin']['phpconfig']['open_basedir_c']}
    {OPEN_BASEDIR}{$lng['admin']['phpconfig']['open_basedir']}
    {OPEN_BASEDIR_GLOBAL}{$lng['admin']['phpconfig']['open_basedir_global']}
    {TMP_DIR}{$lng['admin']['phpconfig']['tmp_dir']}
    {CUSTOMER_EMAIL}{$lng['admin']['phpconfig']['customer_email']}
    {ADMIN_EMAIL}{$lng['admin']['phpconfig']['admin_email']}
    {DOMAIN}{$lng['admin']['phpconfig']['domain']}
    {CUSTOMER}{$lng['admin']['phpconfig']['customer']}
    {ADMIN}{$lng['admin']['phpconfig']['admin']}
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/phpconfig/overview_edit.tpl b/templates/Froxlor/admin/phpconfig/overview_edit.tpl new file mode 100644 index 00000000..aa19c38b --- /dev/null +++ b/templates/Froxlor/admin/phpconfig/overview_edit.tpl @@ -0,0 +1,107 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$phpconfig_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['template_replace_vars']} +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['panel']['variable']}{$lng['panel']['description']}
    + {$lng['admin']['phpconfig']['template_replace_vars']} +
    {SAFE_MODE}{$lng['admin']['phpconfig']['safe_mode']}
    {PEAR_DIR}{$lng['admin']['phpconfig']['pear_dir']}
    {OPEN_BASEDIR_C}{$lng['admin']['phpconfig']['open_basedir_c']}
    {OPEN_BASEDIR}{$lng['admin']['phpconfig']['open_basedir']}
    {OPEN_BASEDIR_GLOBAL}{$lng['admin']['phpconfig']['open_basedir_global']}
    {TMP_DIR}{$lng['admin']['phpconfig']['tmp_dir']}
    {CUSTOMER_EMAIL}{$lng['admin']['phpconfig']['customer_email']}
    {ADMIN_EMAIL}{$lng['admin']['phpconfig']['admin_email']}
    {DOMAIN}{$lng['admin']['phpconfig']['domain']}
    {CUSTOMER}{$lng['admin']['phpconfig']['customer']}
    {ADMIN}{$lng['admin']['phpconfig']['admin']}
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/phpconfig/overview_overview.tpl b/templates/Froxlor/admin/phpconfig/overview_overview.tpl new file mode 100644 index 00000000..cf69f390 --- /dev/null +++ b/templates/Froxlor/admin/phpconfig/overview_overview.tpl @@ -0,0 +1,16 @@ + + {$row['description']} + {$domains} + {$row['binary']} + {$row['file_extensions']} + + + {$lng['panel']['edit']} + + +   + {$lng['panel']['delete']} + + + + diff --git a/templates/Froxlor/admin/settings/settings.tpl b/templates/Froxlor/admin/settings/settings.tpl new file mode 100644 index 00000000..30a7f497 --- /dev/null +++ b/templates/Froxlor/admin/settings/settings.tpl @@ -0,0 +1,21 @@ + diff --git a/templates/Froxlor/admin/settings/settings_form_begin.tpl b/templates/Froxlor/admin/settings/settings_form_begin.tpl new file mode 100644 index 00000000..87a16c57 --- /dev/null +++ b/templates/Froxlor/admin/settings/settings_form_begin.tpl @@ -0,0 +1,6 @@ +$header +
    + + + + diff --git a/templates/Froxlor/admin/settings/settings_form_end.tpl b/templates/Froxlor/admin/settings/settings_form_end.tpl new file mode 100644 index 00000000..a9a6eab1 --- /dev/null +++ b/templates/Froxlor/admin/settings/settings_form_end.tpl @@ -0,0 +1,7 @@ + + + +
    +
    +
    +$footer diff --git a/templates/Froxlor/admin/settings/settings_group.tpl b/templates/Froxlor/admin/settings/settings_group.tpl new file mode 100644 index 00000000..66cdb0e2 --- /dev/null +++ b/templates/Froxlor/admin/settings/settings_group.tpl @@ -0,0 +1,9 @@ + + + {$groupdetails['title']} {$groupdetails['title']} + + + + + + diff --git a/templates/Froxlor/admin/settings/settings_overview.tpl b/templates/Froxlor/admin/settings/settings_overview.tpl new file mode 100644 index 00000000..7e9baa4a --- /dev/null +++ b/templates/Froxlor/admin/settings/settings_overview.tpl @@ -0,0 +1,21 @@ + diff --git a/templates/Froxlor/admin/settings/settings_overviewgroup.tpl b/templates/Froxlor/admin/settings/settings_overviewgroup.tpl new file mode 100644 index 00000000..21f41953 --- /dev/null +++ b/templates/Froxlor/admin/settings/settings_overviewgroup.tpl @@ -0,0 +1,11 @@ + + + + + {$option} + + + {$lng['admin']['configfiles']['serverconfiguration']} + + + diff --git a/templates/admin/settings/updatecounters.tpl b/templates/Froxlor/admin/settings/updatecounters.tpl similarity index 100% rename from templates/admin/settings/updatecounters.tpl rename to templates/Froxlor/admin/settings/updatecounters.tpl diff --git a/templates/Froxlor/admin/settings/updatecounters_row_admin.tpl b/templates/Froxlor/admin/settings/updatecounters_row_admin.tpl new file mode 100644 index 00000000..b7d33278 --- /dev/null +++ b/templates/Froxlor/admin/settings/updatecounters_row_admin.tpl @@ -0,0 +1,73 @@ + + + {$admin['loginname']}{$admin['loginname']}: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['admin']['customers']}:style="color:green"style="color:red">{$admin['customers_used']} -> {$admin['customers_used_new']}
    {$lng['customer']['domains']}:style="color:green"style="color:red">{$admin['domains_used']} -> {$admin['domains_used_new']}
    {$lng['customer']['subdomains']}:style="color:green"style="color:red">{$admin['subdomains_used']} -> {$admin['subdomains_used_new']}
    {$lng['customer']['diskspace']}:style="color:green"style="color:red">{$admin['diskspace_used']} -> {$admin['diskspace_used_new']}
    {$lng['customer']['traffic']}:style="color:green"style="color:red">{$admin['traffic_used']} -> {$admin['traffic_used_new']}
    {$lng['customer']['mysqls']}:style="color:green"style="color:red">{$admin['mysqls_used']} -> {$admin['mysqls_used_new']}
    {$lng['customer']['emails']}:style="color:green"style="color:red">{$admin['emails_used']} -> {$admin['emails_used_new']}
    {$lng['customer']['accounts']}:style="color:green"style="color:red">{$admin['email_accounts_used']} -> {$admin['email_accounts_used_new']}
    {$lng['customer']['forwarders']}:style="color:green"style="color:red">{$admin['email_forwarders_used']} -> {$admin['email_forwarders_used_new']}
    {$lng['customer']['email_quota']}:style="color:green"style="color:red">{$admin['email_quota_used']} -> {$admin['email_quota_used_new']}
    {$lng['customer']['autoresponder']}:style="color:green"style="color:red">{$admin['email_autoresponder_used']} -> {$admin['email_autoresponder_used_new']}
    {$lng['customer']['ftps']}:style="color:green"style="color:red">{$admin['ftps_used']} -> {$admin['ftps_used_new']}
    {$lng['customer']['tickets']}:style="color:green"style="color:red">{$admin['tickets_used']} -> {$admin['tickets_used_new']}
    {$lng['customer']['aps']}:style="color:green"style="color:red">{$admin['aps_packages_used']} -> {$admin['aps_packages_used_new']}
    + + diff --git a/templates/Froxlor/admin/settings/updatecounters_row_customer.tpl b/templates/Froxlor/admin/settings/updatecounters_row_customer.tpl new file mode 100644 index 00000000..0032178f --- /dev/null +++ b/templates/Froxlor/admin/settings/updatecounters_row_customer.tpl @@ -0,0 +1,57 @@ + + + {$customer['name']}, {$customer['firstname']} | {$customer['company']} ({$customer['loginname']}): + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['customer']['subdomains']}:style="color:green"style="color:red">{$customer['subdomains_used']} -> {$customer['subdomains_used_new']}
    {$lng['customer']['mysqls']}:style="color:green"style="color:red">{$customer['mysqls_used']} -> {$customer['mysqls_used_new']}
    {$lng['customer']['emails']}:style="color:green"style="color:red">{$customer['emails_used']} -> {$customer['emails_used_new']}
    {$lng['customer']['accounts']}:style="color:green"style="color:red">{$customer['email_accounts_used']} -> {$customer['email_accounts_used_new']}
    {$lng['customer']['forwarders']}:style="color:green"style="color:red">{$customer['email_forwarders_used']} -> {$customer['email_forwarders_used_new']}
    {$lng['customer']['email_quota']}:style="color:green"style="color:red">{$customer['email_quota_used']} -> {$customer['email_quota_used_new']}
    {$lng['customer']['autoresponder']}:style="color:green"style="color:red">{$customer['email_autoresponder_used']} -> {$customer['email_autoresponder_used_new']}
    {$lng['customer']['ftps']}:style="color:green"style="color:red">{$customer['ftps_used']} -> {$customer['ftps_used_new']}
    {$lng['customer']['tickets']}:style="color:green"style="color:red">{$customer['tickets_used']} -> {$customer['tickets_used_new']}
    {$lng['customer']['aps']}:style="color:green"style="color:red">{$customer['aps_packages_used']} -> {$customer['aps_packages_used_new']}
    + + diff --git a/templates/Froxlor/admin/templates/filetemplates_add.tpl b/templates/Froxlor/admin/templates/filetemplates_add.tpl new file mode 100644 index 00000000..48e4d589 --- /dev/null +++ b/templates/Froxlor/admin/templates/filetemplates_add.tpl @@ -0,0 +1,82 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$filetemplate_add_form} +
    + +

    + + + + +

    +
    +
    + +
    +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['template_replace_vars']} +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['panel']['variable']}{$lng['panel']['description']}
    + {$lng['admin']['templates']['index_html']} +
    {SERVERNAME}:{$lng['admin']['templates']['SERVERNAME']}
    {CUSTOMER}:{$lng['admin']['templates']['CUSTOMER']}
    {ADMIN}:{$lng['admin']['templates']['ADMIN']}
    {CUSTOMER_EMAIL}:{$lng['admin']['templates']['CUSTOMER_EMAIL']}
    {ADMIN_EMAIL}:{$lng['admin']['templates']['ADMIN_EMAIL']}
    + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/templates/filetemplates_edit.tpl b/templates/Froxlor/admin/templates/filetemplates_edit.tpl new file mode 100644 index 00000000..4eca2e25 --- /dev/null +++ b/templates/Froxlor/admin/templates/filetemplates_edit.tpl @@ -0,0 +1,83 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$filetemplate_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['template_replace_vars']} +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['panel']['variable']}{$lng['panel']['description']}
    + {$lng['admin']['templates']['index_html']} +
    {SERVERNAME}:{$lng['admin']['templates']['SERVERNAME']}
    {CUSTOMER}:{$lng['admin']['templates']['CUSTOMER']}
    {ADMIN}:{$lng['admin']['templates']['ADMIN']}
    {CUSTOMER_EMAIL}:{$lng['admin']['templates']['CUSTOMER_EMAIL']}
    {ADMIN_EMAIL}:{$lng['admin']['templates']['ADMIN_EMAIL']}
    + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/templates/templates.tpl b/templates/Froxlor/admin/templates/templates.tpl new file mode 100644 index 00000000..95b69415 --- /dev/null +++ b/templates/Froxlor/admin/templates/templates.tpl @@ -0,0 +1,66 @@ +$header +
    +
    +

    +   + {$lng['admin']['templates']['templates']} +

    +
    + +
    + + + + + + + + + + {$templates} + +
    {$lng['login']['language']}{$lng['admin']['templates']['action']}{$lng['panel']['options']}
    + + + + + +
    + +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['filetemplates']} +

    +
    + +
    + + + + + + + + + {$filetemplates} + +
    {$lng['admin']['templates']['action']}{$lng['panel']['options']}
    + + + + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/templates/templates_add_1.tpl b/templates/Froxlor/admin/templates/templates_add_1.tpl new file mode 100644 index 00000000..7d33b418 --- /dev/null +++ b/templates/Froxlor/admin/templates/templates_add_1.tpl @@ -0,0 +1,30 @@ +$header +
    +
    +

    +   + {$lng['admin']['templates']['template_add']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changelanguage']} +

    +   + +

    +

    + + + + + +

    +
    +
    +
    +
    +$footer + diff --git a/templates/Froxlor/admin/templates/templates_add_2.tpl b/templates/Froxlor/admin/templates/templates_add_2.tpl new file mode 100644 index 00000000..2b7fb739 --- /dev/null +++ b/templates/Froxlor/admin/templates/templates_add_2.tpl @@ -0,0 +1,216 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$template_add_form} +
    + +

    + + + + +

    + +
    +
    + +
    +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['template_replace_vars']} +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['panel']['variable']}{$lng['panel']['description']}
    + {$lng['admin']['templates']['createcustomer']} +
    {SALUTATION}:{$lng['admin']['templates']['SALUTATION']}
    {FIRSTNAME}:{$lng['admin']['templates']['FIRSTNAME']}
    {NAME}:{$lng['admin']['templates']['NAME']}
    {COMPANY}:{$lng['admin']['templates']['COMPANY']}
    {USERNAME}:{$lng['admin']['templates']['USERNAME']}
    {PASSWORD}:{$lng['admin']['templates']['PASSWORD']}
    + {$lng['admin']['templates']['pop_success']} +
    {EMAIL}:{$lng['admin']['templates']['EMAIL']}
    + {$lng['admin']['templates']['pop_success_alternative']} +
    {EMAIL}:{$lng['admin']['templates']['EMAIL']}
    {PASSWORD}:{$lng['admin']['templates']['EMAIL_PASSWORD']}
    + {$lng['admin']['templates']['forgotpwd']} +
    {SALUTATION}:{$lng['admin']['templates']['SALUTATION']}
    {USERNAME}:{$lng['admin']['templates']['USERNAME']}
    {PASSWORD}:{$lng['admin']['templates']['PASSWORD']}
    + {$lng['admin']['templates']['trafficmaxpercent']} +
    {TRAFFIC}:{$lng['admin']['templates']['TRAFFIC']}
    {TRAFFICUSED}:{$lng['admin']['templates']['TRAFFICUSED']}
    + {$lng['admin']['templates']['ticket']} +
    {SUBJECT}:{$lng['admin']['templates']['SUBJECT']}
    {SALUTATION}:{$lng['admin']['templates']['SALUTATION']}
    {FIRSTNAME}:{$lng['admin']['templates']['FIRSTNAME']}
    {NAME}:{$lng['admin']['templates']['NAME']}
    {COMPANY}:{$lng['admin']['templates']['COMPANY']}
    + {$lng['admin']['templates']['newdatabase']} +
    {CUST_NAME}:{$lng['admin']['templates']['CUST_NAME']}
    {DB_NAME}:{$lng['admin']['templates']['DB_NAME']}
    {DB_PASS}:{$lng['admin']['templates']['DB_PASS']}
    {DB_DESC}:{$lng['admin']['templates']['DB_DESC']}
    {DB_SRV}:{$lng['admin']['templates']['DB_SRV']}
    {PMA_URI}:{$lng['admin']['templates']['PMA_URI']}
    + {$lng['admin']['templates']['newftpuser']} +
    {CUST_NAME}:{$lng['admin']['templates']['CUST_NAME']}
    {USR_NAME}:{$lng['admin']['templates']['USR_NAME']}
    {USR_PASS}:{$lng['admin']['templates']['USR_PASS']}
    {USR_PATH}:{$lng['admin']['templates']['USR_PATH']}
    + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/templates/templates_edit.tpl b/templates/Froxlor/admin/templates/templates_edit.tpl new file mode 100644 index 00000000..fff660ae --- /dev/null +++ b/templates/Froxlor/admin/templates/templates_edit.tpl @@ -0,0 +1,217 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$template_edit_form} +
    + +

    + + + + + + +

    +
    +
    + +
    +
    +
    +
    +
    +

    +   + {$lng['admin']['templates']['template_replace_vars']} +

    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['panel']['variable']}{$lng['panel']['description']}
    + {$lng['admin']['templates']['createcustomer']} +
    {SALUTATION}:{$lng['admin']['templates']['SALUTATION']}
    {FIRSTNAME}:{$lng['admin']['templates']['FIRSTNAME']}
    {NAME}:{$lng['admin']['templates']['NAME']}
    {COMPANY}:{$lng['admin']['templates']['COMPANY']}
    {USERNAME}:{$lng['admin']['templates']['USERNAME']}
    {PASSWORD}:{$lng['admin']['templates']['PASSWORD']}
    + {$lng['admin']['templates']['pop_success']} +
    {EMAIL}:{$lng['admin']['templates']['EMAIL']}
    + {$lng['admin']['templates']['pop_success_alternative']} +
    {EMAIL}:{$lng['admin']['templates']['EMAIL']}
    {PASSWORD}:{$lng['admin']['templates']['EMAIL_PASSWORD']}
    + {$lng['admin']['templates']['forgotpwd']} +
    {SALUTATION}:{$lng['admin']['templates']['SALUTATION']}
    {USERNAME}:{$lng['admin']['templates']['USERNAME']}
    {PASSWORD}:{$lng['admin']['templates']['PASSWORD']}
    + {$lng['admin']['templates']['trafficmaxpercent']} +
    {TRAFFIC}:{$lng['admin']['templates']['TRAFFIC']}
    {TRAFFICUSED}:{$lng['admin']['templates']['TRAFFICUSED']}
    + {$lng['admin']['templates']['ticket']} +
    {SUBJECT}:{$lng['admin']['templates']['SUBJECT']}
    {SALUTATION}:{$lng['admin']['templates']['SALUTATION']}
    {FIRSTNAME}:{$lng['admin']['templates']['FIRSTNAME']}
    {NAME}:{$lng['admin']['templates']['NAME']}
    {COMPANY}:{$lng['admin']['templates']['COMPANY']}
    + {$lng['admin']['templates']['newdatabase']} +
    {CUST_NAME}:{$lng['admin']['templates']['CUST_NAME']}
    {DB_NAME}:{$lng['admin']['templates']['DB_NAME']}
    {DB_PASS}:{$lng['admin']['templates']['DB_PASS']}
    {DB_DESC}:{$lng['admin']['templates']['DB_DESC']}
    {DB_SRV}:{$lng['admin']['templates']['DB_SRV']}
    {PMA_URI}:{$lng['admin']['templates']['PMA_URI']}
    + {$lng['admin']['templates']['newftpuser']} +
    {CUST_NAME}:{$lng['admin']['templates']['CUST_NAME']}
    {USR_NAME}:{$lng['admin']['templates']['USR_NAME']}
    {USR_PASS}:{$lng['admin']['templates']['USR_PASS']}
    {USR_PATH}:{$lng['admin']['templates']['USR_PATH']}
    + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/templates/templates_filetemplate.tpl b/templates/Froxlor/admin/templates/templates_filetemplate.tpl new file mode 100644 index 00000000..8cf9e0fb --- /dev/null +++ b/templates/Froxlor/admin/templates/templates_filetemplate.tpl @@ -0,0 +1,12 @@ + + {$lng['admin']['templates'][$row['varname']]} + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + + diff --git a/templates/Froxlor/admin/templates/templates_template.tpl b/templates/Froxlor/admin/templates/templates_template.tpl new file mode 100644 index 00000000..25dfbfc9 --- /dev/null +++ b/templates/Froxlor/admin/templates/templates_template.tpl @@ -0,0 +1,13 @@ + + {$language} + {$template} + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + + diff --git a/templates/Froxlor/admin/ticket/archive.tpl b/templates/Froxlor/admin/ticket/archive.tpl new file mode 100644 index 00000000..c1be28c8 --- /dev/null +++ b/templates/Froxlor/admin/ticket/archive.tpl @@ -0,0 +1,86 @@ +$header +
    +
    +

    +   + {$lng['ticket']['lastarchived']} +

    +
    + +
    + + + + + + + + + + + + + + $tickets + +
    {$lng['ticket']['archivedtime']}{$lng['ticket']['ticket_answers']}{$lng['ticket']['subject']}{$lng['ticket']['lastreplier']}{$lng['ticket']['priority']}{$lng['panel']['options']}
    + +
    + +
    +
    +
    +
    +

    +   + {$lng['ticket']['search']} +

    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['ticket']['subject']}:
    {$lng['ticket']['priority']}:{$priorities_options}
    {$lng['ticket']['category']}:{$category_options}
    {$lng['ticket']['lastchange']}: +

    + +
    {$lng['ticket']['message']}:
    {$lng['ticket']['customer']}:
    + +
    +

    +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ticket/archived_tickets.tpl b/templates/Froxlor/admin/ticket/archived_tickets.tpl new file mode 100644 index 00000000..62ce25d9 --- /dev/null +++ b/templates/Froxlor/admin/ticket/archived_tickets.tpl @@ -0,0 +1,12 @@ + + {$ticket['lastchange']} + {$ticket['ticket_answers']} + {$ticket['subject']} + {$ticket['lastreplier']} + {$ticket['priority']} + + + {$lng['ticket']['show']} + + + diff --git a/templates/admin/ticket/archivesearch.tpl b/templates/Froxlor/admin/ticket/archivesearch.tpl similarity index 100% rename from templates/admin/ticket/archivesearch.tpl rename to templates/Froxlor/admin/ticket/archivesearch.tpl diff --git a/templates/Froxlor/admin/ticket/categories.tpl b/templates/Froxlor/admin/ticket/categories.tpl new file mode 100644 index 00000000..094932c2 --- /dev/null +++ b/templates/Froxlor/admin/ticket/categories.tpl @@ -0,0 +1,63 @@ +$header +
    +
    +

    +   + {$lng['menue']['ticket']['categories']} +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + $ticketcategories + +
    {$lng['ticket']['category']} {$arrowcode['name']}{$lng['ticket']['logicalorder']} {$arrowcode['logicalorder']}{$lng['ticket']['ticketcount']} {$arrowcode['ticketcount']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + + +

    + +
    + + + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/ticket/tickets.tpl b/templates/Froxlor/admin/ticket/tickets.tpl new file mode 100644 index 00000000..b7e3498c --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets.tpl @@ -0,0 +1,77 @@ +$header +
    +
    +

    +   + {$lng['menue']['ticket']['ticket']} +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + + + + {$tickets} + +
    {$lng['ticket']['lastchange']} {$arrowcode['lastchange']}{$lng['ticket']['ticket_answers']} {$arrowcode['ticket_answers']}{$lng['ticket']['subject']} {$arrowcode['subject']}{$lng['ticket']['status']} {$arrowcode['status']}{$lng['ticket']['lastreplier']} {$arrowcode['lastreplier']}{$lng['ticket']['priority']} {$arrowcode['priority']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + + +

    + +
    + + + + + + +
    +
    {$lng['admin']['warning']}
    + +
    +
    + +
    + +
    +$footer + diff --git a/templates/Froxlor/admin/ticket/tickets_categories.tpl b/templates/Froxlor/admin/ticket/tickets_categories.tpl new file mode 100644 index 00000000..6a824ace --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_categories.tpl @@ -0,0 +1,14 @@ + + {$row['name']} + {$row['logicalorder']} + {$row['ticketcount']} ({$row['ticketcountnotclosed']} {$lng['ticket']['open']} | {$closedtickets_count} {$lng['ticket']['closed']}) + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + + diff --git a/templates/Froxlor/admin/ticket/tickets_customer.tpl b/templates/Froxlor/admin/ticket/tickets_customer.tpl new file mode 100644 index 00000000..2168ea9b --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_customer.tpl @@ -0,0 +1,3 @@ + + {$customer} + diff --git a/templates/Froxlor/admin/ticket/tickets_editcategory.tpl b/templates/Froxlor/admin/ticket/tickets_editcategory.tpl new file mode 100644 index 00000000..a2ff08ad --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_editcategory.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$category_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ticket/tickets_new.tpl b/templates/Froxlor/admin/ticket/tickets_new.tpl new file mode 100644 index 00000000..054cd321 --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_new.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$ticket_new_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ticket/tickets_newcategory.tpl b/templates/Froxlor/admin/ticket/tickets_newcategory.tpl new file mode 100644 index 00000000..d4aa03b5 --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_newcategory.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$category_new_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ticket/tickets_reply.tpl b/templates/Froxlor/admin/ticket/tickets_reply.tpl new file mode 100644 index 00000000..77e8b5ca --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_reply.tpl @@ -0,0 +1,46 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + + +
    +
    +
    {$lng['ticket']['ticket_reopen']}
    + +
    +
    +
    + + + $ticket_replies + + +
    + +
    +
    + Froxlor - {$title} + + + {$ticket_reply_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/admin/ticket/tickets_tickets.tpl b/templates/Froxlor/admin/ticket/tickets_tickets.tpl new file mode 100644 index 00000000..f4527d98 --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_tickets.tpl @@ -0,0 +1,34 @@ + + {$row['lastchange']} + {$row['ticket_answers']} + {$row['subject']} + {$row['status']} + {$row['lastreplier']} + {$row['priority']} + + + + {$lng['ticket']['show']} + + + {$lng['ticket']['answer']} + + + +   + {$lng['ticket']['close']} + + + +   + {$lng['ticket']['reopen']} + + +   + {$lng['ticket']['archive']} + +   + {$lng['panel']['delete']} + + + diff --git a/templates/Froxlor/admin/ticket/tickets_tickets_list.tpl b/templates/Froxlor/admin/ticket/tickets_tickets_list.tpl new file mode 100644 index 00000000..f8269f3f --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_tickets_list.tpl @@ -0,0 +1,15 @@ +
    + + + + + + + + + + +
    {$lastchange} {$lng['ticket']['by']} {$by}
    {$subject}
    {$message}
    +

    +
    +
    diff --git a/templates/Froxlor/admin/ticket/tickets_tickets_main.tpl b/templates/Froxlor/admin/ticket/tickets_tickets_main.tpl new file mode 100644 index 00000000..2f743bb3 --- /dev/null +++ b/templates/Froxlor/admin/ticket/tickets_tickets_main.tpl @@ -0,0 +1,15 @@ +
    + + + + + + + + + + +
    {$dt} {$lng['ticket']['by']} {$by} ({$status})
    {$subject}
    {$message}
    +
    +
    +
    diff --git a/templates/admin/ticket/tickets_view.tpl b/templates/Froxlor/admin/ticket/tickets_view.tpl similarity index 100% rename from templates/admin/ticket/tickets_view.tpl rename to templates/Froxlor/admin/ticket/tickets_view.tpl diff --git a/templates/Froxlor/admin/update/index.tpl b/templates/Froxlor/admin/update/index.tpl new file mode 100644 index 00000000..18e4f995 --- /dev/null +++ b/templates/Froxlor/admin/update/index.tpl @@ -0,0 +1,16 @@ +$header +
    +

    {$lng['update']['update']}

    +
    +
    +
    + {$update_information} +

    + + + + +

    +
    +
    +$footer diff --git a/templates/Froxlor/admin/update/noupdatesavail.tpl b/templates/Froxlor/admin/update/noupdatesavail.tpl new file mode 100644 index 00000000..bb14a3a0 --- /dev/null +++ b/templates/Froxlor/admin/update/noupdatesavail.tpl @@ -0,0 +1,12 @@ +$header +
    +
    +
    {$lng['update']['update']}
    + +
    +
    +$footer diff --git a/templates/Froxlor/admin/update/preconfigitem.tpl b/templates/Froxlor/admin/update/preconfigitem.tpl new file mode 100644 index 00000000..5bf40f2c --- /dev/null +++ b/templates/Froxlor/admin/update/preconfigitem.tpl @@ -0,0 +1,6 @@ +
    +

    + {$description} + {$question} +

    +
    diff --git a/templates/Froxlor/admin/update/update_end.tpl b/templates/Froxlor/admin/update/update_end.tpl new file mode 100644 index 00000000..2264df66 --- /dev/null +++ b/templates/Froxlor/admin/update/update_end.tpl @@ -0,0 +1,6 @@ +

    + {$lng['success']['clickheretocontinue']} +

    + + +$footer diff --git a/templates/Froxlor/admin/update/update_start.tpl b/templates/Froxlor/admin/update/update_start.tpl new file mode 100644 index 00000000..a06aac96 --- /dev/null +++ b/templates/Froxlor/admin/update/update_start.tpl @@ -0,0 +1,6 @@ +$header +
    +
    +

    {$lng['update']['update']}

    +
    +
    diff --git a/templates/Froxlor/customer/aps/askyesno.tpl b/templates/Froxlor/customer/aps/askyesno.tpl new file mode 100644 index 00000000..d43b9b84 --- /dev/null +++ b/templates/Froxlor/customer/aps/askyesno.tpl @@ -0,0 +1,25 @@ +
    +
    +
    {$lng['question']['question']}
    +
    + $Message +
    +
    + + + + + $Ids +
    +   +
    + + + +
    +
    +
    +
    + +
    + diff --git a/templates/Froxlor/customer/aps/data.tpl b/templates/Froxlor/customer/aps/data.tpl new file mode 100644 index 00000000..06e76872 --- /dev/null +++ b/templates/Froxlor/customer/aps/data.tpl @@ -0,0 +1,9 @@ + + + $Groupname + + + + $Fieldname + $Fieldvalue + diff --git a/templates/Froxlor/customer/aps/footer.tpl b/templates/Froxlor/customer/aps/footer.tpl new file mode 100644 index 00000000..35ee6c15 --- /dev/null +++ b/templates/Froxlor/customer/aps/footer.tpl @@ -0,0 +1 @@ +$footer diff --git a/templates/Froxlor/customer/aps/header.tpl b/templates/Froxlor/customer/aps/header.tpl new file mode 100644 index 00000000..6af88b30 --- /dev/null +++ b/templates/Froxlor/customer/aps/header.tpl @@ -0,0 +1 @@ +$header diff --git a/templates/Froxlor/customer/aps/infobox.tpl b/templates/Froxlor/customer/aps/infobox.tpl new file mode 100644 index 00000000..b55608f7 --- /dev/null +++ b/templates/Froxlor/customer/aps/infobox.tpl @@ -0,0 +1,25 @@ + +
    +
    {$lng['success']['success']}
    +
    + $Message +
    +
    +
    + +
    +
    {$lng['error']['error']}
    +
    + $Message +
    +
    +
    + +
    +
    {$lng['success']['success']}
    +
    + $Message +
    +
    +
    + diff --git a/templates/Froxlor/customer/aps/installer.tpl b/templates/Froxlor/customer/aps/installer.tpl new file mode 100644 index 00000000..c1336aab --- /dev/null +++ b/templates/Froxlor/customer/aps/installer.tpl @@ -0,0 +1,41 @@ +
    +
    +

    + {$Xml->name}  + {$Xml->name} +

    +
    + +
    + +
    +
    + Froxlor - {$Xml->name} + + + + + + + $Data + + + +
    {$lng['aps']['install_wizard']} + +
    {$lng['aps']['wizard_error']}
    +
    +
    {$Xml->name} Icon
    + +
    + +

    + + + + +

    +
    +
    +
    +
    diff --git a/templates/Froxlor/customer/aps/package.tpl b/templates/Froxlor/customer/aps/package.tpl new file mode 100644 index 00000000..b8cda3f1 --- /dev/null +++ b/templates/Froxlor/customer/aps/package.tpl @@ -0,0 +1,68 @@ +
    +
    +

    + {$Xml->name}  + {$Xml->name} +

    +
    + +
    + +
    + Froxlor -  + + + + + + + + + + $Data + + + +
    $Summary{$Xml->name} Icon
    {$lng['aps']['data']}
    + +
    + + + + + +
    +
    + +
    + + + + +
    +
    + +
    + + + + + +
    +
    + + {$db_info} + + +
    + + + + + +
    +
    +
    +
    +
    +
    diff --git a/templates/Froxlor/customer/aps/package_status.tpl b/templates/Froxlor/customer/aps/package_status.tpl new file mode 100644 index 00000000..149b47f0 --- /dev/null +++ b/templates/Froxlor/customer/aps/package_status.tpl @@ -0,0 +1,60 @@ +
    +
    +

    + {$Xml->name}  + {$Xml->name} +

    +
    + +
    + +
    + Froxlor -  + + + + + + + + + + $Data + + + +
    $Summary{$Xml->name} Icon
    {$lng['aps']['data']}
    + +
    + + + + + +
    +
    + +
    + + + + + +
    +
    + +
    + + + + + +
    +
    + + {$lng['aps']['waitfortask']} + +
    +
    +
    +
    diff --git a/templates/Froxlor/customer/aps/search.tpl b/templates/Froxlor/customer/aps/search.tpl new file mode 100644 index 00000000..5cacc252 --- /dev/null +++ b/templates/Froxlor/customer/aps/search.tpl @@ -0,0 +1,34 @@ +
    +
    +

    +   + {$lng['aps']['search']} +

    +
    + +
    + +
    +
    + Froxlor - {$lng['aps']['search']} + + + + + + + + + +
    {$lng['aps']['search_description']}
    + +

    + + + + +

    +
    +
    +
    +
    diff --git a/templates/Froxlor/customer/domains/domainlist.tpl b/templates/Froxlor/customer/domains/domainlist.tpl new file mode 100644 index 00000000..a5a934ec --- /dev/null +++ b/templates/Froxlor/customer/domains/domainlist.tpl @@ -0,0 +1,61 @@ + $header +
    +
    +

    +   + {$lng['domains']['domainsettings']} ({$domains_count}) +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + {$domains} + +
    {$lng['domains']['domainname']}  {$arrowcode['d.domain']}{$lng['panel']['path']}  {$arrowcode['d.documentroot']} + {$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + + + + +
    +
    +$footer diff --git a/templates/Froxlor/customer/domains/domains.tpl b/templates/Froxlor/customer/domains/domains.tpl new file mode 100644 index 00000000..22e8f80e --- /dev/null +++ b/templates/Froxlor/customer/domains/domains.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['menue']['domains']['domains']}
    +
    {$lng['domains']['description']}
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/domains/domains_add.tpl b/templates/Froxlor/customer/domains/domains_add.tpl new file mode 100644 index 00000000..6107bcd1 --- /dev/null +++ b/templates/Froxlor/customer/domains/domains_add.tpl @@ -0,0 +1,30 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$subdomain_add_form} +
    + +

    + + + + +

    +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/domains/domains_delimiter.tpl b/templates/Froxlor/customer/domains/domains_delimiter.tpl new file mode 100644 index 00000000..b12d080a --- /dev/null +++ b/templates/Froxlor/customer/domains/domains_delimiter.tpl @@ -0,0 +1,5 @@ + + {$row['domain']} [{$lng['domains']['statstics']}] +   +   + diff --git a/templates/Froxlor/customer/domains/domains_domain.tpl b/templates/Froxlor/customer/domains/domains_domain.tpl new file mode 100644 index 00000000..f57080e9 --- /dev/null +++ b/templates/Froxlor/customer/domains/domains_domain.tpl @@ -0,0 +1,25 @@ + + {$row['domain']} + + {$row['documentroot']} + {$lng['domains']['aliasdomain']} {$row['aliasdomain']} + + + + + {$lng['panel']['edit']} +   + + + + {$lng['panel']['delete']} +   + + + ({$lng['domains']['isassigneddomain']})  + + + {$lng['domains']['hasaliasdomains']} + + + diff --git a/templates/Froxlor/customer/domains/domains_edit.tpl b/templates/Froxlor/customer/domains/domains_edit.tpl new file mode 100644 index 00000000..9959d727 --- /dev/null +++ b/templates/Froxlor/customer/domains/domains_edit.tpl @@ -0,0 +1,31 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$subdomain_edit_form} +
    + +

    + + + + + +

    +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/email/account_add.tpl b/templates/Froxlor/customer/email/account_add.tpl new file mode 100644 index 00000000..35c9f233 --- /dev/null +++ b/templates/Froxlor/customer/email/account_add.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$account_add_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/email/account_changepw.tpl b/templates/Froxlor/customer/email/account_changepw.tpl new file mode 100644 index 00000000..3a5a7ea7 --- /dev/null +++ b/templates/Froxlor/customer/email/account_changepw.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$account_changepw_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/email/account_changequota.tpl b/templates/Froxlor/customer/email/account_changequota.tpl new file mode 100644 index 00000000..5550e05b --- /dev/null +++ b/templates/Froxlor/customer/email/account_changequota.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$quota_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/email/autoresponder.tpl b/templates/Froxlor/customer/email/autoresponder.tpl new file mode 100644 index 00000000..a9fb3417 --- /dev/null +++ b/templates/Froxlor/customer/email/autoresponder.tpl @@ -0,0 +1,44 @@ + $header + +$footer + diff --git a/templates/Froxlor/customer/email/autoresponder_add.tpl b/templates/Froxlor/customer/email/autoresponder_add.tpl new file mode 100644 index 00000000..7268a1c9 --- /dev/null +++ b/templates/Froxlor/customer/email/autoresponder_add.tpl @@ -0,0 +1,30 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$autoresponder_add_form} +
    + +

    + + + + +

    +
    +
    +
    +
    +$footer \ No newline at end of file diff --git a/templates/Froxlor/customer/email/autoresponder_autoresponder.tpl b/templates/Froxlor/customer/email/autoresponder_autoresponder.tpl new file mode 100644 index 00000000..3a7b34a1 --- /dev/null +++ b/templates/Froxlor/customer/email/autoresponder_autoresponder.tpl @@ -0,0 +1,17 @@ + + {$row['email']} + + {$lng['panel']['yes']} + {$lng['panel']['no']} + + $activated_date + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + + diff --git a/templates/customer/email/autoresponder_edit.tpl b/templates/Froxlor/customer/email/autoresponder_edit.tpl similarity index 100% rename from templates/customer/email/autoresponder_edit.tpl rename to templates/Froxlor/customer/email/autoresponder_edit.tpl diff --git a/templates/Froxlor/customer/email/email.tpl b/templates/Froxlor/customer/email/email.tpl new file mode 100644 index 00000000..925db389 --- /dev/null +++ b/templates/Froxlor/customer/email/email.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['menue']['email']['email']}
    +
    {$lng['emails']['description']}
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/email/emails.tpl b/templates/Froxlor/customer/email/emails.tpl new file mode 100644 index 00000000..78ba587c --- /dev/null +++ b/templates/Froxlor/customer/email/emails.tpl @@ -0,0 +1,67 @@ + $header +
    +
    +

    +   + {$lng['menue']['email']['emails']} ({$emailscount}) +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + {$accounts} + +
    {$lng['emails']['emailaddress']} {$arrowcode['m.email_full']}{$lng['emails']['forwarders']} {$arrowcode['m.destination']}{$lng['emails']['account']}{$lng['emails']['catchall']}{$lng['emails']['quota']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + + + + +
    +
    +$footer + diff --git a/templates/Froxlor/customer/email/emails_add.tpl b/templates/Froxlor/customer/email/emails_add.tpl new file mode 100644 index 00000000..2ccddbaf --- /dev/null +++ b/templates/Froxlor/customer/email/emails_add.tpl @@ -0,0 +1,39 @@ +$header +
    + +
    +
    +
    {$lng['admin']['warning']}
    +

    {$lng['emails']['noemaildomainaddedyet']}
    +
    +
    +
    + +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$email_add_form} +
    + +

    + + + + +

    +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/email/emails_domain.tpl b/templates/Froxlor/customer/email/emails_domain.tpl new file mode 100644 index 00000000..3c34f6a4 --- /dev/null +++ b/templates/Froxlor/customer/email/emails_domain.tpl @@ -0,0 +1,3 @@ + +     {$domainname} + \ No newline at end of file diff --git a/templates/Froxlor/customer/email/emails_edit.tpl b/templates/Froxlor/customer/email/emails_edit.tpl new file mode 100644 index 00000000..81f78645 --- /dev/null +++ b/templates/Froxlor/customer/email/emails_edit.tpl @@ -0,0 +1,31 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$email_edit_form} +
    + +

    + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/email/emails_edit_forwarder.tpl b/templates/Froxlor/customer/email/emails_edit_forwarder.tpl new file mode 100644 index 00000000..181101c5 --- /dev/null +++ b/templates/Froxlor/customer/email/emails_edit_forwarder.tpl @@ -0,0 +1,2 @@ +$destination [{$lng['panel']['delete']}] +
    \ No newline at end of file diff --git a/templates/Froxlor/customer/email/emails_email.tpl b/templates/Froxlor/customer/email/emails_email.tpl new file mode 100644 index 00000000..c78ca272 --- /dev/null +++ b/templates/Froxlor/customer/email/emails_email.tpl @@ -0,0 +1,15 @@ + + {$row['email_full']} +  {$row['destination']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['panel']['yes']}{$lng['panel']['no']} + {$lng['emails']['noquota']}{$row['quota']} MB + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + diff --git a/templates/Froxlor/customer/email/forwarder_add.tpl b/templates/Froxlor/customer/email/forwarder_add.tpl new file mode 100644 index 00000000..90cb5861 --- /dev/null +++ b/templates/Froxlor/customer/email/forwarder_add.tpl @@ -0,0 +1,31 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$forwarder_add_form} +
    + +

    + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/extras/extras.tpl b/templates/Froxlor/customer/extras/extras.tpl new file mode 100644 index 00000000..ff8d0325 --- /dev/null +++ b/templates/Froxlor/customer/extras/extras.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['menue']['extras']['extras']}
    +
    {$lng['extras']['description']}
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/extras/htaccess.tpl b/templates/Froxlor/customer/extras/htaccess.tpl new file mode 100644 index 00000000..9a1e2a19 --- /dev/null +++ b/templates/Froxlor/customer/extras/htaccess.tpl @@ -0,0 +1,64 @@ + $header +
    +
    +

    +   + {$lng['menue']['extras']['pathoptions']} +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + {$htaccess} + +
    {$lng['panel']['path']} {$arrowcode['path']}{$lng['extras']['view_directory']} {$arrowcode['options_indexes']}{$lng['extras']['error404path']} {$arrowcode['error404path']}{$lng['extras']['error403path']} {$arrowcode['error403path']}{$lng['extras']['error500path']} {$arrowcode['error500path']}{$lng['extras']['execute_perl']} {$arrowcode['options_cgi']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + + + +
    +
    +$footer + diff --git a/templates/Froxlor/customer/extras/htaccess_add.tpl b/templates/Froxlor/customer/extras/htaccess_add.tpl new file mode 100644 index 00000000..14eca14d --- /dev/null +++ b/templates/Froxlor/customer/extras/htaccess_add.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + + +
    + Froxlor - {$title} + + + {$htaccess_add_form} +
    + +

    + + + + +

    +
    + + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/extras/htaccess_edit.tpl b/templates/Froxlor/customer/extras/htaccess_edit.tpl new file mode 100644 index 00000000..828b4b4d --- /dev/null +++ b/templates/Froxlor/customer/extras/htaccess_edit.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$htaccess_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/extras/htaccess_htaccess.tpl b/templates/Froxlor/customer/extras/htaccess_htaccess.tpl new file mode 100644 index 00000000..5bd5cd55 --- /dev/null +++ b/templates/Froxlor/customer/extras/htaccess_htaccess.tpl @@ -0,0 +1,18 @@ + + {$row['path']} + {$row['options_indexes']} + {$row['error404path']} + {$row['error403path']} + {$row['error500path']} + + {$row['options_cgi']} + + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + diff --git a/templates/Froxlor/customer/extras/htpasswds.tpl b/templates/Froxlor/customer/extras/htpasswds.tpl new file mode 100644 index 00000000..477828ff --- /dev/null +++ b/templates/Froxlor/customer/extras/htpasswds.tpl @@ -0,0 +1,60 @@ + $header + +$footer + diff --git a/templates/Froxlor/customer/extras/htpasswds_add.tpl b/templates/Froxlor/customer/extras/htpasswds_add.tpl new file mode 100644 index 00000000..87404177 --- /dev/null +++ b/templates/Froxlor/customer/extras/htpasswds_add.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$htpasswd_add_form} +
    + +

    + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/extras/htpasswds_edit.tpl b/templates/Froxlor/customer/extras/htpasswds_edit.tpl new file mode 100644 index 00000000..8b848dc3 --- /dev/null +++ b/templates/Froxlor/customer/extras/htpasswds_edit.tpl @@ -0,0 +1,33 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$htpasswd_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    + +
    +$footer diff --git a/templates/Froxlor/customer/extras/htpasswds_htpasswd.tpl b/templates/Froxlor/customer/extras/htpasswds_htpasswd.tpl new file mode 100644 index 00000000..fb1ab016 --- /dev/null +++ b/templates/Froxlor/customer/extras/htpasswds_htpasswd.tpl @@ -0,0 +1,12 @@ + + {$row['username']} + {$row['path']} + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + diff --git a/templates/Froxlor/customer/ftp/accounts.tpl b/templates/Froxlor/customer/ftp/accounts.tpl new file mode 100644 index 00000000..6e73f9b0 --- /dev/null +++ b/templates/Froxlor/customer/ftp/accounts.tpl @@ -0,0 +1,62 @@ + $header +
    +
    +

    +   + {$lng['menue']['ftp']['accounts']} ({$ftps_count}) +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + {$accounts} + +
    {$lng['login']['username']}  {$arrowcode['username']}{$lng['panel']['path']}  {$arrowcode['homedir']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + + + + +
    +
    +$footer + diff --git a/templates/Froxlor/customer/ftp/accounts_account.tpl b/templates/Froxlor/customer/ftp/accounts_account.tpl new file mode 100644 index 00000000..4f368a4a --- /dev/null +++ b/templates/Froxlor/customer/ftp/accounts_account.tpl @@ -0,0 +1,12 @@ + + {$row['username']} + {$row['documentroot']} + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + diff --git a/templates/Froxlor/customer/ftp/accounts_add.tpl b/templates/Froxlor/customer/ftp/accounts_add.tpl new file mode 100644 index 00000000..92444d4c --- /dev/null +++ b/templates/Froxlor/customer/ftp/accounts_add.tpl @@ -0,0 +1,31 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$ftp_add_form} +
    + +

    + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/ftp/accounts_edit.tpl b/templates/Froxlor/customer/ftp/accounts_edit.tpl new file mode 100644 index 00000000..f6158a18 --- /dev/null +++ b/templates/Froxlor/customer/ftp/accounts_edit.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$ftp_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/ftp/ftp.tpl b/templates/Froxlor/customer/ftp/ftp.tpl new file mode 100644 index 00000000..0bfcefda --- /dev/null +++ b/templates/Froxlor/customer/ftp/ftp.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['menue']['ftp']['ftp']}
    +
    {$lng['ftp']['description']}
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/index/change_language.tpl b/templates/Froxlor/customer/index/change_language.tpl new file mode 100644 index 00000000..60a0f5fc --- /dev/null +++ b/templates/Froxlor/customer/index/change_language.tpl @@ -0,0 +1,29 @@ +$header +
    +
    +

    +   + {$lng['menue']['main']['changelanguage']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changelanguage']} +

    +   + +

    +

    + + + + +

    +
    +
    +
    +
    +$footer + diff --git a/templates/Froxlor/customer/index/change_password.tpl b/templates/Froxlor/customer/index/change_password.tpl new file mode 100644 index 00000000..3cc89511 --- /dev/null +++ b/templates/Froxlor/customer/index/change_password.tpl @@ -0,0 +1,44 @@ +$header +
    +
    +

    +   + {$lng['menue']['main']['changepassword']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changepassword']} +

    +   + +

    +

    +   + +

    +

    +   + +

    +

    +   + {$lng['changepassword']['also_change_ftp']} +

    +

    +   + {$lng['changepassword']['also_change_webalizer']} +

    +

    + + + + +

    +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/index/change_theme.tpl b/templates/Froxlor/customer/index/change_theme.tpl new file mode 100644 index 00000000..908a8f21 --- /dev/null +++ b/templates/Froxlor/customer/index/change_theme.tpl @@ -0,0 +1,29 @@ +$header +
    +
    +

    +   + {$lng['menue']['main']['changetheme']} +

    +
    + +
    +
    +
    + Froxlor - {$lng['menue']['main']['changetheme']} +

    +   + +

    +

    + + + + +

    +
    +
    +
    +
    +$footer + diff --git a/templates/Froxlor/customer/index/index.tpl b/templates/Froxlor/customer/index/index.tpl new file mode 100644 index 00000000..e55e31c4 --- /dev/null +++ b/templates/Froxlor/customer/index/index.tpl @@ -0,0 +1,122 @@ +$header +
    + + +
    +
    +
    {$lng['admin']['warning']}
    +

    {$awaitingtickets_text}
    +
    +
    +
    + +
    +

    {$lng['index']['accountdetails']}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['login']['username']}:{$userinfo['loginname']}
    {$lng['customer']['domains']}:$domains
    {$lng['customer']['subdomains']}:{$userinfo['subdomains_used']} ({$userinfo['subdomains']})
    {$lng['customer']['diskspace']}:{$userinfo['diskspace_used']} ({$userinfo['diskspace']})
    {$lng['customer']['traffic']} ($month):{$userinfo['traffic_used']} ({$userinfo['traffic']})
    {$lng['customer']['emails']}:{$userinfo['emails_used']} ({$userinfo['emails']})
    {$lng['customer']['accounts']}:{$userinfo['email_accounts_used']} ({$userinfo['email_accounts']})
    {$lng['customer']['forwarders']}:{$userinfo['email_forwarders_used']} ({$userinfo['email_forwarders']})
    {$lng['customer']['email_quota']} ({$lng['panel']['megabyte']}):{$userinfo['email_quota_used']} ({$userinfo['email_quota']})
    {$lng['customer']['autoresponder']}:{$userinfo['email_autoresponder_used']} ({$userinfo['email_autoresponder']})
    {$lng['customer']['mysqls']}:{$userinfo['mysqls_used']} ({$userinfo['mysqls']})
    {$lng['customer']['ftps']}:{$userinfo['ftps_used']} ({$userinfo['ftps']})
    {$lng['aps']['numberofapspackages']}:{$userinfo['aps_packages_used']} ({$userinfo['aps_packages']})
    {$lng['customer']['tickets']}:{$userinfo['tickets_used']} ({$userinfo['tickets']})
    +
    + +
    +

    {$lng['index']['customerdetails']}

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {$lng['customer']['name']}:{$userinfo['firstname']} {$userinfo['name']}
    {$lng['customer']['company']}:{$userinfo['company']}
    {$lng['customer']['street']}:{$userinfo['street']}
    {$lng['customer']['zipcode']}/{$lng['customer']['city']}:{$userinfo['zipcode']} {$userinfo['city']}
    {$lng['customer']['email']}:{$userinfo['email']}
    {$lng['customer']['customernumber']}:{$userinfo['customernumber']}
    +
    + +
    +$footer + diff --git a/templates/Froxlor/customer/mysql/mysql.tpl b/templates/Froxlor/customer/mysql/mysql.tpl new file mode 100644 index 00000000..2cbfdfcd --- /dev/null +++ b/templates/Froxlor/customer/mysql/mysql.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['menue']['mysql']['mysql']}
    +
    {$lng['mysql']['description']}
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/mysql/mysqls.tpl b/templates/Froxlor/customer/mysql/mysqls.tpl new file mode 100644 index 00000000..54641b9e --- /dev/null +++ b/templates/Froxlor/customer/mysql/mysqls.tpl @@ -0,0 +1,63 @@ + $header +
    +
    +

    +   + {$lng['menue']['mysql']['databases']} ({$mysqls_count}) +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + + + + + + + + + + + + + + + + + + + + + + {$mysqls} + +
    {$lng['mysql']['databasename']} {$arrowcode['databasename']}{$lng['mysql']['databasedescription']} {$arrowcode['description']}{$lng['mysql']['mysql_server']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + +

    + +
    + + + + + +
    +
    +$footer + diff --git a/templates/Froxlor/customer/mysql/mysqls_add.tpl b/templates/Froxlor/customer/mysql/mysqls_add.tpl new file mode 100644 index 00000000..c1168dae --- /dev/null +++ b/templates/Froxlor/customer/mysql/mysqls_add.tpl @@ -0,0 +1,31 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$mysql_add_form} +
    + +

    + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/mysql/mysqls_database.tpl b/templates/Froxlor/customer/mysql/mysqls_database.tpl new file mode 100644 index 00000000..f220f128 --- /dev/null +++ b/templates/Froxlor/customer/mysql/mysqls_database.tpl @@ -0,0 +1,17 @@ + + {$row['databasename']} + {$row['description']} + {$sql_root[$row['dbserver']]['caption']} + + + + {$lng['panel']['edit']} +   + + {$lng['panel']['delete']} + + + + {$lng['aps']['cannoteditordeleteapsdb']} + + diff --git a/templates/Froxlor/customer/mysql/mysqls_edit.tpl b/templates/Froxlor/customer/mysql/mysqls_edit.tpl new file mode 100644 index 00000000..a5426538 --- /dev/null +++ b/templates/Froxlor/customer/mysql/mysqls_edit.tpl @@ -0,0 +1,32 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$mysql_edit_form} +
    + +

    + + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/ticket/ticket.tpl b/templates/Froxlor/customer/ticket/ticket.tpl new file mode 100644 index 00000000..4e50bb11 --- /dev/null +++ b/templates/Froxlor/customer/ticket/ticket.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['menue']['ticket']['ticket']}
    +
    {$lng['ticket']['description']}
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/ticket/tickets.tpl b/templates/Froxlor/customer/ticket/tickets.tpl new file mode 100644 index 00000000..b2ced8a7 --- /dev/null +++ b/templates/Froxlor/customer/ticket/tickets.tpl @@ -0,0 +1,81 @@ +$header +
    +
    +

    +   + {$lng['menue']['ticket']['ticket']} +

    +
    + +
    + +
    + +
    + {$searchcode} +
    + + +
    +
    {$lng['ticket']['supportstatus']}
    +
    {$lng['ticket']['supportavailable']}
    +
    +
    + +
    +
    {$lng['ticket']['supportstatus']}
    +
    {$lng['ticket']['supportnotavailable']}
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + {$tickets} + +
    {$lng['ticket']['lastchange']} {$arrowcode['lastchange']}{$lng['ticket']['ticket_answers']} {$arrowcode['ticket_answers']}{$lng['ticket']['subject']} {$arrowcode['subject']}{$lng['ticket']['status']} {$arrowcode['status']}{$lng['ticket']['lastreplier']} {$arrowcode['lastreplier']}{$lng['ticket']['priority']} {$arrowcode['priority']}{$lng['panel']['options']}
    {$pagingcode}
    + +

    + + + +

    + +
    + + + + + +
    + +
    +$footer + diff --git a/templates/Froxlor/customer/ticket/tickets_new.tpl b/templates/Froxlor/customer/ticket/tickets_new.tpl new file mode 100644 index 00000000..495a5015 --- /dev/null +++ b/templates/Froxlor/customer/ticket/tickets_new.tpl @@ -0,0 +1,31 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + +
    + +
    +
    + Froxlor - {$title} + + + {$ticket_add_form} +
    + +

    + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/ticket/tickets_reply.tpl b/templates/Froxlor/customer/ticket/tickets_reply.tpl new file mode 100644 index 00000000..1b1dc4de --- /dev/null +++ b/templates/Froxlor/customer/ticket/tickets_reply.tpl @@ -0,0 +1,41 @@ +$header +
    +
    +

    + {$title}  + {$title} +

    +
    + + + $ticket_replies + + +
    + +
    +
    + Froxlor - {$title} + + + + {$ticket_reply_form} +
    +
    + + {$lng['ticket']['ticket_reopen']} + + +

    + + + + + +

    +
    +
    + +
    +
    +$footer diff --git a/templates/Froxlor/customer/ticket/tickets_tickets.tpl b/templates/Froxlor/customer/ticket/tickets_tickets.tpl new file mode 100644 index 00000000..3a0b60fa --- /dev/null +++ b/templates/Froxlor/customer/ticket/tickets_tickets.tpl @@ -0,0 +1,29 @@ + + {$row['lastchange']} + {$row['ticket_answers']} + {$row['subject']} + {$row['status']} + {$row['lastreplier']} + {$row['priority']} + + + + {$lng['ticket']['show']} + + + {$lng['ticket']['answer']} + + + +   + {$lng['ticket']['close']} + + + +   + {$lng['ticket']['reopen']} + + + + + diff --git a/templates/Froxlor/customer/ticket/tickets_tickets_list.tpl b/templates/Froxlor/customer/ticket/tickets_tickets_list.tpl new file mode 100644 index 00000000..f8269f3f --- /dev/null +++ b/templates/Froxlor/customer/ticket/tickets_tickets_list.tpl @@ -0,0 +1,15 @@ +
    + + + + + + + + + + +
    {$lastchange} {$lng['ticket']['by']} {$by}
    {$subject}
    {$message}
    +

    +
    +
    diff --git a/templates/Froxlor/customer/ticket/tickets_tickets_main.tpl b/templates/Froxlor/customer/ticket/tickets_tickets_main.tpl new file mode 100644 index 00000000..2f743bb3 --- /dev/null +++ b/templates/Froxlor/customer/ticket/tickets_tickets_main.tpl @@ -0,0 +1,15 @@ +
    + + + + + + + + + + +
    {$dt} {$lng['ticket']['by']} {$by} ({$status})
    {$subject}
    {$message}
    +
    +
    +
    diff --git a/templates/Froxlor/customer/traffic/traffic.tpl b/templates/Froxlor/customer/traffic/traffic.tpl new file mode 100644 index 00000000..a7951c64 --- /dev/null +++ b/templates/Froxlor/customer/traffic/traffic.tpl @@ -0,0 +1,48 @@ +$header +
    +
    +

    + {$lng['menue']['traffic']['traffic']}  + {$lng['menue']['traffic']['traffic']} +

    +
    + +
    + +
    +
    + Froxlor - {$lng['menue']['traffic']['traffic']} + + + + + + + + + + + + +
    {$lng['traffic']['sumftp']} GB{$lng['traffic']['sumhttp']} GB{$lng['traffic']['summail']} GB
    {$traffic_complete['ftp']}
    {$traffic_complete['http']}
    {$traffic_complete['mail']}
    +

    + + + + + + + $traffic +
    {$lng['traffic']['month']}{$lng['traffic']['distribution']}{$lng['customer']['traffic']}
    + +

    + + + + +

    +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/traffic/traffic_details.tpl b/templates/Froxlor/customer/traffic/traffic_details.tpl new file mode 100644 index 00000000..98e31f47 --- /dev/null +++ b/templates/Froxlor/customer/traffic/traffic_details.tpl @@ -0,0 +1,49 @@ +$header +
    +
    +

    + {$lng['menue']['traffic']['traffic']}  + {$lng['menue']['traffic']['traffic']} $show +

    +
    + +
    + +
    +
    + Froxlor - {$lng['menue']['traffic']['traffic']} $show + + + + + + + + + + + + +
    {$lng['traffic']['sumftp']} GB{$lng['traffic']['sumhttp']} GB{$lng['traffic']['summail']} GB
    {$traffic_complete['ftp']}
    {$traffic_complete['http']}
    {$traffic_complete['mail']}
    +

    + + + + + + + $traffic +
    {$lng['traffic']['day']}{$lng['traffic']['distribution']}{$lng['traffic']['mb']}
    + + +

    + + + + +

    +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/customer/traffic/traffic_month.tpl b/templates/Froxlor/customer/traffic/traffic_month.tpl new file mode 100644 index 00000000..cf23b172 --- /dev/null +++ b/templates/Froxlor/customer/traffic/traffic_month.tpl @@ -0,0 +1,6 @@ + + {$traf['day']}.   +

    + {$traf['byte']} + + diff --git a/templates/Froxlor/customer/traffic/traffic_traffic.tpl b/templates/Froxlor/customer/traffic/traffic_traffic.tpl new file mode 100644 index 00000000..7787c7d7 --- /dev/null +++ b/templates/Froxlor/customer/traffic/traffic_traffic.tpl @@ -0,0 +1,7 @@ + + + {$traf['monthname']} + + {$traf['ftptext']}
    {$traf['httptext']}
    {$traf['mailtext']} + {$traf['byte']} + diff --git a/templates/Froxlor/footer.tpl b/templates/Froxlor/footer.tpl new file mode 100644 index 00000000..634ea4c7 --- /dev/null +++ b/templates/Froxlor/footer.tpl @@ -0,0 +1,16 @@ + +
    + Froxlor + + {$version}{$branding} + + © 2009-{$current_year} by the Froxlor Team + + +
    {$lng['panel']['translator']}: {$lng['translator']} +
    +
    + and also The Game +
    + + diff --git a/templates/Froxlor/formfields/bool.tpl b/templates/Froxlor/formfields/bool.tpl new file mode 100644 index 00000000..13fce70b --- /dev/null +++ b/templates/Froxlor/formfields/bool.tpl @@ -0,0 +1,4 @@ + + {$label} + checked="checked" /> + diff --git a/templates/Froxlor/formfields/hidden.tpl b/templates/Froxlor/formfields/hidden.tpl new file mode 100644 index 00000000..90c4b931 --- /dev/null +++ b/templates/Froxlor/formfields/hidden.tpl @@ -0,0 +1,4 @@ + + {$label} + {$fielddata['value']} + diff --git a/templates/Froxlor/formfields/label.tpl b/templates/Froxlor/formfields/label.tpl new file mode 100644 index 00000000..c92a751b --- /dev/null +++ b/templates/Froxlor/formfields/label.tpl @@ -0,0 +1,3 @@ + + $label + diff --git a/templates/Froxlor/formfields/option.tpl b/templates/Froxlor/formfields/option.tpl new file mode 100644 index 00000000..26f4ae3d --- /dev/null +++ b/templates/Froxlor/formfields/option.tpl @@ -0,0 +1,4 @@ + + {$label} + + diff --git a/templates/Froxlor/formfields/string.tpl b/templates/Froxlor/formfields/string.tpl new file mode 100644 index 00000000..aa27675f --- /dev/null +++ b/templates/Froxlor/formfields/string.tpl @@ -0,0 +1,4 @@ + + {$label} + + diff --git a/templates/Froxlor/formfields/text.tpl b/templates/Froxlor/formfields/text.tpl new file mode 100644 index 00000000..68ba7396 --- /dev/null +++ b/templates/Froxlor/formfields/text.tpl @@ -0,0 +1,4 @@ + + {$label} + + diff --git a/templates/Froxlor/froxlor.css b/templates/Froxlor/froxlor.css new file mode 100644 index 00000000..06119be6 --- /dev/null +++ b/templates/Froxlor/froxlor.css @@ -0,0 +1,719 @@ +@charset "UTF-8"; + +* { + font-family: Verdana, Verdana, Geneva, sans-serif; +} + +html,body { + font-size: 12px; +} + +/*Opera Fix*/ +body:before { + content: ""; + float: left; + width: 0; + margin-top: -32767px; +} + +body { + background-color: #eeeeee; + margin: 0; + padding: 0; +} + +article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { + display:block; +} + +.dark { + background: #dddddd; + border-bottom: 1px solid #999999; + -webkit-border-top-left-radius: 20px; + -moz-border-radius-topleft: 20px; + border-top-left-radius: 20px; +} + +header img { + padding: 5px 0 5px 10px; +} + +h1 { + display: none; +} + +h2 { + font-size: 140%; + /*margin-left: 14px;*/ + margin:0; + margin-bottom: 1em; + padding: 0; +} + +img { + border: 0; + vertical-align: middle; +} + +td a { + text-decoration: none; +} + +.bradius { + -webkit-border-top-left-radius: 20px; + -webkit-border-bottom-right-radius: 20px; + -moz-border-radius-topleft: 20px; + -moz-border-radius-bottomright: 20px; + border-top-left-radius: 20px; + border-bottom-right-radius: 20px; +} + +.bradiusodd { + -webkit-border-top-right-radius: 20px; + -webkit-border-bottom-left-radius: 20px; + -moz-border-radius-topright: 20px; + -moz-border-radius-bottomleft: 20px; + border-top-right-radius: 20px; + border-bottom-left-radius: 20px +} + +.topheader { + background: #cccccc url('/images/Froxlor/header_g.png') 0 bottom repeat-x; + padding-left: 5px; + padding-top: 2px; + margin-bottom: 12px; +} + +nav { + float: left; + width: 230px; + margin: 10px 20px 0 0; +} + +footer { + clear: both; + text-align: center; + color: #000000; + font-size: 11px; + margin-top: 10px; + margin-bottom: 10px; +} + +footer a,footer a:active,footer a:visited { + text-decoration: none; + color: #000000; +} + +footer a:hover { + text-decoration: underline; +} + +.login { + background-color: #fff; + margin-top: 9%; + margin-left: auto; + margin-right: auto; + margin-bottom: 12px; + width: 600px; + border: 1px solid #999999; +} + +.install { + background-color: #fff; + margin-top: 20px; + margin-left: auto; + margin-right: auto; + margin-bottom: 12px; + width: 800px; + border: 1px solid #999999; +} + +.fullform,.midform,.tinyform { + border: 1px solid #666; + background-color: #f8f8f8; +} + +.tinyform input { + width: 50%; +} + +.tinyform input[type="checkbox"] { + width: auto; +} + +.fullform,.midform,.installsec { + margin-top: 10px; + padding: 0; + text-align: left; +} + +.installsec table { + width: 100%; + padding: 0 10px 0 10px; + border-spacing: 4px; +} + +.installsec h2 { + margin-left: 15px; +} + +.installstatus { + width: 150px; +} + +.tinyform,.loginsec { + margin-top: 10px; + padding: 10px 0; + text-align: center; +} + +.fullform { + width: 90%; + margin: 0 auto; + text-align: left; +} + +.midform,.installsec form { + width: 600px; + margin: 0 auto; + text-align: left; +} + +.tinyform,.loginsec form { + width: 400px; + margin: 0 auto; + text-align: left; +} + +.installsec fieldset,.loginsec fieldset { + border: 0; + float: left; + clear: left; + width: 100%; + margin: 0 0 1.5em 0; + padding: 0; +} + +.fullform fieldset,.midform fieldset,.tinyform fieldset { + border: 0; + width: 100%; + margin: 0 0 1.5em 0; + padding: 0; +} + +.fullform legend,.installsec legend,.loginsec legend,.midform legend,.tinyform legend { + display: none; +} + +.fullform label { + float: left; + width: 26em; +/* margin-right: 1em; */ + margin-top: 6px; + text-align: right; +} + +.installsec label { + float: left; + width: 26em; + margin-right: 1em; + margin-top: 6px; + text-align: left; +} + +.midform label,.tinyform label,.loginsec label { + float: left; + width: 10em; + margin-right: 1em; + margin-top: 6px; + text-align: right; +} + +.fullform textarea,.midform textarea { + width: 60%; +} + +.loginsec input[type="text"],.loginsec input[type="password"] { + width: 183px; +} + +.tinyform select,.loginsec select { + width: 211px; +} + +.tinyform p.submit,.loginsec p.submit { + padding-right: 18px; +} + +p.submit { + text-align: right; + padding-right: 46px; +} + +.installsec aside,.loginsec aside { + border-top: 1px solid #999999; + clear: both; + float: none; + width: auto; + text-align: left; + padding-top: 10px; + padding-left: 10px; +} + +.messagewrapper { + width: 650px; + margin: 0 auto; + padding: 120px 0 0 0; + overflow: hidden; +} + +.messagewrapperfull { + width: 100%; + margin: 0 auto; + padding: 0; + overflow: hidden; +} + +.overviewsearch { + position: absolute; + top: 120px; + right: 20px; + font-size: 80%; +} + +.overviewadd { + padding: 10px; + font-weight: bold; +} + +/* + * error message display + */ +.errorcontainer { + background: url('/images/Froxlor/icons/bad.png') 10px center no-repeat #ffedef; + border: 1px solid #ffc2ca; + padding: 10px 10px 10px 68px !important; + margin: .75em !important; + text-align: left !important; + overflow: hidden; +} + +.errortitle { + font-weight: bold; + color: #c00 !important; +} + +.error { + font-weight: normal !important; + color: #c00 !important; +} + +/* + * warning message display + */ +.warningcontainer { + background: url('/images/Froxlor/icons/warning.png') 10px center no-repeat #fffecc; + border: 1px solid #f3c37e; + padding: 10px 10px 10px 68px !important; + margin: .75em !important; + text-align: left !important; + overflow: hidden; +} + +.warningtitle { + font-weight: bold; + color: #D57D00; +} + +.warning { + color: #D57D00 !important; +} + +/* + * success message display + */ +.successcontainer { + background: url('/images/Froxlor/icons/ok.png') 10px center no-repeat #E2F9E3; + border: 1px solid #9C9; + padding: 10px 10px 10px 68px !important; + margin: .75em !important; + text-align: left !important; + overflow: hidden; +} + +.successtitle { + font-weight: bold; + color: #060 !important; +} + +.success { + font-weight: normal !important; +} + +/* + * neutral/info message display + */ +.neutralcontainer { + background: url('/images/Froxlor/icons/info.png') 10px center no-repeat #d2eaf6; + border: 1px solid #b7d8ed; + padding: 10px 10px 10px 68px !important; + margin: .75em !important; + text-align: left !important; + overflow: hidden; +} + +.neutraltitle { + font-weight: bold; + color: #3188c1 !important; +} + +.neutral { + font-weight: normal !important; + color: #3188c1 !important; +} + +/* std hyperlink */ +a,a:active,a:visited { + color: #176fa1; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +.infotext { + font-size: 11px; +} + +/* navigation */ +.menuelement { + margin-top: 4px; + margin-right: 0; + margin-bottom: 8px; + margin-left: 12px; + padding: 4px 0 0 8px; + border: 1px solid #666666; + background-color: #fff; +} + +.menuelement h4 { + background: transparent url('/images/Froxlor/icons/tag_blue.png') no-repeat center left; + margin: 0; + padding: 0 0 0 20px; +} + +.menuelement ul { + list-style: none; + margin: 3px 0 8px 0; + padding: 0; +} + +.menuelement ul li { + margin: 0 0 3px 20px; + padding: 0; +} + +/* + * main container + */ +.main { /* same value as nav-width */ + margin-left: 240px; + margin-right: 15px; + margin-top: 26px; + margin-bottom: 0; + background-color: #fff; + padding: 10px; + border: 1px solid #666; + min-height: 600px; + background: -webkit-gradient(linear, left top, right top, color-stop(0.16, rgb(220,220,220)), color-stop(1, rgb(255,255,255))); + background: -moz-linear-gradient(left center, rgb(220,220,220) 16%, rgb(255,255,255) 100%); + /* For Internet Explorer 5.5 - 7 */ + filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#dcdcdc, endColorStr=#ffffff, GradientType=1); + /* For Internet Explorer 8 */ + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#dcdcdc, endColorstr=#ffffff, GradientType=1)"; +} + +.noborder { + width: 100%; + border-spacing: 0; + background-color: #f8f8f8; + border-collapse:separate; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #666; +} + +.noborder td { + border: 0; +} + +table { + width: 100%; + border-spacing: 0; + background-color: #f8f8f8; + border-top: 0; + border-left: 1px solid #666; + border-bottom: 1px solid #666; + border-collapse:separate; +} + +table thead th { + color: #fff; + background-color: #176fa1; + border: 1px solid #176fa1; + -webkit-border-top-right-radius: 20px; + -webkit-border-bottom-left-radius: 20px; + -moz-border-radius-topright: 20px; + -moz-border-radius-bottomleft: 20px; + border-top-right-radius: 20px; + border-bottom-left-radius: 20px; +} + +table tbody td { + border-right: 1px solid #666; +} + +.formtable { + width: 100%; + border-spacing: 0; + background-color: #f8f8f8; + border: 0; + border-collapse:separate; + margin: 15px 0 0 0; +} + +.formtable tbody td { + border: 0; + border-bottom: 1px dotted #ccc; +} + +.formlabeltd { + width: 350px; +} + +.formtable label { + float: none; + display: block; + padding: 0; + margin: 0; + width: 100%; + text-align: left; +} + +.overviewcustomerextras,.overviewcustomerextras tbody td { + line-height: 11px; + font-size: 10px; + border: 0; +} + +td { + padding-top: 5px; + padding-left: 10px; + padding-bottom: 5px; +} + +table tfoot td { + border-right: 1px solid #666; +} + +.tfootleft { + text-align: left; +} + +.maintitle { + padding-top: 20px; +} + +/* input elements */ +input { + background: #dae7ee url('/images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px; + padding: 2px 4px 2px 22px; + border: 1px solid #666666; + height: 22px; + -moz-border-radius: 5px; + -khtml-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +textarea { + background: #dae7ee url('/images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px; + padding: 4px 4px 2px 22px; + border: 1px solid #666666; + -moz-border-radius: 5px; + -khtml-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +input[type="password"] { + background: #dae7ee url('/images/Froxlor/icons/password.png') no-repeat 4px 4px; +} + +input[type="button"],input[type="submit"],input[type="reset"] { + background: #ccc; + padding: 4px 10px; + margin: 0 30px 0 0; + height: 30px; + border: 1px solid #999999; + -moz-border-radius: 5px; + -khtml-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +input[type="submit"] { + color: green; + background: #ccc url('/images/Froxlor/icons/button_ok.png') no-repeat 4px 8px; + padding-left: 20px; +} + +input[class="nobutton"], +input[type="reset"] { + color: red; + background: #ccc url('/images/Froxlor/icons/cancel.png') no-repeat 4px 8px; + padding-left: 20px; +} + +select { + background: #dae7ee; + padding: 4px; + border: 1px solid #666666; +/* height: 30px;*/ + -moz-border-radius: 5px; + -khtml-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +.customer_add { + margin-top: 15px; +} + +.dboarditem { + float: left; + width: 400px; + margin-top: 4px; + margin-right: 0; + margin-bottom: 8px; + margin-left: 12px; + padding: 4px 0 4px 8px; + border: 1px solid #666; + background-color: #f8f8f8; +} + +.dboarditemfull { +/* clear: both; */ + position:relative; + overflow:hidden; + top: 10px; + width: 96%; + margin-top: 4px; + margin-right: 0; + margin-bottom: 18px; + margin-left: 12px; + padding: 4px 0 4px 8px; + border: 1px solid #666; + background-color: #f8f8f8; +} + +.dboarditem table,.dboarditemfull table { + width: 95%; + border: 0; +} + +.dboarditem td,.dboarditemfull td { + border-right: 0; + border-bottom: 1px dotted #ccc; +} + +.cronjobtask { + list-style: url('/images/Froxlor/icons/clock.png') inside; + margin: 0; + padding: 0; +} + +.overviewheading { + vertical-align: top; + line-height: 36px; + height: 36px; +} + +.overviewheading h3 { + display: inline; +} + +/* SINGLE PROGRESS BAR */ +.progressBar { + width:216px; + height:21px; + position:relative; + top: -8px; +} + +.progressBar span { + position:absolute; + display:block; + width:200px; + height:15px; + background:url('/images/Froxlor/bar.gif') no-repeat 0 0; + top:8px; + left:8px; + overflow:hidden; + text-indent:-8000px; +} + +.progressBar span.redbar { + background:url('/images/Froxlor/barred.gif') no-repeat 0 0; +} + +.progressBar span.greybar { + background:url('/images/Froxlor/bargrey.gif') no-repeat 0 0; +} + +.progressBar em { + position:absolute; + display:block; + width:200px; + height:15px; + background:url('/images/Froxlor/bg_cover.gif') repeat-x 0 0; + top:0; +} + +.maintable { + width: 90%; +} + +.update_progess +{ + padding: 2em; + text-align: left; +} + +.preconfig +{ + text-align: left; + margin-top: 20px; + margin-bottom: 5px; + margin-right: 15px; + margin-left: 15px; +} + +.preconfigitem +{ + padding: 0.15em; + border-bottom: 1px solid #cccccc; +} + +.preconfdesc +{ + display: block; + margin-bottom: 0.5em; + font-size: 120%; +} + +.strikethrough { + text-decoration: line-through; +} diff --git a/templates/Froxlor/froxlor_ie.css b/templates/Froxlor/froxlor_ie.css new file mode 100644 index 00000000..f35de74b --- /dev/null +++ b/templates/Froxlor/froxlor_ie.css @@ -0,0 +1,18 @@ +@charset "UTF-8"; + +/* input elements */ +input { + padding: 4px 4px 0px 24px; +} + +input[type="submit"],input[class="nobutton"],input[type="reset"] { + padding-left: 24px; +} + +.midform input[type="file"] { + width: 90%; +} + +table thead th { + border-right: 1px solid #333; +} diff --git a/templates/Froxlor/header.tpl b/templates/Froxlor/header.tpl new file mode 100644 index 00000000..e6fde870 --- /dev/null +++ b/templates/Froxlor/header.tpl @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + <if isset($userinfo['loginname']) && $userinfo['loginname'] != ''>{$userinfo['loginname']} - </if>Froxlor Server Management Panel + + + + +
    +
    +

    Froxlor Server Management Panel

    +
    + Froxlor Server Management Panel +
    + + +
    + + +
    + +
    + diff --git a/templates/Froxlor/js/froxlor.js b/templates/Froxlor/js/froxlor.js new file mode 100644 index 00000000..1c229973 --- /dev/null +++ b/templates/Froxlor/js/froxlor.js @@ -0,0 +1,32 @@ +$(document).ready(function(){ + // make rel="external" links open in a new window + $("a[rel='external']").attr('target', '_blank'); + $(".main").css('min-height', $("nav").height() - 34); + $(".dboarditem:last").css('min-height', $(".dboarditem:first").height()); + + // set focus on username-field if on loginpage + if($(".loginpage").length != 0) { + $("#loginname").focus(); + } + + if($("table.formtable").length != 0) { + $("table.formtable tr").hover(function() { + $(this).css("background-color", "#fff"); + }, + function() { + $(this).css("background-color", "#f8f8f8"); + } + ); + } + + if($("table.aps").length != 0) { + $("table.aps tr").hover(function() { + $(this).css("background-color", "#fff"); + }, + function() { + $(this).css("background-color", "#f8f8f8"); + } + ); + } + +}); diff --git a/templates/Froxlor/js/jquery.min.js b/templates/Froxlor/js/jquery.min.js new file mode 100644 index 00000000..8f3ca2e2 --- /dev/null +++ b/templates/Froxlor/js/jquery.min.js @@ -0,0 +1,167 @@ +/*! + * jQuery JavaScript Library v1.4.4 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Nov 11 19:04:53 2010 -0500 + */ +(function(E,B){function ka(a,b,d){if(d===B&&a.nodeType===1){d=a.getAttribute("data-"+b);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:!c.isNaN(d)?parseFloat(d):Ja.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=B}return d}function U(){return false}function ca(){return true}function la(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ka(a){var b,d,e,f,h,l,k,o,x,r,A,C=[];f=[];h=c.data(this,this.nodeType?"events":"__events__");if(typeof h==="function")h= +h.events;if(!(a.liveFired===this||!h||!h.live||a.button&&a.type==="click")){if(a.namespace)A=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var J=h.live.slice(0);for(k=0;kd)break;a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;A=f.handleObj.origHandler.apply(f.elem,arguments);if(A===false||a.isPropagationStopped()){d=f.level;if(A===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(La, +"`").replace(Ma,"&")}function ma(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Na.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function na(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this, +e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var l in e[h])c.event.add(this,h,e[h][l],e[h][l].data)}}})}function Oa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function oa(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?Pa:Qa,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a, +"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function da(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Ra.test(a)?e(a,h):da(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)?e(a,""):c.each(b,function(f,h){da(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(pa.concat.apply([],pa.slice(0,b)),function(){d[this]=a});return d}function qa(a){if(!ea[a]){var b=c("<"+ +a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";ea[a]=d}return ea[a]}function fa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var t=E.document,c=function(){function a(){if(!b.isReady){try{t.documentElement.doScroll("left")}catch(j){setTimeout(a,1);return}b.ready()}}var b=function(j,s){return new b.fn.init(j,s)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,l=/\S/,k=/^\s+/,o=/\s+$/,x=/\W/,r=/\d/,A=/^<(\w+)\s*\/?>(?:<\/\1>)?$/, +C=/^[\],:{}\s]*$/,J=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,I=/(?:^|:|,)(?:\s*\[)+/g,L=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false,q=[],u,y=Object.prototype.toString,F=Object.prototype.hasOwnProperty,M=Array.prototype.push,N=Array.prototype.slice,O=String.prototype.trim,D=Array.prototype.indexOf,R={};b.fn=b.prototype={init:function(j, +s){var v,z,H;if(!j)return this;if(j.nodeType){this.context=this[0]=j;this.length=1;return this}if(j==="body"&&!s&&t.body){this.context=t;this[0]=t.body;this.selector="body";this.length=1;return this}if(typeof j==="string")if((v=h.exec(j))&&(v[1]||!s))if(v[1]){H=s?s.ownerDocument||s:t;if(z=A.exec(j))if(b.isPlainObject(s)){j=[t.createElement(z[1])];b.fn.attr.call(j,s,true)}else j=[H.createElement(z[1])];else{z=b.buildFragment([v[1]],[H]);j=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this, +j)}else{if((z=t.getElementById(v[2]))&&z.parentNode){if(z.id!==v[2])return f.find(j);this.length=1;this[0]=z}this.context=t;this.selector=j;return this}else if(!s&&!x.test(j)){this.selector=j;this.context=t;j=t.getElementsByTagName(j);return b.merge(this,j)}else return!s||s.jquery?(s||f).find(j):b(s).find(j);else if(b.isFunction(j))return f.ready(j);if(j.selector!==B){this.selector=j.selector;this.context=j.context}return b.makeArray(j,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length}, +toArray:function(){return N.call(this,0)},get:function(j){return j==null?this.toArray():j<0?this.slice(j)[0]:this[j]},pushStack:function(j,s,v){var z=b();b.isArray(j)?M.apply(z,j):b.merge(z,j);z.prevObject=this;z.context=this.context;if(s==="find")z.selector=this.selector+(this.selector?" ":"")+v;else if(s)z.selector=this.selector+"."+s+"("+v+")";return z},each:function(j,s){return b.each(this,j,s)},ready:function(j){b.bindReady();if(b.isReady)j.call(t,b);else q&&q.push(j);return this},eq:function(j){return j=== +-1?this.slice(j):this.slice(j,+j+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(j){return this.pushStack(b.map(this,function(s,v){return j.call(s,v,s)}))},end:function(){return this.prevObject||b(null)},push:M,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var j,s,v,z,H,G=arguments[0]||{},K=1,Q=arguments.length,ga=false; +if(typeof G==="boolean"){ga=G;G=arguments[1]||{};K=2}if(typeof G!=="object"&&!b.isFunction(G))G={};if(Q===K){G=this;--K}for(;K0))if(q){var s=0,v=q;for(q=null;j=v[s++];)j.call(t,b);b.fn.trigger&&b(t).trigger("ready").unbind("ready")}}},bindReady:function(){if(!p){p=true;if(t.readyState==="complete")return setTimeout(b.ready,1);if(t.addEventListener){t.addEventListener("DOMContentLoaded",u,false);E.addEventListener("load",b.ready,false)}else if(t.attachEvent){t.attachEvent("onreadystatechange",u);E.attachEvent("onload", +b.ready);var j=false;try{j=E.frameElement==null}catch(s){}t.documentElement.doScroll&&j&&a()}}},isFunction:function(j){return b.type(j)==="function"},isArray:Array.isArray||function(j){return b.type(j)==="array"},isWindow:function(j){return j&&typeof j==="object"&&"setInterval"in j},isNaN:function(j){return j==null||!r.test(j)||isNaN(j)},type:function(j){return j==null?String(j):R[y.call(j)]||"object"},isPlainObject:function(j){if(!j||b.type(j)!=="object"||j.nodeType||b.isWindow(j))return false;if(j.constructor&& +!F.call(j,"constructor")&&!F.call(j.constructor.prototype,"isPrototypeOf"))return false;for(var s in j);return s===B||F.call(j,s)},isEmptyObject:function(j){for(var s in j)return false;return true},error:function(j){throw j;},parseJSON:function(j){if(typeof j!=="string"||!j)return null;j=b.trim(j);if(C.test(j.replace(J,"@").replace(w,"]").replace(I,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(j):(new Function("return "+j))();else b.error("Invalid JSON: "+j)},noop:function(){},globalEval:function(j){if(j&& +l.test(j)){var s=t.getElementsByTagName("head")[0]||t.documentElement,v=t.createElement("script");v.type="text/javascript";if(b.support.scriptEval)v.appendChild(t.createTextNode(j));else v.text=j;s.insertBefore(v,s.firstChild);s.removeChild(v)}},nodeName:function(j,s){return j.nodeName&&j.nodeName.toUpperCase()===s.toUpperCase()},each:function(j,s,v){var z,H=0,G=j.length,K=G===B||b.isFunction(j);if(v)if(K)for(z in j){if(s.apply(j[z],v)===false)break}else for(;H
    a";var f=d.getElementsByTagName("*"),h=d.getElementsByTagName("a")[0],l=t.createElement("select"), +k=l.appendChild(t.createElement("option"));if(!(!f||!f.length||!h)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(h.getAttribute("style")),hrefNormalized:h.getAttribute("href")==="/a",opacity:/^0.55$/.test(h.style.opacity),cssFloat:!!h.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:k.selected,deleteExpando:true,optDisabled:false,checkClone:false, +scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};l.disabled=true;c.support.optDisabled=!k.disabled;b.type="text/javascript";try{b.appendChild(t.createTextNode("window."+e+"=1;"))}catch(o){}a.insertBefore(b,a.firstChild);if(E[e]){c.support.scriptEval=true;delete E[e]}try{delete b.test}catch(x){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function r(){c.support.noCloneEvent= +false;d.detachEvent("onclick",r)});d.cloneNode(true).fireEvent("onclick")}d=t.createElement("div");d.innerHTML="";a=t.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var r=t.createElement("div");r.style.width=r.style.paddingLeft="1px";t.body.appendChild(r);c.boxModel=c.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";r.style.zoom= +1;c.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="
    ";c.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="
    t
    ";var A=r.getElementsByTagName("td");c.support.reliableHiddenOffsets=A[0].offsetHeight===0;A[0].style.display="";A[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&A[0].offsetHeight===0;r.innerHTML="";t.body.removeChild(r).style.display= +"none"});a=function(r){var A=t.createElement("div");r="on"+r;var C=r in A;if(!C){A.setAttribute(r,"return;");C=typeof A[r]==="function"}return C};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();var ra={},Ja=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?ra:a;var e=a.nodeType,f=e?a[c.expando]:null,h= +c.cache;if(!(e&&!f&&typeof b==="string"&&d===B)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]=c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==B)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?ra:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando); +else if(d)delete f[e];else for(var l in a)delete a[l]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length){var e=this[0].attributes,f;d=c.data(this[0]);for(var h=0,l=e.length;h-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one"; +if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodeName(this,"select")){var A=c.makeArray(r);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),A)>=0});if(!A.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true}, +attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return B;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==B;b=e&&c.props[b]||b;var h=Ta.test(b);if((b in a||a[b]!==B)&&e&&!h){if(f){b==="type"&&Ua.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&& +b.specified?b.value:Va.test(a.nodeName)||Wa.test(a.nodeName)&&a.href?0:B;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return B;a=!c.support.hrefNormalized&&e&&h?a.getAttribute(b,2):a.getAttribute(b);return a===null?B:a}});var X=/\.(.*)$/,ia=/^(?:textarea|input|select)$/i,La=/\./g,Ma=/ /g,Xa=/[^\w\s.|`]/g,Ya=function(a){return a.replace(Xa,"\\$&")},ua={focusin:0,focusout:0}; +c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;else if(!d)return;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var l=a.nodeType?"events":"__events__",k=h[l],o=h.handle;if(typeof k==="function"){o=k.handle;k=k.events}else if(!k){a.nodeType||(h[l]=h=function(){});h.events=k={}}if(!o)h.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem, +arguments):B};o.elem=a;b=b.split(" ");for(var x=0,r;l=b[x++];){h=f?c.extend({},f):{handler:d,data:e};if(l.indexOf(".")>-1){r=l.split(".");l=r.shift();h.namespace=r.slice(0).sort().join(".")}else{r=[];h.namespace=""}h.type=l;if(!h.guid)h.guid=d.guid;var A=k[l],C=c.event.special[l]||{};if(!A){A=k[l]=[];if(!C.setup||C.setup.call(a,e,r,o)===false)if(a.addEventListener)a.addEventListener(l,o,false);else a.attachEvent&&a.attachEvent("on"+l,o)}if(C.add){C.add.call(a,h);if(!h.handler.guid)h.handler.guid= +d.guid}A.push(h);c.event.global[l]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,l=0,k,o,x,r,A,C,J=a.nodeType?"events":"__events__",w=c.data(a),I=w&&w[J];if(w&&I){if(typeof I==="function"){w=I;I=I.events}if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in I)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[l++];){r=f;k=f.indexOf(".")<0;o=[];if(!k){o=f.split(".");f=o.shift();x=RegExp("(^|\\.)"+ +c.map(o.slice(0).sort(),Ya).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(A=I[f])if(d){r=c.event.special[f]||{};for(h=e||0;h=0){a.type=f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType=== +8)return B;a.result=B;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)===false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){var l;e=a.target;var k=f.replace(X,""),o=c.nodeName(e,"a")&&k=== +"click",x=c.event.special[k]||{};if((!x._default||x._default.call(d,a)===false)&&!o&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[k]){if(l=e["on"+k])e["on"+k]=null;c.event.triggered=true;e[k]()}}catch(r){}if(l)e["on"+k]=l;c.event.triggered=false}}},handle:function(a){var b,d,e,f;d=[];var h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+ +d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var l=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ia.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=xa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===B||f===e))if(e!=null||f){a.type="change";a.liveFired= +B;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",xa(a))}},setup:function(){if(this.type=== +"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ia.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ia.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}t.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){ua[b]++===0&&t.addEventListener(a,d,true)},teardown:function(){--ua[b]=== +0&&t.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=B}var l=b==="one"?c.proxy(f,function(o){c(this).unbind(o,l);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var k=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); +(function(){function a(g,i,n,m,p,q){p=0;for(var u=m.length;p0){F=y;break}}y=y[g]}m[p]=F}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,l=true;[0,0].sort(function(){l=false;return 0});var k=function(g,i,n,m){n=n||[];var p=i=i||t;if(i.nodeType!==1&&i.nodeType!==9)return[];if(!g||typeof g!=="string")return n;var q,u,y,F,M,N=true,O=k.isXML(i),D=[],R=g;do{d.exec("");if(q=d.exec(R)){R=q[3];D.push(q[1]);if(q[2]){F=q[3]; +break}}}while(q);if(D.length>1&&x.exec(g))if(D.length===2&&o.relative[D[0]])u=L(D[0]+D[1],i);else for(u=o.relative[D[0]]?[i]:k(D.shift(),i);D.length;){g=D.shift();if(o.relative[g])g+=D.shift();u=L(g,u)}else{if(!m&&D.length>1&&i.nodeType===9&&!O&&o.match.ID.test(D[0])&&!o.match.ID.test(D[D.length-1])){q=k.find(D.shift(),i,O);i=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]}if(i){q=m?{expr:D.pop(),set:C(m)}:k.find(D.pop(),D.length===1&&(D[0]==="~"||D[0]==="+")&&i.parentNode?i.parentNode:i,O);u=q.expr?k.filter(q.expr, +q.set):q.set;if(D.length>0)y=C(u);else N=false;for(;D.length;){q=M=D.pop();if(o.relative[M])q=D.pop();else M="";if(q==null)q=i;o.relative[M](y,q,O)}}else y=[]}y||(y=u);y||k.error(M||g);if(f.call(y)==="[object Array]")if(N)if(i&&i.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&k.contains(i,y[g])))n.push(u[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&n.push(u[g]);else n.push.apply(n,y);else C(y,n);if(F){k(F,p,n,m);k.uniqueSort(n)}return n};k.uniqueSort=function(g){if(w){h= +l;g.sort(w);if(h)for(var i=1;i0};k.find=function(g,i,n){var m;if(!g)return[];for(var p=0,q=o.order.length;p":function(g,i){var n,m=typeof i==="string",p=0,q=g.length;if(m&&!/\W/.test(i))for(i=i.toLowerCase();p=0))n||m.push(u);else if(n)i[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var i=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=i[1]+(i[2]||1)-0;g[3]=i[3]-0}g[0]=e++;return g},ATTR:function(g,i,n, +m,p,q){i=g[1].replace(/\\/g,"");if(!q&&o.attrMap[i])g[1]=o.attrMap[i];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,i,n,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,i);else{g=k.filter(g[3],i,n,true^p);n||m.push.apply(m,g);return false}else if(o.match.POS.test(g[0])||o.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== +true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== +g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,i){return i===0},last:function(g,i,n,m){return i===m.length-1},even:function(g,i){return i%2===0},odd:function(g,i){return i%2===1},lt:function(g,i,n){return in[3]-0},nth:function(g,i,n){return n[3]- +0===i},eq:function(g,i,n){return n[3]-0===i}},filter:{PSEUDO:function(g,i,n,m){var p=i[1],q=o.filters[p];if(q)return q(g,n,i,m);else if(p==="contains")return(g.textContent||g.innerText||k.getText([g])||"").indexOf(i[3])>=0;else if(p==="not"){i=i[3];n=0;for(m=i.length;n=0}},ID:function(g,i){return g.nodeType===1&&g.getAttribute("id")===i},TAG:function(g,i){return i==="*"&&g.nodeType===1||g.nodeName.toLowerCase()=== +i},CLASS:function(g,i){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(i)>-1},ATTR:function(g,i){var n=i[1];n=o.attrHandle[n]?o.attrHandle[n](g):g[n]!=null?g[n]:g.getAttribute(n);var m=n+"",p=i[2],q=i[4];return n==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&n!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,i,n,m){var p=o.setFilters[i[2]]; +if(p)return p(g,n,i,m)}}},x=o.match.POS,r=function(g,i){return"\\"+(i-0+1)},A;for(A in o.match){o.match[A]=RegExp(o.match[A].source+/(?![^\[]*\])(?![^\(]*\))/.source);o.leftMatch[A]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[A].source.replace(/\\(\d+)/g,r))}var C=function(g,i){g=Array.prototype.slice.call(g,0);if(i){i.push.apply(i,g);return i}return g};try{Array.prototype.slice.call(t.documentElement.childNodes,0)}catch(J){C=function(g,i){var n=0,m=i||[];if(f.call(g)==="[object Array]")Array.prototype.push.apply(m, +g);else if(typeof g.length==="number")for(var p=g.length;n";n.insertBefore(g,n.firstChild);if(t.getElementById(i)){o.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:B:[]};o.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}n.removeChild(g); +n=g=null})();(function(){var g=t.createElement("div");g.appendChild(t.createComment(""));if(g.getElementsByTagName("*").length>0)o.find.TAG=function(i,n){var m=n.getElementsByTagName(i[1]);if(i[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(i){return i.getAttribute("href",2)};g=null})();t.querySelectorAll&& +function(){var g=k,i=t.createElement("div");i.innerHTML="

    ";if(!(i.querySelectorAll&&i.querySelectorAll(".TEST").length===0)){k=function(m,p,q,u){p=p||t;m=m.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!u&&!k.isXML(p))if(p.nodeType===9)try{return C(p.querySelectorAll(m),q)}catch(y){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var F=p.getAttribute("id"),M=F||"__sizzle__";F||p.setAttribute("id",M);try{return C(p.querySelectorAll("#"+M+" "+m),q)}catch(N){}finally{F|| +p.removeAttribute("id")}}return g(m,p,q,u)};for(var n in g)k[n]=g[n];i=null}}();(function(){var g=t.documentElement,i=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,n=false;try{i.call(t.documentElement,"[test!='']:sizzle")}catch(m){n=true}if(i)k.matchesSelector=function(p,q){q=q.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(p))try{if(n||!o.match.PSEUDO.test(q)&&!/!=/.test(q))return i.call(p,q)}catch(u){}return k(q,null,null,[p]).length>0}})();(function(){var g= +t.createElement("div");g.innerHTML="
    ";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){o.order.splice(1,0,"CLASS");o.find.CLASS=function(i,n,m){if(typeof n.getElementsByClassName!=="undefined"&&!m)return n.getElementsByClassName(i[1])};g=null}}})();k.contains=t.documentElement.contains?function(g,i){return g!==i&&(g.contains?g.contains(i):true)}:t.documentElement.compareDocumentPosition? +function(g,i){return!!(g.compareDocumentPosition(i)&16)}:function(){return false};k.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var L=function(g,i){for(var n,m=[],p="",q=i.nodeType?[i]:i;n=o.match.PSEUDO.exec(g);){p+=n[0];g=g.replace(o.match.PSEUDO,"")}g=o.relative[g]?g+"*":g;n=0;for(var u=q.length;n0)for(var h=d;h0},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){var l,k={},o=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:o})}h= +h.parentNode;o++}}return d}l=cb.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context): +c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a, +2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a, +b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Za.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||ab.test(e))&&$a.test(a))f=f.reverse();return this.pushStack(f,a,bb.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===B||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&& +e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var za=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,Aa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ba=/<([\w:]+)/,db=/\s]+\/)>/g,P={option:[1, +""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1,"div
    ","
    "];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= +c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==B)return this.empty().append((this[0]&&this[0].ownerDocument||t).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, +wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, +prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, +this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); +return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(za,"").replace(fb,'="$1">').replace($,"")],e)[0]}else return this.cloneNode(true)});if(a===true){na(this,b);na(this.find("*"),b.find("*"))}return b},html:function(a){if(a===B)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(za,""):null; +else if(typeof a==="string"&&!Ca.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!P[(Ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Aa,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?h.cloneNode(true):h)}k.length&&c.each(k,Oa)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:t;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===t&&!Ca.test(a[0])&&(c.support.checkClone||!Da.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append", +prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h=d.length;f0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||t;if(typeof b.createElement==="undefined")b=b.ownerDocument|| +b[0]&&b[0].ownerDocument||t;for(var f=[],h=0,l;(l=a[h])!=null;h++){if(typeof l==="number")l+="";if(l){if(typeof l==="string"&&!eb.test(l))l=b.createTextNode(l);else if(typeof l==="string"){l=l.replace(Aa,"<$1>");var k=(Ba.exec(l)||["",""])[1].toLowerCase(),o=P[k]||P._default,x=o[0],r=b.createElement("div");for(r.innerHTML=o[1]+l+o[2];x--;)r=r.lastChild;if(!c.support.tbody){x=db.test(l);k=k==="table"&&!x?r.firstChild&&r.firstChild.childNodes:o[1]===""&&!x?r.childNodes:[];for(o=k.length- +1;o>=0;--o)c.nodeName(k[o],"tbody")&&!k[o].childNodes.length&&k[o].parentNode.removeChild(k[o])}!c.support.leadingWhitespace&&$.test(l)&&r.insertBefore(b.createTextNode($.exec(l)[0]),r.firstChild);l=r.childNodes}if(l.nodeType)f.push(l);else f=c.merge(f,l)}}if(d)for(h=0;f[h];h++)if(e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script")))); +d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,k;(k=a[l])!=null;l++)if(!(k.nodeName&&c.noData[k.nodeName.toLowerCase()]))if(d=k[c.expando]){if((b=e[d])&&b.events)for(var o in b.events)f[o]?c.event.remove(k,o):c.removeEvent(k,o,b.handle);if(h)delete k[c.expando];else k.removeAttribute&&k.removeAttribute(c.expando);delete e[d]}}});var Ea=/alpha\([^)]*\)/i,gb=/opacity=([^)]*)/,hb=/-([a-z])/ig,ib=/([A-Z])/g,Fa=/^-?\d+(?:px)?$/i, +jb=/^-?\d/,kb={position:"absolute",visibility:"hidden",display:"block"},Pa=["Left","Right"],Qa=["Top","Bottom"],W,Ga,aa,lb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===B)return this;return c.access(this,a,b,true,function(d,e,f){return f!==B?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true, +zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),l=a.style,k=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==B){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!k||!("set"in k)||(d=k.set(a,d))!==B)try{l[b]=d}catch(o){}}}else{if(k&&"get"in k&&(f=k.get(a,false,e))!==B)return f;return l[b]}}},css:function(a,b,d){var e,f=c.camelCase(b), +h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==B)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(hb,lb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=oa(d,b,f);else c.swap(d,kb,function(){h=oa(d,b,f)});if(h<=0){h=W(d,b,b);if(h==="0px"&&aa)h=aa(d,b,b); +if(h!=null)return h===""||h==="auto"?"0px":h}if(h<0||h==null){h=d.style[b];return h===""||h==="auto"?"0px":h}return typeof h==="string"?h:h+"px"}},set:function(d,e){if(Fa.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return gb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f= +d.filter||"";d.filter=Ea.test(f)?f.replace(Ea,e):d.filter+" "+e}};if(t.defaultView&&t.defaultView.getComputedStyle)Ga=function(a,b,d){var e;d=d.replace(ib,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return B;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};if(t.documentElement.currentStyle)aa=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(!Fa.test(f)&&jb.test(f)){d=h.left; +e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f===""?"auto":f};W=Ga||aa;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var mb=c.now(),nb=/)<[^<]*)*<\/script>/gi, +ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:GET|HEAD)$/,Ra=/\[\]$/,T=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,Ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ha)return Ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b=== +"object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c("
    ").append(l.responseText.replace(nb,"")).find(f):l.responseText);d&&h.each(d,[l.responseText,k,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&& +!this.disabled&&(this.checked||ob.test(this.nodeName)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})}, +getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html", +script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| +!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var k=E[d];E[d]=function(m){if(c.isFunction(k))k(m);else{E[d]=B;try{delete E[d]}catch(p){}}f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);r&&r.removeChild(A)}}if(b.dataType==="script"&&b.cache===null)b.cache= +false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].toLowerCase()!==location.protocol||o[2].toLowerCase()!==location.host);if(b.dataType==="script"&&h==="GET"&&o){var r=t.getElementsByTagName("head")[0]||t.documentElement,A=t.createElement("script");if(b.scriptCharset)A.charset=b.scriptCharset; +A.src=b.url;if(!d){var C=false;A.onload=A.onreadystatechange=function(){if(!C&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){C=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);A.onload=A.onreadystatechange=null;r&&A.parentNode&&r.removeChild(A)}}}r.insertBefore(A,r.firstChild);return B}var J=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contentType)w.setRequestHeader("Content-Type", +b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}o||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(I){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&& +c.triggerGlobal(b,"ajaxSend",[w,b]);var L=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){J||c.handleComplete(b,w,e,f);J=true;if(w)w.onreadystatechange=c.noop}else if(!J&&w&&(w.readyState===4||m==="timeout")){J=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| +c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&Function.prototype.call.call(g,w);L("abort")}}catch(i){}b.async&&b.timeout>0&&setTimeout(function(){w&&!J&&L("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleError(b,w,null,n);c.handleComplete(b,w,e,f)}b.async||L();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]= +encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===B)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess", +[b,a])},handleComplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"), +e=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}}); +if(E.ActiveXObject)c.ajaxSettings.xhr=function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show", +3),a,b,d);else{d=0;for(var e=this.length;d=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, +d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a* +Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(l){return f.step(l)} +var f=this,h=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;e.elem=this.elem;if(e()&&c.timers.push(e)&&!ba)ba=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; +this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(k,o){f.style["overflow"+o]=h.overflow[k]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| +this.options.show)for(var l in this.options.curAnim)c.style(this.elem,l,this.options.orig[l]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= +c.timers,b=0;b-1;e={};var x={};if(o)x=f.position();l=o?x.top:parseInt(l,10)||0;k=o?x.left:parseInt(k,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+l;if(b.left!=null)e.left=b.left-h.left+k;"using"in b?b.using.call(a, +e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Ia.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||t.body;a&&!Ia.test(a.nodeName)&& +c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==B)return this.each(function(){if(h=fa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=fa(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase(); +c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(l){var k=c(this);k[d](e.call(this,l,k[d]()))});if(c.isWindow(f))return f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b];else if(f.nodeType===9)return Math.max(f.documentElement["client"+ +b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===B){f=c.css(f,d);var h=parseFloat(f);return c.isNaN(h)?f:h}else return this.css(d,typeof e==="string"?e:e+"px")}})})(window); diff --git a/templates/Froxlor/login/fpwd.tpl b/templates/Froxlor/login/fpwd.tpl new file mode 100644 index 00000000..1764e47d --- /dev/null +++ b/templates/Froxlor/login/fpwd.tpl @@ -0,0 +1,37 @@ +$header + +$footer + diff --git a/templates/Froxlor/login/login.tpl b/templates/Froxlor/login/login.tpl new file mode 100644 index 00000000..1525f7a7 --- /dev/null +++ b/templates/Froxlor/login/login.tpl @@ -0,0 +1,59 @@ +$header + +$footer diff --git a/templates/Froxlor/misc/alreadyinstalledhint.tpl b/templates/Froxlor/misc/alreadyinstalledhint.tpl new file mode 100644 index 00000000..95f433e9 --- /dev/null +++ b/templates/Froxlor/misc/alreadyinstalledhint.tpl @@ -0,0 +1,38 @@ + + + + + + + + + + + Froxlor Server Management Panel - Installation + + +
    + +
    + + + + diff --git a/templates/Froxlor/misc/configurehint.tpl b/templates/Froxlor/misc/configurehint.tpl new file mode 100644 index 00000000..b9aee733 --- /dev/null +++ b/templates/Froxlor/misc/configurehint.tpl @@ -0,0 +1,38 @@ + + + + + + + + + + + Froxlor Server Management Panel - Installation + + +
    + +
    + + + + diff --git a/templates/Froxlor/misc/error.tpl b/templates/Froxlor/misc/error.tpl new file mode 100644 index 00000000..038b2d2d --- /dev/null +++ b/templates/Froxlor/misc/error.tpl @@ -0,0 +1,8 @@ +$header +
    +
    +
    {$lng['error']['error']}
    +
    $error
    +
    +
    +$footer diff --git a/templates/Froxlor/misc/form/input_text.tpl b/templates/Froxlor/misc/form/input_text.tpl new file mode 100644 index 00000000..2cd8b1d6 --- /dev/null +++ b/templates/Froxlor/misc/form/input_text.tpl @@ -0,0 +1 @@ +{$ulfield} diff --git a/templates/Froxlor/misc/form/input_textarea.tpl b/templates/Froxlor/misc/form/input_textarea.tpl new file mode 100644 index 00000000..c622fc6f --- /dev/null +++ b/templates/Froxlor/misc/form/input_textarea.tpl @@ -0,0 +1 @@ + diff --git a/templates/Froxlor/misc/form/table_row.tpl b/templates/Froxlor/misc/form/table_row.tpl new file mode 100644 index 00000000..9115adf2 --- /dev/null +++ b/templates/Froxlor/misc/form/table_row.tpl @@ -0,0 +1,12 @@ +
    + + + + + diff --git a/templates/Froxlor/misc/form/table_section.tpl b/templates/Froxlor/misc/form/table_section.tpl new file mode 100644 index 00000000..7340dbb0 --- /dev/null +++ b/templates/Froxlor/misc/form/table_section.tpl @@ -0,0 +1,9 @@ + + + + diff --git a/templates/Froxlor/misc/htmlarrowcode.tpl b/templates/Froxlor/misc/htmlarrowcode.tpl new file mode 100644 index 00000000..ff4d717f --- /dev/null +++ b/templates/Froxlor/misc/htmlarrowcode.tpl @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/Froxlor/misc/htmlsearchcode.tpl b/templates/Froxlor/misc/htmlsearchcode.tpl new file mode 100644 index 00000000..247a1bda --- /dev/null +++ b/templates/Froxlor/misc/htmlsearchcode.tpl @@ -0,0 +1,6 @@ +{$lng['panel']['search']}:  +  +  + diff --git a/templates/Froxlor/misc/htmlsortcode.tpl b/templates/Froxlor/misc/htmlsortcode.tpl new file mode 100644 index 00000000..99793519 --- /dev/null +++ b/templates/Froxlor/misc/htmlsortcode.tpl @@ -0,0 +1,7 @@ + +{$breakorws} +  diff --git a/templates/Froxlor/misc/question_yesno.tpl b/templates/Froxlor/misc/question_yesno.tpl new file mode 100644 index 00000000..7b33eee8 --- /dev/null +++ b/templates/Froxlor/misc/question_yesno.tpl @@ -0,0 +1,19 @@ +$header +
    +
    +
    +
    {$lng['question']['question']}
    +
    + $text +
    + + + {$hiddenparams} +   + +
    +
    +
    + +
    +$footer diff --git a/templates/Froxlor/misc/question_yesno_checkbox.tpl b/templates/Froxlor/misc/question_yesno_checkbox.tpl new file mode 100644 index 00000000..02ad6c77 --- /dev/null +++ b/templates/Froxlor/misc/question_yesno_checkbox.tpl @@ -0,0 +1,20 @@ +$header +
    +
    +
    +
    {$lng['question']['question']}
    +
    + $text +
    $checkbox
    +
    + + + {$hiddenparams} +   + +
    +
    +
    + +
    +$footer diff --git a/templates/Froxlor/misc/success.tpl b/templates/Froxlor/misc/success.tpl new file mode 100644 index 00000000..d5fd4d46 --- /dev/null +++ b/templates/Froxlor/misc/success.tpl @@ -0,0 +1,13 @@ +$header +
    +
    +
    {$lng['success']['success']}
    +
    + $success_message + +

    {$lng['success']['clickheretocontinue']} +
    +
    +
    +
    +$footer diff --git a/templates/Froxlor/navigation_element.tpl b/templates/Froxlor/navigation_element.tpl new file mode 100644 index 00000000..d3159452 --- /dev/null +++ b/templates/Froxlor/navigation_element.tpl @@ -0,0 +1,6 @@ + diff --git a/templates/Froxlor/navigation_link.tpl b/templates/Froxlor/navigation_link.tpl new file mode 100644 index 00000000..7053cc71 --- /dev/null +++ b/templates/Froxlor/navigation_link.tpl @@ -0,0 +1 @@ +
  • {$completeLink}
  • diff --git a/templates/admin/admins/admins_add.tpl b/templates/admin/admins/admins_add.tpl deleted file mode 100644 index 11576a81..00000000 --- a/templates/admin/admins/admins_add.tpl +++ /dev/null @@ -1,147 +0,0 @@ -$header - - - - - -
    + {$data_field} +
    + {$title} {$title} + + + +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['admin_add']}
    -  {$lng['admin']['accountdata']} - - -
    {$lng['login']['username']}: *
    {$lng['login']['password']}: *
    {$lng['login']['language']}:
    -  {$lng['admin']['contactdata']} - - -
    {$lng['customer']['name']}: **
    {$lng['customer']['email']}: *
    -  {$lng['admin']['servicedata']} - - -
    {$lng['serversettings']['ipaddress']['title']}:
    {$lng['admin']['change_serversettings']}$change_serversettings
    {$lng['admin']['customers']}: * {$customers_ul}
    {$lng['admin']['customers_see_all']}$customers_see_all
    {$lng['admin']['domains']}: * {$domains_ul}
    {$lng['admin']['domains_see_all']}$domains_see_all
    {$lng['admin']['caneditphpsettings']}$caneditphpsettings
    {$lng['customer']['diskspace']}: * {$diskspace_ul}
    {$lng['customer']['traffic']}: * {$traffic_ul}
    {$lng['customer']['subdomains']}: * {$subdomains_ul}
    {$lng['customer']['emails']}: * {$emails_ul}
    {$lng['customer']['accounts']}: * {$email_accounts_ul}
    {$lng['customer']['forwarders']}: * {$email_forwarders_ul}
    {$lng['customer']['email_quota']}: * {$email_quota_ul}
    {$lng['customer']['autoresponder']}: {$email_autoresponder_ul}
    {$lng['customer']['ftps']}: * {$ftps_ul}
    {$lng['customer']['tickets']}: * {$tickets_ul}
    {$lng['customer']['mysqls']}: * {$mysqls_ul}
    {$lng['aps']['canmanagepackages']}:$can_manage_aps_packages
    {$lng['aps']['numberofapspackages']}: {$number_of_aps_packages_ul}
    - -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/admins/admins_edit.tpl b/templates/admin/admins/admins_edit.tpl deleted file mode 100644 index 5cc8d3ad..00000000 --- a/templates/admin/admins/admins_edit.tpl +++ /dev/null @@ -1,174 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['admin_edit']}
    -  {$lng['admin']['accountdata']} - - -
    {$lng['login']['username']}:{$result['loginname']}
    {$lng['error']['youcanteditallfieldsofyourself']}
    {$lng['admin']['deactivated_user']}?$deactivated
    {$lng['login']['password']} ({$lng['panel']['emptyfornochanges']}):
    {$lng['login']['language']}:
    -  {$lng['admin']['contactdata']} - - -
    {$lng['customer']['name']}: **
    {$lng['customer']['email']}: *
    {$lng['error']['youcanteditallfieldsofyourself']}
    -  {$lng['admin']['servicedata']} - - -
    {$lng['serversettings']['ipaddress']['title']}:
    {$lng['admin']['change_serversettings']}$change_serversettings
    {$lng['admin']['customers']}: * {$customers_ul}
    {$lng['admin']['customers_see_all']}$customers_see_all
    {$lng['admin']['domains']}: * {$domains_ul}
    {$lng['admin']['domains_see_all']}$domains_see_all
    {$lng['admin']['caneditphpsettings']}$caneditphpsettings
    {$lng['customer']['diskspace']}: * {$diskspace_ul}
    {$lng['customer']['traffic']}: * {$traffic_ul}
    {$lng['customer']['subdomains']}: * {$subdomains_ul}
    {$lng['customer']['emails']}: * {$emails_ul}
    {$lng['customer']['accounts']}: * {$email_accounts_ul}
    {$lng['customer']['forwarders']}: * {$email_forwarders_ul}
    {$lng['customer']['email_quota']}: * {$email_quota_ul}
    {$lng['customer']['autoresponder']}: {$email_autoresponder_ul}
    {$lng['customer']['ftps']}: * {$ftps_ul}
    {$lng['customer']['tickets']}: * {$tickets_ul}
    {$lng['customer']['mysqls']}: * {$mysqls_ul}
    {$lng['aps']['canmanagepackages']}:$can_manage_aps_packages
    {$lng['aps']['numberofapspackages']}: {$number_of_aps_packages_ul}
    -
    -
    - - - - - - - -
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/configfiles/choose.tpl b/templates/admin/configfiles/choose.tpl deleted file mode 100644 index 73ea2539..00000000 --- a/templates/admin/configfiles/choose.tpl +++ /dev/null @@ -1,10 +0,0 @@ -$header - - - - - $distributions -
     {$lng['admin']['configfiles']['serverconfiguration']} [{$lng['admin']['configfiles']['wizard']}]
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/configfiles/configfiles.tpl b/templates/admin/configfiles/configfiles.tpl deleted file mode 100644 index 33e25a8f..00000000 --- a/templates/admin/configfiles/configfiles.tpl +++ /dev/null @@ -1,15 +0,0 @@ -$header - - - - - {$configpage} - - - - - -
     {$configfiles[$distribution]['label']} » {$configfiles[$distribution]['services'][$service]['label']} » {$configfiles[$distribution]['services'][$service]['daemons'][$daemon]['label']} [{$lng['panel']['back']}]
    {$lng['admin']['configfiles']['restart']}

    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/cronjobs/cronjob_edit.tpl b/templates/admin/cronjobs/cronjob_edit.tpl deleted file mode 100644 index be9e9d1a..00000000 --- a/templates/admin/cronjobs/cronjob_edit.tpl +++ /dev/null @@ -1,48 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['cronjob_edit']}
    -  {$lng['cronjob']['cronjobsettings']} - - -
    Cronjob:{$result['cronfile']}
    {$lng['admin']['activated']}:{$isactive}
    {$lng['cronjob']['cronjobinterval']}: -   - -
    - -
    -
    -
    -
    -$footer diff --git a/templates/admin/customers/customers_add.tpl b/templates/admin/customers/customers_add.tpl deleted file mode 100644 index 9bad6a09..00000000 --- a/templates/admin/customers/customers_add.tpl +++ /dev/null @@ -1,189 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['customer_add']}
    -  {$lng['admin']['accountdata']} - - -
    {$lng['login']['username']}:
    {$lng['admin']['stdsubdomain_add']}?$createstdsubdomain
    {$lng['admin']['store_defaultindex']}?$store_defaultindex
    {$lng['login']['password']}:
    {$lng['admin']['sendpassword']}?$sendpassword
    {$lng['login']['language']}:
    -  {$lng['admin']['contactdata']} - - -
    {$lng['customer']['name']}: **
    {$lng['customer']['firstname']}: **
    {$lng['customer']['company']}: **
    {$lng['customer']['street']}:
    {$lng['customer']['zipcode']}:
    {$lng['customer']['city']}:
    {$lng['customer']['phone']}:
    {$lng['customer']['fax']}:
    {$lng['customer']['email']}: *
    {$lng['customer']['customernumber']}:
    -  {$lng['admin']['servicedata']} - - -
    {$lng['customer']['diskspace']}: * {$diskspace_ul}
    {$lng['customer']['traffic']}: * {$traffic_ul}
    {$lng['customer']['subdomains']}: * {$subdomains_ul}
    {$lng['customer']['emails']}: * {$emails_ul}
    {$lng['customer']['accounts']}: * {$email_accounts_ul}
    {$lng['customer']['forwarders']}: * {$email_forwarders_ul}
    {$lng['customer']['email_quota']}: * {$email_quota_ul}
    {$lng['customer']['autoresponder']}: {$email_autoresponder_ul}
    {$lng['customer']['email_imap']}: *$email_imap
    {$lng['customer']['email_pop3']}: *$email_pop3
    {$lng['customer']['ftps']}: * {$ftps_ul}
    {$lng['customer']['tickets']}: * {$tickets_ul}
    {$lng['customer']['mysqls']}: * {$mysqls_ul}
    {$lng['admin']['phpenabled']}?$phpenabled
    {$lng['admin']['perlenabled']}?$perlenabled
    {$lng['aps']['numberofapspackages']}: {$number_of_aps_packages_ul}
    - -
    -
    -
    - - - - - - - -
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    -
    -
    -$footer diff --git a/templates/admin/customers/customers_edit.tpl b/templates/admin/customers/customers_edit.tpl deleted file mode 100644 index 92e857ce..00000000 --- a/templates/admin/customers/customers_edit.tpl +++ /dev/null @@ -1,190 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['customer_edit']}
    -  {$lng['admin']['accountdata']} - - -
    {$lng['login']['username']}:{$result['loginname']}
    {$lng['customer']['documentroot']}:{$result['documentroot']}
    {$lng['admin']['stdsubdomain_add']}?
    ({$result['loginname']}.{$settings['system']['hostname']})
    $createstdsubdomain
    {$lng['admin']['deactivated_user']}?$deactivated
    {$lng['login']['password']} ({$lng['panel']['emptyfornochanges']}):
    {$lng['login']['language']}:
    -  {$lng['admin']['contactdata']} - - -
    {$lng['customer']['name']}: **
    {$lng['customer']['firstname']}: **
    {$lng['customer']['company']}: **
    {$lng['customer']['street']}:
    {$lng['customer']['zipcode']}:
    {$lng['customer']['city']}:
    {$lng['customer']['phone']}:
    {$lng['customer']['fax']}:
    {$lng['customer']['email']}: *
    {$lng['customer']['customernumber']}:
    -  {$lng['admin']['servicedata']} - - -
    {$lng['customer']['diskspace']}: * {$diskspace_ul}
    {$lng['customer']['traffic']}: * {$traffic_ul}
    {$lng['customer']['subdomains']}: * {$subdomains_ul}
    {$lng['customer']['emails']}: * {$emails_ul}
    {$lng['customer']['accounts']}: * {$email_accounts_ul}
    {$lng['customer']['forwarders']}: * {$email_forwarders_ul}
    {$lng['customer']['email_quota']} ({$lng['panel']['megabyte']}): * {$email_quota_ul}
    {$lng['customer']['autoresponder']}: {$email_autoresponder_ul}
    {$lng['customer']['email_imap']}: *$email_imap
    {$lng['customer']['email_pop3']}: *$email_pop3
    {$lng['customer']['ftps']}: * {$ftps_ul}
    {$lng['customer']['tickets']}: * {$tickets_ul}
    {$lng['customer']['mysqls']}: * {$mysqls_ul}
    {$lng['admin']['phpenabled']}?$phpenabled
    {$lng['admin']['perlenabled']}?$perlenabled
    {$lng['aps']['numberofapspackages']}: {$number_of_aps_packages_ul}
    - -
    -
    -
    - - - - - - - -
    *: {$lng['admin']['valuemandatory']}
    **: {$lng['admin']['valuemandatorycompany']}
    -
    -
    -$footer diff --git a/templates/admin/domains/domains_add.tpl b/templates/admin/domains/domains_add.tpl deleted file mode 100644 index 6ef06d73..00000000 --- a/templates/admin/domains/domains_add.tpl +++ /dev/null @@ -1,190 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['domain_add']}
    -  {$lng['domains']['domainsettings']} - - -
    Domain:
    {$lng['admin']['customer']}:
    {$lng['admin']['admin']}:
    {$lng['domains']['aliasdomain']}:
    {$lng['domains']['issubof']}:
    {$lng['domains']['issubofinfo']}
    {$lng['admin']['domain_edit']}:$caneditdomain
    {$lng['domains']['add_date']}: ({$lng['panel']['dateformat']}){$add_date}
    {$lng['domains']['registration_date']}: ({$lng['panel']['dateformat']})
    -  {$lng['admin']['webserversettings']} - - -
    DocumentRoot:
    ({$lng['panel']['emptyfordefault']})
    IP/Port:
    SSL:$ssl
    SSL Redirect:$ssl_redirect
    SSL IP/Port:
    {$lng['panel']['nosslipsavailable']}
    {$lng['admin']['wwwserveralias']}:$wwwserveralias
    Speciallogfile:$speciallogfile
    {$lng['admin']['ownvhostsettings']}:
    {$lng['serversettings']['default_vhostconf']['description']}
    -  {$lng['admin']['phpserversettings']} - - -
    OpenBasedir:$openbasedir
    Safemode:$safemode
    {$lng['admin']['phpsettings']['title']}
    {$lng['admin']['mod_fcgid_starter']['title']}
    {$lng['admin']['mod_fcgid_maxrequests']['title']}
    -  {$lng['admin']['nameserversettings']} - - -
    Nameserver:$isbinddomain
    Zonefile:
    ({$lng['panel']['emptyfordefault']})
    -  {$lng['admin']['mailserversettings']} - - -
    {$lng['admin']['emaildomain']}:$isemaildomain
    {$lng['admin']['email_only']}:$email_only
    {$lng['admin']['subdomainforemail']}:
    DomainKeys:$dkim
    - -
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/domains/domains_edit.tpl b/templates/admin/domains/domains_edit.tpl deleted file mode 100644 index 7486830f..00000000 --- a/templates/admin/domains/domains_edit.tpl +++ /dev/null @@ -1,201 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['domain_edit']}
    -  {$lng['domains']['domainsettings']} - - -
    Domain:{$result['domain']}
    {$lng['admin']['customer']}:{$result['customername']}
    {$lng['admin']['admin']}:{$result['adminname']}
    {$lng['domains']['aliasdomain']}:
    {$lng['domains']['issubof']}:
    {$lng['domains']['issubofinfo']}
    {$lng['domains']['associated_with_domain']}:{$subdomains} {$lng['customer']['subdomains']}, {$alias_check} {$lng['domains']['aliasdomains']}, {$emails} {$lng['customer']['emails']}, {$email_accounts} {$lng['customer']['accounts']}, {$email_forwarders} {$lng['customer']['forwarders']}
    {$lng['admin']['domain_edit']}:$caneditdomain
    {$lng['domains']['add_date']}: ({$lng['panel']['dateformat']}){$result['add_date']}
    {$lng['domains']['registration_date']}: ({$lng['panel']['dateformat']})
    -  {$lng['admin']['webserversettings']} - - -
    DocumentRoot:
    ({$lng['panel']['emptyfordefault']})
    IP/Port:
    SSL:$ssl
    SSL Redirect:$ssl_redirect
    SSL IP/Port:
    {$lng['panel']['nosslipsavailable']}
    {$lng['admin']['wwwserveralias']}:$wwwserveralias
    Speciallogfile:$speciallogfile
    {$lng['admin']['ownvhostsettings']}:
    {$lng['serversettings']['default_vhostconf']['description']}
    {$lng['admin']['specialsettingsforsubdomains']}:
    {$lng['serversettings']['specialsettingsforsubdomains']['description']}
    {$specialsettingsforsubdomains}
    -  {$lng['admin']['phpserversettings']} - - -
    OpenBasedir:$openbasedir
    Safemode:$safemode
    {$lng['admin']['phpsettings']['title']}
    {$lng['admin']['mod_fcgid_starter']['title']}
    {$lng['admin']['mod_fcgid_maxrequests']['title']}
    -  {$lng['admin']['nameserversettings']} - - -
    Nameserver:$isbinddomain
    Zonefile:
    ({$lng['panel']['emptyfordefault']})
    -  {$lng['admin']['mailserversettings']} - - -
    {$lng['admin']['emaildomain']}:$isemaildomain
    {$lng['admin']['email_only']}:$email_only
    {$lng['admin']['subdomainforemail']}:
    DomainKeys:$dkim
    - -
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/ipsandports/ipsandports_add.tpl b/templates/admin/ipsandports/ipsandports_add.tpl deleted file mode 100644 index 49d83f5b..00000000 --- a/templates/admin/ipsandports/ipsandports_add.tpl +++ /dev/null @@ -1,117 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['ipsandports']['add']}
    -  {$lng['admin']['ipsandports']['ipandport']} - - -
    {$lng['admin']['ipsandports']['ip']}:
    {$lng['admin']['ipsandports']['port']}:
    -  {$lng['admin']['ipsandports']['webserverdefaultconfig']} - - -
    {$lng['admin']['ipsandports']['create_listen_statement']}:$listen_statement
    {$lng['admin']['ipsandports']['create_namevirtualhost_statement']}: -
    {$lng['panel']['not_supported']}lighttpd
    -
    $namevirtualhost_statement
    {$lng['admin']['ipsandports']['create_vhostcontainer']}: -
    {$lng['panel']['not_supported']}lighttpd
    -
    $vhostcontainer
    {$lng['admin']['ipsandports']['docroot']['title']}:
    {$lng['admin']['ipsandports']['docroot']['description']}
    {$lng['admin']['ownvhostsettings']}:
    {$lng['serversettings']['default_vhostconf']['description']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    {$lng['admin']['ipsandports']['create_vhostcontainer_servername_statement']}: -
    {$lng['panel']['not_supported']}lighttpd
    -
    $vhostcontainer_servername_statement
    -  {$lng['admin']['ipsandports']['webserverdomainconfig']} - - -
    {$lng['admin']['ipsandports']['default_vhostconf_domain']}:
    {$lng['serversettings']['default_vhostconf']['description']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    -  {$lng['admin']['ipsandports']['webserverssldomainconfig']} - - -
    {$lng['admin']['ipsandports']['enable_ssl']}$enable_ssl
    {$lng['admin']['ipsandports']['ssl_cert_file']}:
    {$lng['admin']['ipsandports']['ssl_key_file']}:
    {$lng['admin']['ipsandports']['ssl_ca_file']}:
    {$lng['admin']['ipsandports']['ssl_cert_chainfile']}:
    -
    -
    -
    -$footer diff --git a/templates/admin/ipsandports/ipsandports_edit.tpl b/templates/admin/ipsandports/ipsandports_edit.tpl deleted file mode 100644 index 3566fbdf..00000000 --- a/templates/admin/ipsandports/ipsandports_edit.tpl +++ /dev/null @@ -1,114 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['admin']['ipsandports']['edit']}
    -  {$lng['admin']['ipsandports']['ipandport']} - - -
    {$lng['admin']['ipsandports']['ip']}:
    {$lng['admin']['ipsandports']['port']}:
    -  {$lng['admin']['ipsandports']['webserverdefaultconfig']} - - -
    {$lng['admin']['ipsandports']['create_listen_statement']}:$listen_statement
    {$lng['admin']['ipsandports']['create_namevirtualhost_statement']}: -
    {$lng['panel']['not_supported']}lighttpd
    -
    $namevirtualhost_statement
    {$lng['admin']['ipsandports']['create_vhostcontainer']}:$vhostcontainer
    {$lng['admin']['ipsandports']['docroot']['title']}:
    {$lng['admin']['ipsandports']['docroot']['description']}
    {$lng['admin']['ownvhostsettings']}:
    {$lng['serversettings']['default_vhostconf']['description']}
    {$lng['admin']['ipsandports']['create_vhostcontainer_servername_statement']}: -
    {$lng['panel']['not_supported']}lighttpd
    -
    $vhostcontainer_servername_statement
    -  {$lng['admin']['ipsandports']['webserverdomainconfig']} - - -
    {$lng['admin']['ipsandports']['default_vhostconf_domain']}:
    {$lng['serversettings']['default_vhostconf']['description']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    -  {$lng['admin']['ipsandports']['webserverssldomainconfig']} - - -
    {$lng['admin']['ipsandports']['enable_ssl']}$enable_ssl
    {$lng['admin']['ipsandports']['ssl_cert_file']}:
    {$lng['admin']['ipsandports']['ssl_key_file']}:
    {$lng['admin']['ipsandports']['ssl_ca_file']}:
    {$lng['admin']['ipsandports']['ssl_cert_chainfile']}:
    -
    -
    -
    -$footer diff --git a/templates/admin/ticket/tickets_editcategory.tpl b/templates/admin/ticket/tickets_editcategory.tpl deleted file mode 100644 index 5b4c125e..00000000 --- a/templates/admin/ticket/tickets_editcategory.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - -
     {$lng['ticket']['ticket_editcateory']}
    {$lng['ticket']['category']}:
    {$lng['ticket']['logicalorder']}:
    {$lng['ticket']['orderdesc']}
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/ticket/tickets_new.tpl b/templates/admin/ticket/tickets_new.tpl deleted file mode 100644 index fd1fe585..00000000 --- a/templates/admin/ticket/tickets_new.tpl +++ /dev/null @@ -1,39 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['ticket']['ticket_new']}
    {$lng['ticket']['customer']}:
    {$lng['ticket']['subject']}:
    {$lng['ticket']['priority']}:
    {$lng['ticket']['category']}:
    {$lng['ticket']['message']}:
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/ticket/tickets_newcategory.tpl b/templates/admin/ticket/tickets_newcategory.tpl deleted file mode 100644 index 80020677..00000000 --- a/templates/admin/ticket/tickets_newcategory.tpl +++ /dev/null @@ -1,25 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - -
     {$lng['ticket']['ticket_newcateory']}
    {$lng['ticket']['category']}:
    {$lng['ticket']['logicalorder']}:
    {$lng['ticket']['orderdesc']}
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/admin/ticket/tickets_reply.tpl b/templates/admin/ticket/tickets_reply.tpl deleted file mode 100644 index f7474cba..00000000 --- a/templates/admin/ticket/tickets_reply.tpl +++ /dev/null @@ -1,51 +0,0 @@ -$header -
    - - - - - - $ticket_replies - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['ticket']['ticket_reply']}
    {$lng['ticket']['subject']}:
    {$lng['ticket']['priority']}:
    {$lng['ticket']['category']}:{$row['name']}
    {$lng['ticket']['message']}:
    -
    - - - - - - - - -
     {$lng['ticket']['ticket_reopen']}
    {$lng['ticket']['ticket_reopen']}
    -
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/email/account_add.tpl b/templates/customer/email/account_add.tpl deleted file mode 100644 index 743389d0..00000000 --- a/templates/customer/email/account_add.tpl +++ /dev/null @@ -1,38 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['emails']['account_add']}
    {$lng['emails']['emailaddress']}:{$result['email_full']}
    {$lng['login']['password']}:
    {$lng['emails']['quota']} ({$lng['panel']['megabyte']}):
    {$lng['emails']['alternative_emailaddress']}:
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/email/account_changepw.tpl b/templates/customer/email/account_changepw.tpl deleted file mode 100644 index 1c42a6d9..00000000 --- a/templates/customer/email/account_changepw.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - -
     {$lng['menue']['main']['changepassword']}
    {$lng['emails']['emailaddress']}:{$result['email_full']}
    {$lng['login']['password']}:
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/email/account_changequota.tpl b/templates/customer/email/account_changequota.tpl deleted file mode 100644 index b39d30c7..00000000 --- a/templates/customer/email/account_changequota.tpl +++ /dev/null @@ -1,26 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - -
     {$lng['emails']['quota_edit']}
    {$lng['emails']['emailaddress']}:{$result['email_full']}
    {$lng['emails']['quota']} ({$lng['panel']['megabyte']}):
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/email/emails_add.tpl b/templates/customer/email/emails_add.tpl deleted file mode 100644 index 906256e7..00000000 --- a/templates/customer/email/emails_add.tpl +++ /dev/null @@ -1,31 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['emails']['emails_add']}
    {$lng['emails']['emailaddress']}: @
    {$lng['emails']['iscatchall']}$iscatchall
    {$lng['emails']['noemaildomainaddedyet']}
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/email/emails_edit.tpl b/templates/customer/email/emails_edit.tpl deleted file mode 100644 index 2dbef322..00000000 --- a/templates/customer/email/emails_edit.tpl +++ /dev/null @@ -1,46 +0,0 @@ -$header - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['emails']['emails_edit']}
    {$lng['emails']['emailaddress']}:{$result['email_full']}
    {$lng['emails']['account']}: - - {$lng['panel']['yes']} [{$lng['menue']['main']['changepassword']}] [{$lng['emails']['account_delete']}] - - - {$lng['panel']['no']} [{$lng['emails']['account_add']}] - -
    {$lng['customer']['email_quota']}:{$result['quota']} {$lng['panel']['megabyte']} [{$lng['emails']['quota_edit']}]
    {$lng['emails']['catchall']}: - - {$lng['panel']['yes']} - - - {$lng['panel']['no']} - - [{$lng['panel']['toggle']}] -
    {$lng['emails']['forwarders']} ({$forwarders_count}):$forwarders{$lng['emails']['forwarder_add']}
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/email/forwarder_add.tpl b/templates/customer/email/forwarder_add.tpl deleted file mode 100644 index e02f3f75..00000000 --- a/templates/customer/email/forwarder_add.tpl +++ /dev/null @@ -1,29 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - -
     {$lng['emails']['forwarder_add']}
    {$lng['emails']['from']}:{$result['email_full']}
    {$lng['emails']['to']}:
     
    -
    -
    -
    - -$footer diff --git a/templates/customer/extras/htaccess_add.tpl b/templates/customer/extras/htaccess_add.tpl deleted file mode 100644 index c7464364..00000000 --- a/templates/customer/extras/htaccess_add.tpl +++ /dev/null @@ -1,50 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['extras']['pathoptions_add']}
    - {$lng['panel']['path']}:
    - {$lng['panel']['pathDescription']} -
    {$pathSelect}
    {$lng['extras']['directory_browsing']}:$options_indexes
    {$lng['extras']['errordocument404path']}:
    {$lng['panel']['descriptionerrordocument']}
    {$lng['extras']['errordocument403path']}:
    {$lng['panel']['descriptionerrordocument']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    {$lng['extras']['errordocument500path']}:
    {$lng['panel']['descriptionerrordocument']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    {$lng['extras']['execute_perl']}:$options_cgi
    -
    -
    -
    -$footer diff --git a/templates/customer/extras/htaccess_edit.tpl b/templates/customer/extras/htaccess_edit.tpl deleted file mode 100644 index 948f3b35..00000000 --- a/templates/customer/extras/htaccess_edit.tpl +++ /dev/null @@ -1,48 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['extras']['pathoptions_edit']}
    {$lng['panel']['path']}:{$result['path']}
    {$lng['extras']['directory_browsing']}:$options_indexes
    {$lng['extras']['errordocument404path']}:
    {$lng['panel']['descriptionerrordocument']}
    {$lng['extras']['errordocument403path']}:
    {$lng['panel']['descriptionerrordocument']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    {$lng['extras']['errordocument500path']}:
    {$lng['panel']['descriptionerrordocument']} -
    {$lng['panel']['not_supported']}lighttpd
    -
    {$lng['extras']['execute_perl']}:$options_cgi
    -
    -
    -
    -$footer diff --git a/templates/customer/extras/htpasswds_add.tpl b/templates/customer/extras/htpasswds_add.tpl deleted file mode 100644 index 37ad1ff2..00000000 --- a/templates/customer/extras/htpasswds_add.tpl +++ /dev/null @@ -1,36 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['extras']['directoryprotection_add']}
    - {$lng['panel']['path']}:
    - {$lng['panel']['pathDescription']} -
    {$pathSelect}
    {$lng['login']['username']}:
    {$lng['login']['password']}:
    {$lng['extras']['htpasswdauthname']}:
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/extras/htpasswds_edit.tpl b/templates/customer/extras/htpasswds_edit.tpl deleted file mode 100644 index 3dbd0aed..00000000 --- a/templates/customer/extras/htpasswds_edit.tpl +++ /dev/null @@ -1,34 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['extras']['directoryprotection_edit']}
    {$lng['panel']['path']}:{$result['path']}
    {$lng['login']['username']}:{$result['username']}
    {$lng['login']['password']}:
    {$lng['extras']['htpasswdauthname']}:
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/ftp/accounts_add.tpl b/templates/customer/ftp/accounts_add.tpl deleted file mode 100644 index cf44947c..00000000 --- a/templates/customer/ftp/accounts_add.tpl +++ /dev/null @@ -1,39 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['ftp']['account_add']}
    {$lng['login']['username']}:
    {$lng['domains']['domainname']}:
    {$lng['panel']['path']}:
    {$lng['panel']['pathDescription']}
    {$pathSelect}
    {$lng['login']['password']}:
    {$lng['customer']['sendinfomail']}:{$sendinfomail}
    -
    -
    -
    -$footer diff --git a/templates/customer/ftp/accounts_edit.tpl b/templates/customer/ftp/accounts_edit.tpl deleted file mode 100644 index 6ad62c55..00000000 --- a/templates/customer/ftp/accounts_edit.tpl +++ /dev/null @@ -1,30 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['ftp']['account_edit']}
    {$lng['login']['username']}:{$result['username']}
    {$lng['panel']['path']}:
    {$lng['panel']['pathDescription']}
    {$pathSelect}
    {$lng['login']['password']}:
    {$lng['ftp']['editpassdescription']}
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/mysql/mysqls_add.tpl b/templates/customer/mysql/mysqls_add.tpl deleted file mode 100644 index 608d8e8a..00000000 --- a/templates/customer/mysql/mysqls_add.tpl +++ /dev/null @@ -1,35 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['mysql']['database_create']}
    {$lng['mysql']['databasedescription']}:
    {$lng['mysql']['mysql_server']}:
    {$lng['login']['password']}:
    {$lng['customer']['sendinfomail']}:{$sendinfomail}
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/mysql/mysqls_edit.tpl b/templates/customer/mysql/mysqls_edit.tpl deleted file mode 100644 index b7d900fb..00000000 --- a/templates/customer/mysql/mysqls_edit.tpl +++ /dev/null @@ -1,36 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['mysql']['database_edit']}
    {$lng['mysql']['databasename']}:{$result['databasename']}
    {$lng['mysql']['databasedescription']}:
    {$lng['mysql']['mysql_server']}:{$sql_root[$result['dbserver']]['caption']}
    {$lng['changepassword']['new_password_ifnotempty']}:
    -
    -
    -
    -$footer diff --git a/templates/customer/ticket/tickets_new.tpl b/templates/customer/ticket/tickets_new.tpl deleted file mode 100644 index 83be09b3..00000000 --- a/templates/customer/ticket/tickets_new.tpl +++ /dev/null @@ -1,35 +0,0 @@ -$header -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['ticket']['ticket_new']}
    {$lng['ticket']['subject']}:
    {$lng['ticket']['priority']}:
    {$lng['ticket']['category']}:
    {$lng['ticket']['message']}:
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/ticket/tickets_reply.tpl b/templates/customer/ticket/tickets_reply.tpl deleted file mode 100644 index 7ccdf2c3..00000000 --- a/templates/customer/ticket/tickets_reply.tpl +++ /dev/null @@ -1,51 +0,0 @@ -$header -
    - - - - - - $ticket_replies - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     {$lng['ticket']['ticket_reply']}
    {$lng['ticket']['subject']}:
    {$lng['ticket']['priority']}:
    {$lng['ticket']['category']}:{$row['name']}
    {$lng['ticket']['message']}:
    -
    - - - - - - - - -
     {$lng['ticket']['ticket_reopen']}
    {$lng['ticket']['ticket_reopen']}
    -
    -
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/customer/traffic/traffic_month.tpl b/templates/customer/traffic/traffic_month.tpl deleted file mode 100644 index 7e732967..00000000 --- a/templates/customer/traffic/traffic_month.tpl +++ /dev/null @@ -1,5 +0,0 @@ - - {$traf['day']}.   -

    - {$traf['byte']} - diff --git a/templates/customer/traffic/traffic_traffic.tpl b/templates/customer/traffic/traffic_traffic.tpl deleted file mode 100644 index f354eb62..00000000 --- a/templates/customer/traffic/traffic_traffic.tpl +++ /dev/null @@ -1,7 +0,0 @@ - - - {$traf['monthname']} - - {$traf['ftptext']}
    {$traf['httptext']}
    {$traf['mailtext']} - {$traf['byte']} - diff --git a/templates/misc/error.tpl b/templates/misc/error.tpl deleted file mode 100644 index a8714263..00000000 --- a/templates/misc/error.tpl +++ /dev/null @@ -1,13 +0,0 @@ -$header - - - - - - - - -
      {$lng['error']['error']}
    $error
    -
    -
    -$footer \ No newline at end of file diff --git a/templates/navigation_link.tpl b/templates/navigation_link.tpl deleted file mode 100644 index b6e95f50..00000000 --- a/templates/navigation_link.tpl +++ /dev/null @@ -1,2 +0,0 @@ -   {$completeLink} -
    \ No newline at end of file