]> git.mxchange.org Git - friendica.git/commitdiff
The widgets in the sidebar are now deflated by standard
authorMichael <heluecht@pirati.ca>
Thu, 9 Jan 2020 06:53:33 +0000 (06:53 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 9 Jan 2020 06:53:33 +0000 (06:53 +0000)
view/templates/widget/filter.tpl
view/templates/widget/saved_searches.tpl
view/templates/widget_forumlist.tpl
view/theme/frio/templates/widget/saved_searches.tpl

index bef4969b3e8ba9e590366b350d208607d98b4ecc..acb95ea23d4c20e04380967145e3a56c9c464307 100644 (file)
@@ -1,6 +1,10 @@
-
-<div id="{{$type}}-sidebar" class="widget">
+<span id="{{$type}}-sidebar-inflated" class="widget fakelink" style="display: block;" onclick="openClose('{{$type}}-sidebar'); openClose('{{$type}}-sidebar-inflated');">
        <h3>{{$title}}</h3>
+</span>
+<div id="{{$type}}-sidebar" class="widget" style="display: none;">
+       <span class="fakelink" onclick="openClose('{{$type}}-sidebar'); openClose('{{$type}}-sidebar-inflated');">
+               <h3>{{$title}}</h3>
+       </span>
        <div id="{{$type}}-desc">{{$desc nofilter}}</div>
        <ul role="menu" class="{{$type}}-ul">
                <li role="menuitem" {{if !$selected}}class="selected"{{/if}}><a href="{{$base}}" class="{{$type}}-link{{if !$selected}} {{$type}}-selected{{/if}} {{$type}}-all">{{$all_label}}</a></li>
index 4e3a80b765ea07a8b1af7c5c00f17ad49f9f06ca..2baf1f1cbdb634671d6e1c9a6bf621b88625b093 100644 (file)
@@ -1,6 +1,10 @@
-
-<div class="widget" id="saved-search-list">
-       <h3 id="search">{{$title}}</h3>
+<span id="saved-search-list-inflated" class="widget fakelink" style="display: block;" onclick="openClose('saved-search-list'); openClose('saved-search-list-inflated');">
+       <h3>{{$title}}</h3>
+</span>
+<div class="widget" id="saved-search-list" style="display: none;">
+       <span class="fakelink" onclick="openClose('saved-search-list'); openClose('saved-search-list-inflated');">
+               <h3 id="search">{{$title}}</h3>
+       </span>
        {{$searchbox nofilter}}
        
        <ul role="menu" id="saved-search-ul">
index 32da71f816633b51fc3d08ad4bfa683238847714..272cdd92e8c0309b5bf71f00ed57305502e02b98 100644 (file)
@@ -1,5 +1,4 @@
 <script>
-
 function showHideForumlist() {
        if( $("li[id^='forum-widget-entry-extended-']").is(':visible')) {
                $("li[id^='forum-widget-entry-extended-']").hide();
@@ -12,10 +11,13 @@ function showHideForumlist() {
        }
 }
 </script>
-
-<div id="forumlist-sidebar" class="widget">
-       <h3 id="forumlist">{{$title}}</h3>
-
+<span id="forumlist-sidebar-inflated" class="widget fakelink" style="display: block;" onclick="openClose('forumlist-sidebar'); openClose('forumlist-sidebar-inflated');">
+       <h3>{{$title}}</h3>
+</span>
+<div id="forumlist-sidebar" class="widget" style="display: none;">
+       <span class="fakelink" onclick="openClose('forumlist-sidebar'); openClose('forumlist-sidebar-inflated');">
+               <h3 id="forumlist">{{$title}}</h3>
+       </span>
        <ul id="forumlist-sidbar-ul" role="menu">
                {{foreach $forums as $forum}}
                {{if $forum.id <= $visible_forums}}
index 1981508cfd2f8a98e403c9da93e4e5d42cd417fe..645718e3ac1ec9ea8894ec8e7a6ad4818020c1db 100644 (file)
@@ -1,8 +1,11 @@
-
 {{if $saved}}
-<div class="widget" id="saved-search-list">
-       <h3 id="search">{{$title}}</h3>
-
+<span id="saved-search-list-inflated" class="widget fakelink" style="display: block;" onclick="openClose('saved-search-list'); openClose('saved-search-list-inflated');">
+       <h3>{{$title}}</h3>
+</span>
+<div class="widget" id="saved-search-list" style="display: none;">
+       <span class="fakelink" onclick="openClose('saved-search-list'); openClose('saved-search-list-inflated');">
+               <h3 id="search">{{$title}}</h3>
+       </span>
        <ul role="menu" id="saved-search-ul">
                {{foreach $saved as $search}}
                <li role="menuitem" class="saved-search-li clear">