mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -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&last_days='.$_GET['last_days'];
|
||||
|
||||
Reference in New Issue
Block a user