summaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-01-07 19:21:28 +0000
committerDries Buytaert <dries@buytaert.net>2001-01-07 19:21:28 +0000
commit554d9b080b4be1c3ddfae75d79a0789da8c80cf2 (patch)
tree63db7660753774f5faccf8e095afb24c9e3fa14b /admin.php
parent63a335e1ed034d99ab34c6d80a56453175a18202 (diff)
downloadbrdo-554d9b080b4be1c3ddfae75d79a0789da8c80cf2.tar.gz
brdo-554d9b080b4be1c3ddfae75d79a0789da8c80cf2.tar.bz2
- fixed 2 small bugs in account.php
- drastically improved administration section - drastically revamped story administration: added new feature to schedule the publishing of stories - applied correct naming conventions to submission.php - fixed 1 small glitch in boxes - somewhat expanded the documentation = changed one SQL table - updated the faq with info on drupal - ... and more things I forgot about
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin.php b/admin.php
index 9996cfb20..5af84d7e6 100644
--- a/admin.php
+++ b/admin.php
@@ -3,7 +3,7 @@
include "includes/common.inc";
// validate user permission:
-if (!$user->id || ($user->permissions != 1 && $user->id > 1)) exit();
+if (!($user->permissions == 1 || $user->id == 1)) exit();
function admin_page($mod) {
global $repository, $menu, $modules;
@@ -17,7 +17,7 @@ function admin_page($mod) {
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
- <HEAD><TITLE><? echo $site_name; ?> administration center</TITLE></HEAD>
+ <HEAD><TITLE>Administration</TITLE></HEAD>
<STYLE>
body { font-family: helvetica, arial; }
h1 { font-size: 18pt; font-weight: bold; color: #990000; }
@@ -27,7 +27,7 @@ function admin_page($mod) {
td { font-family: helvetica, arial; }
</STYLE>
<BODY BGCOLOR="#FFFFFF" LINK="#005599" VLINK="#004499" ALINK="#FF0000">
- <H1>Administration center</H1>
+ <H1>Administration</H1>
<?
ksort($repository);