Merge branch 'redesign' of git.froxlor.org:froxlor into redesign

This commit is contained in:
Michael Kaufmann (d00p)
2011-02-23 08:28:11 +01:00
111 changed files with 1749 additions and 1238 deletions

View File

@@ -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") . "\";");
}
}

View File

@@ -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") . "\";");
}
}

View File

@@ -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") . "\";");
}
}

View File

@@ -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") . "\";");
}
}

View File

@@ -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") . "\";");
}
}

View File

@@ -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") . "\";");
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 1016 B

After

Width:  |  Height:  |  Size: 1016 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 987 B

After

Width:  |  Height:  |  Size: 987 B

View File

Before

Width:  |  Height:  |  Size: 987 B

After

Width:  |  Height:  |  Size: 987 B

View File

Before

Width:  |  Height:  |  Size: 967 B

After

Width:  |  Height:  |  Size: 967 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 747 B

After

Width:  |  Height:  |  Size: 747 B

View File

Before

Width:  |  Height:  |  Size: 1011 B

After

Width:  |  Height:  |  Size: 1011 B

View File

Before

Width:  |  Height:  |  Size: 878 B

After

Width:  |  Height:  |  Size: 878 B

View File

Before

Width:  |  Height:  |  Size: 878 B

After

Width:  |  Height:  |  Size: 878 B

View File

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

View File

Before

Width:  |  Height:  |  Size: 978 B

After

Width:  |  Height:  |  Size: 978 B

1
lib/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
userdata.inc.php

View File

@@ -510,7 +510,7 @@ class paging
}
else
{
$pagingcode.= ' <strong>' . $i . '</strong>/nbsp;';
$pagingcode.= ' <strong>' . $i . '</strong>&nbsp;';
}
}

View File

@@ -293,7 +293,28 @@ milter_default_action = accept" >> /etc/postfix/main.cf',
)
),
'dovecot' => Array(
'label' => 'Dovecot',
'label' => 'Dovecot 1',
'commands_1' => Array(
'emerge -av dovecot',
'mv dovecot.conf dovecot.conf.gentoo',
'mv dovecot-sql.conf dovecot-sql.conf.gentoo',
'touch dovecot.conf',
'touch dovecot-sql.conf',
),
'files' => Array(
'etc_dovecot_dovecot.conf' => '/etc/dovecot/dovecot.conf',
'etc_dovecot_dovecot-sql.conf' => '/etc/dovecot/dovecot-sql.conf'
),
'commands_2' => Array(
'chmod 0640 /etc/dovecot/dovecot-sql.conf',
'rc-update add dovecot default'
),
'restart' => Array(
'/etc/init.d/dovecot restart'
)
),
'dovecot2' => Array(
'label' => 'Dovecot 2',
'commands_1' => Array(
'emerge -av dovecot',
'mv dovecot.conf dovecot.conf.gentoo',

View File

@@ -18,11 +18,11 @@
return array(
'admin_add' => array(
'title' => $lng['admin']['admin_add'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'sections' => array(
'section_a' => array(
'title' => $lng['admin']['accountdata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'fields' => array(
'loginname' => array(
'label' => $lng['login']['username'],
@@ -43,7 +43,7 @@ return array(
),
'section_b' => array(
'title' => $lng['admin']['contactdata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'fields' => array(
'name' => array(
'label' => $lng['customer']['name'],
@@ -59,7 +59,7 @@ return array(
),
'section_c' => array(
'title' => $lng['admin']['servicedata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'fields' => array(
'ipaddress' => array(
'label' => $lng['serversettings']['ipaddress']['title'],

View File

@@ -68,7 +68,7 @@ return array(
),
'section_c' => array(
'title' => $lng['admin']['servicedata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'visible' => ($result['adminid'] != $userinfo['userid'] ? true : false),
'fields' => array(
'ipaddress' => array(

View File

@@ -18,11 +18,11 @@
return array(
'customer_add' => array(
'title' => $lng['admin']['customer_add'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'sections' => array(
'section_a' => array(
'title' => $lng['admin']['accountdata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'fields' => array(
'new_loginname' => array(
'label' => $lng['login']['username'],
@@ -56,7 +56,7 @@ return array(
),
'section_b' => array(
'title' => $lng['admin']['contactdata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'fields' => array(
'name' => array(
'label' => $lng['customer']['name'],
@@ -106,7 +106,7 @@ return array(
),
'section_c' => array(
'title' => $lng['admin']['servicedata'],
'image' => 'icons/add_user.png',
'image' => 'icons/user_add.png',
'fields' => array(
'diskspace' => array(
'label' => $lng['customer']['diskspace'],

View File

@@ -18,11 +18,11 @@
return array(
'domain_add' => array(
'title' => $lng['admin']['domain_add'],
'image' => 'icons/add_domain.png',
'image' => 'icons/domain_add.png',
'sections' => array(
'section_a' => array(
'title' => $lng['domains']['domainsettings'],
'image' => 'icons/add_domain.png',
'image' => 'icons/domain_add.png',
'fields' => array(
'domain' => array(
'label' => 'Domain',
@@ -71,7 +71,7 @@ return array(
),
'section_b' => array(
'title' => $lng['admin']['webserversettings'],
'image' => 'icons/add_domain.png',
'image' => 'icons/domain_add.png',
'fields' => array(
'documentroot' => array(
'visible' => ($userinfo['change_serversettings'] == '1' ? true : false),
@@ -131,7 +131,7 @@ return array(
),
'section_c' => array(
'title' => $lng['admin']['phpserversettings'],
'image' => 'icons/add_domain.png',
'image' => 'icons/domain_add.png',
'visible' => (($userinfo['change_serversettings'] == '1' || $userinfo['caneditphpsettings'] == '1') ? true : false),
'fields' => array(
'openbasedir' => array(
@@ -164,7 +164,7 @@ return array(
),
'section_d' => array(
'title' => $lng['admin']['nameserversettings'],
'image' => 'icons/add_domain.png',
'image' => 'icons/domain_add.png',
'visible' => ($userinfo['change_serversettings'] == '1' ? true : false),
'fields' => array(
'isbinddomain' => array(
@@ -181,7 +181,7 @@ return array(
),
'section_e' => array(
'title' => $lng['admin']['mailserversettings'],
'image' => 'icons/add_domain.png',
'image' => 'icons/domain_add.png',
'fields' => array(
'isemaildomain' => array(
'label' => $lng['admin']['emaildomain'],

View File

@@ -0,0 +1,74 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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'
),
'domain' => array(
'label' => '@TODO up to subdomain-part',
'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),
'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
),
'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' => $redirectcode
),
'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
)
)
)
)
)
);

View File

@@ -0,0 +1,89 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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),
'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
),
'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
)
)
)
)
)
);

View File

@@ -0,0 +1,40 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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'
)
)
)
)
)
);

View File

@@ -0,0 +1,41 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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']
)
)
)
)
)
);

View File

@@ -0,0 +1,45 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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'
),
'domain' => array(
'label' => '@TODO up to email-part',
'type' => 'select',
'select_var' => $domains
),
'pathedit' => array(
'label' => $lng['emails']['iscatchall'],
'type' => 'yesno',
'yesno_var' => $iscatchall
)
)
)
)
)
);

View File

@@ -0,0 +1,52 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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'
)
)
)
)
)
);

View File

@@ -0,0 +1,40 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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'
)
)
)
)
)
);

View File

@@ -0,0 +1,64 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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'].'&nbsp;[<a href="'.$filename.'?page=accounts&amp;action=changepw&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['menue']['main']['changepassword'].'</a>] [<a href="'.$filename.'?page=accounts&amp;action=delete&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['emails']['account_delete'].'</a>]'
),
'account_no' => array(
'visible' => ($result['popaccountid'] == 0 ? true : false),
'label' => $lng['emails']['account'],
'type' => 'label',
'value' => $lng['panel']['no'].'&nbsp;[<a href="'.$filename.'?page=accounts&amp;action=add&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['emails']['account_add'].'</a>]'
),
'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'].' [<a href="'.$filename.'?page=accounts&amp;action=changequota&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['emails']['quota_edit'].'</a>]'
),
'mail_catchall' => array(
'label' => $lng['emails']['catchall'],
'type' => 'label',
'value' => ($result['iscatchall'] == 0 ? $lng['panel']['no'] : $lng['panel']['yes']).' [<a href="'.$filename.'?page='.$page.'&amp;action=togglecatchall&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['panel']['toggle'].'</a>]'
),
'mail_fwds' => array(
'label' => $lng['emails']['forwarders'].' ('.$forwarders_count.')',
'type' => 'label',
'value' => $forwarders.' <a href="'.$filename.'?page=forwarders&amp;action=add&amp;id='.$result['id'].'&amp;s='.$s.'">'.$lng['emails']['forwarder_add'].'</a>'
)
)
)
)
)
);

