Show a link to open or close a day details (only the arrow at the beginning

of the line was not enough).


git-svn-id: http://piwigo.org/svn/trunk@195 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-10-11 14:16:21 +00:00
parent 37deeb17a6
commit 2341e82094
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -89,12 +89,14 @@ for ( $i = 0; $i <= MAX_DAYS; $i++ )
{
$vtp->addSession( $sub, 'expanded' );
$vtp->closeSession( $sub, 'expanded' );
$vtp->setVar( $sub, 'day.open_or_close', $lang['close'] );
$local_expand = array_remove( $local_expand, $i );
}
else
{
$vtp->addSession( $sub, 'collapsed' );
$vtp->closeSession( $sub, 'collapsed' );
$vtp->setVar( $sub, 'day.open_or_close', $lang['open'] );
array_push( $local_expand, $i );
}
$url = './admin.php?page=stats&amp;last_days='.$_GET['last_days'];