remove html from get_birthdays() and get_events()
This commit is contained in:
parent
fc61616c53
commit
62ad5043d6
3 changed files with 53 additions and 23 deletions
10
view/birthdays_reminder.tpl
Normal file
10
view/birthdays_reminder.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ if $count }}
|
||||
<div id="birthday-notice" class="birthday-notice fakelink' $classtoday" onclick="openClose('birthday-wrapper');">$event_reminders ($count)</div>
|
||||
<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">$event_title</div>
|
||||
<div id="birthday-title-end"></div>
|
||||
{{ for $events as $event }}
|
||||
<div class="birthday-list" id="birthday-$event.id"></a> <a href="events/$event.link">$event.title</a> $event.date </div>
|
||||
{{ endfor }}
|
||||
</div></div>
|
||||
{{ endif }}
|
||||
|
10
view/events_reminder.tpl
Normal file
10
view/events_reminder.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ if $count }}
|
||||
<div id="event-notice" class="birthday-notice fakelink $classtoday" onclick="openClose('event-wrapper');">$event_reminders ($count)</div>
|
||||
<div id="event-wrapper" style="display: none;" ><div id="event-title">$event_title</div>
|
||||
<div id="event-title-end"></div>
|
||||
{{ for $events as $event }}
|
||||
<div class="event-list" id="event-$event.id"></a> <a href="events/$event.link">$event.title</a> $event.date </div>
|
||||
{{ endfor }}
|
||||
</div></div>
|
||||
{{ endif }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue