diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-07 15:02:05 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-07 15:02:05 +0000 |
commit | 69a750eb7b2a3c7a09369a3714bfaa9ef028f086 (patch) | |
tree | 97f02895ed0fc737e82b4806cc793e2fb31dcf15 /mod/groups/views/default/forms/forums/addpost.php | |
parent | d7a0d5be049d9f5870bc09022929c628cfabaa23 (diff) | |
download | elgg-69a750eb7b2a3c7a09369a3714bfaa9ef028f086.tar.gz elgg-69a750eb7b2a3c7a09369a3714bfaa9ef028f086.tar.bz2 |
groups now have forums
git-svn-id: https://code.elgg.org/elgg/trunk@1761 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forms/forums/addpost.php')
-rw-r--r-- | mod/groups/views/default/forms/forums/addpost.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/mod/groups/views/default/forms/forums/addpost.php b/mod/groups/views/default/forms/forums/addpost.php new file mode 100644 index 000000000..be34d04fd --- /dev/null +++ b/mod/groups/views/default/forms/forums/addpost.php @@ -0,0 +1,36 @@ +<?php
+
+ /**
+ * Elgg group forum post edit/add page
+ *
+ * @package ElggGroups
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider <info@elgg.com>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ *
+ * @uses $vars['entity'] Optionally, the post to edit
+ */
+
+?>
+ <form action="<?php echo $vars['url']; ?>action/groups/addpost" method="post">
+ <p>
+ <label><?php echo elgg_echo("groups:reply"); ?><br />
+ <?php
+
+ echo elgg_view("input/longtext",array(
+ "internalname" => "topic_post",
+ "value" => $body,
+ ));
+ ?>
+ </label>
+ </p>
+ <p>
+ <!-- pass across the topic guid -->
+ <input type="hidden" name="topic_guid" value="<?php echo $vars['entity']->guid; ?>" />
+ <input type="hidden" name="group_guid" value="<?php echo $vars['entity']->container_guid; ?>" />
+ <!-- display the save button -->
+ <input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" />
+ </p>
+
+ </form>
\ No newline at end of file |