diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 16:41:24 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-01 16:41:24 +0000 |
commit | 205dcbf14c473fe64f89e5696cfbafea8fa5ab15 (patch) | |
tree | 877875015c788488c76d3e58d52ef5e0f59746b5 /mod/blog/edit.php | |
parent | 11c32ad2ed2916336f32d59191536f26beec9862 (diff) | |
download | elgg-205dcbf14c473fe64f89e5696cfbafea8fa5ab15.tar.gz elgg-205dcbf14c473fe64f89e5696cfbafea8fa5ab15.tar.bz2 |
Further adventures in blogging; saving for now
git-svn-id: https://code.elgg.org/elgg/trunk@322 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/edit.php')
-rw-r--r-- | mod/blog/edit.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mod/blog/edit.php b/mod/blog/edit.php new file mode 100644 index 000000000..4da1a4814 --- /dev/null +++ b/mod/blog/edit.php @@ -0,0 +1,22 @@ +<?php
+
+ /**
+ * Elgg blog edit entry page
+ *
+ * @package ElggBlog
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Ben Werdmuller <ben@curverider.co.uk>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ // Load Elgg engine
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Get the post, if it exists
+ if (get_object())
+
+ // Display page
+ page_draw(sprintf(elgg_echo('blog:editpost'),$post->title),$body);
+
+?>
\ No newline at end of file |