insidious little parsing bug
This commit is contained in:
parent
f995a11641
commit
eb3bbd9081
2 changed files with 8 additions and 2 deletions
3
boot.php
3
boot.php
|
@ -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' => '}'
|
||||||
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue