From eb3bbd9081b384d1e1e503d8019eadc9f151edeb Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Jun 2012 22:32:07 -0700 Subject: [PATCH] insidious little parsing bug --- boot.php | 3 +++ view/theme/slackr/birthdays_reminder.tpl | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 3d7e0c488f..c27b0baaab 100644 --- a/boot.php +++ b/boot.php @@ -1252,6 +1252,9 @@ if(! function_exists('get_birthdays')) { '$event_reminders' => t('Birthday Reminders'), '$event_title' => t('Birthdays this week:'), '$events' => $r, + '$lbr' => '{', // raw brackets mess up if/endif macro processing + '$rbr' => '}' + )); } } diff --git a/view/theme/slackr/birthdays_reminder.tpl b/view/theme/slackr/birthdays_reminder.tpl index 4a691dea3f..1dc65295a9 100644 --- a/view/theme/slackr/birthdays_reminder.tpl +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -1,5 +1,8 @@ +{{ if $classtoday }} +{{ endif }} +