From 4d80bc33b8924038bd1ca57d548828afe661bb42 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 2 Dec 2010 03:10:57 +0000 Subject: Refs #2700 replaced most underscores with hyphens - there may be broken display code due to extent of this change git-svn-id: http://code.elgg.org/elgg/trunk@7493 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/forms/forums/addtopic.php | 2 +- mod/groups/views/default/forms/groups/edit.php | 2 +- mod/groups/views/default/forms/groups/invite.php | 2 +- mod/groups/views/default/forum/maintopic.php | 22 +++++++++++----------- mod/groups/views/default/forum/topics.php | 6 +++--- .../views/default/groups/closedmembership.php | 2 +- mod/groups/views/default/groups/css.php | 20 ++++++++++---------- mod/groups/views/default/groups/featured.php | 4 ++-- mod/groups/views/default/groups/find.php | 2 +- mod/groups/views/default/groups/forum_latest.php | 12 ++++++------ .../views/default/groups/group_sort_menu.php | 2 +- mod/groups/views/default/groups/grouplisting.php | 6 +++--- mod/groups/views/default/groups/groupprofile.php | 4 ++-- .../views/default/groups/invitationrequests.php | 12 ++++++------ .../views/default/groups/membershiprequests.php | 10 +++++----- .../views/default/object/groupforumtopic.php | 20 ++++++++++---------- mod/groups/views/default/river/forum/create.php | 2 +- .../views/default/river/forum/topic/create.php | 2 +- mod/groups/views/default/river/group/create.php | 2 +- .../default/river/relationship/member/create.php | 2 +- 20 files changed, 68 insertions(+), 68 deletions(-) (limited to 'mod/groups/views') diff --git a/mod/groups/views/default/forms/forums/addtopic.php b/mod/groups/views/default/forms/forums/addtopic.php index af8c0a447..7d61e2514 100644 --- a/mod/groups/views/default/forms/forums/addtopic.php +++ b/mod/groups/views/default/forms/forums/addtopic.php @@ -35,7 +35,7 @@ ?> -
+

diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 32e9f6ff3..d3eb7ac68 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -13,7 +13,7 @@ } ?> - + diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php index 3298a7450..279e11a20 100644 --- a/mod/groups/views/default/forms/groups/invite.php +++ b/mod/groups/views/default/forms/groups/invite.php @@ -12,7 +12,7 @@ if ($friends) { ?> - + -

+
owner_guid)) { // display the user icon - echo "
" . elgg_view("profile/icon",array('entity' => $post_owner, 'size' => 'tiny')) . "
"; + echo "
" . elgg_view("profile/icon",array('entity' => $post_owner, 'size' => 'tiny')) . "
"; // display the user name - echo "
"; + echo "
"; // if comment owner, group owner, or site admin - display edit and delete options if (groups_can_edit_discussion($vars['entity'], elgg_get_page_owner()->owner_guid)) { - echo ""; // close entity-listing-info + echo "
"; // close entity-listing.topic //display the actual message posted echo "
"; diff --git a/mod/groups/views/default/forum/topics.php b/mod/groups/views/default/forum/topics.php index 1426ba274..fbe168588 100644 --- a/mod/groups/views/default/forum/topics.php +++ b/mod/groups/views/default/forum/topics.php @@ -5,13 +5,13 @@ ?>
-
+

isMember(get_loggedin_user())) { ?> -
+
". elgg_echo("grouptopic:notcreated") . "

"; \ No newline at end of file + echo "

". elgg_echo("grouptopic:notcreated") . "

"; \ No newline at end of file diff --git a/mod/groups/views/default/groups/closedmembership.php b/mod/groups/views/default/groups/closedmembership.php index bf0db7e22..d5abe1e09 100644 --- a/mod/groups/views/default/groups/closedmembership.php +++ b/mod/groups/views/default/groups/closedmembership.php @@ -6,7 +6,7 @@ */ ?> -

+

'tiny', )); - echo "

"; + echo ""; } } ?> diff --git a/mod/groups/views/default/groups/find.php b/mod/groups/views/default/groups/find.php index 70d03e458..0ad9f2018 100644 --- a/mod/groups/views/default/groups/find.php +++ b/mod/groups/views/default/groups/find.php @@ -9,6 +9,6 @@ $tag_string = elgg_echo('groups:search:tags'); ?>

- + diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php index d78a47456..9b6f292e0 100644 --- a/mod/groups/views/default/groups/forum_latest.php +++ b/mod/groups/views/default/groups/forum_latest.php @@ -16,18 +16,18 @@ if($vars['entity']->forum_enable != 'no'){ $count_annotations = $f->countAnnotations("generic_comment"); - echo "
"; - echo "
" . elgg_view('profile/icon',array('entity' => $f->getOwnerEntity(), 'size' => 'tiny')) . "
"; - echo "

guid}&group_guid={$vars['entity']->guid}\">" . $f->title . "

"; - echo "

".elgg_echo('comments').": " . $count_annotations . "

"; + echo "
"; + echo "
" . elgg_view('profile/icon',array('entity' => $f->getOwnerEntity(), 'size' => 'tiny')) . "
"; + echo "

guid}&group_guid={$vars['entity']->guid}\">" . $f->title . "

"; + echo "

".elgg_echo('comments').": " . $count_annotations . "

"; echo "
"; } } else { if(elgg_get_page_owner()->isMember(get_loggedin_user())){ $create_discussion = elgg_get_site_url() . "mod/groups/addtopic.php?group_guid=" . elgg_get_page_owner_guid(); - echo "

".elgg_echo("groups:addtopic")."

"; + echo "

".elgg_echo("groups:addtopic")."

"; }else{ - echo "

". elgg_echo("grouptopic:notcreated") . "

"; + echo "

". elgg_echo("grouptopic:notcreated") . "

