diff options
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> |