View File

@@ -0,0 +1,65 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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),
'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
),
'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
)
)
)
)
)
);

View File

@@ -0,0 +1,67 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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
)
)
)
)
)
);

View File

@@ -0,0 +1,49 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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),
'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
),
'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'
)
)
)
)
)
);

View File

@@ -0,0 +1,50 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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']
)
)
)
)
)
);

View File

@@ -0,0 +1,56 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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),
'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect,
),
'ftp_password' => array(
'label' => $lng['login']['password'],
'type' => 'password',
),
'sendinfomail' => array(
'label' => $lng['customer']['sendinfomail'],
'type' => 'yesno',
'yesno_var' => $sendinfomail,
),
)
)
)
)
);

View File

@@ -0,0 +1,57 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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),
'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
),
'ftp_password' => array(
'label' => $lng['login']['password'],
'desc' => $lng['ftp']['editpassdescription'],
'type' => 'password',
),
)
)
)
)
);

View File

@@ -0,0 +1,49 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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,
)
)
)
)
)
);

View File

@@ -0,0 +1,50 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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',
),
)
)
)
)
);

View File

@@ -0,0 +1,50 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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,
)
)
)
)
)
);

View File

@@ -0,0 +1,51 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (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,
),
)
)
)
)
);

View File

@@ -56,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',

View File

@@ -3,6 +3,9 @@ $header
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="none" rowspan="4"><img src="images/Classic/changetheme.png" alt="" /></td>
</tr>
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changetheme']}</b></td>
</tr>

View File

@@ -96,7 +96,7 @@ $header
<td class="field_name">{$lng['admin']['templates']['PASSWORD']}</td>
</tr>
<tr>
<td class="field_display_border_left" colspan="2"><b>{$lng['admin']['templates']['trafficninetypercent']}</b></td>
<td class="field_display_border_left" colspan="2"><b>{$lng['admin']['templates']['trafficmaxpercent']}</b></td>
</tr>
<tr>
<td class="field_name_border_left"><i>{TRAFFIC}</i>:</td>
@@ -179,4 +179,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -98,7 +98,7 @@ $header
<td class="field_name">{$lng['admin']['templates']['PASSWORD']}</td>
</tr>
<tr>
<td class="field_display_border_left" colspan="2"><b>{$lng['admin']['templates']['trafficninetypercent']}</b></td>
<td class="field_display_border_left" colspan="2"><b>{$lng['admin']['templates']['trafficmaxpercent']}</b></td>
</tr>
<tr>
<td class="field_name_border_left"><i>{TRAFFIC}</i>:</td>
@@ -181,4 +181,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -28,7 +28,7 @@ $header
</tr>
<tr>
<td class="main_field_name">{$lng['panel']['urloverridespath']}:</td>
<td class="main_field_display"><input type="text" class="text" name="url" value="{$urlvalue}" size="30" /></td>
<td class="main_field_display"><input type="text" class="text" name="url" value="" size="30" /></td>
</tr>
</if>
<if $settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1'>

View File

@@ -6,31 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['emails']['account_add']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="email_password" maxlength="50" /></td>
</tr>
<if $settings['system']['mail_quota_enabled'] == 1>
<tr>
<td class="main_field_name">{$lng['emails']['quota']} ({$lng['panel']['megabyte']}):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="email_quota" value="{$quota}" /></td>
</tr>
</if>
<if $settings['panel']['sendalternativemail'] == 1>
<tr>
<td class="main_field_name">{$lng['emails']['alternative_emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="alternative_email" maxlength="255" /></td>
</tr>
</if>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['account_add']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="$title" />&nbsp;{$title}</b></td>
</tr>
{$account_add_form}
</table>
</form>
<br />

View File

@@ -6,19 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changepassword']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="email_password" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['menue']['main']['changepassword']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$account_changepw}
</table>
</form>
<br />

View File

@@ -6,19 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['emails']['quota_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['quota']} ({$lng['panel']['megabyte']}):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="email_quota" value="{$result['quota']}" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['quota_edit']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$quota_edit}
</table>
</form>
<br />

View File

@@ -4,37 +4,9 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['autoresponder']['autoresponder_new']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['account']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="tendina_nobordo" name="account">$accounts</select></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['active']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="checkbox" name="active" value="1" checked="checked" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['date_from']} (dd-mm-yyyy):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="date_from" maxlength="10" />&nbsp;{$date_from_off}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['date_until']} (dd-mm-yyyy):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="date_until" maxlength="10" />&nbsp;{$date_until_off}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['subject']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="subject" maxlength="70" /></td>
</tr>
<tr>
<td class="main_field_name" colspan="2">{$lng['autoresponder']['message']}:</td>
</tr>
<tr>
<td class="main_field_display" colspan="2"><textarea class="textarea_border" rows="12" cols="60" name="message"></textarea></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['autoresponder']['autoresponder_new']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$autoresponder_add_form}
</table>
</form>
<br />

