]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/profile_tabs.tpl
Merge pull request #136 from fabrixxm/master
[friendica.git] / view / theme / dispy / profile_tabs.tpl
index 63b6d48dd27df94fc97853eb8635afd13fc4adc3..c236490b285e70f5d6e441b7e24bd00aeb19263d 100644 (file)
@@ -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>