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
This commit is contained in:
rvelices
2007-02-06 01:10:59 +00:00
parent dd339aa6c5
commit 9e71c703d3
2 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -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']))
{