View File

@@ -5,7 +5,7 @@ $header
<input type="hidden" name="account" value="$email" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['autoresponder']['autoresponder_edit']}</b></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['account']}:</td>

View File

@@ -5,25 +5,9 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['emails']['emails_add']}</b></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="$title" />&nbsp;{$title}</b></td>
</tr>
<if $domains != '' >
<tr>
<td class="main_field_name">{$lng['emails']['emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="email_part" value="" size="15" /> @ <select class="dropdown_noborder" name="domain">$domains</select></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['iscatchall']}</td>
<td class="main_field_display" nowrap="nowrap">$iscatchall</td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['emails_add']}" /></td>
</tr>
<else>
<tr>
<td class="main_field_name" colspan="2">{$lng['emails']['noemaildomainaddedyet']}</td>
</tr>
</if>
{$email_add_form}
</table>
</form>
<br />

View File

@@ -1,45 +1,9 @@
$header
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['emails']['emails_edit']}</b></td>
</tr>
<tr>
<td class="field_display_border_left">{$lng['emails']['emailaddress']}:</td>
<td class="field_name" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="field_display_border_left">{$lng['emails']['account']}:</td>
<td class="field_name" nowrap="nowrap">
<if $result['popaccountid'] != 0>
{$lng['panel']['yes']} [<a href="$filename?page=accounts&amp;action=changepw&amp;id={$result['id']}&amp;s=$s">{$lng['menue']['main']['changepassword']}</a>] [<a href="$filename?page=accounts&amp;action=delete&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['account_delete']}</a>]
</if>
<if $result['popaccountid'] == 0>
{$lng['panel']['no']} [<a href="$filename?page=accounts&amp;action=add&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['account_add']}</a>]
</if>
</td>
</tr>
<if $result['popaccountid'] != 0 && $settings['system']['mail_quota_enabled']>
<tr>
<td class="field_display_border_left">{$lng['customer']['email_quota']}:</td>
<td class="field_name" nowrap="nowrap">{$result['quota']} {$lng['panel']['megabyte']} [<a href="$filename?page=accounts&amp;action=changequota&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['quota_edit']}</a>]</td>
</tr>
</if>
<tr>
<td class="field_display_border_left">{$lng['emails']['catchall']}:</td>
<td class="field_name" nowrap="nowrap">
<if $result['iscatchall'] != 0>
{$lng['panel']['yes']}
</if>
<if $result['iscatchall'] == 0>
{$lng['panel']['no']}
</if>
[<a href="$filename?page=$page&amp;action=togglecatchall&amp;id={$result['id']}&amp;s=$s">{$lng['panel']['toggle']}</a>]
</td>
</tr>
<tr>
<td class="field_display_border_left">{$lng['emails']['forwarders']} ({$forwarders_count}):</td>
<td class="field_name">$forwarders<a href="$filename?page=forwarders&amp;action=add&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['forwarder_add']}</a></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$email_edit_form}
</table>
<br />
<br />

View File

@@ -6,19 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['emails']['forwarder_add']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['from']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['to']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" id="destination" name="destination" size="30" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['forwarder_add']}" />&nbsp;<input type="button" class="bottom" value="{$lng['panel']['abort']}" onclick="history.back();" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$forwarder_add_form}
</table>
</form>
<br />

View File

@@ -5,44 +5,9 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['extras']['pathoptions_add']}</b></td>
</tr>
<tr>
<td class="main_field_name">
<b>{$lng['panel']['path']}:</b><br />
<if $settings['panel']['pathedit'] != 'Dropdown'><font size="1">{$lng['panel']['pathDescription']}</font></if>
</td>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['directory_browsing']}:</b></td>
<td class="main_field_display" nowrap="nowrap">$options_indexes</td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['descriptionerrordocument']}</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="error404path" value="" size="30" maxlength="255" /></td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['errordocument403path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="error403path" value="" size="30" maxlength="255" /></td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['errordocument500path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="error500path" value="" size="30" maxlength="255" /></td>
</tr>
<if $cperlenabled == 1 >
<tr>
<td class="main_field_name"><b>{$lng['extras']['execute_perl']}:</b></td>
<td class="main_field_display" nowrap="nowrap">$options_cgi</td>
</tr>
</if>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['extras']['pathoptions_add']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$htaccess_add_form}
</table>
</form>
<br />

View File

@@ -6,41 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['extras']['pathoptions_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['panel']['path']}:</b></td>
<td class="main_field_display" nowrap="nowrap">{$result['path']}</td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['directory_browsing']}:</b></td>
<td class="main_field_display" nowrap="nowrap">$options_indexes</td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['descriptionerrordocument']}</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="error404path" value="{$result['error404path']}" size="30" maxlength="255" /></td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['errordocument403path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="error403path" value="{$result['error403path']}" size="30" maxlength="255" /></td>
</tr>
<tr>
<td class="main_field_name"><b>{$lng['extras']['errordocument500path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="error500path" value="{$result['error500path']}" size="30" maxlength="255" /></td>
</tr>
<if $cperlenabled == 1 >
<tr>
<td class="main_field_name"><b>{$lng['extras']['execute_perl']}:</b></td>
<td class="main_field_display" nowrap="nowrap">$options_cgi</td>
</tr>
</if>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['extras']['pathoptions_edit']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$htaccess_edit_form}
</table>
</form>
<br />

View File

@@ -5,30 +5,9 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['extras']['directoryprotection_add']}</b></td>
</tr>
<tr>
<td class="main_field_name">
<b>{$lng['panel']['path']}:</b><br />
<if $settings['panel']['pathedit'] != 'Dropdown'><font size="1">{$lng['panel']['pathDescription']}</font></if>
</td>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['username']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="username" size="30" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="directory_password" size="30" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['extras']['htpasswdauthname']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="directory_authname" size="30" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['extras']['directoryprotection_add']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$htpasswd_add_form}
</table>
</form>
<br />

View File

