From d06f87fadb1b88f8ae251ada0461dd2cebf84a00 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 4 Apr 2008 17:36:44 +0000 Subject: Blog edit updates git-svn-id: https://code.elgg.org/elgg/trunk@408 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/start.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mod/blog/start.php') diff --git a/mod/blog/start.php b/mod/blog/start.php index d7def030d..e257a2d5c 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -35,6 +35,11 @@ menu_item(elgg_echo('blog:addpost'),$CONFIG->wwwroot."mod/blog/add.php"), menu_item(elgg_echo('blog:everyone'),$CONFIG->wwwroot."mod/blog/everyone.php"), )); + // And for logged out users + } else { + add_menu(elgg_echo('blog'), $CONFIG->wwwroot . "mod/blog/",array( + menu_item(elgg_echo('blog:everyone'),$CONFIG->wwwroot."mod/blog/everyone.php"), + )); } // Extend system CSS with our own styles, which are defined in the blog/css view @@ -48,6 +53,7 @@ // Register actions global $CONFIG; register_action("blog/add",false,$CONFIG->pluginspath . "blog/actions/add.php"); + register_action("blog/edit",false,$CONFIG->pluginspath . "blog/actions/edit.php"); register_action("blog/comments/add",false,$CONFIG->pluginspath . "blog/actions/comments/add.php"); ?> \ No newline at end of file -- cgit v1.2.3