From 7d7d484a3777d1d9e212151b8bbc56b0c6a6e426 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 27 Jan 2009 14:09:36 +0000 Subject: tweak to banned user git-svn-id: https://code.elgg.org/elgg/trunk@2622 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/userdetails.php | 316 +++++++++++----------- 1 file changed, 159 insertions(+), 157 deletions(-) (limited to 'mod/profile/views') diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 533c5ceaa..f22301aef 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -1,158 +1,160 @@ - - * @copyright Curverider Ltd 2008-2009 - * @link http://elgg.com/ - * - * @uses $vars['entity'] The user entity - */ - - if ($vars['full'] == true) { - $iconsize = "large"; - } else { - $iconsize = "medium"; - } - - // wrap all profile info - echo "
"; - -?> - - - - + + +profile_using_custom)) {?> + + + + + + + + +
- -"; - - echo "
"; - // get the user's main profile picture - echo elgg_view( - "profile/icon", array( - 'entity' => $vars['entity'], - //'align' => "left", + + * @copyright Curverider Ltd 2008-2009 + * @link http://elgg.com/ + * + * @uses $vars['entity'] The user entity + */ + + if ($vars['full'] == true) { + $iconsize = "large"; + } else { + $iconsize = "medium"; + } + + // wrap all profile info + echo "
"; + +?> + + + + - - -profile_using_custom)) {?> - - - - - - - - -
+ +"; + + echo "
"; + // get the user's main profile picture + echo elgg_view( + "profile/icon", array( + 'entity' => $vars['entity'], + //'align' => "left", 'size' => $iconsize, - 'override' => true, - ) - ); - - - echo "
"; - echo "
"; - // display relevant links - echo elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); - - // close profile_info_column_left - echo ""; - -?> -
- -
- canEdit()) { - - ?> -

- -

- - - - - guid) - $rel = 'me'; - else if (check_entity_relationship(page_owner(), 'friend', $vars['entity']->guid)) - $rel = 'friend'; - - // display the users name - echo "

getUrl() . "\" rel=\"$rel\">" . $vars['entity']->name . "

"; - - if ($vars['full'] == true) { - - ?> - 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'; - - - echo "

"; - ?> - : - $vars['entity']->$shortname)); - - ?> - -

- - -
- -
-
-

- description); ?> - - isBanned()) { ?> -
- -
- - - -
- -
- - - -
+ 'override' => true, + ) + ); + + + echo "
"; + echo "
"; + // display relevant links + echo elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); + + // close profile_info_column_left + echo ""; + +?> +
+ +
+ canEdit()) { + + ?> +

+ +

+ + + + + guid) + $rel = 'me'; + else if (check_entity_relationship(page_owner(), 'friend', $vars['entity']->guid)) + $rel = 'friend'; + + // display the users name + echo "

getUrl() . "\" rel=\"$rel\">" . $vars['entity']->name . "

"; + + if ($vars['full'] == true) { + + ?> + 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'; + + + echo "

"; + ?> + : + $vars['entity']->$shortname)); + + ?> + +

+ + +
+ +
+
+

+ description); ?> + + isBanned()) { ?> +
+ +
+ + + +
+ +
+ + + +
-- cgit v1.2.3