fix more customer_email formfiled usage
This commit is contained in:
@@ -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/emails/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") . "\";");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user