diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-02-06 01:10:59 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-02-06 01:10:59 +0000 |
commit | 9e71c703d3174c8259d35ff7153bcdbe488ab651 (patch) | |
tree | db7d7629ea53169975228e119acc00ee6881e1c8 | |
parent | dd339aa6c50267337e786e9e20811b535edd985b (diff) |
history: removed some php warnings and reduced some annoying language warnings
git-svn-id: http://piwigo.org/svn/trunk@1782 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin/history.php | 10 | ||||
-rw-r--r-- | admin/stats.php | 8 |
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'])) { |