mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
- fix some display errors after rev. 788, found and patch supplied by Jan-Kruis, thx.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@791 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
20d2aab24f
commit
9ddf15439f
@ -15,7 +15,7 @@
|
||||
* File: broadcast-message.php
|
||||
* Used to send a message to _ALL_ users with mailboxes on this server.
|
||||
*
|
||||
* Template File: broadcast-message.php
|
||||
* Template File: broadcast-message.tpl
|
||||
*
|
||||
* Template Variables: -none-
|
||||
*
|
||||
@ -94,7 +94,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" || $error == 1)
|
||||
$smarty->assign ('smarty_template', 'broadcast-message');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
// include ("templates/broadcast-message.php");
|
||||
// include ("templates/broadcast-message.tpl");
|
||||
}
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: create-admin.php
|
||||
* Used to create new administrators.
|
||||
* Template File: admin_create-admin.php
|
||||
* Template File: admin_create-admin.tpl
|
||||
*
|
||||
*
|
||||
* Template Variables:
|
||||
@ -59,10 +59,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('tUsername', $tUsername);
|
||||
$smarty->assign ('pAdminCreate_admin_username_text', $pAdminCreate_admin_username_text);
|
||||
$smarty->assign ('pAdminCreate_admin_password_text', $pAdminCreate_admin_password_text);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, $tDomains));
|
||||
$smarty->assign ('pAdminCreate_admin_username_text', $pAdminCreate_admin_username_text, false);
|
||||
$smarty->assign ('pAdminCreate_admin_password_text', $pAdminCreate_admin_password_text, false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, $tDomains), false);
|
||||
|
||||
$smarty->assign ('smarty_template', 'admin_create-admin');
|
||||
$smarty->display ('index.tpl');
|
||||
|
@ -11,7 +11,7 @@
|
||||
* http://www.postfixadmin.com or http://postfixadmin.sf.net
|
||||
*
|
||||
* File: create-alias-domain.php
|
||||
* Template File: create-alias-domain.php
|
||||
* Template File: create-alias-domain.tpl
|
||||
* Responsible for allowing for the creation of alias domains.
|
||||
*
|
||||
* @version $Id$
|
||||
@ -136,11 +136,11 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
$tMessage .= "<br />($fAliasDomain -> $fTargetDomain)<br />\n";
|
||||
}
|
||||
$smarty->assign ('alias_domains', (count($alias_domains) > 0));
|
||||
$smarty->assign ('select_options_alias', select_options ($alias_domains, array ($fAliasDomain)));
|
||||
$smarty->assign ('select_options_target', select_options ($target_domains, array ($fTargetDomain)));
|
||||
$smarty->assign ('select_options_alias', select_options ($alias_domains, array ($fAliasDomain)), false);
|
||||
$smarty->assign ('select_options_target', select_options ($target_domains, array ($fTargetDomain)), false);
|
||||
if ($fActive) $smarty->assign ('fActive', ' checked="checked"');
|
||||
if ($error == 1) $tMessage = '<span class="error_msg">'.$tMessage.'</span>';
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'create-alias-domain');
|
||||
$smarty->display ('index.tpl');
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
|
@ -11,7 +11,7 @@
|
||||
* http://www.postfixadmin.com or http://postfixadmin.sf.net
|
||||
*
|
||||
* File: create-alias.php
|
||||
* Template File: create-alias.php
|
||||
* Template File: create-alias.tpl
|
||||
* Responsible for allowing for the creation of mail aliases.
|
||||
*
|
||||
* @version $Id$
|
||||
@ -154,11 +154,11 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('tAddress', $tAddress);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($tDomain)));
|
||||
$smarty->assign ('pCreate_alias_address_text', $pCreate_alias_address_text);
|
||||
$smarty->assign ('tGoto', $tGoto);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($tDomain)), false);
|
||||
$smarty->assign ('pCreate_alias_address_text', $pCreate_alias_address_text, false);
|
||||
$smarty->assign ('tGoto', $tGoto, false);
|
||||
$smarty->assign ('pCreate_alias_goto_text', $pCreate_alias_goto_text);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'create-alias');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: create-domain.php
|
||||
* Allows administrators to create new domains.
|
||||
* Template File: admin_create-domain.php
|
||||
* Template File: admin_create-domain.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -143,15 +143,15 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('tDomain', $tDomain);
|
||||
$smarty->assign ('pAdminCreate_domain_domain_text', $pAdminCreate_domain_domain_text);
|
||||
$smarty->assign ('tDescription', $tDescription);
|
||||
$smarty->assign ('pAdminCreate_domain_domain_text', $pAdminCreate_domain_domain_text, false);
|
||||
$smarty->assign ('tDescription', $tDescription, false);
|
||||
$smarty->assign ('tAliases', $tAliases);
|
||||
$smarty->assign ('tMailboxes', $tMailboxes);
|
||||
$smarty->assign ('tMaxquota', $tMaxquota);
|
||||
$smarty->assign ('select_options', select_options ($CONF ['transport_options'], array ($tTransport)));
|
||||
$smarty->assign ('tMaxquota', $tMaxquota,false);
|
||||
$smarty->assign ('select_options', select_options ($CONF ['transport_options'], array ($tTransport)),false);
|
||||
$smarty->assign ('tDefaultaliases', ($tDefaultaliases == 'on') ? ' checked="checked"' : '');
|
||||
$smarty->assign ('tBackupmx', ($tBackupmx == 'on') ? ' checked="checked"' : '');
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'admin_create-domain');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -264,13 +264,13 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('tUsername', $tUsername);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($tDomain)));
|
||||
$smarty->assign ('pCreate_mailbox_username_text', $pCreate_mailbox_username_text);
|
||||
$smarty->assign ('pCreate_mailbox_password_text', $pCreate_mailbox_password_text);
|
||||
$smarty->assign ('tName', $tName);
|
||||
$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_password_text', $pCreate_mailbox_password_text, false);
|
||||
$smarty->assign ('tName', $tName, false);
|
||||
$smarty->assign ('tQuota', $tQuota);
|
||||
$smarty->assign ('pCreate_mailbox_quota_text', $pCreate_mailbox_quota_text);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('pCreate_mailbox_quota_text', $pCreate_mailbox_quota_text, false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'create-mailbox');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* Note: if a domain is deleted, all mailboxes and aliases belonging
|
||||
* to the domain are also removed.
|
||||
*
|
||||
* Template File: message.php
|
||||
* Template File: message.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-active-admin.php
|
||||
* Edit an active administrator. This is used as a 'toggle' page from list-admin.
|
||||
*
|
||||
* Template File: message.php
|
||||
* Template File: message.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: edit-active-domain.php
|
||||
* Responsible for toggling the status of a domain
|
||||
* Template File: message.php
|
||||
* Template File: message.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-active.php
|
||||
* Responsible for toggling the active status of a mailbox.
|
||||
*
|
||||
* Template File: message.php
|
||||
* Template File: message.tp
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-admin.php
|
||||
* Edits a normal administrator's details.
|
||||
*
|
||||
* Template File: admin_edit-admin.php
|
||||
* Template File: admin_edit-admin.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -151,11 +151,11 @@ if ($result['rows'] >= 1) {
|
||||
}
|
||||
|
||||
$smarty->assign ('username', $username);
|
||||
$smarty->assign ('pAdminEdit_admin_password_text', $pAdminEdit_admin_password_text);
|
||||
$smarty->assign ('pAdminEdit_admin_password_text', $pAdminEdit_admin_password_text, false);
|
||||
$smarty->assign ('tActive_checked', $tActive_checked);
|
||||
$smarty->assign ('tSadmin_checked', $tSadmin_checked);
|
||||
$smarty->assign ('select_options', select_options ($tAllDomains, $tDomains));
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('select_options', select_options ($tAllDomains, $tDomains), false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'admin_edit-admin');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-alias.php
|
||||
* Used to update an alias.
|
||||
*
|
||||
* Template File: edit-alias.php
|
||||
* Template File: edit-alias.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -173,9 +173,9 @@ $array = preg_split ('/,/', $tGoto);
|
||||
// TOCHECK
|
||||
$array = $alias_list;
|
||||
|
||||
$smarty->assign ('fAddress', $fAddress);
|
||||
$smarty->assign ('array', $array);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('fAddress', $fAddress, false);
|
||||
$smarty->assign ('array', $array, false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'edit-alias');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: edit-domain.php
|
||||
* Updates the properties of a domain.
|
||||
* Template File: admin_edit-domain.php
|
||||
* Template File: admin_edit-domain.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -114,14 +114,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('domain', $domain);
|
||||
$smarty->assign ('tDescription', htmlspecialchars($tDescription, ENT_QUOTES));
|
||||
$smarty->assign ('tDescription', htmlspecialchars($tDescription, ENT_QUOTES), false);
|
||||
$smarty->assign ('tAliases', $tAliases);
|
||||
$smarty->assign ('tMailboxes', $tMailboxes);
|
||||
$smarty->assign ('tMaxquota', $tMaxquota);
|
||||
$smarty->assign ('select_options', select_options ($CONF ['transport_options'], array ($tTransport)));
|
||||
$smarty->assign ('select_options', select_options ($CONF ['transport_options'], array ($tTransport)), false);
|
||||
if ($tBackupmx) $smarty->assign ('tBackupmx', ' checked="checked"');
|
||||
if ($tActive) $smarty->assign ('tActive', ' checked="checked"');
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage,false);
|
||||
$smarty->assign ('smarty_template', 'admin_edit-domain');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: edit-mailbox.php
|
||||
* Used to update an existing mailboxes settings.
|
||||
* Template File: edit-mailbox.php
|
||||
* Template File: edit-mailbox.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -176,16 +176,17 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('fUsername', $fUsername);
|
||||
$smarty->assign ('fPassword', $user_details ['password']);
|
||||
$smarty->assign ('fPassword', $user_details ['password'], false);
|
||||
//$smarty->assign ('pEdit_mailbox_username_text', $pEdit_mailbox_username_text);
|
||||
$smarty->assign ('pEdit_mailbox_password_text', $pEdit_mailbox_password_text);
|
||||
$smarty->assign ('tName', htmlspecialchars ($tName,ENT_QUOTES));
|
||||
$smarty->assign ('pEdit_mailbox_name_text', $pEdit_mailbox_name_text);
|
||||
$smarty->assign ('pEdit_mailbox_password_text', $pEdit_mailbox_password_text, false);
|
||||
//$smarty->assign ('tName', htmlspecialchars ($tName,ENT_QUOTES));
|
||||
$smarty->assign ('tName', $tName, false);
|
||||
$smarty->assign ('pEdit_mailbox_name_text', $pEdit_mailbox_name_text,false);
|
||||
$smarty->assign ('tMaxquota', $tMaxquota);
|
||||
$smarty->assign ('tQuota', $tQuota);
|
||||
$smarty->assign ('pEdit_mailbox_quota_text', $pEdit_mailbox_quota_text);
|
||||
if ($tActive) $smarty->assign ('tActive', ' checked="checked"');
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'edit-mailbox');
|
||||
$smarty->display ('index.tpl');
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-vacation.php
|
||||
* Responsible for allowing users to update their vacation status.
|
||||
*
|
||||
* Template File: edit-vacation.php
|
||||
* Template File: edit-vacation.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -209,9 +209,9 @@ if (empty ($tActiveUntil))
|
||||
$tActiveUntil = date ("Y-m-d");
|
||||
|
||||
$smarty->assign ('tUseremail', $tUseremail);
|
||||
$smarty->assign ('tSubject', htmlentities(stripslashes($tSubject), ENT_QUOTES, 'UTF-8'));
|
||||
$smarty->assign ('tBody', htmlentities(stripslashes($tBody), ENT_QUOTES , 'UTF-8'));
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tSubject', htmlentities(stripslashes($tSubject), ENT_QUOTES, 'UTF-8'),false);
|
||||
$smarty->assign ('tBody', htmlentities(stripslashes($tBody), ENT_QUOTES , 'UTF-8'),false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('tActiveFrom', date ("d.m.Y", strtotime ($tActiveFrom)));
|
||||
$smarty->assign ('tActiveUntil', date ("d.m.Y", strtotime ($tActiveUntil)));
|
||||
$smarty->assign ('fCanceltarget', $fCanceltarget);
|
||||
|
@ -14,6 +14,7 @@
|
||||
*
|
||||
* File: fetchmail.php
|
||||
* Responsible for setting up fetchmail
|
||||
* template : fetchmail.tpl
|
||||
*
|
||||
* @version $Id$
|
||||
* @license GNU GPL v2 or later.
|
||||
@ -372,7 +373,7 @@ function _listview_password($val){
|
||||
|
||||
$smarty->assign ('edit', $edit);
|
||||
$smarty->assign ('new', $new);
|
||||
$smarty->assign ('fetchmail_edit_row', fetchmail_edit_row($formvars));
|
||||
$smarty->assign ('fetchmail_edit_row', fetchmail_edit_row($formvars),false);
|
||||
$smarty->assign ('headers', $headers);
|
||||
$smarty->assign ('user_domains', $user_domains);
|
||||
$smarty->assign ('tFmail', $tFmail);
|
||||
|
@ -41,7 +41,7 @@ $PALANG['pMain_welcome'] = 'Welkom bij Postfix Admin!';
|
||||
$PALANG['pMain_overview'] = 'Laat uw aliassen en mailboxen zien. U kunt ze vanaf hier bewerken / verwijderen.';
|
||||
$PALANG['pMain_create_alias'] = 'Maak een nieuwe alias aan voor uw domein.';
|
||||
$PALANG['pMain_create_mailbox'] = 'Maak een nieuwe mailbox aan voor uw domein.';
|
||||
$PALANG['pMain_sendmail'] = 'Verstuur een e-mail naar één van de nieuwe mailboxen.';
|
||||
$PALANG['pMain_sendmail'] = 'Verstuur een e-mail naar een van de nieuwe mailboxen.';
|
||||
$PALANG['pMain_password'] = 'Wijzig uw wachtwoord.';
|
||||
$PALANG['pMain_viewlog'] = 'Laat de log files zien';
|
||||
$PALANG['pMain_logout'] = 'Uitloggen';
|
||||
@ -189,7 +189,7 @@ $PALANG['pViewlog_timestamp'] = 'Tijd';
|
||||
$PALANG['pViewlog_username'] = 'Beheerder';
|
||||
$PALANG['pViewlog_domain'] = 'Domein';
|
||||
$PALANG['pViewlog_action'] = 'Actie';
|
||||
$PALANG['pViewlog_data'] = 'Datum';
|
||||
$PALANG['pViewlog_data'] = 'Aanpassing';
|
||||
$PALANG['pViewlog_action_create_mailbox'] = 'Mailbox toegevoegd';
|
||||
$PALANG['pViewlog_action_delete_mailbox'] = 'Mailbox verwijdert';
|
||||
$PALANG['pViewlog_action_edit_mailbox'] = 'Mailbox bewerkt';
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: list-admin.php
|
||||
* Lists all administrators
|
||||
* Template File: list-admin.php
|
||||
* Template File: list-admin.tpl
|
||||
*
|
||||
* Template Variables: -none-
|
||||
*
|
||||
@ -40,7 +40,7 @@ if ((is_array ($list_admins) and sizeof ($list_admins) > 0))
|
||||
}
|
||||
}
|
||||
$smarty->assign ('admin_properties', $admin_properties);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'admin_list-admin');
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
/**
|
||||
<?php /**
|
||||
* Postfix Admin
|
||||
*
|
||||
* LICENSE
|
||||
@ -14,7 +13,7 @@
|
||||
*
|
||||
* File: list-domain.php
|
||||
* List all domains as a quick overview.
|
||||
* Template File: admin_list-domain.php
|
||||
* Template File: admin_list-domain.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
|
@ -87,7 +87,7 @@ if (!check_owner(authentication_get_username(), $fDomain)) {
|
||||
}
|
||||
|
||||
// store fDomain in $_SESSION so after adding/editing aliases/mailboxes we can
|
||||
// take the user back to the appropriate domain listing. (see templates/menu.php)
|
||||
// take the user back to the appropriate domain listing. (see templates/menu.tpl)
|
||||
if($fDomain) {
|
||||
$_SESSION['list_virtual_sticky_domain'] = $fDomain;
|
||||
}
|
||||
@ -431,9 +431,9 @@ $nav_bar_mailbox->url = '&domain='.$fDomain;
|
||||
// this is why we need a proper template layer.
|
||||
$fDomain = htmlentities($fDomain, ENT_QUOTES);
|
||||
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($fDomain)));
|
||||
$smarty->assign ('nav_bar_alias', array ('top' => $nav_bar_alias->display_top (), 'bottom' => $nav_bar_alias->display_bottom ()));
|
||||
$smarty->assign ('nav_bar_mailbox', array ('top' => $nav_bar_mailbox->display_top (), 'bottom' => $nav_bar_mailbox->display_bottom ()));
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($fDomain)), false);
|
||||
$smarty->assign ('nav_bar_alias', array ('top' => $nav_bar_alias->display_top (), 'bottom' => $nav_bar_alias->display_bottom ()), false);
|
||||
$smarty->assign ('nav_bar_mailbox', array ('top' => $nav_bar_mailbox->display_top (), 'bottom' => $nav_bar_mailbox->display_bottom ()), false);
|
||||
|
||||
$smarty->assign ('fDomain', $fDomain);
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: login.php
|
||||
* Authenticates a user, and populates their $_SESSION as appropriate.
|
||||
* Template File: login.php
|
||||
* Template File: login.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -97,7 +97,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$smarty->assign ('tUsername', $tUsername);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
|
||||
$smarty->assign ('smarty_template', 'login');
|
||||
$smarty->display ('index.tpl');
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: password.php
|
||||
* Allows admins to change their own password.
|
||||
* Template File: password.php
|
||||
* Template File: password.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -90,7 +90,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
|
||||
$smarty->assign ('pPassword_password_current_text', $pPassword_password_current_text);
|
||||
$smarty->assign ('pPassword_password_text', $pPassword_password_text);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage,false);
|
||||
$smarty->display ('index.tpl');
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: search.php
|
||||
* Provides a method for searching for a user/mailbox
|
||||
* Template File: search.php
|
||||
* Template File: search.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -174,11 +174,11 @@ for ($i = 0; $i < sizeof ($tMailbox); $i++)
|
||||
}
|
||||
|
||||
$smarty->assign ('fSearch', $fSearch);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($list_domains[0])));
|
||||
$smarty->assign ('tAlias', $tAlias);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($list_domains[0])), false);
|
||||
$smarty->assign ('tAlias', $tAlias, false);
|
||||
|
||||
$smarty->assign ('check_alias_owner', $check_alias_owner);
|
||||
$smarty->assign ('tMailbox', $tMailbox);
|
||||
$smarty->assign ('tMailbox', $tMailbox, false);
|
||||
$smarty->assign ('divide_quota', $divide_quota);
|
||||
|
||||
$smarty->assign ('smarty_template', 'search');
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: sendmail.php
|
||||
* Used to send an email to a user.
|
||||
* Template File: sendmail.php
|
||||
* Template File: sendmail.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -80,7 +80,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
$smarty->assign ('SESSID_USERNAME', $SESSID_USERNAME);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
|
||||
$smarty->assign ('smarty_template', 'sendmail');
|
||||
$smarty->display ('index.tpl');
|
||||
|
@ -17,14 +17,14 @@
|
||||
<tr>
|
||||
<td>{$PALANG.pAdminCreate_admin_password2}:</td>
|
||||
<td><input class="flat" type="password" name="fPassword2" /></td>
|
||||
<td> </td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$PALANG.pAdminCreate_admin_address}:</td>
|
||||
<td>
|
||||
<select name="fDomains[]" size="10" multiple="multiple">{$select_options}</select>
|
||||
</td>
|
||||
<td> </td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="{$PALANG.pAdminCreate_admin_button}" /></td>
|
||||
|
@ -29,10 +29,10 @@
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<select name="fDomains[]" size="10" multiple="multiple">
|
||||
{$select_options}
|
||||
</select>
|
||||
<td>{$PALANG.pAdminCreate_admin_address}:</td>
|
||||
<td>
|
||||
<select name="fDomains[]" size="10" multiple="multiple">{$select_options}</select>
|
||||
<td> </td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<a target="_blank" href="http://postfixadmin.sf.net/update-check.php?version={$version|escape:"url"}">{$PALANG.check_update}</a>
|
||||
{if $CONF.show_footer_text == 'YES' && $CONF.footer_link}
|
||||
|
|
||||
<a href="{$CONF.footer_link|escape:"url"}">{$CONF.footer_text|escape:"url"}</a>
|
||||
<a href="{$CONF.footer_link|escape:"url"}">{$CONF.footer_text|escape}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</body>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-alias.php
|
||||
* Users can use this to set forwards etc for their mailbox.
|
||||
*
|
||||
* Template File: users_edit-alias.php
|
||||
* Template File: users_edit-alias.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -113,7 +113,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
else {
|
||||
$tGotoArray = $goto;
|
||||
}
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->display ('index.tpl');
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: login.php
|
||||
* Used to authenticate want-to-be users.
|
||||
* Template File: login.php
|
||||
* Template File: login.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
require_once("../common.php");
|
||||
|
||||
$smarty->assign ('language_selector', language_selector());
|
||||
$smarty->assign ('language_selector', language_selector(), false);
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
@ -66,7 +66,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
$tUsername = $fUsername;
|
||||
}
|
||||
$smarty->assign ('tUsername', $tUsername);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('smarty_template', 'users_login');
|
||||
$smarty->display ('index.tpl');
|
||||
}
|
||||
|
@ -74,9 +74,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
|
||||
$smarty->assign ('USERID_USERNAME', $USERID_USERNAME);
|
||||
//$smarty->assign ('pPassword_admin_text', $pPassword_admin_text);
|
||||
$smarty->assign ('pPassword_password_current_text', $pPassword_password_current_text);
|
||||
$smarty->assign ('pPassword_password_text', $pPassword_password_text);
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('pPassword_password_current_text', $pPassword_password_current_text, false);
|
||||
$smarty->assign ('pPassword_password_text', $pPassword_password_text, false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
|
||||
$smarty->assign ('smarty_template', 'users_password');
|
||||
$smarty->display ('index.tpl');
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: vacation.php
|
||||
* Used by users to set/change their vacation settings.
|
||||
*
|
||||
* Template File: users_vacation.php
|
||||
* Template File: users_vacation.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -107,9 +107,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
$smarty->assign ('tSubject', htmlentities ($tSubject, ENT_QUOTES, 'UTF-8'));
|
||||
$smarty->assign ('tBody', htmlentities ($tBody, ENT_QUOTES, 'UTF-8'));
|
||||
$smarty->assign ('tMessage', $tMessage);
|
||||
$smarty->assign ('tSubject', htmlentities ($tSubject, ENT_QUOTES, 'UTF-8'), false);
|
||||
$smarty->assign ('tBody', htmlentities ($tBody, ENT_QUOTES, 'UTF-8'), false);
|
||||
$smarty->assign ('tMessage', $tMessage, false);
|
||||
$smarty->assign ('tActiveFrom', date ("d.m.Y", strtotime ($fActiveFrom)));
|
||||
$smarty->assign ('tActiveUntil', date ("d.m.Y", strtotime ($fActiveUntil)));
|
||||
$smarty->assign ('smarty_template', 'users_vacation');
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: viewlog.php
|
||||
* Shows entries from the log table to users.
|
||||
*
|
||||
* Template File: viewlog.php
|
||||
* Template File: viewlog.tpl
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -77,8 +77,8 @@ if ($error != 1)
|
||||
for ($i = 0; $i < count ($tLog); $i++)
|
||||
$tLog[$i]['action'] = $PALANG ['pViewlog_action_'.$tLog [$i]['action']];
|
||||
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($fDomain)));
|
||||
$smarty->assign ('tLog', $tLog);
|
||||
$smarty->assign ('select_options', select_options ($list_domains, array ($fDomain)), false);
|
||||
$smarty->assign ('tLog', $tLog,false);
|
||||
$smarty->assign ('fDomain', $fDomain);
|
||||
$smarty->assign ('smarty_template', 'viewlog');
|
||||
$smarty->display ('index.tpl');
|
||||
|
Loading…
Reference in New Issue
Block a user