mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-08 22:35:00 +02:00
- bug 163 fixed: link error when cookies disabled in admin/stats
git-svn-id: http://piwigo.org/svn/trunk@877 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+10
-2
@@ -91,9 +91,17 @@ while ( $row = mysql_fetch_array( $result ) )
|
||||
$current_month = $row['y']."-";
|
||||
if ($row['m'] <10) {$current_month.='0';}
|
||||
$current_month .= $row['m'];
|
||||
|
||||
$where_clause = "DATE_FORMAT(date,'%Y-%m') = '".$current_month."'";
|
||||
$value = "<a href='".PHPWG_ROOT_PATH."admin.php?page=stats";
|
||||
$value.= "&year=".$row['y']."&month=".$row['m']."'>";
|
||||
|
||||
$url =
|
||||
PHPWG_ROOT_PATH.'admin.php'
|
||||
.'?page=stats'
|
||||
.'&year='.$row['y']
|
||||
.'&month='.$row['m']
|
||||
;
|
||||
|
||||
$value = '<a href="'.add_session_id($url).'">';
|
||||
$value.= $lang['month'][$row['m']].' '.$row['y'];
|
||||
$value.= "</a>";
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2005-09-25 Pierrick LE GALL
|
||||
|
||||
* bug 163 fixed: link error when cookies disabled in admin/stats
|
||||
|
||||
2005-09-24 Pierrick LE GALL
|
||||
|
||||
* bug fixed: HTML error on nested UL in categories menu.
|
||||
|
||||
Reference in New Issue
Block a user