aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-01 01:38:41 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-01 01:38:41 +0000
commite223ee2fbe481219521157d3b8a3feee82f9011e (patch)
tree88605cb8773494f14432d4929326494b48c4283d /views/default/tidypics/forms
parentff7a4572ab0e91a3e18390c0a0f9706b36ee394b (diff)
downloadelgg-e223ee2fbe481219521157d3b8a3feee82f9011e.tar.gz
elgg-e223ee2fbe481219521157d3b8a3feee82f9011e.tar.bz2
updated forms to use security tokens
Diffstat (limited to 'views/default/tidypics/forms')
-rw-r--r--views/default/tidypics/forms/edit.php4
-rw-r--r--views/default/tidypics/forms/edit_multi.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/views/default/tidypics/forms/edit.php b/views/default/tidypics/forms/edit.php
index 0acccaee0..cec1945f0 100644
--- a/views/default/tidypics/forms/edit.php
+++ b/views/default/tidypics/forms/edit.php
@@ -107,7 +107,9 @@
?>
<input type="hidden" name="guid" value="<?php echo $vars['entity']->getGUID(); ?>" />
<?php
- }
+ }
+
+ echo elgg_view('input/securitytoken');
?>
<input type="hidden" name="container_guid" value="<?php echo $container_guid; ?>" />
<input type="hidden" name="subtype" value="<?php echo $subtype; ?>" />
diff --git a/views/default/tidypics/forms/edit_multi.php b/views/default/tidypics/forms/edit_multi.php
index ceaf2dcd9..634c343bb 100644
--- a/views/default/tidypics/forms/edit_multi.php
+++ b/views/default/tidypics/forms/edit_multi.php
@@ -39,6 +39,7 @@
echo elgg_view("input/tags", array( "internalname" => "tags[$key]","value" => $tags)) . "\n";
echo '</p>';
echo '<input type="hidden" name="image_guid[' .$key. ']" value="'. $guid .'">' . "\n";
+ echo elgg_view('input/securitytoken');
echo elgg_view("input/radio", array("internalname" => "cover",
"value" => $val,