mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
rename templates to .php instead of .tpl
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@250 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
9b295d27ce
commit
39953d029d
@ -63,10 +63,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
if (!$fh = fopen ($backup, 'w'))
|
||||
{
|
||||
$tMessage = "<div class=\"error_msg\">Cannot open file ($backup)</div>";
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/message.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/message.php");
|
||||
include ("templates/footer.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -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.tpl
|
||||
* Template File: broadcast-message.php
|
||||
*
|
||||
* Template Variables: -none-
|
||||
*
|
||||
@ -78,19 +78,19 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
}
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
echo '<p>'.$PALANG['pBroadcast_success'].'</p>';
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/footer.php");
|
||||
}
|
||||
}
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "GET" || $error == 1)
|
||||
{
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/broadcast-message.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/broadcast-message.php");
|
||||
include ("templates/footer.php");
|
||||
}
|
||||
|
||||
/* 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.tpl
|
||||
* Template File: admin_create-admin.php
|
||||
*
|
||||
*
|
||||
* Template Variables:
|
||||
@ -60,10 +60,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/admin_create-admin.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/admin_create-admin.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* 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.tpl
|
||||
* Template File: create-alias.php
|
||||
* Responsible for allowing for the creation of mail aliases.
|
||||
*
|
||||
* @version $Id$
|
||||
@ -152,8 +152,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/create-alias.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/create-alias.php");
|
||||
include ("templates/footer.php");
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: create-domain.php
|
||||
* Allows administrators to create new domains.
|
||||
* Template File: admin_create-domain.tpl
|
||||
* Template File: admin_create-domain.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -120,10 +120,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/admin_create-domain.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/admin_create-domain.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -330,10 +330,10 @@ TODO: this is the end of /create-mailbox.php code segment
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/create-mailbox.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/create-mailbox.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
10
delete.php
10
delete.php
@ -17,7 +17,7 @@
|
||||
* Note: if a domain is deleted, all mailboxes and aliases belonging
|
||||
* to the domain are also removed.
|
||||
*
|
||||
* Template File: message.tpl
|
||||
* Template File: message.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -164,10 +164,10 @@ else
|
||||
}
|
||||
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/message.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/message.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -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.tpl
|
||||
* Template File: message.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -51,10 +51,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/message.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/message.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: edit-active-domain.php
|
||||
* Responsible for toggling the status of a domain
|
||||
* Template File: message.tpl
|
||||
* Template File: message.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -50,10 +50,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/message.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/message.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-active.php
|
||||
* Responsible for toggling the active status of a mailbox.
|
||||
*
|
||||
* Template File: message.tpl
|
||||
* Template File: message.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -91,9 +91,9 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/message.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/message.php");
|
||||
include ("templates/footer.php");
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-admin.php
|
||||
* Edits a normal administrator's details.
|
||||
*
|
||||
* Template File: admin_edit-admin.tpl
|
||||
* Template File: admin_edit-admin.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -150,10 +150,10 @@ if ($result['rows'] >= 1) {
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/admin_edit-admin.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/admin_edit-admin.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-alias.php
|
||||
* Used to update an alias.
|
||||
*
|
||||
* Template File: edit-alias.tpl
|
||||
* Template File: edit-alias.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -127,10 +127,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/edit-alias.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/edit-alias.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: edit-domain.php
|
||||
* Updates the properties of a domain.
|
||||
* Template File: admin_edit-domain.tpl
|
||||
* Template File: admin_edit-domain.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -104,10 +104,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/admin_edit-domain.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/admin_edit-domain.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: edit-mailbox.php
|
||||
* Used to update an existing mailboxes settings.
|
||||
* Template File: edit-mailbox.tpl
|
||||
* Template File: edit-mailbox.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -157,9 +157,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/edit-mailbox.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/edit-mailbox.php");
|
||||
include ("templates/footer.php");
|
||||
/* 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.tpl
|
||||
* Template File: edit-vacation.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -191,9 +191,9 @@ else {
|
||||
$tMessage = $PALANG['pVacation_result_error'];
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/edit-vacation.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/edit-vacation.php");
|
||||
include ("templates/footer.php");
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -250,10 +250,10 @@ function _inp_password($val){
|
||||
return base64_encode($val);
|
||||
}
|
||||
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/menu.tpl");
|
||||
include ("./templates/fetchmail.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/menu.php");
|
||||
include ("./templates/fetchmail.php");
|
||||
include ("./templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: list-admin.php
|
||||
* Lists all administrators
|
||||
* Template File: list-admin.tpl
|
||||
* Template File: list-admin.php
|
||||
*
|
||||
* Template Variables: -none-
|
||||
*
|
||||
@ -32,9 +32,9 @@ if ((is_array ($list_admins) and sizeof ($list_admins) > 0)) {
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/admin_list-admin.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/admin_list-admin.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: list-domain.php
|
||||
* List all domains as a quick overview.
|
||||
* Template File: admin_list-domain.tpl
|
||||
* Template File: admin_list-domain.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -59,15 +59,15 @@ if (isset($admin_properties) && $admin_properties['domain_count'] == 'ALL') { #
|
||||
}
|
||||
#}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
|
||||
if ($is_superadmin) {
|
||||
include ("templates/admin_list-domain.tpl");
|
||||
include ("templates/admin_list-domain.php");
|
||||
} else {
|
||||
include ("templates/overview-get.tpl");
|
||||
include ("templates/overview-get.php");
|
||||
}
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: list-virtual.php
|
||||
* List virtual users for a domain.
|
||||
*
|
||||
* Template File: list-virtual.tpl
|
||||
* Template File: list-virtual.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -165,10 +165,10 @@ if (isset ($limit)) {
|
||||
}
|
||||
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/list-virtual.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/list-virtual.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
14
login.php
14
login.php
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: login.php
|
||||
* Authenticates a user, and populates their $_SESSION as appropriate.
|
||||
* Template File: login.tpl
|
||||
* Template File: login.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -43,9 +43,9 @@ if (file_exists (realpath ("./setup.php"))) {
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/login.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/login.php");
|
||||
include ("./templates/footer.php");
|
||||
}
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
@ -94,8 +94,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
exit(0);
|
||||
}
|
||||
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/login.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/login.php");
|
||||
include ("./templates/footer.php");
|
||||
}
|
||||
?>
|
||||
|
10
main.php
10
main.php
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: main.php
|
||||
* Displays a menu/home page.
|
||||
* Template File: main.tpl
|
||||
* Template File: main.php
|
||||
*
|
||||
* Template Variables: -none-
|
||||
*
|
||||
@ -27,8 +27,8 @@ $SESSID_USERNAME = authentication_get_username();
|
||||
|
||||
authentication_require_role('admin');
|
||||
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/menu.tpl");
|
||||
include ("./templates/main.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/menu.php");
|
||||
include ("./templates/main.php");
|
||||
include ("./templates/footer.php");
|
||||
?>
|
||||
|
18
password.php
18
password.php
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: password.php
|
||||
* Allows admins to change their own password.
|
||||
* Template File: password.tpl
|
||||
* Template File: password.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -35,10 +35,10 @@ $SESSID_USERNAME = authentication_get_username();
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/menu.tpl");
|
||||
include ("./templates/password.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/menu.php");
|
||||
include ("./templates/password.php");
|
||||
include ("./templates/footer.php");
|
||||
}
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
@ -88,9 +88,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/menu.tpl");
|
||||
include ("./templates/password.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/menu.php");
|
||||
include ("./templates/password.php");
|
||||
include ("./templates/footer.php");
|
||||
}
|
||||
?>
|
||||
|
10
search.php
10
search.php
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: search.php
|
||||
* Provides a method for searching for a user/mailbox
|
||||
* Template File: search.tpl
|
||||
* Template File: search.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -116,9 +116,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/search.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/search.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
?>
|
||||
|
10
sendmail.php
10
sendmail.php
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: sendmail.php
|
||||
* Used to send an email to a user.
|
||||
* Template File: sendmail.tpl
|
||||
* Template File: sendmail.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -74,10 +74,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("./templates/header.tpl");
|
||||
include ("./templates/menu.tpl");
|
||||
include ("./templates/sendmail.tpl");
|
||||
include ("./templates/footer.tpl");
|
||||
include ("./templates/header.php");
|
||||
include ("./templates/menu.php");
|
||||
include ("./templates/sendmail.php");
|
||||
include ("./templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -27,7 +27,7 @@ require_once("languages/en.lang");
|
||||
require_once("functions.inc.php");
|
||||
|
||||
$CONF['show_header_text'] = 'NO';
|
||||
require('templates/header.tpl');
|
||||
require('templates/header.php');
|
||||
?>
|
||||
|
||||
<div class='setup'>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: edit-alias.php
|
||||
* Users can use this to set forwards etc for their mailbox.
|
||||
*
|
||||
* Template File: users_edit-alias.tpl
|
||||
* Template File: users_edit-alias.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -55,10 +55,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
$tMessage = $PALANG['pEdit_alias_address_error'];
|
||||
}
|
||||
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/users_edit-alias.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_menu.php");
|
||||
include ("../templates/users_edit-alias.php");
|
||||
include ("../templates/footer.php");
|
||||
}
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
@ -130,9 +130,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/users_edit-alias.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_menu.php");
|
||||
include ("../templates/users_edit-alias.php");
|
||||
include ("../templates/footer.php");
|
||||
}
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: login.php
|
||||
* Used to authenticate want-to-be users.
|
||||
* Template File: login.tpl
|
||||
* Template File: login.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -32,9 +32,9 @@ require_once("../common.php");
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_login.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_login.php");
|
||||
include ("../templates/footer.php");
|
||||
}
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
@ -78,9 +78,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
exit;
|
||||
}
|
||||
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_login.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_login.php");
|
||||
include ("../templates/footer.php");
|
||||
}
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: main.php
|
||||
* 'Home page' for logged in users.
|
||||
* Template File: main.tpl
|
||||
* Template File: main.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -40,17 +40,17 @@ else
|
||||
|
||||
if ($_SERVER["REQUEST_METHOD"] == "GET")
|
||||
{
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/users_main.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_menu.php");
|
||||
include ("../templates/users_main.php");
|
||||
include ("../templates/footer.php");
|
||||
}
|
||||
|
||||
if ($_SERVER["REQUEST_METHOD"] == "POST")
|
||||
{
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/users_main.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_menu.php");
|
||||
include ("../templates/users_main.php");
|
||||
include ("../templates/footer.php");
|
||||
}
|
||||
?>
|
||||
|
@ -14,7 +14,7 @@
|
||||
*
|
||||
* File: password.php
|
||||
* Used by users to change their mailbox (and login) password.
|
||||
* Template File: users_password.tpl
|
||||
* Template File: users_password.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -91,10 +91,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/users_password.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_menu.php");
|
||||
include ("../templates/users_password.php");
|
||||
include ("../templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
|
||||
?>
|
||||
|
@ -15,7 +15,7 @@
|
||||
* File: vacation.php
|
||||
* Used by users to set/change their vacation settings.
|
||||
*
|
||||
* Template File: users_vacation.tpl
|
||||
* Template File: users_vacation.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -182,10 +182,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
}
|
||||
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/users_vacation.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
include ("../templates/header.php");
|
||||
include ("../templates/users_menu.php");
|
||||
include ("../templates/users_vacation.php");
|
||||
include ("../templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
|
||||
?>
|
||||
|
10
viewlog.php
10
viewlog.php
@ -15,7 +15,7 @@
|
||||
* File: viewlog.php
|
||||
* Shows entries from the log table to users.
|
||||
*
|
||||
* Template File: viewlog.tpl
|
||||
* Template File: viewlog.php
|
||||
*
|
||||
* Template Variables:
|
||||
*
|
||||
@ -74,10 +74,10 @@ if ($error != 1)
|
||||
}
|
||||
}
|
||||
|
||||
include ("templates/header.tpl");
|
||||
include ("templates/menu.tpl");
|
||||
include ("templates/viewlog.tpl");
|
||||
include ("templates/footer.tpl");
|
||||
include ("templates/header.php");
|
||||
include ("templates/menu.php");
|
||||
include ("templates/viewlog.php");
|
||||
include ("templates/footer.php");
|
||||
|
||||
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user