]> git.mxchange.org Git - friendica.git/commitdiff
Frio: The network widget now shows the selected network
authorMichael Vogel <icarus@dabo.de>
Mon, 30 May 2016 19:00:00 +0000 (21:00 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 30 May 2016 19:00:00 +0000 (21:00 +0200)
view/theme/frio/templates/nets.tpl [new file with mode: 0644]

diff --git a/view/theme/frio/templates/nets.tpl b/view/theme/frio/templates/nets.tpl
new file mode 100644 (file)
index 0000000..216e6c3
--- /dev/null
@@ -0,0 +1,11 @@
+
+<div id="nets-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       <ul role="menu" class="nets-ul">
+       <li role="menuitem" {{if $sel_all}}class="selected"{{/if}}><a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a></li>
+       {{foreach $nets as $net}}
+       <li role="menuitem" {{if $net.selected}}class="selected"{{/if}}><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
+       {{/foreach}}
+       </ul>
+</div>