friendica-github/view/theme/frost/posted_date_widget.tpl
2012-08-16 21:51:36 -06:00

9 lines
357 B
Smarty

<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($j(this).val());" size="$size">
{{ for $dates as $d }}
<option value="$url/$d.1/$d.2" >$d.0</option>
{{ endfor }}
</select>
</div>