aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-04 18:35:48 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-04 18:35:48 +0000
commita7ab0d0d8b2b2be2a331125d0e6d3d2734b91f69 (patch)
tree1781825422ae26964ce4a680a0c90ee79fafb81e /mod/groups/views/default
parent6faba7480f02a248ba9d10c59c9a92f27aac48a1 (diff)
downloadelgg-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/default')
-rw-r--r--mod/groups/views/default/forms/groups/edit.php13
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; ?>" />