diff options
author | friendica <info@friendica.com> | 2013-01-06 19:25:01 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-06 19:25:01 -0800 |
commit | 3fc6df1000ea064e8f5ee6e066a79460d90b25cb (patch) | |
tree | bca9be1c79ae23bc3bde2c31e4254be5a991a30c /view/tpl/smarty3/posted_date_widget.tpl | |
parent | a9aa74a8074fd2eec58dd5927313fcef4fd5d930 (diff) | |
parent | c94c500cdcfdc94427d7f7e2509e9af9ee0d78ae (diff) | |
download | volse-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.tpl | 9 |
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> |