Commit 3e6e96d98093a9930a959d12a14f6de7469d6900
1 parent
5ed85a1f
reformats, added cvs keywords
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@43 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
7 additions
and
11 deletions
admin/index.php
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | /** | 3 | /** |
| 4 | - * index.php | 4 | + * $Id$ |
| 5 | * | 5 | * |
| 6 | * This is the index page for the admin | 6 | * This is the index page for the admin |
| 7 | * | 7 | * |
| 8 | * Copyright (c) 1999-2002 The Owl Project Team | 8 | * Copyright (c) 1999-2002 The Owl Project Team |
| 9 | * Licensed under the GNU GPL. For full terms see the file COPYING. | 9 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
| 10 | - * @version v 1.1.1.1 2002/12/04 | 10 | + * @version $Revision$ |
| 11 | * @author michael | 11 | * @author michael |
| 12 | * @package Owl | 12 | * @package Owl |
| 13 | */ | 13 | */ |
| 14 | - | ||
| 15 | 14 | ||
| 16 | require("../config/owl.php"); | 15 | require("../config/owl.php"); |
| 17 | require("../lib/owl.lib.php"); | 16 | require("../lib/owl.lib.php"); |
| 18 | require("../config/html.php"); | 17 | require("../config/html.php"); |
| 19 | 18 | ||
| 20 | // action selected is to backup then doBackup function is called | 19 | // action selected is to backup then doBackup function is called |
| 21 | -if($action == "backup") | ||
| 22 | -{ | 20 | +if($action == "backup") { |
| 23 | dobackup(); | 21 | dobackup(); |
| 24 | } | 22 | } |
| 25 | 23 | ||
| @@ -27,15 +25,13 @@ include("../lib/header.inc"); | @@ -27,15 +25,13 @@ include("../lib/header.inc"); | ||
| 27 | print("<CENTER>"); | 25 | print("<CENTER>"); |
| 28 | 26 | ||
| 29 | // if usergroupid invalid then unauthorised view and exit | 27 | // if usergroupid invalid then unauthorised view and exit |
| 30 | -if($usergroupid != "0") | ||
| 31 | -{ | ||
| 32 | - die("$lang_err_unauthorized"); | 28 | +if($usergroupid != "0") { |
| 29 | + die("$lang_err_unauthorized"); | ||
| 33 | } | 30 | } |
| 34 | 31 | ||
| 35 | // if not action set ..set action to users | 32 | // if not action set ..set action to users |
| 36 | -if(!isset($action)) | ||
| 37 | -{ | ||
| 38 | - $action = "users"; | 33 | +if(!isset($action)) { |
| 34 | + $action = "users"; | ||
| 39 | } | 35 | } |
| 40 | 36 | ||
| 41 | //------------------------------------------------------------- | 37 | //------------------------------------------------------------- |