@@ -6,27 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['extras']['directoryprotection_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['panel']['path']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['path']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['username']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['username']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="directory_password" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['extras']['htpasswdauthname']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="directory_authname" value="{$result['authname']}" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['extras']['directoryprotection_edit']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="{$title}" />&nbsp;{$title}</b></td>
</tr>
{$htpasswd_edit_form}
</table>
</form>
<br />

View File

@@ -5,33 +5,9 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['ftp']['account_add']}</b></td>
</tr>
<if $settings['customer']['ftpatdomain'] == '1'>
<tr>
<td class="main_field_name">{$lng['login']['username']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ftp_username" size="30" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['domains']['domainname']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="dropdown_noborder" name="ftp_domain">$domains</select></td>
</tr>
</if>
<tr>
<td class="main_field_name">{$lng['panel']['path']}:<if $settings['panel']['pathedit'] != 'Dropdown'><br /><font size="1">{$lng['panel']['pathDescription']}</font></if></td>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="ftp_password" size="30" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['customer']['sendinfomail']}:</td>
<td class="main_field_display" nowrap="nowrap">{$sendinfomail}</td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['ftp']['account_add']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b></td>
</tr>
{$ftp_add_form}
</table>
</form>
<br />

View File

@@ -6,35 +6,11 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['ftp']['account_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['username']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['username']}</td>
</tr>
<if $settings['customer']['ftpatdomain'] == '1'>
<tr>
<td class="main_field_name">{$lng['login']['username']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ftp_username" size="30" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['domains']['domainname']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="dropdown_noborder" name="ftp_domain">$domains</select></td>
</tr>
</if>
<tr>
<td class="main_field_name">{$lng['panel']['path']}:<if $settings['panel']['pathedit'] != 'Dropdown'><br /><font size="1">{$lng['panel']['pathDescription']}</font></if></td>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:<br /><font size="1">{$lng['ftp']['editpassdescription']}</font></td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="ftp_password" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['panel']['save']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b></td>
</tr>
{$ftp_edit_form}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -4,7 +4,7 @@ $header
<input type="hidden" name="page" value="$page" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="none" rowspan="4"><img src="images/Classic/changetheme.gif" alt="" /></td>
<td class="none" rowspan="4"><img src="images/Classic/changetheme.png" alt="" /></td>
</tr>
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changetheme']}</b></td>

View File

@@ -5,31 +5,11 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['mysql']['database_create']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['mysql']['databasedescription']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="description" maxlength="100" /></td>
</tr>
<if 1 < count($sql_root)>
<tr>
<td class="main_field_name">{$lng['mysql']['mysql_server']}:</td>
<td class="main_field_display" nowrap="nowrap"><select name="mysql_server">$mysql_servers</select></td>
</tr>
</if>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="mysql_password" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['customer']['sendinfomail']}:</td>
<td class="main_field_display" nowrap="nowrap">{$sendinfomail}</td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['mysql']['database_create']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b></td>
</tr>
{$mysql_add_form}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -6,29 +6,9 @@ $header
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['mysql']['database_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['mysql']['databasename']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['databasename']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['mysql']['databasedescription']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="description" maxlength="100" value="{$result['description']}" /></td>
</tr>
<if 1 < count($sql_root)>
<tr>
<td class="main_field_name">{$lng['mysql']['mysql_server']}:</td>
<td class="main_field_display" nowrap="nowrap">{$sql_root[$result['dbserver']]['caption']}</td>
</tr>
</if>
<tr>
<td class="main_field_name">{$lng['changepassword']['new_password_ifnotempty']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="mysql_password" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['panel']['save']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b></td>
</tr>
{$mysql_edit_form}
</table>
</form>
<br />

View File

@@ -5,31 +5,11 @@ $header
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['ticket']['ticket_new']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['ticket']['subject']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="subject" maxlength="70" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['ticket']['priority']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="tendina_nobordo" name="priority">$priorities</select></td>
</tr>
<tr>
<td class="main_field_name">{$lng['ticket']['category']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="tendina_nobordo" name="category">$categories</select></td>
</tr>
<tr>
<td class="main_field_name" colspan="2">{$lng['ticket']['message']}:</td>
</tr>
<tr>
<td class="main_field_display" colspan="2"><textarea class="textarea_border" rows="12" cols="60" name="message"></textarea></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['ticket']['ticket_new']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b></td>
</tr>
{$ticket_add_form}
</table>
</form>
<br />
<br />
$footer
$footer

View File

@@ -10,29 +10,9 @@ $header
<if $isclosed < 1 >
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$lng['ticket']['ticket_reply']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['ticket']['subject']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="subject" value="Re: {$subject}" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['ticket']['priority']}:</td>
<td class="main_field_display" nowrap="nowrap"><select name="priority">$priorities</select></td>
</tr>
<tr>
<td class="main_field_name">{$lng['ticket']['category']}:</td>
<td class="main_field_display" nowrap="nowrap">{$row['name']}</td>
</tr>
<tr>
<td class="main_field_name" colspan="2">{$lng['ticket']['message']}:</td>
</tr>
<tr>
<td class="main_field_display" colspan="2"><textarea class="textarea_border" rows="12" cols="60" name="message"></textarea></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['ticket']['ticket_reply']}" /></td>
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="" />&nbsp;{$title}</b></td>
</tr>
{$ticket_reply_form}
</table>
</if>
<if 0 < $isclosed >
@@ -48,4 +28,4 @@ $header
</form>
<br />
<br />
$footer
$footer

View File

@@ -8,7 +8,7 @@
<if ($settings['admin']['show_version_login'] == '1' && $filename == 'index.php') || ($filename != 'index.php' && $settings['admin']['show_version_footer'] == '1')>
{$version}{$branding}
</if>
&copy; 2009-2010 by <a href="http://www.froxlor.org/" target="_blank">the Froxlor Team</a>
&copy; 2009-{$current_year} by <a href="http://www.froxlor.org/" target="_blank">the Froxlor Team</a>
<br />Theme based on work by: Luca Piona and Luca Longinotti
<if $lng['translator'] != ''>
<br />{$lng['panel']['translator']}: {$lng['translator']}

View File

@@ -2,7 +2,7 @@ $header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/edit_group.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/group_edit.png" alt="" />&nbsp;
{$lng['admin']['admins']}&nbsp;({$admincount})
</h2>
</header>
@@ -17,7 +17,7 @@ $header
<if 15 < $count >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_user.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['admin_add']}</a>
</div>
</if>
@@ -52,7 +52,7 @@ $header
</form>
<div class="overviewadd">
<img src="images/Froxlor/icons/add_user.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['admin_add']}</a>
</div>

View File

@@ -2,7 +2,7 @@ $header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/edit_group.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/group_edit.png" alt="" />&nbsp;
{$lng['admin']['customers']}&nbsp;({$customercount})
</h2>
</header>
@@ -17,7 +17,7 @@ $header
<if ($userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1') && 15 < $count && 0 < $countcustomers >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_user.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['customer_add']}</a>
</div>
</if>
@@ -29,6 +29,7 @@ $header
{$lng['customer']['name']}&nbsp;&nbsp;{$arrowcode['c.name']}&nbsp;
{$lng['customer']['firstname']}&nbsp;&nbsp;{$arrowcode['c.firstname']}&nbsp;
{$lng['login']['username']}&nbsp;{$arrowcode['c.loginname']}
{$lng['admin']['admin']}&nbsp;{$arrowcode['a.loginname']}
</th>
<th>{$lng['panel']['options']}</th>
</tr>
@@ -54,7 +55,7 @@ $header
<if $userinfo['customers_used'] < $userinfo['customers'] || $userinfo['customers'] == '-1'>
<div class="overviewadd">
<img src="images/Froxlor/icons/add_user.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['customer_add']}</a>
</div>
</if>

View File

@@ -7,7 +7,7 @@
<if ($row['name'] == '' || $row['firstname'] == '') && $row['company'] != ''>
{$row['company']}
</if>
&nbsp;(<a href="$filename?s=$s&amp;page=$page&amp;action=su&amp;id={$row['customerid']}" rel="external">{$row['loginname']}</a>)
&nbsp;(<a href="$filename?s=$s&amp;page=$page&amp;action=su&amp;id={$row['customerid']}" rel="external">{$row['loginname']}</a> | {$row['adminname']})
</strong>
</td>
<td rowspan="2">

View File

@@ -17,7 +17,7 @@
<if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && 15 < $count && 0 < $countcustomers >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_domain.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/domain_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['domain_add']}</a>
</div>
</if>
@@ -61,7 +61,7 @@
<if ($userinfo['domains_used'] < $userinfo['domains'] || $userinfo['domains'] == '-1') && $countcustomers !=0 >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_domain.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/domain_add.png" alt="" />&nbsp;
<a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['domain_add']}</a>
</div>
</if>

