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

Conflicts:
	templates/Froxlor/customer/email/emails_add.tpl
	templates/Froxlor/customer/email/emails_edit.tpl
	templates/Froxlor/customer/email/forwarder_add.tpl
This commit is contained in:
Andreas Burchert (scarya)
2011-02-12 18:25:19 +01:00
13 changed files with 211 additions and 376 deletions

View File

@@ -381,6 +381,13 @@ elseif($page == 'domains')
$ssl_redirect = makeyesno('ssl_redirect', '1', '0', $result['ssl_redirect']); $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); $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']); $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") . "\";"); eval("echo \"" . getTemplate("domains/domains_add") . "\";");
} }
} }
@@ -569,6 +576,12 @@ elseif($page == 'domains')
$domainip = $result_ipandport['ip']; $domainip = $result_ipandport['ip'];
$result = htmlentities_array($result); $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") . "\";"); eval("echo \"" . getTemplate("domains/domains_edit") . "\";");
} }
} }

View File

@@ -283,11 +283,11 @@ elseif($page == 'emails')
$iscatchall = makeyesno('iscatchall', '1', '0', '0'); $iscatchall = makeyesno('iscatchall', '1', '0', '0');
$email_add_form = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_edit.php'; $email_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_add.php';
$email_add_form = htmlform::genHTMLForm($email_add_form); $email_add_form = htmlform::genHTMLForm($email_add_data);
$title = $email_add_form['emails_edit']['title']; $title = $email_add_data['emails_add']['title'];
$image = $email_add_form['emails_edit']['image']; $image = $email_add_data['emails_add']['image'];
eval("echo \"" . getTemplate("email/emails_add") . "\";"); eval("echo \"" . getTemplate("email/emails_add") . "\";");
} }
@@ -329,11 +329,11 @@ elseif($page == 'emails')
$destinations_count = count($result['destination']); $destinations_count = count($result['destination']);
$result = htmlentities_array($result); $result = htmlentities_array($result);
$email_edit_form = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_edit.php'; $email_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_edit.php';
$email_edit_form = htmlform::genHTMLForm($email_edit_form); $email_edit_form = htmlform::genHTMLForm($email_edit_data);
$title = $email_edit_form['emails_edit']['title']; $title = $email_edit_data['emails_edit']['title'];
$image = $email_edit_form['emails_edit']['image']; $image = $email_edit_data['emails_edit']['image'];
eval("echo \"" . getTemplate("email/emails_edit") . "\";"); eval("echo \"" . getTemplate("email/emails_edit") . "\";");
} }
@@ -520,11 +520,11 @@ elseif($page == 'accounts')
$result = htmlentities_array($result); $result = htmlentities_array($result);
$quota = $settings['system']['mail_quota']; $quota = $settings['system']['mail_quota'];
$account_add_form = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_addaccount.php'; $account_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_addaccount.php';
$account_add_form = htmlform::genHTMLForm($account_add_form); $account_add_form = htmlform::genHTMLForm($account_add_data);
$title = $account_add_form['emails_addaccount']['title']; $title = $account_add_data['emails_addaccount']['title'];
$image = $account_add_form['emails_addaccount']['image']; $image = $account_add_data['emails_addaccount']['image'];
eval("echo \"" . getTemplate("email/account_add") . "\";"); eval("echo \"" . getTemplate("email/account_add") . "\";");
} }
@@ -565,11 +565,11 @@ elseif($page == 'accounts')
$result['email_full'] = $idna_convert->decode($result['email_full']); $result['email_full'] = $idna_convert->decode($result['email_full']);
$result = htmlentities_array($result); $result = htmlentities_array($result);
$account_changepw = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_accountchangepasswd.php'; $account_changepw_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_accountchangepasswd.php';
$account_changepw = htmlform::genHTMLForm($account_changepw); $account_changepw_form = htmlform::genHTMLForm($account_changepw_data);
$title = $account_changepw['emails_accountchangepasswd']['title']; $title = $account_changepw_data['emails_accountchangepasswd']['title'];
$image = $account_changepw['emails_accountchangepasswd']['image']; $image = $account_changepw_data['emails_accountchangepasswd']['image'];
eval("echo \"" . getTemplate("email/account_changepw") . "\";"); eval("echo \"" . getTemplate("email/account_changepw") . "\";");
} }
@@ -613,11 +613,11 @@ elseif($page == 'accounts')
$result['email_full'] = $idna_convert->decode($result['email_full']); $result['email_full'] = $idna_convert->decode($result['email_full']);
$result = htmlentities_array($result); $result = htmlentities_array($result);
$quota_edit = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_accountchangequota.php'; $quota_edit_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_accountchangequota.php';
$quota_edit = htmlform::genHTMLForm($quota_edit); $quota_edit_form = htmlform::genHTMLForm($quota_edit_data);
$title = $quota_edit['emails_accountchangequota']['title']; $title = $quota_edit_data['emails_accountchangequota']['title'];
$image = $quota_edit['emails_accountchangequota']['image']; $image = $quota_edit_data['emails_accountchangequota']['image'];
eval("echo \"" . getTemplate("email/account_changequota") . "\";"); eval("echo \"" . getTemplate("email/account_changequota") . "\";");
} }
@@ -714,11 +714,11 @@ elseif($page == 'forwarders')
$result['email_full'] = $idna_convert->decode($result['email_full']); $result['email_full'] = $idna_convert->decode($result['email_full']);
$result = htmlentities_array($result); $result = htmlentities_array($result);
$forwarder_add_form = include_once dirname(__FILE__).'/lib/formfields/customer/emails/formfield.emails_addforwarder.php'; $forwarder_add_data = include_once dirname(__FILE__).'/lib/formfields/customer/email/formfield.emails_addforwarder.php';
$forwarder_add_form = htmlform::genHTMLForm($forwarder_add_form); $forwarder_add_form = htmlform::genHTMLForm($forwarder_add_data);
$title = $forwarder_add_form['emails_addforwarder']['title']; $title = $forwarder_add_data['emails_addforwarder']['title'];
$image = $forwarder_add_form['emails_addforwarder']['image']; $image = $forwarder_add_data['emails_addforwarder']['image'];
eval("echo \"" . getTemplate("email/forwarder_add") . "\";"); eval("echo \"" . getTemplate("email/forwarder_add") . "\";");
} }

