aboutsummaryrefslogtreecommitdiffstats
path: root/view/posted_date_widget.tpl
diff options
context:
space:
mode:
authorHauke Zuehl <hzuehl@phone-talk.de>2012-06-16 18:04:59 +0200
committerHauke Zuehl <hzuehl@phone-talk.de>2012-06-16 18:04:59 +0200
commitf9a40ccbdea69fc7ffcbdc87356d535c67371210 (patch)
tree18eca4019eb8e64badb7035ab782b729b706cd64 /view/posted_date_widget.tpl
parent1231dd72f02fdec59b78ed9a6408887c2ae0b8d4 (diff)
parent4faf0e609fe03095069c7a4bcdfc3496e4a28627 (diff)
downloadvolse-hubzilla-f9a40ccbdea69fc7ffcbdc87356d535c67371210.tar.gz
volse-hubzilla-f9a40ccbdea69fc7ffcbdc87356d535c67371210.tar.bz2
volse-hubzilla-f9a40ccbdea69fc7ffcbdc87356d535c67371210.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/posted_date_widget.tpl')
-rw-r--r--view/posted_date_widget.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/posted_date_widget.tpl b/view/posted_date_widget.tpl
new file mode 100644
index 000000000..3e2ee5a3e
--- /dev/null
+++ b/view/posted_date_widget.tpl
@@ -0,0 +1,9 @@
+<div id="datebrowse-sidebar" class="widget">
+ <h3>$title</h3>
+<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
+<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($(this).val());" size="$size">
+{{ for $dates as $d }}
+<option value="$url/$d.1/$d.2" >$d.0</option>
+{{ endfor }}
+</select>
+</div>