Some more widgets added

This commit is contained in:
Michael 2020-01-11 09:05:43 +00:00
parent cfeef7afed
commit 579fd2962e
3 changed files with 27 additions and 4 deletions

View file

@ -11,8 +11,13 @@ function showHideDates() {
}
</script>
<div id="datebrowse-sidebar" class="widget">
<span id="datebrowse-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');">
<h3>{{$title}}</h3>
</span>
<div id="datebrowse-sidebar" class="widget">
<span class="fakelink" onclick="openCloseWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');">
<h3>{{$title}}</h3>
</span>
<ul id="posted-date-selector" class="datebrowse-ul">
{{foreach $dates as $y => $arr}}
@ -41,3 +46,6 @@ function showHideDates() {
</ul>
{{/if}}
</div>
<script>
initWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');
</script>

View file

@ -1,6 +1,10 @@
<div class="tagblock widget">
<span id="tagblock-inflated" class="widget fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');">
<h3>{{$title}}</h3>
</span>
<div class="tagblock widget">
<span class="fakelink" onclick="openCloseWidget('tagblock', 'tagblock-inflated');">
<h3>{{$title}}</h3>
</span>
<div class="tag-cloud">
{{foreach $tags as $tag}}
@ -11,3 +15,6 @@
</div>
<div class="tagblock-widget-end clear"></div>
</div>
<script>
initWidget('tagblock', 'tagblock-inflated');
</script>

View file

@ -1,5 +1,10 @@
<div id="trending-tags-sidebar" class="widget">
<span id="trending-tags-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');">
<h3>{{$title}}</h3>
</span>
<div id="trending-tags-sidebar" class="widget">
<span class="fakelink" onclick="openCloseWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');">
<h3>{{$title}}</h3>
</span>
<ul>
{{section name=ol loop=$tags max=10}}
<li><a href="search?tag={{$tags[ol].term}}">#{{$tags[ol].term}}</a></li>
@ -16,3 +21,6 @@
</details>
{{/if}}
</div>
<script>
initWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');
</script>