Browse Source

insidious little parsing bug

pull/365/merge
friendica 10 years ago
parent
commit
eb3bbd9081
  1. 3
      boot.php
  2. 7
      view/theme/slackr/birthdays_reminder.tpl

3
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' => '}'
));
}
}

7
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 }}

Loading…
Cancel
Save