aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-04-24 09:50:10 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2012-04-24 09:50:10 +0200
commit62ad5043d639c839ce4ae85f80f9cc5aed880d39 (patch)
treef4c9e6568b6465b8c0850348bff6bbdf91e51dcc /view
parentfc61616c53181a0484d773a08f9b0411896a5064 (diff)
downloadvolse-hubzilla-62ad5043d639c839ce4ae85f80f9cc5aed880d39.tar.gz
volse-hubzilla-62ad5043d639c839ce4ae85f80f9cc5aed880d39.tar.bz2
volse-hubzilla-62ad5043d639c839ce4ae85f80f9cc5aed880d39.zip
remove html from get_birthdays() and get_events()
Diffstat (limited to 'view')
-rw-r--r--view/birthdays_reminder.tpl10
-rw-r--r--view/events_reminder.tpl10
2 files changed, 20 insertions, 0 deletions
diff --git a/view/birthdays_reminder.tpl b/view/birthdays_reminder.tpl
new file mode 100644
index 000000000..c0422c1d7
--- /dev/null
+++ b/view/birthdays_reminder.tpl
@@ -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 }}
+
diff --git a/view/events_reminder.tpl b/view/events_reminder.tpl
new file mode 100644
index 000000000..fe7e33980
--- /dev/null
+++ b/view/events_reminder.tpl
@@ -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 }}
+