View File

@@ -12,61 +12,53 @@
* @author Froxlor team <team@froxlor.org> (2010-) * @author Froxlor team <team@froxlor.org> (2010-)
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
* @package Formfields * @package Formfields
* @version $Id: formfield.domains_add.php 112 2010-12-14 12:11:20Z d00p $ * @version $Id: formfield.domains_edit.php 130 2010-12-22 00:54:11Z d00p $
*/ */
return array( return array(
'domain_add' => array( 'domain_add' => array(
'title' => $lng['domains']['subdomain_add'], 'title' => $lng['domains']['subdomain_add'],
'image' => 'icons/add_domain.png', 'image' => 'icons/domain_add.png',
'sections' => array( 'sections' => array(
'section_a' => array( 'section_a' => array(
'title' => $lng['domains']['subdomain_add'], 'title' => $lng['domains']['subdomain_add'],
'image' => 'icons/add_domain.png', 'image' => 'icons/domain_add.png',
'fields' => array( 'fields' => array(
'domain' => array( 'domain' => array(
'label' => $lng['domains']['domainname'], 'label' => $lng['domains']['domainname'],
'type' => 'text' 'type' => 'text'
), ),
'aliasdomain' => array( 'alias' => array(
'label' => $lng['domains']['aliasdomain'], 'label' => $lng['domains']['aliasdomain'],
'type' => 'select', 'type' => 'select',
'select_var' => $aliasdomains 'select_var' => $aliasdomains
), ),
'pathedit' => array( 'path' => array(
'visible' => ($settings['panel']['pathedit'] != 'Dropdown' ? true : false),
'label' => $lng['panel']['pathorurl'],
'desc' => $lng['panel']['pathDescription'], // TODO was ist mit: $lng['panel']['pathDescriptionEx'] ?
'type' => 'text',
'value' => $pathSelect
),
'pathedit_dropdown' => array(
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
'label' => $lng['panel']['path'], 'label' => $lng['panel']['path'],
'type' => 'text', 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null),
'value' => $pathSelect 'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
), ),
'pathedit_dropdown2' => array( 'url' => array(
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false), 'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
'label' => $lng['panel']['urloverridespath'], 'label' => $lng['panel']['urloverridespath'],
'type' => 'text', 'type' => 'text',
'value' => $urlvalue, 'value' => $urlvalue
'size' => 30
), ),
'apache2_customerRedirect' => array( 'redirectcode' => array(
'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false), 'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false),
'label' => $lng['domains']['redirectifpathisurl'], 'label' => $lng['domains']['redirectifpathisurl'],
'desc' => $lng['domains']['redirectifpathisurlinfo'], 'desc' => $lng['domains']['redirectifpathisurlinfo'],
'type' => 'select', 'type' => 'select',
'select_var' => $redirectcode 'select_var' => $redirectcode
), ),
'ssl' => array( 'ssl_redirect' => array(
'visible' => ($settings['system']['use_ssl'] == '1' ? true : false), 'visible' => ($settings['system']['use_ssl'] == '1' ? true : false),
'label' => 'SSL Redirect', 'label' => 'SSL Redirect',
'type' => 'yesno', 'type' => 'yesno',
'yesno_var' => $ssl_redirect 'yesno_var' => $ssl_redirect
), ),
'openbasedir' => array( 'openbasedir_path' => array(
'label' => $lng['domain']['openbasedirpath'], 'label' => $lng['domain']['openbasedirpath'],
'type' => 'select', 'type' => 'select',
'select_var' => $openbasedir 'select_var' => $openbasedir

View File

@@ -34,58 +34,50 @@ return array(
'type' => 'label', 'type' => 'label',
'value' => $domainip 'value' => $domainip
), ),
'alias_check' => array( 'alias' => array(
'visible' => ($alias_check == '0' ? true : false), 'visible' => ($alias_check == '0' ? true : false),
'label' => $lng['domains']['aliasdomain'], 'label' => $lng['domains']['aliasdomain'],
'type' => 'select', 'type' => 'select',
'select_var' => $domains 'select_var' => $domains
), ),
'pathedit' => array( 'path' => array(
'visible' => ($settings['panel']['pathedit'] != 'Dropdown' ? true : false),
'label' => $lng['panel']['pathorurl'],
'desc' => $lng['panel']['pathDescription'], // TODO was ist mit: $lng['panel']['pathDescriptionEx'] ?
'type' => 'text',
'value' => $pathSelect
),
'pathedit_dropdown' => array(
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
'label' => $lng['panel']['path'], 'label' => $lng['panel']['path'],
'type' => 'text', 'desc' => ($settings['panel']['pathedit'] != 'Dropdown' ? $lng['panel']['pathDescription'] : null),
'value' => $pathSelect 'type' => ($settings['panel']['pathedit'] != 'Dropdown' ? 'text' : 'select'),
'select_var' => $pathSelect
), ),
'pathedit_dropdown2' => array( 'url' => array(
'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false), 'visible' => ($settings['panel']['pathedit'] == 'Dropdown' ? true : false),
'label' => $lng['panel']['urloverridespath'], 'label' => $lng['panel']['urloverridespath'],
'type' => 'text', 'type' => 'text',
'value' => $urlvalue, 'value' => $urlvalue
'size' => 30
), ),
'apache2_customerRedirect' => array( 'redirectcode' => array(
'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false), 'visible' => (($settings['system']['webserver'] == 'apache2' && $settings['customredirect']['enabled'] == '1') ? true : false),
'label' => $lng['domains']['redirectifpathisurl'], 'label' => $lng['domains']['redirectifpathisurl'],
'desc' => $lng['domains']['redirectifpathisurlinfo'], 'desc' => $lng['domains']['redirectifpathisurlinfo'],
'type' => 'select', 'type' => 'select',
'select_var' => $redirectcode 'select_var' => $redirectcode
), ),
'parentdomain' => array( 'iswildcarddomain' => array(
'visible' => (($result['parentdomainid'] == '0' && $userinfo['subdomains'] != '0') ? true : false), 'visible' => (($result['parentdomainid'] == '0' && $userinfo['subdomains'] != '0') ? true : false),
'label' => $lng['domains']['wildcarddomain'], 'label' => $lng['domains']['wildcarddomain'],
'type' => 'label', 'type' => 'yesno',
'value' => $iswildcarddomain 'yesno_var' => $iswildcarddomain
), ),
'emaildomain' => array( 'isemaildomain' => array(
'visible' => ((( $result['subcanemaildomain'] == '1' || $result['subcanemaildomain'] == '2' ) && $result['parentdomainid'] != '0') ? true : false), 'visible' => ((( $result['subcanemaildomain'] == '1' || $result['subcanemaildomain'] == '2' ) && $result['parentdomainid'] != '0') ? true : false),
'label' => 'Emaildomain', 'label' => 'Emaildomain',
'type' => 'label', 'type' => 'yesno',
'value' => $isemaildomain 'yesno_var' => $isemaildomain
), ),
'ssl' => array( 'ssl_redirect' => array(
'visible' => ($settings['system']['use_ssl'] == '1' ? true : false), 'visible' => ($settings['system']['use_ssl'] == '1' ? true : false),
'label' => 'SSL Redirect', 'label' => 'SSL Redirect',
'type' => 'label', 'type' => 'yesno',
'value' => $ssl_redirect 'yesno_var' => $ssl_redirect
), ),
'openbasedir' => array( 'openbasedir_path' => array(
'label' => $lng['domain']['openbasedirpath'], 'label' => $lng['domain']['openbasedirpath'],
'type' => 'select', 'type' => 'select',
'select_var' => $openbasedir 'select_var' => $openbasedir

View File

@@ -56,7 +56,7 @@ return array (
array ( array (
'url' => 'customer_email.php?page=emails&action=add', 'url' => 'customer_email.php?page=emails&action=add',
'label' => $lng['emails']['emails_add'], 'label' => $lng['emails']['emails_add'],
'required_resources' => 'emails', 'required_resources' => 'emails'
), ),
array ( array (
'url' => 'customer_autoresponder.php', 'url' => 'customer_autoresponder.php',

View File

@@ -1,57 +1,30 @@
$header $header
<form method="post" action="$filename"> <article>
<input type="hidden" name="s" value="$s" /> <header>
<input type="hidden" name="page" value="$page" /> <h2>
<input type="hidden" name="action" value="$action" /> <img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60"> {$title}
<tr> </h2>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['domains']['subdomain_add']}</b></td> </header>
</tr>
<tr> <section class="fullform bradiusodd">
<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> <form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
</tr> <fieldset>
<tr> <legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<td class="main_field_name">{$lng['domains']['aliasdomain']}:</td>
<td class="main_field_display" nowrap="nowrap"><select name="alias">$aliasdomains</select></td> <table class="formtable">
</tr> {$subdomain_add_form}
<if $settings['panel']['pathedit'] != 'Dropdown'> </table>
<tr>
<td class="main_field_name">{$lng['panel']['pathorurl']}:<br /><font size="1">{$lng['panel']['pathDescription']}{$lng['panel']['pathDescriptionEx']}</font></td> <p style="display: none;">
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td> <input type="hidden" name="s" value="$s" />
</tr> <input type="hidden" name="page" value="$page" />
</if> <input type="hidden" name="action" value="$action" />
<if $settings['panel']['pathedit'] == 'Dropdown'> <input type="hidden" name="send" value="send" />
<tr> </p>
<td class="main_field_name">{$lng['panel']['path']}:</td> </fieldset>
<td class="main_field_display">{$pathSelect}</td> </form>
</tr> </section>
<tr> </article>
<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 $footer

View File

@@ -1,76 +1,31 @@
$header $header
<form method="post" action="$filename"> <article>
<input type="hidden" name="s" value="$s" /> <header>
<input type="hidden" name="page" value="$page" /> <h2>
<input type="hidden" name="action" value="$action" /> <img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
<input type="hidden" name="id" value="$id" /> {$title}
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60"> </h2>
<tr> </header>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['domains']['subdomain_edit']}</b></td>
</tr> <section class="fullform bradiusodd">
<tr>
<td class="main_field_name">{$lng['domains']['domainname']}:</td> <form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<td class="main_field_display" nowrap="nowrap">{$result['domain']}</td> <fieldset>
</tr> <legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<tr>
<td class="main_field_name">{$lng['dns']['destinationip']}:</td> <table class="formtable">
<td class="main_field_display" nowrap="nowrap">{$domainip}</td> {$subdomain_edit_form}
</tr> </table>
<if $alias_check == '0'>
<tr> <p style="display: none;">
<td class="main_field_name">{$lng['domains']['aliasdomain']}:</td> <input type="hidden" name="s" value="$s" />
<td class="main_field_display" nowrap="nowrap"><select class="tendina_nobordo" name="alias">$domains</select></td> <input type="hidden" name="page" value="$page" />
</tr> <input type="hidden" name="action" value="$action" />
</if> <input type="hidden" name="id" value="$id" />
<if $settings['panel']['pathedit'] != 'Dropdown'> <input type="hidden" name="send" value="send" />
<tr> </p>
<td class="main_field_name">{$lng['panel']['pathorurl']}:<br /><font size="1">{$lng['panel']['pathDescription']}{$lng['panel']['pathDescriptionEx']}</font></td> </fieldset>
<td class="main_field_display" nowrap="nowrap">{$pathSelect}</td> </form>
</tr> </section>
</if> </article>
<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 />
$footer $footer

View File

@@ -1,30 +1,33 @@
$header $header
<article> <article>
<header> <header>
<h2> <h2>
<img src="images/Froxlor/icons/email_add.png" alt="{$lng['emails']['account_add']}" />&nbsp; <img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$lng['emails']['account_add']} {$title}
</h2> </h2>
</header> </header>
<section class="fullform bradiusodd"> <section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded"> <form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset> <fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['emails']['emails_add']}</legend> <legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable"> <table class="formtable">
{$account_add_form} {$account_add_form}
</table> </table>
<p style="display: none;"> <p style="display: none;">
<input type="hidden" name="s" value="$s" /> <input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" /> <input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" /> <input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" /> <input type="hidden" name="send" value="send" />
</p> </p>
</fieldset> </fieldset>
</form> </form>
</section>
</article> </section>
</article>
$footer $footer

View File

@@ -1,30 +1,33 @@
$header $header
<article> <article>
<header> <header>
<h2> <h2>
<img src="images/Froxlor/icons/email_add.png" alt="{$lng['menue']['main']['changepassword']}" />&nbsp; <img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$lng['menue']['main']['changepassword']} {$title}
</h2> </h2>
</header> </header>
<section class="fullform bradiusodd"> <section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded"> <form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset> <fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['menue']['main']['changepassword']}</legend> <legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable"> <table class="formtable">
{$account_changepw} {$account_changepw_form}
</table> </table>
<p style="display: none;"> <p style="display: none;">
<input type="hidden" name="s" value="$s" /> <input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" /> <input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" /> <input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" /> <input type="hidden" name="id" value="$id" />
</p> <input type="hidden" name="send" value="send" />
</fieldset> </p>
</form> </fieldset>
</section> </form>
</article>
</section>
</article>
$footer $footer

View File

@@ -1,30 +1,33 @@
$header $header
<article> <article>
<header> <header>
<h2> <h2>
<img src="images/Froxlor/icons/email_add.png" alt="{$lng['emails']['quota_edit']}" />&nbsp; <img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$lng['emails']['quota_edit']} {$title}
</h2> </h2>
</header> </header>
<section class="fullform bradiusodd"> <section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded"> <form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset> <fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['emails']['quota_edit']}</legend> <legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable"> <table class="formtable">
{$quota_edit} {$quota_edit_form}
</table> </table>
<p style="display: none;"> <p style="display: none;">
<input type="hidden" name="s" value="$s" /> <input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" /> <input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" /> <input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" /> <input type="hidden" name="id" value="$id" />
</p> <input type="hidden" name="send" value="send" />
</fieldset> </p>
</form> </fieldset>
</section> </form>
</article>
</section>
</article>
$footer $footer

View File

@@ -1,39 +0,0 @@
$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>
</if>
<else>
<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">
{$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>
</section>
</article>
$footer

View File

@@ -1,30 +0,0 @@
$header
<article>
<header>
<h2>
<img src="images/Froxlor/icons/{$title}" 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">
{$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>
</section>
</article>
$footer

View File

@@ -1,30 +0,0 @@
$header
<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">
{$forwarder_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