aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-30 10:34:59 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-30 10:34:59 +0000
commit4c7084b01aeea616972b3d3bd70fae18346e1c2d (patch)
treed24f957081078b6c0ff72b4d62a3d37f49d96583 /mod/blog
parent791fa912b32d44d22eb8a4c2ed35d832dea7d1a5 (diff)
downloadelgg-4c7084b01aeea616972b3d3bd70fae18346e1c2d.tar.gz
elgg-4c7084b01aeea616972b3d3bd70fae18346e1c2d.tar.bz2
Updating blog view to involve icons
git-svn-id: https://code.elgg.org/elgg/trunk@574 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/views/default/object/blog.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 80538f5fa..9e085f0e9 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -19,7 +19,6 @@
<div class="blog-post">
<h3><a href="<?php echo $vars['entity']->getURL(); ?>"><?php echo $vars['entity']->title; ?></a></h3>
<p class="strapline">
- <span style="float:right">
<?php
echo sprintf(elgg_echo("blog:strapline"),
@@ -27,13 +26,17 @@
);
?>
- </span>
+ </p>
+ <p style="float: left">
+ <?php
+ echo elgg_view("profile/icon",array('entity' => $vars['entity']->getOwnerEntity(), 'size' => 'medium'));
+ ?><br />
<a href="<?php echo $vars['url']; ?>pg/blog/<?php echo $vars['entity']->getOwnerEntity()->username; ?>"><?php echo $vars['entity']->getOwnerEntity()->name; ?></a>
</p>
- <p>
+ <p style="margin-left: 110px; min-height: 110px">
<?php
-
- echo nl2br($vars['entity']->description);
+
+ echo nl2br($vars['entity']->description);
?>
</p>