diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 18:35:48 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 18:35:48 +0000 |
commit | a7ab0d0d8b2b2be2a331125d0e6d3d2734b91f69 (patch) | |
tree | 1781825422ae26964ce4a680a0c90ee79fafb81e /mod/groups/views | |
parent | 6faba7480f02a248ba9d10c59c9a92f27aac48a1 (diff) | |
download | elgg-a7ab0d0d8b2b2be2a331125d0e6d3d2734b91f69.tar.gz elgg-a7ab0d0d8b2b2be2a331125d0e6d3d2734b91f69.tar.bz2 |
Closes #109: Group icons can be set. Fixed recreate group on edit.
git-svn-id: https://code.elgg.org/elgg/trunk@1304 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 7a3a9c353..abb226464 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -9,8 +9,17 @@ * @link http://elgg.com/ */ ?> -<form action="<?php echo $vars['url']; ?>action/groups/edit" method="post"> +<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post"> + <p> + <label><?php echo elgg_echo("groups:icon"); ?><br /> + <?php + + echo elgg_view("input/file",array('internalname' => 'icon')); + + ?> + </label> + </p> <?php //var_export($vars['profile']); @@ -46,7 +55,7 @@ <?php if ($vars['entity']) { - ?><input type="hidden" name="group_guid" value="<?php //echo $vars['entity']->getGUID(); ?>" /><?php + ?><input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" /><?php } ?> <input type="hidden" name="user_guid" value="<?php echo page_owner_entity()->guid; ?>" /> |