diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-24 15:04:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-24 15:04:16 +0000 |
commit | d15ea4a9c136cb1a455fbddf88fae3aaa228bbcb (patch) | |
tree | f4dc2334c676b7b5ef2378818b722cc232d2c2af | |
parent | 228dedb767db77cd220bc5863c125aec1aa93f06 (diff) | |
download | elgg-d15ea4a9c136cb1a455fbddf88fae3aaa228bbcb.tar.gz elgg-d15ea4a9c136cb1a455fbddf88fae3aaa228bbcb.tar.bz2 |
Added security token to group edit form
git-svn-id: https://code.elgg.org/elgg/trunk@3236 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/groups/actions/edit.php | 4 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php index be8d250da..86c145f49 100644 --- a/mod/groups/actions/edit.php +++ b/mod/groups/actions/edit.php @@ -10,7 +10,9 @@ */
// Load configuration
- global $CONFIG;
+ global $CONFIG; + + action_gatekeeper();
// Get group fields
$input = array();
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 87d79aaf4..339f351cf 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -11,8 +11,10 @@ ?>
<div class="contentWrapper">
-<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post">
+<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post"> + <?php echo elgg_view('input/securitytoken'); ?>
+ <p>
<label><?php echo elgg_echo("groups:icon"); ?><br />
<?php
|