From fe5cee34c946f0d99f64f5a14955306d8d5f2527 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 24 Jun 2008 18:52:00 +0000 Subject: profile box fixes git-svn-id: https://code.elgg.org/elgg/trunk@1113 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/userdetails.php | 256 +++++++++++----------- 1 file changed, 134 insertions(+), 122 deletions(-) (limited to 'mod') diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 30de55189..aacc17c03 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -1,122 +1,134 @@ - - * @copyright Curverider Ltd 2008 - * @link http://elgg.com/ - * - * @uses $vars['entity'] The user entity - */ - - if ($vars['full'] == true) { - $iconsize = "large"; - } else { - $iconsize = "medium"; - } - - // wrap all profile info - echo "
"; - - // wrap the icon and links in a div - echo "
"; - - // get the user's main profile picture - echo elgg_view( - "profile/icon", array( - 'entity' => $vars['entity'], - 'align' => "left", - 'size' => $iconsize, - ) - ); - - //display relevant links - echo "
" . elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); - - // close the icon and links div - echo "
"; - -?> - -
- - getUrl() . "\">" . $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)) { - - ?> - -

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

- - -
- -
- -
-


description); ?>

- -canEdit()) { - -?> -

- -

-guid){ -?> -

- -

-

- -

- - -
- -
+ + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + * + * @uses $vars['entity'] The user entity + */ + + if ($vars['full'] == true) { + $iconsize = "large"; + } else { + $iconsize = "medium"; + } + + // wrap all profile info + echo "
"; + +?> + + + + + + +
+ +"; + + // get the user's main profile picture + echo elgg_view( + "profile/icon", array( + 'entity' => $vars['entity'], + //'align' => "left", + 'size' => $iconsize, + ) + ); + + // display relevant links + echo elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); + + // close the icon and links div + echo ""; + +?> + + + +
+ + getUrl() . "\">" . $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)) { + + ?> + +

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

+ + +
+ +
+ +
+


description); ?>

+ +canEdit()) { + +?> +

+ + +guid){ +?> + +   + +   + + +

+
+ +
-- cgit v1.2.3