diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-16 09:20:51 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-16 09:20:51 +0000 |
commit | 2216b3352edd95a4df2745996e7d3c741efc3284 (patch) | |
tree | f26f46420aa28b673aa88d7e16aab9cdf3cd8937 /mod/blog/views/default/object/blog.php | |
parent | f57931837fb8594c0fff76d1fa184f5aacad68cb (diff) | |
download | elgg-2216b3352edd95a4df2745996e7d3c741efc3284.tar.gz elgg-2216b3352edd95a4df2745996e7d3c741efc3284.tar.bz2 |
Blog plugin now serves as a fancy URL example
git-svn-id: https://code.elgg.org/elgg/trunk@473 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object/blog.php')
-rw-r--r-- | mod/blog/views/default/object/blog.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index c4b718045..52c03d23b 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -17,7 +17,7 @@ ?>
<div class="blog-post">
- <h3><a href="<?php echo $vars['url']; ?>mod/blog/read.php?blogpost=<?php echo $vars['entity']->getGUID(); ?>"><?php echo $vars['entity']->title; ?></a></h3>
+ <h3><a href="<?php echo $vars['url']; ?>blog/<?php echo $vars['entity_owner']->username; ?>/read/<?php echo $vars['entity']->getGUID(); ?>"><?php echo $vars['entity']->title; ?></a></h3>
<p class="strapline">
<span style="float:right">
<?php
@@ -28,7 +28,7 @@ ?>
</span>
- <a href="<?php echo $vars['url']; ?>mod/blog/?username=<?php echo $vars['entity_owner']->username; ?>"><?php echo $vars['entity_owner']->name; ?></a>
+ <a href="<?php echo $vars['url']; ?>blog/<?php echo $vars['entity_owner']->username; ?>"><?php echo $vars['entity_owner']->name; ?></a>
</p>
<p>
<?php
|