]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
group forum discussion view updated to match the community
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 22 Apr 2010 13:57:00 +0000 (13:57 +0000)
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 22 Apr 2010 13:57:00 +0000 (13:57 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5846 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/groups/views/default/object/groupforumtopic.php

index 22ecfb35a842f4045802d149030d22b57d9eb1ec..8d5d655c0bebd9cce3c391505b7b701868ee4127 100644 (file)
                //get the group avatar
                $icon = elgg_view("profile/icon",array('entity' => $u, 'size' => 'tiny'));
            //get the group and topic title
+           $info .= "<p class='entity_subtext'><b>" . elgg_echo('Topic') . ":</b> <a href=\"{$vars['url']}mod/groups/topicposts.php?topic={$vars['entity']->guid}&group_guid={$group->guid}\">{$title}</a></p>";
            if ($group instanceof ElggGroup) {
-               $info .= "<p class='entity_title'>" . elgg_echo('group') . ": <a href=\"{$group->getURL()}\">".htmlentities($group->name, ENT_QUOTES, 'UTF-8') ."</a></p>";
+               $info .= "<p class='entity_title'><b>" . elgg_echo('group') . ":</b> <a href=\"{$group->getURL()}\">".htmlentities($group->name, ENT_QUOTES, 'UTF-8') ."</a></p>";
            }
-               $info .= "<p class='entity_subtext'>" . elgg_echo('topic') . ": <a href=\"{$vars['url']}mod/groups/topicposts.php?topic={$vars['entity']->guid}&group_guid={$group->guid}\">{$title}</a></p>";
                
        }else{