diff options
author | friendica <info@friendica.com> | 2012-06-26 22:32:07 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-26 22:32:07 -0700 |
commit | eb3bbd9081b384d1e1e503d8019eadc9f151edeb (patch) | |
tree | 8a9e07beae538dfc307928c631900ab85226c37a | |
parent | f995a11641a47f1351eca1fc5447ec64a9f0a2c8 (diff) | |
download | volse-hubzilla-eb3bbd9081b384d1e1e503d8019eadc9f151edeb.tar.gz volse-hubzilla-eb3bbd9081b384d1e1e503d8019eadc9f151edeb.tar.bz2 volse-hubzilla-eb3bbd9081b384d1e1e503d8019eadc9f151edeb.zip |
insidious little parsing bug
-rw-r--r-- | boot.php | 3 | ||||
-rw-r--r-- | view/theme/slackr/birthdays_reminder.tpl | 7 |
2 files changed, 8 insertions, 2 deletions
@@ -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 4a691dea3..1dc65295a 100644 --- a/view/theme/slackr/birthdays_reminder.tpl +++ b/view/theme/slackr/birthdays_reminder.tpl @@ -1,5 +1,8 @@ +{{ if $classtoday }} <script> - $(document).ready(function() { + $(document).ready(function() $lbr $('#events-reminder').addClass($.trim('$classtoday')); - }); + $rbr); </script> +{{ endif }} + |