From 3490a1bf20d98a861d7bffa738f8fbb3c5b0c482 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 6 Aug 2008 13:19:56 +0000 Subject: group profile layout tweaked git-svn-id: https://code.elgg.org/elgg/trunk@1734 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/groupprofile.php | 111 ++++++++++------------- mod/groups/views/default/groups/members.php | 4 +- mod/groups/views/default/groups/profileitems.php | 9 +- 3 files changed, 54 insertions(+), 70 deletions(-) (limited to 'mod/groups/views/default') diff --git a/mod/groups/views/default/groups/groupprofile.php b/mod/groups/views/default/groups/groupprofile.php index 7f77d8fe1..60bce36be 100644 --- a/mod/groups/views/default/groups/groupprofile.php +++ b/mod/groups/views/default/groups/groupprofile.php @@ -4,7 +4,7 @@ * * @package ElggGroups * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey + * @author Curverider * @copyright Curverider Ltd 2008 * @link http://elgg.com/ */ @@ -16,76 +16,63 @@ } ?> - - - - - - -
-
- - group) && sizeof($vars['config']->group) > 0) - { - - foreach($vars['config']->group as $shortname => $valtype) { - if ($shortname != "title") { - $value = $vars['entity']->$shortname; - - if (!empty($value)) { - - //This function controls the alternating class - $even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even'; - } - - echo "

"; - echo ""; - echo elgg_echo("groups:{$shortname}"); - echo ": "; - - echo elgg_view("output/{$valtype}",array('value' => $vars['entity']->$shortname)); - - echo "

"; - } - } - } - } - - - ?> -
-
- -
-
+ +
+
- $vars['entity'], //'align' => "left", 'size' => $iconsize, ) ); - ?> + ?> -
-
- -
- +
+ " . elgg_echo("groups:owner") . "

"; - echo "

owner_guid)->getURL() . "\">" . get_user($vars['entity']->owner_guid)->name . "

"; + echo "

" . elgg_echo("groups:owner") . "

"; + echo "

owner_guid)->getURL() . "\">" . get_user($vars['entity']->owner_guid)->name . "

"; - ?> -
- -
- + ?> +

Members: 210
+ Latest Activity: 2 hours ago
+ Number of files: 50

+ + + +
+ group) && sizeof($vars['config']->group) > 0){ + + foreach($vars['config']->group as $shortname => $valtype) { + if ($shortname != "title") { + $value = $vars['entity']->$shortname; + + if (!empty($value)) { + //This function controls the alternating class + $even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even'; + } + + echo "

"; + echo ""; + echo elgg_echo("groups:{$shortname}"); + echo ": "; + + echo elgg_view("output/{$valtype}",array('value' => $vars['entity']->$shortname)); + + echo "

"; + } + } + } + } + ?> +
+

diff --git a/mod/groups/views/default/groups/members.php b/mod/groups/views/default/groups/members.php index 3f3453f85..794dccfc3 100644 --- a/mod/groups/views/default/groups/members.php +++ b/mod/groups/views/default/groups/members.php @@ -13,6 +13,7 @@ //var_export($vars['entity']); ?> +

\ No newline at end of file +?> +
\ No newline at end of file diff --git a/mod/groups/views/default/groups/profileitems.php b/mod/groups/views/default/groups/profileitems.php index 91bc6567a..a2b29cde7 100644 --- a/mod/groups/views/default/groups/profileitems.php +++ b/mod/groups/views/default/groups/profileitems.php @@ -10,18 +10,13 @@ * @link http://elgg.com/ */ - //members - echo "
"; - echo elgg_view("groups/members",array('entity' => $vars['entity'])); - echo "
"; - //narrow column - echo "
"; + echo "
"; echo elgg_view("groups/narrow_column",array('entity' => $vars['entity'])); echo "
"; //wider column - echo "
"; + echo "
"; echo elgg_view("groups/wide_column",array('entity' => $vars['entity'])); echo "
"; -- cgit v1.2.3