]> git.mxchange.org Git - friendica.git/commitdiff
Some more widgets added
authorMichael <heluecht@pirati.ca>
Sat, 11 Jan 2020 09:05:43 +0000 (09:05 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 11 Jan 2020 09:05:43 +0000 (09:05 +0000)
view/templates/widget/posted_date.tpl
view/templates/widget/tagcloud.tpl
view/templates/widget/trending_tags.tpl

index 42c04d22667e5872ebc4ad096c44ef0b5e71fb03..0d5490d98f4b6046ac3a0657dad8ab9847d50021 100644 (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>
index fd007c9c1082543fe9ff7ea03eca39bf760b06bc..e0301e722e0745186bead8abbebf7f782aaac33e 100644 (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>
index a2788af653e164af604921bd465bbcfc26b71000..072d72831cf83f714843c57acce3c0993feaf89a 100644 (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>