aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-10-11 14:16:21 +0000
committerz0rglub <z0rglub@piwigo.org>2003-10-11 14:16:21 +0000
commit2341e82094004071fbfa29fa6fff6b05e3684868 (patch)
treee35754b41b547db0eef0089e55fb5c7e71747982 /admin
parent37deeb17a6a092d03850abe30d5339e37be3f275 (diff)
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
Diffstat (limited to 'admin')
-rw-r--r--admin/stats.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/stats.php b/admin/stats.php
index 26dee15f1..345d4c669 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -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'];