aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/mail_head.tpl
diff options
context:
space:
mode:
authorDevlon Duthie <duthied@gmail.com>2011-10-02 20:37:47 -0500
committerDevlon Duthie <duthied@gmail.com>2011-10-02 20:37:47 -0500
commitda53ebf4b3431559d2383dd9e0651de44e9714e8 (patch)
tree1fbfdc7a08b82caacd2ac7f0edb468156925466e /view/theme/testbubble/mail_head.tpl
parent8e38fe6f47db54e7af12707130641e8de9f3eeb9 (diff)
downloadvolse-hubzilla-da53ebf4b3431559d2383dd9e0651de44e9714e8.tar.gz
volse-hubzilla-da53ebf4b3431559d2383dd9e0651de44e9714e8.tar.bz2
volse-hubzilla-da53ebf4b3431559d2383dd9e0651de44e9714e8.zip
added activetab var to message.php for templates
(testbubble only) added logic to photo header to make tab 'sticky' (active class for styling) (testbubble only) css fix for avatars in wallitems
Diffstat (limited to 'view/theme/testbubble/mail_head.tpl')
-rw-r--r--view/theme/testbubble/mail_head.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/theme/testbubble/mail_head.tpl b/view/theme/testbubble/mail_head.tpl
index 2a4fc42ea..2a4596cd6 100644
--- a/view/theme/testbubble/mail_head.tpl
+++ b/view/theme/testbubble/mail_head.tpl
@@ -1,7 +1,7 @@
<h3>$messages</h3>
<ul class="tabs-wrapper">
-<li><a href="message" class="tabs button">$inbox</a></li>
-<li><a href="message/sent" class="tabs button">$outbox</a></li>
-<li><a href="message/new" class="tabs button">$new</a></li>
+<li><a href="message" class="tabs button {{if $activetab==inbox}}active{{endif}}">$inbox</a></li>
+<li><a href="message/sent" class="tabs button {{if $activetab==sent}}active{{endif}}">$outbox</a></li>
+<li><a href="message/new" class="tabs button {{if $activetab==new}}active{{endif}}">$new</a></li>
</ul>