diff options
-rw-r--r-- | admin/stats.php | 20 | ||||
-rw-r--r-- | doc/ChangeLog | 8 |
2 files changed, 24 insertions, 4 deletions
diff --git a/admin/stats.php b/admin/stats.php index 252cb86ba..da85f0354 100644 --- a/admin/stats.php +++ b/admin/stats.php @@ -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' + .'&year='.$row['y'] + .'&month='.$row['m'] + .'&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']) ? '&year='.$_GET['year'] : ''; $url.= isset($_GET['month']) ? '&month='.$_GET['month'] : ''; +$url.= isset($_GET['day']) ? '&day='.$_GET['day'] : ''; $page['navigation_bar'] = create_navigation_bar( diff --git a/doc/ChangeLog b/doc/ChangeLog index a925f9e37..097795879 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,10 @@ 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 method to find the next user identifier has changer to MAX+1. @@ -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 |