diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-19 12:33:38 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-19 12:33:38 +0000 |
commit | efa554d3edb1d5da83268904b7c5e74a3cd19da9 (patch) | |
tree | 4efc7b4c131f234fe55545d4747931a4a7a2c939 /mod/groups/views/default/forms | |
parent | 21892fdd68f0d5213f2da5ab86ed96fac504c2f5 (diff) | |
download | elgg-efa554d3edb1d5da83268904b7c5e74a3cd19da9.tar.gz elgg-efa554d3edb1d5da83268904b7c5e74a3cd19da9.tar.bz2 |
warning applied to group deletion
git-svn-id: https://code.elgg.org/elgg/trunk@2808 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forms')
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 5a0976cc7..e54c4ce9a 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -121,9 +121,10 @@ <?php
if ($vars['entity'])
{
+ $warning = elgg_echo("groups:deletewarning");
?>
<input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" />
- <input type="submit" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" /><?php
+ <input type="submit" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php
}
?>
</form>
|