View File

@@ -120,7 +120,7 @@ $header
</tr>
<tr>
<td colspan="2">
<strong>{$lng['admin']['templates']['trafficninetypercent']}</strong>
<strong>{$lng['admin']['templates']['trafficmaxpercent']}</strong>
</td>
</tr>
<tr>

View File

@@ -121,7 +121,7 @@ $header
</tr>
<tr>
<td colspan="2">
<strong>{$lng['admin']['templates']['trafficninetypercent']}</strong>
<strong>{$lng['admin']['templates']['trafficmaxpercent']}</strong>
</td>
</tr>
<tr>

View File

@@ -32,7 +32,7 @@ $header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/archive_search.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/ticket_archive_search.png" alt="" />&nbsp;
{$lng['ticket']['search']}
</h2>
</header>

View File

@@ -6,7 +6,7 @@
<td>{$ticket['priority']}</td>
<td>
<a href="$filename?page=archive&amp;action=view&amp;id={$ticket['id']}&amp;s=$s" style="text-decoration:none;">
<img src="images/Froxlor/icons/show_ticket.png" alt="{$lng['ticket']['show']}"/>
<img src="images/Froxlor/icons/ticket_show.png" alt="{$lng['ticket']['show']}"/>
</a>
</td>
</tr>

View File

@@ -8,20 +8,20 @@
<td>
<a href="$filename?page=tickets&amp;action=answer&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<if $cananswer < 1 >
<img src="images/Froxlor/icons/show_ticket.png" alt="{$lng['ticket']['show']}"/>
<img src="images/Froxlor/icons/ticket_show.png" alt="{$lng['ticket']['show']}"/>
</if>
<if 0 < $cananswer >
<img src="images/Froxlor/icons/answer_ticket.png" alt="{$lng['ticket']['answer']}"/>
<img src="images/Froxlor/icons/ticket_answer.png" alt="{$lng['ticket']['answer']}"/>
</if>
</a>
<if $reopen < 1 >
&nbsp;<a href="$filename?page=tickets&amp;action=close&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<img src="images/Froxlor/icons/close_ticket.png" alt="{$lng['ticket']['close']}"/>
<img src="images/Froxlor/icons/ticket_close.png" alt="{$lng['ticket']['close']}"/>
</a>
</if>
<if 0 < $reopen >
&nbsp;<a href="$filename?page=tickets&amp;action=reopen&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">
<img src="images/Froxlor/icons/reopen_ticket.png" alt="{$lng['ticket']['reopen']}"/>
<img src="images/Froxlor/icons/ticket_reopen.png" alt="{$lng['ticket']['reopen']}"/>
</a>
</if>
&nbsp;<a href="$filename?page=tickets&amp;action=archive&amp;id={$row['id']}&amp;s=$s" style="text-decoration:none;">

View File

@@ -17,7 +17,7 @@
<if ($userinfo['subdomains_used'] < $userinfo['subdomains'] || $userinfo['subdomains'] == '-1') && 15 < $domains_count && $parentdomains_count != 0 >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_domain.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/domain_add.png" alt="" />&nbsp;
<a href="$filename?page=domains&amp;action=add&amp;s=$s">{$lng['domains']['subdomain_add']}</a>
</div>
</if>
@@ -51,7 +51,7 @@
<if ($userinfo['subdomains_used'] < $userinfo['subdomains'] || $userinfo['subdomains'] == '-1') && $parentdomains_count != 0 >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_domain.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/domain_add.png" alt="" />&nbsp;
<a href="$filename?page=domains&amp;action=add&amp;s=$s">{$lng['domains']['subdomain_add']}</a>
</div>
</if>

View File

