aboutsummaryrefslogtreecommitdiffstats
path: root/view/nets.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-26 02:00:14 -0700
committerfriendica <info@friendica.com>2012-03-26 02:00:14 -0700
commit63fa5f6c7706bd150099821e9bf8826cb1cf4dcd (patch)
tree925418add983b98ee27542289b1418c7fe7a9e61 /view/nets.tpl
parent3431d0b42705524b81c9fe71279aff6464efc69f (diff)
parent579c4f3079b9d1912cab6f70a9d95ebab1ca8743 (diff)
downloadvolse-hubzilla-63fa5f6c7706bd150099821e9bf8826cb1cf4dcd.tar.gz
volse-hubzilla-63fa5f6c7706bd150099821e9bf8826cb1cf4dcd.tar.bz2
volse-hubzilla-63fa5f6c7706bd150099821e9bf8826cb1cf4dcd.zip
Merge pull request #172 from fabrixxm/master
Rearrange theme tpls
Diffstat (limited to 'view/nets.tpl')
-rwxr-xr-xview/nets.tpl10
1 files changed, 4 insertions, 6 deletions
diff --git a/view/nets.tpl b/view/nets.tpl
index cbadf1361..b0cb8890c 100755
--- a/view/nets.tpl
+++ b/view/nets.tpl
@@ -1,12 +1,10 @@
<div id="nets-sidebar" class="widget">
<h3>$title</h3>
<div id="nets-desc">$desc</div>
-
+ <a href="$base" class="nets-link{{ if $sel_all }} nets-selected{{ endif }} nets-all">$all</a>
<ul class="nets-ul">
- <li class="tool {{ if $sel_all }}selected{{ endif }}"><a href="$base" class="nets-link nets-all">$all</a>
- {{ for $nets as $net }}
- <li class="tool {{ if $net.selected }}selected{{ endif }}"><a href="$base?f=&nets=$net.ref" class="nets-link">$net.name</a></li>
- {{ endfor }}
+ {{ for $nets as $net }}
+ <li><a href="$base?nets=$net.ref" class="nets-link{{ if $net.selected }} nets-selected{{ endif }}">$net.name</a></li>
+ {{ endfor }}
</ul>
-
</div>