From 781ec8d7c4989b39dd289071e16f156857b6acfb Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 3 Mar 2009 02:05:35 +0000 Subject: - improvement: show the number of images in the chronology upper navigation bar on mouseover (title element); git-svn-id: http://piwigo.org/svn/trunk@3168 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/calendar_monthly.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/calendar_monthly.class.php') diff --git a/include/calendar_monthly.class.php b/include/calendar_monthly.class.php index 8d58833c0..4a25e0ee4 100644 --- a/include/calendar_monthly.class.php +++ b/include/calendar_monthly.class.php @@ -257,14 +257,14 @@ function build_global_calendar(&$tpl_var) $url = duplicate_index_url( array('chronology_date'=>$chronology_date) ); $nav_bar = $this->get_nav_bar_from_items( $chronology_date, - $year_data['children'], 'calCal', false, false, $lang['month'] ); + $year_data['children'], false, false, $lang['month'] ); $tpl_var['calendar_bars'][] = array( 'U_HEAD' => $url, 'NB_IMAGES' => $year_data['nb_images'], 'HEAD_LABEL' => $year, - 'NAV_BAR' => $nav_bar, + 'items' => $nav_bar, ); } return true; @@ -307,14 +307,14 @@ function build_year_calendar(&$tpl_var) $url = duplicate_index_url( array('chronology_date'=>$chronology_date) ); $nav_bar = $this->get_nav_bar_from_items( $chronology_date, - $month_data['children'], 'calCal', false ); + $month_data['children'], false ); $tpl_var['calendar_bars'][] = array( 'U_HEAD' => $url, 'NB_IMAGES' => $month_data['nb_images'], 'HEAD_LABEL' => $lang['month'][$month], - 'NAV_BAR' => $nav_bar, + 'items' => $nav_bar, ); } return true; -- cgit v1.2.3