]> git.mxchange.org Git - friendica.git/commitdiff
another javascript
authorZach Prezkuta <fermion@gmx.com>
Fri, 17 Aug 2012 03:51:36 +0000 (21:51 -0600)
committerZach Prezkuta <fermion@gmx.com>
Fri, 17 Aug 2012 03:51:36 +0000 (21:51 -0600)
view/theme/frost/posted_date_widget.tpl [new file with mode: 0644]

diff --git a/view/theme/frost/posted_date_widget.tpl b/view/theme/frost/posted_date_widget.tpl
new file mode 100644 (file)
index 0000000..ce70b74
--- /dev/null
@@ -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($j(this).val());" size="$size">
+{{ for $dates as $d }}
+<option value="$url/$d.1/$d.2" >$d.0</option>
+{{ endfor }}
+</select>
+</div>