aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/profile_navigation.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default/profile/profile_navigation.php')
-rwxr-xr-xmod/profile/views/default/profile/profile_navigation.php51
1 files changed, 0 insertions, 51 deletions
diff --git a/mod/profile/views/default/profile/profile_navigation.php b/mod/profile/views/default/profile/profile_navigation.php
deleted file mode 100755
index b322066bf..000000000
--- a/mod/profile/views/default/profile/profile_navigation.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-
-$section = 'activity';
-if (isset($vars['section'])) {
- $section = $vars['section'];
-}
-
-$profile = $vars['entity'];
-$activity = '';
-$friends = '';
-$extend = '';
-$twitter = '';
-
-$url = "{$profile->getURL()}/";
-
-//select section
-switch($section){
- case 'friends':
- $friends = 'class="selected"';
- break;
-
- case 'details':
- $details = 'class="selected"';
- break;
-
- case 'twitter':
- $twitter = 'class="selected"';
- break;
-
- case 'activity':
- default:
- $activity = 'class="selected"';
- break;
-}
-?>
-<div class="elgg_horizontal_tabbed_nav profile">
-<div class="profile_name"><h2><?php echo $profile->name; ?></h2></div>
-<ul>
- <li <?php echo $activity; ?>><a href="<?php echo $url; ?>">Activity</a></li>
- <li <?php echo $details; ?>><a href="<?php echo $url . 'details'; ?>">Details</a></li>
- <li <?php echo $friends; ?>><a href="<?php echo $url . 'friends'; ?>">Friends</a></li>
- <?php
- //check to see if the twitter username is set
- if($vars['entity']->twitter){
- ?>
- <li <?php echo $twitter; ?>><a href="<?php echo $url . 'twitter'; ?>">Twitter</a></li>
- <?php
- }
- ?>
-</ul>
-</div>