insidious little parsing bug
This commit is contained in:
parent
f995a11641
commit
eb3bbd9081
3
boot.php
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' => '}'
|
||||
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{{ if $classtoday }}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(document).ready(function() $lbr
|
||||
$('#events-reminder').addClass($.trim('$classtoday'));
|
||||
});
|
||||
$rbr);
|
||||
</script>
|
||||
{{ endif }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user