aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 18:43:03 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 18:43:03 +0000
commit47e81498d87703035a9d3a78215e80d7f3e02448 (patch)
tree1e5f3285daffe86f9c34cb335d699ce337daa79d /mod/blog/views
parent715fe7872366a415b97c13e3074aea02f87658b9 (diff)
downloadelgg-47e81498d87703035a9d3a78215e80d7f3e02448.tar.gz
elgg-47e81498d87703035a9d3a78215e80d7f3e02448.tar.bz2
starting adding a .elgg-text class - plugins need to use output/longtext when displaying text
git-svn-id: http://code.elgg.org/elgg/trunk@7806 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/object/blog.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index d169117e8..23ccb57be 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -17,7 +17,6 @@ $container = $blog->getContainerEntity();
$categories = elgg_view('categories/view', $vars);
$excerpt = $blog->excerpt;
-$body = autop($blog->description);
$owner_icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny'));
$owner_link = elgg_view('output/url', array(
'href' => "pg/blog/owner/$owner->username",
@@ -98,6 +97,11 @@ if (elgg_in_context('widgets')) {
if ($full) {
+ $body = elgg_view('output/longtext', array(
+ 'value' => $blog->description,
+ 'class' => 'blog-post',
+ ));
+
$header = elgg_view_title($blog->title);
$params = array(
@@ -114,9 +118,7 @@ if ($full) {
echo <<<HTML
$header
$blog_info
-<div class="blog-post elgg-content">
- $body
-</div>
+$body
HTML;
} else {