aboutsummaryrefslogtreecommitdiff
path: root/mod/tabbed_profile/views/default/profile/tabs/details.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 18:37:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 18:37:18 +0000
commit3c8180095c81d4eee82ed7088b378161cee29298 (patch)
tree834f34e3b6786b6fbd1688807d343a0f6e52c8e0 /mod/tabbed_profile/views/default/profile/tabs/details.php
parentb6f99468651309e0b58dbe000958540809df5dcc (diff)
downloadelgg-3c8180095c81d4eee82ed7088b378161cee29298.tar.gz
elgg-3c8180095c81d4eee82ed7088b378161cee29298.tar.bz2
Fixes #2481 - moving tabbed_profile plugin into the plugins repo from core - it needs some updates to reflect changes to the core profile plugin
git-svn-id: http://code.elgg.org/elgg/trunk@7751 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tabbed_profile/views/default/profile/tabs/details.php')
-rwxr-xr-xmod/tabbed_profile/views/default/profile/tabs/details.php41
1 files changed, 0 insertions, 41 deletions
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>";
- }
- }
-}