From 9337b1b9083b1a82fbf12c702af5d850775978f1 Mon Sep 17 00:00:00 2001 From: katagia Date: Tue, 29 Apr 2003 18:03:42 +0000 Subject: [PATCH] Added psoido index.php file and modified account.php. --- lam/index.php | 28 ++++++++++++++++++++++++ lam/templates/account.php | 45 ++++++++++++++++++++++++++++++++------- 2 files changed, 65 insertions(+), 8 deletions(-) create mode 100644 lam/index.php diff --git a/lam/index.php b/lam/index.php new file mode 100644 index 00000000..3119b57a --- /dev/null +++ b/lam/index.php @@ -0,0 +1,28 @@ + diff --git a/lam/templates/account.php b/lam/templates/account.php index a57dae3f..a2aa6631 100644 --- a/lam/templates/account.php +++ b/lam/templates/account.php @@ -26,6 +26,7 @@ $Id$ include_once('../lib/account.inc'); // File with custom functions include_once('../lib/config.inc'); include_once('../lib/ldap.inc'); +include_once('../lib/profiles.inc'); registervars(); // Register all needed variables in session and register session $error = "0"; @@ -236,6 +237,8 @@ if ($backmain) { $_SESSION['account_old']=""; } +if ($load) $select='load'; +if ($save) $select='save'; @@ -319,7 +322,9 @@ switch ($select) { if ( $_SESSION['account']->general_shell == '/usr/bin/zsh' ) echo '