aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/posted_date_widget.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-06 19:25:01 -0800
committerfriendica <info@friendica.com>2013-01-06 19:25:01 -0800
commit3fc6df1000ea064e8f5ee6e066a79460d90b25cb (patch)
treebca9be1c79ae23bc3bde2c31e4254be5a991a30c /view/tpl/smarty3/posted_date_widget.tpl
parenta9aa74a8074fd2eec58dd5927313fcef4fd5d930 (diff)
parentc94c500cdcfdc94427d7f7e2509e9af9ee0d78ae (diff)
downloadvolse-hubzilla-3fc6df1000ea064e8f5ee6e066a79460d90b25cb.tar.gz
volse-hubzilla-3fc6df1000ea064e8f5ee6e066a79460d90b25cb.tar.bz2
volse-hubzilla-3fc6df1000ea064e8f5ee6e066a79460d90b25cb.zip
Merge pull request #13 from fermionic/20130105-smarty3
implement smarty3
Diffstat (limited to 'view/tpl/smarty3/posted_date_widget.tpl')
-rw-r--r--view/tpl/smarty3/posted_date_widget.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/tpl/smarty3/posted_date_widget.tpl b/view/tpl/smarty3/posted_date_widget.tpl
new file mode 100644
index 000000000..009fa60a6
--- /dev/null
+++ b/view/tpl/smarty3/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}}">
+{{foreach $dates as $d}}
+<option value="{{$url}}/{{$d.1}}/{{$d.2}}" >{{$d.0}}</option>
+{{/foreach}}
+</select>
+</div>