Commit a4a9ebce authored by cfoe's avatar cfoe
Browse files

added servername of the selected mailbox

parent b93c826e
......@@ -30,6 +30,11 @@ if($rec['cc'] == '') $rec['cc'] = $wb['none_txt'];
$app->tpl->setVar($rec);
$sql2 = "SELECT * FROM server WHERE server_id = ".$rec['server_id'];
$rec2 = $app->db->queryOneRecord($sql2);
$app->tpl->setVar($rec2);
$app->tpl->setVar('msg',$msg);
$app->tpl->setVar('error',$error);
......@@ -38,6 +43,4 @@ $app->tpl->setVar('error',$error);
$app->tpl_defaults();
$app->tpl->pparse();
?>
\ No newline at end of file
......@@ -3,7 +3,8 @@ $wb["page_head_txt"] = 'Mailbox-Einstellungen';
$wb["page_desc_txt"] = 'Hier können Sie die Einstellungen des E-Mail-Kontos ändern.';
$wb["email_txt"] = 'E-Mail-Adresse';
$wb["login_txt"] = 'Login';
$wb["cc_txt"] = 'Kopie senden an';
$wb["server_address_txt"] = 'Mailserver-Adresse';
$wb["cc_txt"] = 'Kopie senden an (CC)';
$wb["quota_txt"] = 'Mailbox-Größe';
$wb["unlimited_txt"] = 'Unlimitiert';
$wb["mb_txt"] = 'MB';
......
......@@ -3,7 +3,8 @@ $wb["page_head_txt"] = 'Mailbox settings';
$wb["page_desc_txt"] = 'Here you can edit the settings for the email account.';
$wb["email_txt"] = 'Email address';
$wb["login_txt"] = 'Login';
$wb["cc_txt"] = 'Send copy to';
$wb["server_address_txt"] = 'Mailserver address';
$wb["cc_txt"] = 'Send copy to (CC)';
$wb["quota_txt"] = 'Mailbox size';
$wb["unlimited_txt"] = 'Unlimited';
$wb["mb_txt"] = 'MB';
......
......@@ -6,20 +6,24 @@
<div class="pnl_formsarea">
<fieldset class="inlineLabels">
<div class="ctrlHolder">
<label for="password"><b>{tmpl_var name='email_txt'}</b></label>
{tmpl_var name='email'}
<p class="label">{tmpl_var name='email_txt'}</p>
<p class="value">{tmpl_var name='email'}</p>
</div>
<div class="ctrlHolder">
<label for="password"><b>{tmpl_var name='login_txt'}</b></label>
{tmpl_var name='login'}
<p class="label">{tmpl_var name='login_txt'}</p>
<p class="value">{tmpl_var name='login'}</p>
</div>
<div class="ctrlHolder">
<label for="password"><b>{tmpl_var name='quota_txt'}</b></label>
{tmpl_var name='quota'}
<p class="label">{tmpl_var name='server_address_txt'}</p>
<p class="value">{tmpl_var name='server_name'}</p>
</div>
<div class="ctrlHolder">
<label for="password"><b>{tmpl_var name='cc_txt'}</b></label>
{tmpl_var name='cc'}
<p class="label">{tmpl_var name='quota_txt'}</p>
<p class="value">{tmpl_var name='quota'}</p>
</div>
<div class="ctrlHolder">
<p class="label">{tmpl_var name='cc_txt'}</p>
<p class="value">{tmpl_var name='cc'}</p>
</div>
<div class="buttonHolder buttons">
&nbsp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment