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:
parent
dd339aa6c5
commit
9e71c703d3
2 changed files with 9 additions and 9 deletions
|
|
@ -5,10 +5,10 @@
|
||||||
// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
|
// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
|
||||||
// +-----------------------------------------------------------------------+
|
// +-----------------------------------------------------------------------+
|
||||||
// | branch : BSF (Best So Far)
|
// | branch : BSF (Best So Far)
|
||||||
// | file : $RCSfile$
|
// | file : $Id$
|
||||||
// | last update : $Date: 2006-11-29 05:18:11 +0100 (mer, 29 nov 2006) $
|
// | last update : $Date$
|
||||||
// | last modifier : $Author: rvelices $
|
// | last modifier : $Author$
|
||||||
// | revision : $Revision: 1620 $
|
// | revision : $Revision$
|
||||||
// +-----------------------------------------------------------------------+
|
// +-----------------------------------------------------------------------+
|
||||||
// | This program is free software; you can redistribute it and/or modify |
|
// | 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 |
|
// | 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);
|
$result = pwg_query($query);
|
||||||
$history_lines = array();
|
$history_lines = $user_ids = $category_ids = $image_ids = array();
|
||||||
while ($row = mysql_fetch_array($result))
|
while ($row = mysql_fetch_array($result))
|
||||||
{
|
{
|
||||||
$user_ids[$row['user_id']] = 1;
|
$user_ids[$row['user_id']] = 1;
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
// +-----------------------------------------------------------------------+
|
// +-----------------------------------------------------------------------+
|
||||||
// | PhpWebGallery - a PHP based picture gallery |
|
// | PhpWebGallery - a PHP based picture gallery |
|
||||||
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
|
// | 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)
|
// | branch : BSF (Best So Far)
|
||||||
// | file : $RCSfile$
|
// | file : $Id$
|
||||||
// | last update : $Date$
|
// | last update : $Date$
|
||||||
// | last modifier : $Author$
|
// | last modifier : $Author$
|
||||||
// | revision : $Revision$
|
// | revision : $Revision$
|
||||||
|
|
@ -345,7 +345,7 @@ if (isset($page['year']))
|
||||||
|
|
||||||
array_push(
|
array_push(
|
||||||
$title_parts,
|
$title_parts,
|
||||||
'<a href="'.$url.'">'.sprintf(l10n('Year %d'), $page['year']).'</a>'
|
'<a href="'.$url.'">'.$page['year'].'</a>'
|
||||||
);
|
);
|
||||||
|
|
||||||
$period_label = l10n('Month');
|
$period_label = l10n('Month');
|
||||||
|
|
@ -456,7 +456,7 @@ if (count($datas) > 0)
|
||||||
|
|
||||||
if (isset($page['day']))
|
if (isset($page['day']))
|
||||||
{
|
{
|
||||||
$value = $i.' '.l10n('hour');
|
$value = sprintf('%02u', $i);
|
||||||
}
|
}
|
||||||
else if (isset($page['month']))
|
else if (isset($page['month']))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue