}
</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}}
</ul>
{{/if}}
</div>
+<script>
+initWidget('datebrowse-sidebar', 'datebrowse-sidebar-inflated');
+</script>
-
-<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}}
</div>
<div class="tagblock-widget-end clear"></div>
</div>
+<script>
+initWidget('tagblock', 'tagblock-inflated');
+</script>
-<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>
</details>
{{/if}}
</div>
+<script>
+initWidget('trending-tags-sidebar', 'trending-tags-sidebar-inflated');
+</script>