aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/user_perm.php7
-rw-r--r--admin/waiting.php9
2 files changed, 3 insertions, 13 deletions
diff --git a/admin/user_perm.php b/admin/user_perm.php
index 78409965e..cfe15842c 100644
--- a/admin/user_perm.php
+++ b/admin/user_perm.php
@@ -2,10 +2,10 @@
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
-// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | branch : BSF (Best So Far)
-// | file : $RCSfile$
+// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
// | revision : $Revision$
@@ -47,8 +47,7 @@ if (isset($_GET['user_id']) and is_numeric($_GET['user_id']))
}
else
{
- echo l10n('user_id URL parameter is missing');
- exit();
+ die('user_id URL parameter is missing');
}
// +-----------------------------------------------------------------------+
diff --git a/admin/waiting.php b/admin/waiting.php
index 36f1b3a01..8a63ac17a 100644
--- a/admin/waiting.php
+++ b/admin/waiting.php
@@ -139,15 +139,6 @@ DELETE
//----------------------------------------------------- template initialization
$template->set_filenames(array('waiting'=>'admin/waiting.tpl'));
$template->assign_vars(array(
- 'L_AUTHOR'=>$lang['author'],
- 'L_THUMBNAIL'=>$lang['thumbnail'],
- 'L_DATE'=>$lang['date'],
- 'L_FILE'=>$lang['file'],
- 'L_CATEGORY'=>$lang['category'],
- 'L_SUBMIT'=>$lang['submit'],
- 'L_RESET'=>$lang['reset'],
- 'L_DELETE'=>$lang['delete'],
-
'F_ACTION'=>str_replace( '&', '&', $_SERVER['REQUEST_URI'])
));