aboutsummaryrefslogtreecommitdiffstats
path: root/functions/template.php
diff options
context:
space:
mode:
authorJason Oster <parasytic@users.sourceforge.net>2010-05-26 15:03:12 +0000
committerJason Oster <parasytic@users.sourceforge.net>2010-05-26 15:03:12 +0000
commit62ceba3018274adb8b86e5d8c1d14749a1537d0a (patch)
treed73e953974b9e1865e571c6b65afeab5ff33ffc1 /functions/template.php
parent1c7eaa2b23e9d523ae8d346556af240b3c38efea (diff)
downloadphpicalendar-62ceba3018274adb8b86e5d8c1d14749a1537d0a.tar.gz
phpicalendar-62ceba3018274adb8b86e5d8c1d14749a1537d0a.tar.bz2
phpicalendar-62ceba3018274adb8b86e5d8c1d14749a1537d0a.zip
Merge with 2.4 branch
Diffstat (limited to 'functions/template.php')
-rw-r--r--functions/template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/template.php b/functions/template.php
index 002cf15..95ebabf 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -186,7 +186,7 @@ class Page {
if (!isset($val['exceptions'])) {
$events_tmp = preg_replace('!<\!-- switch exceptions on -->.*<\!-- switch exceptions off -->!Uis', '', $events_tmp);
}else{
- $some_exceptions = "";
+ $some_exceptions = '';
foreach ($val['exceptions'] as $except_val){
$except_tmp = $loop_except;
@@ -267,9 +267,9 @@ class Page {
if (isset($master_array[$thisday])) {
foreach($master_array[($thisday)] as $ovlKey => $ovlValue) {
# ovlKey is a time slot; $ovlValue is an array with key=uid
- if ($ovlKey != "-1") {
+ if ($ovlKey != '-1') {
foreach($ovlValue as $ovl2Value) {
- $nbrGridCols[$thisday] = kgv($nbrGridCols[$thisday], ($ovl2Value["event_overlap"] + 1));
+ $nbrGridCols[$thisday] = kgv($nbrGridCols[$thisday], ($ovl2Value['event_overlap'] + 1));
}
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy