aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/profile_tabs.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-23 11:30:17 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-23 11:30:17 +0200
commit5de7d0f12f279aed4551d261d8f71325ca01028a (patch)
tree41af3d6ef5a8bc465f3718fd01aaa2b88ae9b2a2 /view/theme/dispy/profile_tabs.tpl
parentaa4636d03a03718c5c5e58c17af40ee0104be2b6 (diff)
downloadvolse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.tar.gz
volse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.tar.bz2
volse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.zip
add profile tabs to "photos", "events" and "notes". in dispy, show active tab.
Diffstat (limited to 'view/theme/dispy/profile_tabs.tpl')
-rw-r--r--view/theme/dispy/profile_tabs.tpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/view/theme/dispy/profile_tabs.tpl b/view/theme/dispy/profile_tabs.tpl
index 63b6d48dd..c236490b2 100644
--- a/view/theme/dispy/profile_tabs.tpl
+++ b/view/theme/dispy/profile_tabs.tpl
@@ -1,7 +1,9 @@
<div class="tabs-wrapper" >
- <a href="$url" id="profile-tab-status-link" class="tabs" >$status</a>
- <a href="$url?tab=profile" id="profile-tab-profile-link" class="tabs" >$profile</a>
- <a href="$phototab" id="profile-tab-photos-link" class="tabs" >$photos</a>
+ <a href="$url" id="profile-tab-status-link" class="tabs {{if $activetab==posts}}active{{endif}}" >$status</a>
+ <a href="$url?tab=profile" id="profile-tab-profile-link" class="tabs {{if $activetab==profile}}active{{endif}}" >$profile</a>
+ <a href="$phototab" id="profile-tab-photos-link" class="tabs {{if $activetab==photos}}active{{endif}}" >$photos</a>
+ {{ if $events }}<a href="events" id="profile-tab-events-link" class="tabs {{if $activetab==events}}active{{endif}}" >$events</a>{{ endif }}
+ {{ if $notes }}<a href="notes" id="profile-tab-notes-link" class="tabs {{if $activetab==notes}}active{{endif}}" >$notes</a>{{ endif }}
<div class="tabs-end"></div>
-</div> \ No newline at end of file
+</div>