- 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:
parent
8f058fcc9b
commit
e624f27b5f
2 changed files with 14 additions and 2 deletions
|
|
@ -91,9 +91,17 @@ while ( $row = mysql_fetch_array( $result ) )
|
||||||
$current_month = $row['y']."-";
|
$current_month = $row['y']."-";
|
||||||
if ($row['m'] <10) {$current_month.='0';}
|
if ($row['m'] <10) {$current_month.='0';}
|
||||||
$current_month .= $row['m'];
|
$current_month .= $row['m'];
|
||||||
|
|
||||||
$where_clause = "DATE_FORMAT(date,'%Y-%m') = '".$current_month."'";
|
$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.= $lang['month'][$row['m']].' '.$row['y'];
|
||||||
$value.= "</a>";
|
$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
|
2005-09-24 Pierrick LE GALL
|
||||||
|
|
||||||
* bug fixed: HTML error on nested UL in categories menu.
|
* bug fixed: HTML error on nested UL in categories menu.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue