diff --git a/create-mailbox.php b/create-mailbox.php index ca9d0f0e..6a2c2030 100644 --- a/create-mailbox.php +++ b/create-mailbox.php @@ -46,8 +46,6 @@ else { } -$pCreate_mailbox_password_text = $PALANG['pCreate_mailbox_password_text']; -$pCreate_mailbox_quota_text = $PALANG['pCreate_mailbox_quota_text']; $pCreate_mailbox_username_text_error = ""; $pCreate_mailbox_password_text_error = ""; $pCreate_mailbox_quota_text_error = ""; @@ -264,13 +262,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") $smarty->assign ('tUsername', $tUsername); $smarty->assign ('select_options', select_options ($list_domains, array ($tDomain)), false); -$smarty->assign ('pCreate_mailbox_username_text', $pCreate_mailbox_username_text, false); $smarty->assign ('pCreate_mailbox_username_text_error', $pCreate_mailbox_username_text_error, false); -$smarty->assign ('pCreate_mailbox_password_text', $pCreate_mailbox_password_text, false); $smarty->assign ('pCreate_mailbox_password_text_error', $pCreate_mailbox_password_text_error, false); $smarty->assign ('tName', $tName, false); $smarty->assign ('tQuota', $tQuota); -$smarty->assign ('pCreate_mailbox_quota_text', $pCreate_mailbox_quota_text, false); $smarty->assign ('pCreate_mailbox_quota_text_error', $pCreate_mailbox_quota_text_error, false); $smarty->assign ('smarty_template', 'create-mailbox'); $smarty->display ('index.tpl'); diff --git a/templates/create-mailbox.tpl b/templates/create-mailbox.tpl index 996591c2..88e6cb88 100644 --- a/templates/create-mailbox.tpl +++ b/templates/create-mailbox.tpl @@ -10,14 +10,13 @@ @ - {$pCreate_mailbox_username_text} {$pCreate_mailbox_username_text_error} - {$pCreate_mailbox_password_text} + {$PALANG.pCreate_mailbox_password_text} {$pCreate_mailbox_password_text_error} @@ -35,7 +34,7 @@ - {$pCreate_mailbox_quota_text} + {$PALANG.pCreate_mailbox_quota_text} {$pCreate_mailbox_quota_text_error} {/if} diff --git a/variables.inc.php b/variables.inc.php index fde777c1..8364dd69 100644 --- a/variables.inc.php +++ b/variables.inc.php @@ -76,9 +76,6 @@ $tSubject = ""; $tUsername = ""; $tTransport = ""; -$pCreate_mailbox_password_text = " "; -$pCreate_mailbox_quota_text = " "; -$pCreate_mailbox_username_text = " "; $pEdit_mailbox_password_text = " "; $pEdit_mailbox_quota_text = " ";