aboutsummaryrefslogtreecommitdiffstats
path: root/view/events.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-02-15 12:47:50 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-02-15 12:47:50 +0100
commit73bee08ac2ce4e89ab365d23f431f5e0c465abd6 (patch)
treeae0b3a7f4aaadd010656d2f6cfae00b85d71f3b1 /view/events.tpl
parentfe3e8ee8547dbb7dab5b756056d688d2b8bfbd5f (diff)
downloadvolse-hubzilla-73bee08ac2ce4e89ab365d23f431f5e0c465abd6.tar.gz
volse-hubzilla-73bee08ac2ce4e89ab365d23f431f5e0c465abd6.tar.bz2
volse-hubzilla-73bee08ac2ce4e89ab365d23f431f5e0c465abd6.zip
enable ajax calendar with $a->config['experimentals']['new_calendar']=1
Diffstat (limited to 'view/events.tpl')
-rw-r--r--view/events.tpl20
1 files changed, 19 insertions, 1 deletions
diff --git a/view/events.tpl b/view/events.tpl
index b0e182c56..5a9787de3 100644
--- a/view/events.tpl
+++ b/view/events.tpl
@@ -3,4 +3,22 @@ $tabs
<div id="new-event-link"><a href="$new_event.0" >$new_event.1</a></div>
-<div id="events-calendar"></div>
+<div id="event-calendar-wrapper">
+ <a href="$previus.0" class="prevcal $previus.2"><div id="event-calendar-prev" class="icon s22 prev" title="$previus.1"></div></a>
+ $calendar
+ <a href="$next.0" class="nextcal $next.2"><div id="event-calendar-prev" class="icon s22 next" title="$next.1"></div></a>
+</div>
+<div class="event-calendar-end"></div>
+
+
+{{ for $events as $event }}
+ <div class="event">
+ {{ if $event.is_first }}<hr /><a name="link-$event.j" ><div class="event-list-date">$event.d</div></a>{{ endif }}
+ {{ if $event.item.author-name }}<a href="$event.item.author-link" ><img src="$event.item.author-avatar" height="32" width="32" />$event.item.author-name</a>{{ endif }}
+ $event.html
+ {{ if $event.item.plink }}<a href="$event.plink.0" title="$event.plink.1" target="external-link" class="plink-event-link icon s22 remote-link"></a>{{ endif }}
+ {{ if $event.edit }}<a href="$event.edit.0" title="$event.edit.1" class="edit-event-link icon s22 pencil"></a>{{ endif }}
+ </div>
+ <div class="clear"></div>
+
+{{ endfor }}