aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/history.php10
-rw-r--r--admin/stats.php8
2 files changed, 9 insertions, 9 deletions
diff --git a/admin/history.php b/admin/history.php
index aa2405ae5..ea7add177 100644
--- a/admin/history.php
+++ b/admin/history.php
@@ -5,10 +5,10 @@
// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | branch : BSF (Best So Far)
-// | file : $RCSfile$
-// | last update : $Date: 2006-11-29 05:18:11 +0100 (mer, 29 nov 2006) $
-// | last modifier : $Author: rvelices $
-// | revision : $Revision: 1620 $
+// | file : $Id$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
@@ -205,7 +205,7 @@ SELECT date, time, user_id, IP, section, category_id, tag_ids, image_id
;';
$result = pwg_query($query);
- $history_lines = array();
+ $history_lines = $user_ids = $category_ids = $image_ids = array();
while ($row = mysql_fetch_array($result))
{
$user_ids[$row['user_id']] = 1;
diff --git a/admin/stats.php b/admin/stats.php
index 26ba459d6..a6386b1b9 100644
--- a/admin/stats.php
+++ b/admin/stats.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$
@@ -345,7 +345,7 @@ if (isset($page['year']))
array_push(
$title_parts,
- '<a href="'.$url.'">'.sprintf(l10n('Year %d'), $page['year']).'</a>'
+ '<a href="'.$url.'">'.$page['year'].'</a>'
);
$period_label = l10n('Month');
@@ -456,7 +456,7 @@ if (count($datas) > 0)
if (isset($page['day']))
{
- $value = $i.' '.l10n('hour');
+ $value = sprintf('%02u', $i);
}
else if (isset($page['month']))
{