@@ -1,57 +1,30 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['domains']['subdomain_add']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['domains']['domainname']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="subdomain" value="" size="15" maxlength="50" /> <b>.</b> <select class="tendina_nobordo" name="domain">$domains</select></td>
</tr>
<tr>
<td class="main_field_name">{$lng['domains']['aliasdomain']}:</td>
<td class="main_field_display" nowrap="nowrap"><select name="alias">$aliasdomains</select></td>
</tr>
<if $settings['panel']['pathedit'] != 'Dropdown'>
<tr>
<td class="main_field_name">{$lng['panel']['pathorurl']}:<br /><font size="1">{$lng['panel']['pathDescription']}{$lng['panel']['pathDescriptionEx']}</font></td>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td>
</tr>
</if>
<if $settings['panel']['pathedit'] == 'Dropdown'>
<tr>
<td class="main_field_name">{$lng['panel']['path']}:</td>
<td class="main_field_display">{$pathSelect}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['panel']['urloverridespath']}:</td>
<td class="main_field_display"><input type="text" class="text" name="url" value="{$urlvalue}" size="30" /></td>
</tr>
</if>
<if $settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1'>
<tr>
<td class="main_field_name">{$lng['domains']['redirectifpathisurl']}:<br /><font size="1">{$lng['domains']['redirectifpathisurlinfo']}</font></td>
<td class="main_field_display" nowrap="nowrap"><select name="redirectcode">$redirectcode</select></td>
</tr>
</if>
<if $settings['system']['use_ssl'] == '1'>
<tr>
<td class="main_field_name">SSL Redirect:</td>
<td class="main_field_display" nowrap="nowrap">$ssl_redirect</td>
</tr>
</if>
<tr>
<td class="main_field_name">{$lng['domain']['openbasedirpath']}:</td>
<td class="main_field_display" nowrap><select name="openbasedir_path">$openbasedir</select></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['domains']['subdomain_add']}" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$subdomain_add_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -1,76 +1,31 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['domains']['subdomain_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['domains']['domainname']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['domain']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['dns']['destinationip']}:</td>
<td class="main_field_display" nowrap="nowrap">{$domainip}</td>
</tr>
<if $alias_check == '0'>
<tr>
<td class="main_field_name">{$lng['domains']['aliasdomain']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="tendina_nobordo" name="alias">$domains</select></td>
</tr>
</if>
<if $settings['panel']['pathedit'] != 'Dropdown'>
<tr>
<td class="main_field_name">{$lng['panel']['pathorurl']}:<br /><font size="1">{$lng['panel']['pathDescription']}{$lng['panel']['pathDescriptionEx']}</font></td>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td>
</tr>
</if>
<if $settings['panel']['pathedit'] == 'Dropdown'>
<tr>
<td class="main_field_name">{$lng['panel']['path']}:</td>
<td class="main_field_display">{$pathSelect}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['panel']['urloverridespath']}:</td>
<td class="main_field_display"><input type="text" class="text" name="url" value="{$urlvalue}" size="30" /></td>
</tr>
</if>
<if $settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1'>
<tr>
<td class="main_field_name">{$lng['domains']['redirectifpathisurl']}:<br /><font size="1">{$lng['domains']['redirectifpathisurlinfo']}</font></td>
<td class="main_field_display" nowrap="nowrap"><select name="redirectcode">$redirectcode</select></td>
</tr>
</if>
<if $result['parentdomainid'] == '0' && $userinfo['subdomains'] != '0' >
<tr>
<td class="main_field_name">{$lng['domains']['wildcarddomain']}</td>
<td class="main_field_display" nowrap="nowrap">$iswildcarddomain</td>
</tr>
</if>
<if ( $result['subcanemaildomain'] == '1' || $result['subcanemaildomain'] == '2' ) && $result['parentdomainid'] != '0' >
<tr>
<td class="main_field_name">Emaildomain:</td>
<td class="main_field_display" nowrap="nowrap">$isemaildomain</td>
</tr>
</if>
<if $settings['system']['use_ssl'] == '1'>
<tr>
<td class="main_field_name">SSL Redirect:</td>
<td class="main_field_display" nowrap="nowrap">$ssl_redirect</td>
</tr>
</if>
<tr>
<td class="main_field_name">{$lng['domain']['openbasedirpath']}:</td>
<td class="main_field_display" nowrap="nowrap"><select name="openbasedir_path">$openbasedir</select></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['panel']['save']}" /></td>
</tr>
</table>
</form>
<br />
<br />
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$subdomain_edit_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -1,52 +1,33 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/email_add.png" alt="{$lng['emails']['account_add']}" />&nbsp;
{$lng['emails']['account_add']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['emails']['emails_add']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>{$lng['emails']['emailaddress']}:</td>
<td>{$result['email_full']}</td>
</tr>
<tr>
<td>{$lng['login']['password']}:</td>
<td><input type="password" name="email_password" /></td>
</tr>
<if $settings['system']['mail_quota_enabled'] == 1>
<tr>
<td>{$lng['emails']['quota']} ({$lng['panel']['megabyte']}):</td>
<td><input type="text" name="email_quota" value="{$quota}" /></td>
</tr>
</if>
<if $settings['panel']['sendalternativemail'] == 1>
<tr>
<td>{$lng['emails']['alternative_emailaddress']}:</td>
<td><input type="text" class="text" name="alternative_email" maxlength="255" /></td>
</tr>
</if>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['account_add']}" /></td>
</tr>
{$account_add_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -1,26 +1,33 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['menue']['main']['changepassword']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['login']['password']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="password" name="email_password" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['menue']['main']['changepassword']}" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$account_changepw_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -1,26 +1,33 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['emails']['quota_edit']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['emailaddress']}:</td>
<td class="main_field_display" nowrap="nowrap">{$result['email_full']}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['emails']['quota']} ({$lng['panel']['megabyte']}):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="email_quota" value="{$result['quota']}" maxlength="50" /></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['quota_edit']}" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$quota_edit_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -11,7 +11,7 @@
<if ($userinfo['email_autoresponder_used'] < $userinfo['email_autoresponder'] || $userinfo['email_autoresponder'] == '-1') && 15 < $count >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_autoresponder.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/autoresponder_add.png" alt="" />&nbsp;
<a href="$filename?&amp;action=add&amp;s=$s">{$lng['autoresponder']['autoresponder_add']}</a>
</div>
</if>
@@ -33,7 +33,7 @@
<if ($userinfo['email_autoresponder_used'] < $userinfo['email_autoresponder'] || $userinfo['email_autoresponder'] == '-1') >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_autoresponder.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/autoresponder_add.png" alt="" />&nbsp;
<a href="$filename?&amp;action=add&amp;s=$s">{$lng['autoresponder']['autoresponder_add']}</a>
</div>
</if>

View File

