1
1
Fork 0

insidious little parsing bug

This commit is contained in:
friendica 2012-06-26 22:32:07 -07:00
parent f995a11641
commit eb3bbd9081
2 changed files with 8 additions and 2 deletions

View file

@ -1252,6 +1252,9 @@ if(! function_exists('get_birthdays')) {
'$event_reminders' => t('Birthday Reminders'), '$event_reminders' => t('Birthday Reminders'),
'$event_title' => t('Birthdays this week:'), '$event_title' => t('Birthdays this week:'),
'$events' => $r, '$events' => $r,
'$lbr' => '{', // raw brackets mess up if/endif macro processing
'$rbr' => '}'
)); ));
} }
} }

View file

@ -1,5 +1,8 @@
{{ if $classtoday }}
<script> <script>
$(document).ready(function() { $(document).ready(function() $lbr
$('#events-reminder').addClass($.trim('$classtoday')); $('#events-reminder').addClass($.trim('$classtoday'));
}); $rbr);
</script> </script>
{{ endif }}