diff options
Diffstat (limited to 'mod/tabbed_profile/views/default/profile/tabs')
6 files changed, 0 insertions, 108 deletions
diff --git a/mod/tabbed_profile/views/default/profile/tabs/activity.php b/mod/tabbed_profile/views/default/profile/tabs/activity.php deleted file mode 100755 index 7a7bffb94..000000000 --- a/mod/tabbed_profile/views/default/profile/tabs/activity.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php -/** - * Elgg user display (details) - * @uses $vars['entity'] The user entity - */ - -echo elgg_view('profile/status', array("entity" => $vars['entity'])); - -$params = array( - 'subject_guid' => $vars['entity']->guid, - 'limit' => 5, -); -echo elgg_list_river($params); diff --git a/mod/tabbed_profile/views/default/profile/tabs/commentwall.php b/mod/tabbed_profile/views/default/profile/tabs/commentwall.php deleted file mode 100644 index bf54bd7e7..000000000 --- a/mod/tabbed_profile/views/default/profile/tabs/commentwall.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php -/** - * Elgg profile comment wall - */ - -$user = elgg_get_page_owner(); -$comments = $user->getAnnotations('commentwall', 200, 0, 'desc'); - -if (isloggedin()) { - echo elgg_view("profile/commentwall/commentwalladd"); -} - -echo elgg_view("profile/commentwall/commentwall", array('annotation' => $comments)); diff --git a/mod/tabbed_profile/views/default/profile/tabs/details.php b/mod/tabbed_profile/views/default/profile/tabs/details.php deleted file mode 100755 index 27b0f943b..000000000 --- a/mod/tabbed_profile/views/default/profile/tabs/details.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php -/** - * Elgg user display (details) - * @uses $vars['entity'] The user entity - */ - -$even_odd = null; -if (is_array($vars['config']->profile) && sizeof($vars['config']->profile) > 0) { - foreach($vars['config']->profile as $shortname => $valtype) { - if ($shortname != "description") { - $value = $vars['entity']->$shortname; - if (!empty($value)) { - //This function controls the alternating class - $even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even'; - ?> - <p class="<?php echo $even_odd; ?>"> - <b><?php - echo elgg_echo("profile:{$shortname}"); - ?>: </b> - <?php - echo elgg_view("output/{$valtype}", array('value' => $vars['entity']->$shortname)); - ?> - </p> - <?php - } - } - } -} - -if (!get_plugin_setting('user_defined_fields', 'profile')) { - if ($vars['entity']->isBanned()) { - echo "<div class='banned_user'>"; - echo elgg_echo('profile:banned'); - echo "</div>"; - } else { - if ($vars['entity']->description) { - echo "<p class='aboutme_title'><b>" . elgg_echo("profile:aboutme") . "</b></p>"; - echo "<div class='aboutme_contents'>" . elgg_view('output/longtext', array('value' => $vars['entity']->description)) . "</div>"; - } - } -} diff --git a/mod/tabbed_profile/views/default/profile/tabs/friends.php b/mod/tabbed_profile/views/default/profile/tabs/friends.php deleted file mode 100755 index 0871d3e3a..000000000 --- a/mod/tabbed_profile/views/default/profile/tabs/friends.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php -/** - * Profile friends - */ - -$friends = $vars['entity']->listFriends(); - -if (!$friends) { - $friends = '<p>' . elgg_echo('profile:no_friends') . '</p>'; -} - -echo $friends;
\ No newline at end of file diff --git a/mod/tabbed_profile/views/default/profile/tabs/groups.php b/mod/tabbed_profile/views/default/profile/tabs/groups.php deleted file mode 100644 index bb5467a17..000000000 --- a/mod/tabbed_profile/views/default/profile/tabs/groups.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php
-/**
- * Profile groups
- */
-
-$groups = $vars['entity']->listGroups();
-
-if (!$groups) {
- $groups = '<p>' . elgg_echo('profile:no_groups') . '</p>';
-}
-
-echo $groups;
\ No newline at end of file diff --git a/mod/tabbed_profile/views/default/profile/tabs/twitter.php b/mod/tabbed_profile/views/default/profile/tabs/twitter.php deleted file mode 100755 index 06a0551d4..000000000 --- a/mod/tabbed_profile/views/default/profile/tabs/twitter.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -/** - * Elgg twitter view page - */ - -$twitter_username = $vars['entity']->twitter; - -// if the twitter username is empty, then do not show -if($twitter_username){ -?> -<ul id="twitter_update_list"></ul> -<p class="visit_twitter"><a href="http://twitter.com/<?php echo $twitter_username; ?>" target="_blank"><?php echo elgg_echo("twitter:visit"); ?></a></p> -<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> -<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<?php echo $twitter_username; ?>.json?callback=twitterCallback2&count=10"></script> - -<?php -}
\ No newline at end of file |