aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-04 17:36:44 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-04 17:36:44 +0000
commitd06f87fadb1b88f8ae251ada0461dd2cebf84a00 (patch)
tree5e90ffdb4dcc46978bcde6bd839243aad02d7799 /mod/blog/start.php
parent4ec8a466b8ae9bfcb495b57cc1c90ac8de3533e2 (diff)
downloadelgg-d06f87fadb1b88f8ae251ada0461dd2cebf84a00.tar.gz
elgg-d06f87fadb1b88f8ae251ada0461dd2cebf84a00.tar.bz2
Blog edit updates
git-svn-id: https://code.elgg.org/elgg/trunk@408 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php6
1 files changed, 6 insertions, 0 deletions
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