Changeset 1782


Ignore:
Timestamp:
Feb 6, 2007, 2:10:59 AM (17 years ago)
Author:
rvelices
Message:

history: removed some php warnings and reduced some annoying language warnings

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/history.php

    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    r1727 r1782  
    66// +-----------------------------------------------------------------------+
    77// | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
    9 // | last update   : $Date: 2006-11-29 05:18:11 +0100 (mer, 29 nov 2006) $
    10 // | last modifier : $Author: rvelices $
    11 // | revision      : $Revision: 1620 $
     8// | file          : $Id$
     9// | last update   : $Date$
     10// | last modifier : $Author$
     11// | revision      : $Revision$
    1212// +-----------------------------------------------------------------------+
    1313// | This program is free software; you can redistribute it and/or modify  |
     
    206206
    207207  $result = pwg_query($query);
    208   $history_lines = array();
     208  $history_lines = $user_ids = $category_ids = $image_ids = array();
    209209  while ($row = mysql_fetch_array($result))
    210210  {
  • trunk/admin/stats.php

    r1733 r1782  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    77// | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
     8// | file          : $Id$
    99// | last update   : $Date$
    1010// | last modifier : $Author$
     
    346346  array_push(
    347347    $title_parts,
    348     '<a href="'.$url.'">'.sprintf(l10n('Year %d'), $page['year']).'</a>'
     348    '<a href="'.$url.'">'.$page['year'].'</a>'
    349349    );
    350350
     
    457457    if (isset($page['day']))
    458458    {
    459       $value = $i.' '.l10n('hour');
     459      $value = sprintf('%02u', $i);
    460460    }
    461461    else if (isset($page['month']))
Note: See TracChangeset for help on using the changeset viewer.