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
postfixadmin-2.3
David Goodwin 17 years ago
parent 9b295d27ce
commit 39953d029d

@ -63,10 +63,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
if (!$fh = fopen ($backup, 'w')) if (!$fh = fopen ($backup, 'w'))
{ {
$tMessage = "<div class=\"error_msg\">Cannot open file ($backup)</div>"; $tMessage = "<div class=\"error_msg\">Cannot open file ($backup)</div>";
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/message.tpl"); include ("templates/message.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
} }
else else
{ {

@ -15,7 +15,7 @@
* File: broadcast-message.php * File: broadcast-message.php
* Used to send a message to _ALL_ users with mailboxes on this server. * 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- * Template Variables: -none-
* *
@ -78,19 +78,19 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
echo '<p>'.$PALANG['pBroadcast_success'].'</p>'; echo '<p>'.$PALANG['pBroadcast_success'].'</p>';
include ("templates/footer.tpl"); include ("templates/footer.php");
} }
} }
if ($_SERVER['REQUEST_METHOD'] == "GET" || $error == 1) if ($_SERVER['REQUEST_METHOD'] == "GET" || $error == 1)
{ {
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/broadcast-message.tpl"); include ("templates/broadcast-message.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
} }
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */

@ -14,7 +14,7 @@
* *
* File: create-admin.php * File: create-admin.php
* Used to create new administrators. * Used to create new administrators.
* Template File: admin_create-admin.tpl * Template File: admin_create-admin.php
* *
* *
* Template Variables: * Template Variables:
@ -60,10 +60,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/admin_create-admin.tpl"); include ("templates/admin_create-admin.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -11,7 +11,7 @@
* http://www.postfixadmin.com or http://postfixadmin.sf.net * http://www.postfixadmin.com or http://postfixadmin.sf.net
* *
* File: create-alias.php * File: create-alias.php
* Template File: create-alias.tpl * Template File: create-alias.php
* Responsible for allowing for the creation of mail aliases. * Responsible for allowing for the creation of mail aliases.
* *
* @version $Id$ * @version $Id$
@ -152,8 +152,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/create-alias.tpl"); include ("templates/create-alias.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
?> ?>

@ -14,7 +14,7 @@
* *
* File: create-domain.php * File: create-domain.php
* Allows administrators to create new domains. * Allows administrators to create new domains.
* Template File: admin_create-domain.tpl * Template File: admin_create-domain.php
* *
* Template Variables: * Template Variables:
* *
@ -120,10 +120,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/admin_create-domain.tpl"); include ("templates/admin_create-domain.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* 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/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/create-mailbox.tpl"); include ("templates/create-mailbox.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -17,7 +17,7 @@
* Note: if a domain is deleted, all mailboxes and aliases belonging * Note: if a domain is deleted, all mailboxes and aliases belonging
* to the domain are also removed. * to the domain are also removed.
* *
* Template File: message.tpl * Template File: message.php
* *
* Template Variables: * Template Variables:
* *
@ -164,10 +164,10 @@ else
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/message.tpl"); include ("templates/message.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -15,7 +15,7 @@
* File: edit-active-admin.php * File: edit-active-admin.php
* Edit an active administrator. This is used as a 'toggle' page from list-admin. * Edit an active administrator. This is used as a 'toggle' page from list-admin.
* *
* Template File: message.tpl * Template File: message.php
* *
* Template Variables: * Template Variables:
* *
@ -51,10 +51,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/message.tpl"); include ("templates/message.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */

