aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-01-25 02:56:51 +0000
committerrvelices <rv-github@modusoptimus.com>2007-01-25 02:56:51 +0000
commitd13dbba87345a1a63b154908574273c3bd24ec89 (patch)
tree807e314048d5d63e1c1903bb19a3e813d996daa2 /admin
parent80020dd7564f25f4af5d994df5690b1088456b41 (diff)
some more language cleanup
git-svn-id: http://piwigo.org/svn/trunk@1754 68402e56-0260-453c-a942-63ccdbb3a9ee
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( '&', '&amp;', $_SERVER['REQUEST_URI'])
));