Bugfix:useless li end tag in posted_date_widget.tpl
This commit is contained in:
parent
59ce6de50c
commit
6630e50ecf
|
@ -11,12 +11,16 @@ function showHideDates() {
|
||||||
$('#posted-date-collapse').html(window.showFewer);
|
$('#posted-date-collapse').html(window.showFewer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function dateSubmit(dateurl) {
|
||||||
|
window.location.href = dateurl;
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<div id="datebrowse-sidebar" class="widget">
|
<div id="datebrowse-sidebar" class="widget">
|
||||||
<h3>{{$title}}</h3>
|
<h3>{{$title}}</h3>
|
||||||
<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
|
|
||||||
<ul id="posted-date-selector" class="datebrowse-ul">
|
<ul id="posted-date-selector" class="datebrowse-ul">
|
||||||
{{foreach $dates as $y => $arr}}
|
{{foreach $dates as $y => $arr}}
|
||||||
{{if $y == $cutoff_year}}
|
{{if $y == $cutoff_year}}
|
||||||
|
@ -31,7 +35,7 @@ function showHideDates() {
|
||||||
<ul class="posted-date-selector-months datebrowse-ul">
|
<ul class="posted-date-selector-months datebrowse-ul">
|
||||||
{{foreach $arr as $d}}
|
{{foreach $arr as $d}}
|
||||||
<li class="tool">
|
<li class="tool">
|
||||||
<a class="datebrowse-link" href="#" onclick="dateSubmit('{{$url}}/{{$d.1}}/{{$d.2}}'); return false;">{{$d.0}}</a></li>
|
<a class="datebrowse-link" href="#" onclick="dateSubmit('{{$url}}/{{$d.1}}/{{$d.2}}'); return false;">{{$d.0}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue