summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-18 15:39:46 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-18 15:39:46 +0100
commit9bf3cf2e2b770db17953a8db87ccfa17e438aa2e (patch)
treeeb4f5902356b43d38bde88c87ebaa955f97605bd /system/libraries
parent9a152a91c982d5f2ba07d0197ef2fe5eb8c8510c (diff)
[ci skip] Clean-up following PR #2864
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Calendar.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php
index b9c01ee68..23c389e4b 100644
--- a/system/libraries/Calendar.php
+++ b/system/libraries/Calendar.php
@@ -59,7 +59,7 @@ class CI_Calendar {
* @var mixed
*/
public $template = '';
-
+
/**
* Replacements array for template
*
@@ -532,11 +532,11 @@ class CI_Calendar {
{
return $this;
}
-
+
if (is_string($this->template))
{
$today = array('cal_cell_start_today', 'cal_cell_content_today', 'cal_cell_no_content_today', 'cal_cell_end_today');
-
+
foreach (array('table_open', 'table_close', 'heading_row_start', 'heading_previous_cell', 'heading_title_cell', 'heading_next_cell', 'heading_row_end', 'week_row_start', 'week_day_cell', 'week_row_end', 'cal_row_start', 'cal_cell_start', 'cal_cell_content', 'cal_cell_no_content', 'cal_cell_blank', 'cal_cell_end', 'cal_row_end', 'cal_cell_start_today', 'cal_cell_content_today', 'cal_cell_no_content_today', 'cal_cell_end_today', 'cal_cell_start_other', 'cal_cell_other', 'cal_cell_end_other') as $val)
{
if (preg_match('/\{'.$val.'\}(.*?)\{\/'.$val.'\}/si', $this->template, $match))
@@ -553,7 +553,7 @@ class CI_Calendar {
{
$this->replacements = array_merge($this->replacements, $this->template);
}
-
+
return $this;
}