aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/posted_date_widget.tpl
blob: 009fa60a657068f0d778ffb58b616981f2c088c3 (plain) (blame)
1
2
3
4
5
6
7
8
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>