"; } } diff --git a/mod/groups/views/default/groups/group_sort_menu.php b/mod/groups/views/default/groups/group_sort_menu.php index aedb3f8e5..58ecf920f 100644 --- a/mod/groups/views/default/groups/group_sort_menu.php +++ b/mod/groups/views/default/groups/group_sort_menu.php @@ -14,7 +14,7 @@ $url = elgg_get_site_url() . "pg/groups/world/"; ?> -
+
  • >
  • diff --git a/mod/groups/views/default/groups/grouplisting.php b/mod/groups/views/default/groups/grouplisting.php index 1466234ab..dc6bdb4a4 100644 --- a/mod/groups/views/default/groups/grouplisting.php +++ b/mod/groups/views/default/groups/grouplisting.php @@ -21,7 +21,7 @@ if($membership == ACCESS_PUBLIC) { $mem = elgg_echo("groups:closed"); } -$info .= "

    " . $mem . " / " . get_group_members($vars['entity']->guid, 10, 0, 0, true) ." " . elgg_echo("groups:member"); +$info .= "

    " . $mem . " / " . get_group_members($vars['entity']->guid, 10, 0, 0, true) ." " . elgg_echo("groups:member"); //for admins only - display the feature or unfeature option if(isadminloggedin()) { @@ -37,8 +37,8 @@ if(isadminloggedin()) { } $info .= "

    "; -$info .= "

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

    "; -$info .= "

    " . $vars['entity']->briefdescription . "

    "; +$info .= "

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

    "; +$info .= "

    " . $vars['entity']->briefdescription . "

    "; echo elgg_view_listing($icon, $info); diff --git a/mod/groups/views/default/groups/groupprofile.php b/mod/groups/views/default/groups/groupprofile.php index 436901368..42928a12f 100644 --- a/mod/groups/views/default/groups/groupprofile.php +++ b/mod/groups/views/default/groups/groupprofile.php @@ -50,7 +50,7 @@ if ($vars['entity']->isMember($user)) { // build action buttons $action_buttons = ''; if (!empty($actions)) { - $action_buttons = '
    '; + $action_buttons = '
    '; foreach ($actions as $url => $action) { $action_buttons .= "$action"; } @@ -64,7 +64,7 @@ echo elgg_view('navigation/breadcrumbs'); // build and display header echo <<<__HTML
    -
    +

    {$vars['entity']->name}

    $action_buttons diff --git a/mod/groups/views/default/groups/invitationrequests.php b/mod/groups/views/default/groups/invitationrequests.php index 4674a3c23..a1cca6489 100644 --- a/mod/groups/views/default/groups/invitationrequests.php +++ b/mod/groups/views/default/groups/invitationrequests.php @@ -6,9 +6,9 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) { if ($group instanceof ElggGroup) { ?> -
    +
    "; + echo "
    "; echo elgg_view("profile/icon", array( 'entity' => $group, 'size' => 'tiny', @@ -17,7 +17,7 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) { $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}"); ?> -
    +
    elgg_echo('delete'), ))); - echo "

    getUrl() . "\">" . $group->name . "

    "; - echo "

    " . $group->briefdescription . "

    "; + echo "

    getUrl() . "\">" . $group->name . "

    "; + echo "

    " . $group->briefdescription . "

    "; ?>
    @@ -35,6 +35,6 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) { } } else { - echo "

    " . elgg_echo('groups:invitations:none') . "

    "; + echo "

    " . elgg_echo('groups:invitations:none') . "

    "; } ?> \ No newline at end of file diff --git a/mod/groups/views/default/groups/membershiprequests.php b/mod/groups/views/default/groups/membershiprequests.php index 6cb5f75f6..714b8e8f9 100644 --- a/mod/groups/views/default/groups/membershiprequests.php +++ b/mod/groups/views/default/groups/membershiprequests.php @@ -6,9 +6,9 @@ if ($request instanceof ElggUser) { ?> -
    +
    "; + echo "
    "; echo elgg_view("profile/icon", array( 'entity' => $request, 'size' => 'small', @@ -18,7 +18,7 @@ $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/addtogroup?user_guid={$request->guid}&group_guid={$vars['entity']->guid}"); ?> -
    +
    elgg_echo('groups:joinrequest:remove:check'), 'text' => elgg_echo('delete'), ))); - echo "

    getUrl() . "\">" . $request->name . "

    "; - echo "

    " . $request->briefdescription . "

    "; + echo "

    getUrl() . "\">" . $request->name . "

    "; + echo "

    " . $request->briefdescription . "

    "; ?>
    diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php index efa4dee79..551e256db 100644 --- a/mod/groups/views/default/object/groupforumtopic.php +++ b/mod/groups/views/default/object/groupforumtopic.php @@ -27,32 +27,32 @@ $u = get_user($last_user); if (elgg_get_context() == "search") { var_export($counter); if($counter == 1){ - $info = "

    " . elgg_echo('groups:forum:created:single', array($forum_created, $counter)) . "
    "; + $info = "

    " . elgg_echo('groups:forum:created:single', array($forum_created, $counter)) . "
    "; }else{ - $info = "

    " . elgg_echo('groups:forum:created', array($forum_created, $counter)) . "
    "; + $info = "

    " . elgg_echo('groups:forum:created', array($forum_created, $counter)) . "
    "; } if (($last_time) && ($u)) $info.= elgg_echo('groups:lastupdated', array(elgg_view_friendly_time($last_time), " getURL() . "\">" . $u->name . "")); $info .= '

    '; //get the group avatar $icon = elgg_view("profile/icon",array('entity' => $u, 'size' => 'tiny')); //get the group and topic title - $info .= "

    " . elgg_echo('groups:topic') . ": guid}&group_guid={$group->guid}\">{$title}

    "; + $info .= "

    " . elgg_echo('groups:topic') . ": guid}&group_guid={$group->guid}\">{$title}

    "; if ($group instanceof ElggGroup) { - $info .= "

    " . elgg_echo('group') . ": getURL()}\">".htmlentities($group->name, ENT_QUOTES, 'UTF-8') ."

    "; + $info .= "

    " . elgg_echo('group') . ": getURL()}\">".htmlentities($group->name, ENT_QUOTES, 'UTF-8') ."

    "; } } else { if($counter == 1){ - $info = "

    " . elgg_echo('groups:forum:created:single', array($forum_created, $counter)) . "

    "; + $info = "

    " . elgg_echo('groups:forum:created:single', array($forum_created, $counter)) . "

    "; }else{ - $info = "

    " . elgg_echo('groups:forum:created', array($forum_created, $counter)) . "

    "; + $info = "

    " . elgg_echo('groups:forum:created', array($forum_created, $counter)) . "

    "; } - $info .= "

    " . elgg_echo('groups:started') . " " . $topic_owner->name . ": guid}&group_guid={$group->guid}\">{$title}

    "; + $info .= "

    " . elgg_echo('groups:started') . " " . $topic_owner->name . ": guid}&group_guid={$group->guid}\">{$title}

    "; if (groups_can_edit_discussion($vars['entity'], elgg_get_page_owner()->owner_guid)) { // display the delete link to those allowed to delete - $info .= "