aboutsummaryrefslogtreecommitdiffstats
path: root/include/datetime.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-06 20:17:36 -0700
committerFriendika <info@friendika.com>2011-06-06 20:17:36 -0700
commit9f51233451ad6392b61083cf61f5670bcce9d935 (patch)
treec47238cb1e5d66ecee173e80a39aede5023554ef /include/datetime.php
parent452245d9883c29640fb1bd3a9e0d7cefaed77f23 (diff)
downloadvolse-hubzilla-9f51233451ad6392b61083cf61f5670bcce9d935.tar.gz
volse-hubzilla-9f51233451ad6392b61083cf61f5670bcce9d935.tar.bz2
volse-hubzilla-9f51233451ad6392b61083cf61f5670bcce9d935.zip
event listings
Diffstat (limited to 'include/datetime.php')
-rw-r--r--include/datetime.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/datetime.php b/include/datetime.php
index 67c4f42fa..8f2ec311a 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -276,7 +276,7 @@ function get_first_dim($y,$m) {
if(! function_exists('cal')) {
-function cal($y = 0,$m = 0, $links = false) {
+function cal($y = 0,$m = 0, $links = false, $class='') {
// month table - start at 1 to match human usage.
@@ -306,7 +306,7 @@ function cal($y = 0,$m = 0, $links = false) {
$tddate = intval(datetime_convert('UTC',date_default_timezone_get(),'now','j'));
$str_month = day_translate($mtab[$m]);
- $o = '<table class="calendar">';
+ $o = '<table class="calendar' . $class . '">';
$o .= "<caption>$str_month $y</caption><tr>";
for($a = 0; $a < 7; $a ++)
$o .= '<th>' . mb_substr(day_translate($dn[$a]),0,3,'UTF-8') . '</th>';