aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/object
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-03 09:31:29 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-03 09:31:29 +0000
commitcb321a0dad1f6ec1f3061c7882d5c244c702f0d5 (patch)
treea53076b959a0d72cfaca8038eeac0bd56b3a9e80 /mod/blog/views/default/object
parent1ea82fe304b680eb9f84c24b98eb718ca9d59316 (diff)
downloadelgg-cb321a0dad1f6ec1f3061c7882d5c244c702f0d5.tar.gz
elgg-cb321a0dad1f6ec1f3061c7882d5c244c702f0d5.tar.bz2
Adding name and posted date to blog entries
git-svn-id: https://code.elgg.org/elgg/trunk@382 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object')
-rw-r--r--mod/blog/views/default/object/blog.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 74b3b7c01..ee88a0888 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -18,6 +18,23 @@
<div class="blog-post">
<h3><?php echo $vars['entity']->title; ?></h3>
+ <p class="strapline">
+ <span style="float:right">
+ <?php
+
+ echo sprintf(elgg_echo("blog:strapline"),
+ date("F j",$vars['entity']->time_created)
+ );
+
+ ?>
+ </span>
+ <?php
+
+ $owner = get_entity($vars['entity']->getOwner());
+ echo $owner->name;
+
+ ?>
+ </p>
<p>
<?php