aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-18 13:02:23 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-18 13:02:23 +0000
commita12e51d597b5ca22af44609b778eca66ca681492 (patch)
tree1e4c45980e94bde578ca20dbfacd7289ee9696ba /mod/blog/views
parentcf0bd9e0381e77b1879f508c1a8fe62beb2899a8 (diff)
downloadelgg-a12e51d597b5ca22af44609b778eca66ca681492.tar.gz
elgg-a12e51d597b5ca22af44609b778eca66ca681492.tar.bz2
Included a view for plugins to extend (on the new reworked Bookmarks and Blogs).
git-svn-id: http://code.elgg.org/elgg/trunk@5435 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php5
-rw-r--r--mod/blog/views/default/object/blog.php3
2 files changed, 7 insertions, 1 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index b910b420b..71bb1ec39 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -39,7 +39,10 @@ if ($loggedin_user) {
<ul class="submenu">
<li><a href="">Drafts</a></li>
</ul>
-
+<?php
+ // include a view for plugins to extend
+ echo elgg_view("blogs/sidebar", array("object_type" => 'blog'));
+?>
<?php // temporarily force tag-cloud display
echo "<h3>Tagcloud</h3>";
echo "<div class='tagcloud sidebar'>".display_tagcloud(0, 100, 'tags')."</div>";
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 5a86e7e3d..f1240256a 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -50,6 +50,9 @@ if ($blog->canEdit()) {
$edit = '';
}
+ // include a view for plugins to extend
+ $edit = elgg_view("blogs/options", array("object_type" => 'blog')) .$edit;
+
if ($full) {
// The "on" status changes for comments, so best to check for !Off
if ($blog->comments_on != 'Off') {