@ -14,7 +14,7 @@
* *
* File: edit-active-domain.php * File: edit-active-domain.php
* Responsible for toggling the status of a domain * Responsible for toggling the status of a domain
* Template File: message.tpl * Template File: message.php
* *
* Template Variables: * Template Variables:
* *
@ -50,10 +50,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/message.tpl"); include ("templates/message.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -15,7 +15,7 @@
* File: edit-active.php * File: edit-active.php
* Responsible for toggling the active status of a mailbox. * Responsible for toggling the active status of a mailbox.
* *
* Template File: message.tpl * Template File: message.php
* *
* Template Variables: * Template Variables:
* *
@ -91,9 +91,9 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/message.tpl"); include ("templates/message.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -15,7 +15,7 @@
* File: edit-admin.php * File: edit-admin.php
* Edits a normal administrator's details. * Edits a normal administrator's details.
* *
* Template File: admin_edit-admin.tpl * Template File: admin_edit-admin.php
* *
* Template Variables: * Template Variables:
* *
@ -150,10 +150,10 @@ if ($result['rows'] >= 1) {
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/admin_edit-admin.tpl"); include ("templates/admin_edit-admin.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -15,7 +15,7 @@
* File: edit-alias.php * File: edit-alias.php
* Used to update an alias. * Used to update an alias.
* *
* Template File: edit-alias.tpl * Template File: edit-alias.php
* *
* Template Variables: * Template Variables:
* *
@ -127,10 +127,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/edit-alias.tpl"); include ("templates/edit-alias.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -14,7 +14,7 @@
* *
* File: edit-domain.php * File: edit-domain.php
* Updates the properties of a domain. * Updates the properties of a domain.
* Template File: admin_edit-domain.tpl * Template File: admin_edit-domain.php
* *
* Template Variables: * Template Variables:
* *
@ -104,10 +104,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/admin_edit-domain.tpl"); include ("templates/admin_edit-domain.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -14,7 +14,7 @@
* *
* File: edit-mailbox.php * File: edit-mailbox.php
* Used to update an existing mailboxes settings. * Used to update an existing mailboxes settings.
* Template File: edit-mailbox.tpl * Template File: edit-mailbox.php
* *
* Template Variables: * Template Variables:
* *
@ -157,9 +157,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/edit-mailbox.tpl"); include ("templates/edit-mailbox.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -15,7 +15,7 @@
* File: edit-vacation.php * File: edit-vacation.php
* Responsible for allowing users to update their vacation status. * Responsible for allowing users to update their vacation status.
* *
* Template File: edit-vacation.tpl * Template File: edit-vacation.php
* *
* Template Variables: * Template Variables:
* *
@ -191,9 +191,9 @@ else {
$tMessage = $PALANG['pVacation_result_error']; $tMessage = $PALANG['pVacation_result_error'];
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/edit-vacation.tpl"); include ("templates/edit-vacation.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -250,10 +250,10 @@ function _inp_password($val){
return base64_encode($val); return base64_encode($val);
} }
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/menu.tpl"); include ("./templates/menu.php");
include ("./templates/fetchmail.tpl"); include ("./templates/fetchmail.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -14,7 +14,7 @@
* *
* File: list-admin.php * File: list-admin.php
* Lists all administrators * Lists all administrators
* Template File: list-admin.tpl * Template File: list-admin.php
* *
* Template Variables: -none- * Template Variables: -none-
* *
@ -32,9 +32,9 @@ if ((is_array ($list_admins) and sizeof ($list_admins) > 0)) {
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/admin_list-admin.tpl"); include ("templates/admin_list-admin.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
?> ?>

@ -14,7 +14,7 @@
* *
* File: list-domain.php * File: list-domain.php
* List all domains as a quick overview. * List all domains as a quick overview.
* Template File: admin_list-domain.tpl * Template File: admin_list-domain.php
* *
* Template Variables: * Template Variables:
* *
@ -59,15 +59,15 @@ if (isset($admin_properties) && $admin_properties['domain_count'] == 'ALL') { #
} }
#} #}
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
if ($is_superadmin) { if ($is_superadmin) {
include ("templates/admin_list-domain.tpl"); include ("templates/admin_list-domain.php");
} else { } 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: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -15,7 +15,7 @@
* File: list-virtual.php * File: list-virtual.php
* List virtual users for a domain. * List virtual users for a domain.
* *
* Template File: list-virtual.tpl * Template File: list-virtual.php
* *
* Template Variables: * Template Variables:
* *
@ -165,10 +165,10 @@ if (isset ($limit)) {
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/list-virtual.tpl"); include ("templates/list-virtual.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -14,7 +14,7 @@
* *
* File: login.php * File: login.php
* Authenticates a user, and populates their $_SESSION as appropriate. * Authenticates a user, and populates their $_SESSION as appropriate.
* Template File: login.tpl * Template File: login.php
* *
* Template Variables: * Template Variables:
* *
@ -43,9 +43,9 @@ if (file_exists (realpath ("./setup.php"))) {
if ($_SERVER['REQUEST_METHOD'] == "GET") if ($_SERVER['REQUEST_METHOD'] == "GET")
{ {
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/login.tpl"); include ("./templates/login.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
} }
if ($_SERVER['REQUEST_METHOD'] == "POST") if ($_SERVER['REQUEST_METHOD'] == "POST")
@ -94,8 +94,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
exit(0); exit(0);
} }
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/login.tpl"); include ("./templates/login.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
} }
?> ?>

@ -14,7 +14,7 @@
* *
* File: main.php * File: main.php
* Displays a menu/home page. * Displays a menu/home page.
* Template File: main.tpl * Template File: main.php
* *
* Template Variables: -none- * Template Variables: -none-
* *
@ -27,8 +27,8 @@ $SESSID_USERNAME = authentication_get_username();
authentication_require_role('admin'); authentication_require_role('admin');
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/menu.tpl"); include ("./templates/menu.php");
include ("./templates/main.tpl"); include ("./templates/main.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
?> ?>

@ -14,7 +14,7 @@
* *
* File: password.php * File: password.php
* Allows admins to change their own password. * Allows admins to change their own password.
* Template File: password.tpl * Template File: password.php
* *
* Template Variables: * Template Variables:
* *
@ -35,10 +35,10 @@ $SESSID_USERNAME = authentication_get_username();
if ($_SERVER['REQUEST_METHOD'] == "GET") if ($_SERVER['REQUEST_METHOD'] == "GET")
{ {
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/menu.tpl"); include ("./templates/menu.php");
include ("./templates/password.tpl"); include ("./templates/password.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
} }
if ($_SERVER['REQUEST_METHOD'] == "POST") if ($_SERVER['REQUEST_METHOD'] == "POST")
@ -88,9 +88,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/menu.tpl"); include ("./templates/menu.php");
include ("./templates/password.tpl"); include ("./templates/password.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
} }
?> ?>

@ -14,7 +14,7 @@
* *
* File: search.php * File: search.php
* Provides a method for searching for a user/mailbox * Provides a method for searching for a user/mailbox
* Template File: search.tpl * Template File: search.php
* *
* Template Variables: * Template Variables:
* *
@ -116,9 +116,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/search.tpl"); include ("templates/search.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
?> ?>

@ -14,7 +14,7 @@
* *
* File: sendmail.php * File: sendmail.php
* Used to send an email to a user. * Used to send an email to a user.
* Template File: sendmail.tpl * Template File: sendmail.php
* *
* Template Variables: * Template Variables:
* *
@ -74,10 +74,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("./templates/header.tpl"); include ("./templates/header.php");
include ("./templates/menu.tpl"); include ("./templates/menu.php");
include ("./templates/sendmail.tpl"); include ("./templates/sendmail.php");
include ("./templates/footer.tpl"); include ("./templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -27,7 +27,7 @@ require_once("languages/en.lang");
require_once("functions.inc.php"); require_once("functions.inc.php");
$CONF['show_header_text'] = 'NO'; $CONF['show_header_text'] = 'NO';
require('templates/header.tpl'); require('templates/header.php');
?> ?>
<div class='setup'> <div class='setup'>

@ -15,7 +15,7 @@
* File: edit-alias.php * File: edit-alias.php
* Users can use this to set forwards etc for their mailbox. * 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: * Template Variables:
* *
@ -55,10 +55,10 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
$tMessage = $PALANG['pEdit_alias_address_error']; $tMessage = $PALANG['pEdit_alias_address_error'];
} }
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_menu.tpl"); include ("../templates/users_menu.php");
include ("../templates/users_edit-alias.tpl"); include ("../templates/users_edit-alias.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
} }
if ($_SERVER['REQUEST_METHOD'] == "POST") if ($_SERVER['REQUEST_METHOD'] == "POST")
@ -130,9 +130,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_menu.tpl"); include ("../templates/users_menu.php");
include ("../templates/users_edit-alias.tpl"); include ("../templates/users_edit-alias.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
} }
?> ?>

