aboutsummaryrefslogtreecommitdiffstats
path: root/include/calendar_monthly.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-03-08 01:38:37 +0000
committerrvelices <rv-github@modusoptimus.com>2008-03-08 01:38:37 +0000
commitfe23062161d1e50a97685822c8ab94cdc2d43263 (patch)
treee3455673a4ebedc519afc03b1195a21eb4edb398 /include/calendar_monthly.class.php
parentc68914a3b962b39f341eb4a42f467f7c1143a8b9 (diff)
- 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
Diffstat (limited to 'include/calendar_monthly.class.php')
-rw-r--r--include/calendar_monthly.class.php16
1 files changed, 8 insertions, 8 deletions
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
+?>