- bug fixed: link on a single day in Administration>General>History was

missing


git-svn-id: http://piwigo.org/svn/trunk@909 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-10-22 13:42:23 +00:00
parent bd5d03a2a7
commit fdd92368c3
2 changed files with 24 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ if (isset($_GET['day']) && isset($_GET['month']) && isset($_GET['year']) )
$url_back = PHPWG_ROOT_PATH."admin.php?page=stats";
$url_back = add_session_id($url_back);
$title_details='<a href='.$url_back.'>'.$lang['stats_day_title'].'</a>';
$title_day=$lang['stats_day_details_title']." ".$date_of_day;
$title_day = $date_of_day;
}
elseif ( isset($_GET['month']) && isset($_GET['year']) )
{
@@ -129,8 +129,21 @@ while ( $row = mysql_fetch_array( $result ) )
$where_clause = 'DAYOFMONTH(date) = '.$row['d'].'
AND MONTH(date) = '.$row['m'].'
AND YEAR(date) = '.$row['y'];
$week_day = $lang['day'][date('w', mktime(12,0,0,$row['m'],$row['d'],$row['y']))];
$value = $row['d'].' ('.$week_day.')';
$week_day =
$lang['day'][date('w', mktime(12,0,0,$row['m'],$row['d'],$row['y']))];
$url =
PHPWG_ROOT_PATH.'admin.php'
.'?page=stats'
.'&amp;year='.$row['y']
.'&amp;month='.$row['m']
.'&amp;day='.$row['d']
;
$value = '<a href="'.add_session_id($url).'">';
$value.= $row['d'].' ('.$week_day.')';
$value.= "</a>";
}
else
{
@@ -276,6 +289,7 @@ $query = '
$url = $_SERVER['PHP_SELF'].'?page=stats';
$url.= isset($_GET['year']) ? '&amp;year='.$_GET['year'] : '';
$url.= isset($_GET['month']) ? '&amp;month='.$_GET['month'] : '';
$url.= isset($_GET['day']) ? '&amp;day='.$_GET['day'] : '';
$page['navigation_bar'] =
create_navigation_bar(

View File

@@ -1,3 +1,8 @@
2005-10-22 Pierrick LE GALL
* bug fixed: link on a single day in
Administration>General>History was missing
2005-10-22 Pierrick LE GALL
* bug 173 fixed: due to phpBB user identifiers management, the
@@ -43,7 +48,8 @@
* display : in group_list.tpl - wrong form class, mixed html tags, ...
* display : suppress bullets in admin->synchronize and checkbox under select
* display : suppress bullets in admin->synchronize and checkbox
under select
* display : set standard font size to 12pt