@ -14,7 +14,7 @@
* *
* File: login.php * File: login.php
* Used to authenticate want-to-be users. * Used to authenticate want-to-be users.
* Template File: login.tpl * Template File: login.php
* *
* Template Variables: * Template Variables:
* *
@ -32,9 +32,9 @@ require_once("../common.php");
if ($_SERVER['REQUEST_METHOD'] == "GET") if ($_SERVER['REQUEST_METHOD'] == "GET")
{ {
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_login.tpl"); include ("../templates/users_login.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
} }
if ($_SERVER['REQUEST_METHOD'] == "POST") if ($_SERVER['REQUEST_METHOD'] == "POST")
@ -78,9 +78,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
exit; exit;
} }
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_login.tpl"); include ("../templates/users_login.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
} }
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

@ -14,7 +14,7 @@
* *
* File: main.php * File: main.php
* 'Home page' for logged in users. * 'Home page' for logged in users.
* Template File: main.tpl * Template File: main.php
* *
* Template Variables: * Template Variables:
* *
@ -40,17 +40,17 @@ else
if ($_SERVER["REQUEST_METHOD"] == "GET") if ($_SERVER["REQUEST_METHOD"] == "GET")
{ {
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_menu.tpl"); include ("../templates/users_menu.php");
include ("../templates/users_main.tpl"); include ("../templates/users_main.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
} }
if ($_SERVER["REQUEST_METHOD"] == "POST") if ($_SERVER["REQUEST_METHOD"] == "POST")
{ {
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_menu.tpl"); include ("../templates/users_menu.php");
include ("../templates/users_main.tpl"); include ("../templates/users_main.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
} }
?> ?>

@ -14,7 +14,7 @@
* *
* File: password.php * File: password.php
* Used by users to change their mailbox (and login) password. * Used by users to change their mailbox (and login) password.
* Template File: users_password.tpl * Template File: users_password.php
* *
* Template Variables: * Template Variables:
* *
@ -91,10 +91,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_menu.tpl"); include ("../templates/users_menu.php");
include ("../templates/users_password.tpl"); include ("../templates/users_password.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?> ?>

@ -15,7 +15,7 @@
* File: vacation.php * File: vacation.php
* Used by users to set/change their vacation settings. * Used by users to set/change their vacation settings.
* *
* Template File: users_vacation.tpl * Template File: users_vacation.php
* *
* Template Variables: * Template Variables:
* *
@ -182,10 +182,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
} }
} }
include ("../templates/header.tpl"); include ("../templates/header.php");
include ("../templates/users_menu.tpl"); include ("../templates/users_menu.php");
include ("../templates/users_vacation.tpl"); include ("../templates/users_vacation.php");
include ("../templates/footer.tpl"); include ("../templates/footer.php");
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
?> ?>

@ -15,7 +15,7 @@
* File: viewlog.php * File: viewlog.php
* Shows entries from the log table to users. * Shows entries from the log table to users.
* *
* Template File: viewlog.tpl * Template File: viewlog.php
* *
* Template Variables: * Template Variables:
* *
@ -74,10 +74,10 @@ if ($error != 1)
} }
} }
include ("templates/header.tpl"); include ("templates/header.php");
include ("templates/menu.tpl"); include ("templates/menu.php");
include ("templates/viewlog.tpl"); include ("templates/viewlog.php");
include ("templates/footer.tpl"); include ("templates/footer.php");
/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ /* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */
?> ?>

Loading…
Cancel
Save