From fe23062161d1e50a97685822c8ab94cdc2d43263 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 8 Mar 2008 01:38:37 +0000 Subject: - upload.tpl goes smarty - start some language cleanup and a small attempt to standardize a bit ... - debug_language now calls trigger_error instead of echo when missing language key git-svn-id: http://piwigo.org/svn/trunk@2265 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/calendar_monthly.class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/calendar_monthly.class.php') diff --git a/include/calendar_monthly.class.php b/include/calendar_monthly.class.php index ec3a656bc..afec4b000 100644 --- a/include/calendar_monthly.class.php +++ b/include/calendar_monthly.class.php @@ -480,16 +480,16 @@ SELECT id, file,tn_ext,path, width, height, DAYOFWEEK('.$this->date_field.')-1 a ) ) ); - $alt = $wday_labels[$dow] . ' ' . $day. - ' ('.sprintf("%d ".l10n('pictures'), $items[$day]['nb_images']).')'; $tpl_crt_week[] = array( - 'DAY' => $day, - 'IMAGE' => $items[$day]['tn_url'], - 'U_IMG_LINK'=> $url, - 'IMAGE_STYLE' => $css_style, - 'IMAGE_ALT' => $alt, + 'DAY' => $day, + 'DOW' => $dow, + 'NB_ELEMENTS' => $items[$day]['nb_images'], + 'IMAGE' => $items[$day]['tn_url'], + 'U_IMG_LINK' => $url, + 'IMAGE_STYLE' => $css_style, + 'IMAGE_ALT' => $items[$day]['file'], ); } } @@ -514,4 +514,4 @@ SELECT id, file,tn_ext,path, width, height, DAYOFWEEK('.$this->date_field.')-1 a } } -?> \ No newline at end of file +?> -- cgit v1.2.3