@@ -1,42 +1,30 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['autoresponder']['autoresponder_new']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['account']}:</td>
<td class="main_field_display" nowrap="nowrap"><select class="tendina_nobordo" name="account">$accounts</select></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['active']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="checkbox" name="active" value="1" checked="checked" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['date_from']} (dd-mm-yyyy):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="date_from" maxlength="10" />&nbsp;{$date_from_off}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['date_until']} (dd-mm-yyyy):</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="date_until" maxlength="10" />&nbsp;{$date_until_off}</td>
</tr>
<tr>
<td class="main_field_name">{$lng['autoresponder']['subject']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" name="subject" maxlength="70" /></td>
</tr>
<tr>
<td class="main_field_name" colspan="2">{$lng['autoresponder']['message']}:</td>
</tr>
<tr>
<td class="main_field_display" colspan="2"><textarea class="textarea_border" rows="12" cols="60" name="message"></textarea></td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['autoresponder']['autoresponder_new']}" /></td>
</tr>
</table>
</form>
<br />
<br />
<article>
<header>
<h2>
<img src="images/Froxlor/icons/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$autoresponder_add_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -1,49 +1,39 @@
$header
<article>
<if $domains == ''>
<div class="messagewrapperfull">
<div class="warningcontainer bradius">
<div class="warningtitle">{$lng['admin']['warning']}</div>
<div class="warning"><br /><strong>{$lng['emails']['noemaildomainaddedyet']}</strong></div>
</div>
<div class="messagewrapperfull">
<div class="warningcontainer bradius">
<div class="warningtitle">{$lng['admin']['warning']}</div>
<div class="warning"><br /><strong>{$lng['emails']['noemaildomainaddedyet']}</strong></div>
</div>
</div>
</if>
<else>
<header>
<h2>
<img src="images/Froxlor/icons/email_add.png" alt="{$lng['emails']['emails_add']}" />&nbsp;
{$lng['emails']['emails_add']}
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['emails']['emails_add']}</legend>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>{$lng['emails']['emailaddress']}:</td>
<td><input type="text" name="email_part" value="" size="15" /> @ <select name="domain">$domains</select></td>
</tr>
<tr>
<td>{$lng['emails']['iscatchall']}</td>
<td>$iscatchall</td>
</tr>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['emails_add']}" /></td>
</tr>
</table>
<table class="formtable">
{$email_add_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -2,65 +2,30 @@ $header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/email_edit.png" alt="{$lng['emails']['emails_edit']}" />&nbsp;
{$lng['emails']['emails_edit']}
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['emails']['emails_edit']}</legend>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>{$lng['emails']['emailaddress']}:</td>
<td>{$result['email_full']}</td>
</tr>
<tr>
<td>{$lng['emails']['account']}:</td>
<td>
<if $result['popaccountid'] != 0>
{$lng['panel']['yes']} [<a href="$filename?page=accounts&amp;action=changepw&amp;id={$result['id']}&amp;s=$s">{$lng['menue']['main']['changepassword']}</a>] [<a href="$filename?page=accounts&amp;action=delete&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['account_delete']}</a>]
</if>
<if $result['popaccountid'] == 0>
{$lng['panel']['no']} [<a href="$filename?page=accounts&amp;action=add&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['account_add']}</a>]
</if>
</td>
</tr>
<if $result['popaccountid'] != 0 && $settings['system']['mail_quota_enabled']>
<tr>
<td>{$lng['customer']['email_quota']}:</td>
<td>{$result['quota']} {$lng['panel']['megabyte']} [<a href="$filename?page=accounts&amp;action=changequota&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['quota_edit']}</a>]</td>
</tr>
</if>
<tr>
<td>{$lng['emails']['catchall']}:</td>
<td>
<if $result['iscatchall'] != 0>
{$lng['panel']['yes']}
</if>
<if $result['iscatchall'] == 0>
{$lng['panel']['no']}
</if>
[<a href="$filename?page=$page&amp;action=togglecatchall&amp;id={$result['id']}&amp;s=$s">{$lng['panel']['toggle']}</a>]
</td>
</tr>
<tr>
<td>{$lng['emails']['forwarders']} ({$forwarders_count}):</td>
<td class="field_name">$forwarders<a href="$filename?page=forwarders&amp;action=add&amp;id={$result['id']}&amp;s=$s">{$lng['emails']['forwarder_add']}</a></td>
</tr>
</table>
<table class="formtable">
{$email_edit_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -2,39 +2,30 @@ $header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/add_autoresponder.png" alt="{$lng['emails']['forwarder_add']}" />&nbsp;
{$lng['emails']['forwarder_add']}
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['emails']['forwarder_add']}</legend>
<table class="formtable">
{$forwarder_add_form}
</table>
<table class="formtable">
<tr>
<td>{$lng['emails']['from']}:</td>
<td>{$result['email_full']}</td>
</tr>
<tr>
<td>{$lng['emails']['to']}:</td>
<td><input type="text" class="text" id="destination" name="destination" size="30" /></td>
</tr>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['emails']['forwarder_add']}" />&nbsp;<input type="button" class="bottom" value="{$lng['panel']['abort']}" onclick="history.back();" /></td>
</tr>
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -17,7 +17,7 @@
<if 15 < $count >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_htaccess.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/htaccess_add.png" alt="" />&nbsp;
<a href="$filename?page=htaccess&amp;action=add&amp;s=$s">{$lng['extras']['pathoptions_add']}</a>
</div>
</if>
@@ -54,7 +54,7 @@
</p>
<div class="overviewadd">
<img src="images/Froxlor/icons/add_htaccess.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/htaccess_add.png" alt="" />&nbsp;
<a href="$filename?page=htaccess&amp;action=add&amp;s=$s">{$lng['extras']['pathoptions_add']}</a>
</div>

View File

@@ -1,55 +1,20 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/add_htpasswd.png" alt="{$lng['extras']['pathoptions_add']}" />&nbsp;
{$lng['extras']['pathoptions_add']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['extras']['pathoptions_add']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>
<b>{$lng['panel']['path']}:</b><br />
<if $settings['panel']['pathedit'] != 'Dropdown'><small>{$lng['panel']['pathDescription']}</small></if>
</td>
<td>{$pathSelect}</td>
</tr>
<tr>
<td><b>{$lng['extras']['directory_browsing']}:</b></td>
<td>$options_indexes</td>
</tr>
<tr>
<td><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['descriptionerrordocument']}</td>
<td><input type="text" name="error404path" value="" /></td>
</tr>
<tr>
<td><b>{$lng['extras']['errordocument403path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td><input type="text" name="error403path" value="" /></td>
</tr>
<tr>
<td><b>{$lng['extras']['errordocument500path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td><input type="text" name="error500path" value="" /></td>
</tr>
<if $cperlenabled == 1 >
<tr>
<td><b>{$lng['extras']['execute_perl']}:</b></td>
<td>$options_cgi</td>
</tr>
</if>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['extras']['pathoptions_add']}" /></td>
</tr>
{$htaccess_add_form}
</table>
<p style="display: none;">
@@ -60,6 +25,8 @@ $header
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -1,62 +1,33 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/edit_htpasswd.png" alt="{$lng['extras']['pathoptions_edit']}" />&nbsp;
{$lng['extras']['pathoptions_edit']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td><b>{$lng['panel']['path']}:</b></td>
<td>{$result['path']}</td>
</tr>
<tr>
<td><b>{$lng['extras']['directory_browsing']}:</b></td>
<td>$options_indexes</td>
</tr>
<tr>
<td><b>{$lng['extras']['errordocument404path']}:</b><br />{$lng['panel']['descriptionerrordocument']}</td>
<td><input type="text" name="error404path" value="{$result['error404path']}" /></td>
</tr>
<tr>
<td><b>{$lng['extras']['errordocument403path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td><input type="text" name="error403path" value="{$result['error403path']}" /></td>
</tr>
<tr>
<td><b>{$lng['extras']['errordocument500path']}:</b><br />{$lng['panel']['descriptionerrordocument']}
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td><input type="text" name="error500path" value="{$result['error500path']}" /></td>
</tr>
<if $cperlenabled == 1 >
<tr>
<td><b>{$lng['extras']['execute_perl']}:</b></td>
<td>$options_cgi</td>
</tr>
</if>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['extras']['pathoptions_edit']}" /></td>
</tr>
{$htaccess_edit_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -17,7 +17,7 @@
<if 15 < $count >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_htpasswd.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/htpasswd_add.png" alt="" />&nbsp;
<a href="$filename?page=htpasswds&amp;action=add&amp;s=$s">{$lng['extras']['directoryprotection_add']}</a>
</div>
</if>
@@ -50,7 +50,7 @@
</form>
<div class="overviewadd">
<img src="images/Froxlor/icons/add_htpasswd.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/htpasswd_add.png" alt="" />&nbsp;
<a href="$filename?page=htpasswds&amp;action=add&amp;s=$s">{$lng['extras']['directoryprotection_add']}</a>
</div>

View File

@@ -1,41 +1,20 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/add_htpasswd.png" alt="{$lng['extras']['directoryprotection_add']}" />&nbsp;
{$lng['extras']['directoryprotection_add']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['extras']['directoryprotection_add']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>
<b>{$lng['panel']['path']}:</b><br />
<if $settings['panel']['pathedit'] != 'Dropdown'><small>{$lng['panel']['pathDescription']}</small></if>
</td>
<td>{$pathSelect}</td>
</tr>
<tr>
<td>{$lng['login']['username']}:</td>
<td><input type="text" name="username" /></td>
</tr>
<tr>
<td>{$lng['login']['password']}:</td>
<td><input type="password" name="directory_password" /></td>
</tr>
<tr>
<td>{$lng['extras']['htpasswdauthname']}:</td>
<td><input type="text" name="directory_authname" /></td>
</tr>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['extras']['directoryprotection_add']}" /></td>
</tr>
{$htpasswd_add_form}
</table>
<p style="display: none;">
@@ -46,6 +25,8 @@ $header
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -1,48 +1,33 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/edit_htpasswd.png" alt="{$lng['extras']['directoryprotection_edit']}" />&nbsp;
{$lng['extras']['directoryprotection_edit']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['extras']['directoryprotection_edit']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>{$lng['panel']['path']}:</td>
<td>{$result['path']}</td>
</tr>
<tr>
<td>{$lng['login']['username']}:</td>
<td>{$result['username']}</td>
</tr>
<tr>
<td>{$lng['login']['password']}:</td>
<td><input type="password" name="directory_password" /></td>
</tr>
<tr>
<td>{$lng['extras']['htpasswdauthname']}:</td>
<td><input type="text" name="directory_authname" value="{$result['authname']}" /></td>
</tr>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['extras']['directoryprotection_edit']}" /></td>
</tr>
{$htpasswd_edit_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -2,7 +2,7 @@
<article>
<header>
<h2>
<img src="images/Froxlor/icons/edit_group.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/group_edit.png" alt="" />&nbsp;
{$lng['menue']['ftp']['accounts']}&nbsp;({$ftps_count})
</h2>
</header>
@@ -17,7 +17,7 @@
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_user.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=accounts&amp;action=add&amp;s=$s">{$lng['ftp']['account_add']}</a>
</div>
</if>
@@ -51,7 +51,7 @@
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_user.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/user_add.png" alt="" />&nbsp;
<a href="$filename?page=accounts&amp;action=add&amp;s=$s">{$lng['ftp']['account_add']}</a>
</div>
</if>

View File

@@ -1,44 +1,20 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/add_user.png" alt="{$lng['ftp']['account_add']}" />&nbsp;
{$lng['ftp']['account_add']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['ftp']['account_add']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<if $settings['customer']['ftpatdomain'] == '1'>
<tr>
<td>{$lng['login']['username']}:</td>
<td><input type="text" name="ftp_username" size="30" /></td>
</tr>
<tr>
<td>{$lng['domains']['domainname']}:</td>
<td><select name="ftp_domain">$domains</select></td>
</tr>
</if>
<tr>
<td>{$lng['panel']['path']}:<if $settings['panel']['pathedit'] != 'Dropdown'><br /><font size="1">{$lng['panel']['pathDescription']}</font></if></td>
<td>{$pathSelect}</td>
</tr>
<tr>
<td>{$lng['login']['password']}:</td>
<td><input type="password" name="ftp_password" size="30" /></td>
</tr>
<tr>
<td>{$lng['customer']['sendinfomail']}:</td>
<td>{$sendinfomail}</td>
</tr>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['ftp']['account_add']}" /></td>
</tr>
{$ftp_add_form}
</table>
<p style="display: none;">
@@ -49,6 +25,7 @@ $header
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -1,44 +1,20 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/user_edit.png" alt="{$lng['ftp']['account_edit']}" />&nbsp;
{$lng['ftp']['account_edit']}
</h2>
</header>
<section class="fullform bradiusodd">
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['ftp']['account_edit']}</legend>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
<tr>
<td>{$lng['login']['username']}:</td>
<td>{$result['username']}</td>
</tr>
<if $settings['customer']['ftpatdomain'] == '1'>
<tr>
<td>{$lng['login']['username']}:</td>
<td><input type="text" name="ftp_username" size="30" /></td>
</tr>
<tr>
<td>{$lng['domains']['domainname']}:</td>
<td><select name="ftp_domain">$domains</select></td>
</tr>
</if>
<tr>
<td>{$lng['panel']['path']}:<if $settings['panel']['pathedit'] != 'Dropdown'><br /><small>{$lng['panel']['pathDescription']}</small></if></td>
<td>{$pathSelect}</td>
</tr>
<tr>
<td>{$lng['login']['password']}:<br /><small>{$lng['ftp']['editpassdescription']}</small></td>
<td><input type="password" name="ftp_password" /></td>
</tr>
<tr>
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['panel']['save']}" /></td>
</tr>
{$ftp_edit_form}
</table>
<p style="display: none;">
@@ -46,9 +22,11 @@ $header
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
<input type="hidden" name="id" value="$id" />
</p>
</fieldset>
</form>
</section>
</article>
</section>
</article>
$footer

View File

@@ -17,7 +17,7 @@
<if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') && 15 < $mysqls_count >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_mysql.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/mysql_add.png" alt="" />&nbsp;
<a href="$filename?page=mysqls&amp;action=add&amp;s=$s">{$lng['mysql']['database_create']}</a>
</div>
</if>
@@ -52,7 +52,7 @@
<if ($userinfo['mysqls_used'] < $userinfo['mysqls'] || $userinfo['mysqls'] == '-1') >
<div class="overviewadd">
<img src="images/Froxlor/icons/add_mysql.png" alt="" />&nbsp;
<img src="images/Froxlor/icons/mysql_add.png" alt="" />&nbsp;
<a href="$filename?page=mysqls&amp;action=add&amp;s=$s">{$lng['mysql']['database_create']}</a>
</div>
</if>

Some files were not shown because too many files have changed in this diff Show More