aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/editwrapper.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-13 15:30:40 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-13 15:30:40 +0000
commit5252e84dda067e1c537025bf732700297e2e8b1f (patch)
tree5efbb4c58fe83cb658ecda2a2627a2d529d4b897 /views/default/widgets/editwrapper.php
parentcc1d7f7a798f9451dfb3a224df3a871e59a060d5 (diff)
downloadelgg-5252e84dda067e1c537025bf732700297e2e8b1f.tar.gz
elgg-5252e84dda067e1c537025bf732700297e2e8b1f.tar.bz2
Added access controls to widgets and fixed the access control input
git-svn-id: https://code.elgg.org/elgg/trunk@914 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/widgets/editwrapper.php')
-rw-r--r--views/default/widgets/editwrapper.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/default/widgets/editwrapper.php b/views/default/widgets/editwrapper.php
index 2411e4ca6..4308ebf2f 100644
--- a/views/default/widgets/editwrapper.php
+++ b/views/default/widgets/editwrapper.php
@@ -22,6 +22,12 @@
?>
<p>
+ <label>
+ <?php echo elgg_echo('access'); ?>
+ <?php echo elgg_view('input/access', array('internalname' => 'params[access_id]','value' => $vars['entity']->access_id)); ?>
+ </label>
+ </p>
+ <p>
<input type="hidden" name="guid" value="<?php echo $vars['entity']->getGUID(); ?>" />
<input type="submit" value="<?php