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> </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> <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"> <ul id="posted-date-selector" class="datebrowse-ul">
{{foreach $dates as $y => $arr}} {{foreach $dates as $y => $arr}}
@ -41,3 +46,6 @@ function showHideDates() {
</ul> </ul>
{{/if}} {{/if}}
</div> </div>
<script>
initWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');
</script>

View File

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