aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms
diff options
context:
space:
mode:
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,