remove old readme
[atutor.git] / docs / themes / default / social / sgroup_create.tmpl.php
1 <?php
2 //Deprecated
3 //Use sgroup_edit.tmpl.php instead.
4 //keeping this just as a record
5 //@harris
6 ?>
7
8 <div class="input-form">        
9         <form action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'groups/create.php'); ?>" method="POST" >
10                 <div class="row">
11                         <label for="group_name"><?php echo _AT('group_name'); ?></label>
12                         <input type="text" size="60" name="group_name" id="group_name" value="<?php echo $_POST['group_name']; ?>"/>
13                 </div>
14
15                 <div class="row">
16                         <label for="group_type"><?php echo _AT('group_type'); ?></label>
17                         <select name="group_type" id="group_type">
18                         <?php foreach ($this->group_types as $type_id=>$type): ?>
19                                 <option value="<?php echo $type_id;?>"><?php echo _AT($type);?></option>
20                         <?php endforeach; ?>
21                         </select>
22                 </div>
23
24                 <div class="row">
25                         <label for="logo"><?php echo _AT('group_logo'); ?></label>
26                         <input type="text" size="60" name="logo" id="logo" value="<?php echo $_POST['logo']; ?>"/>
27                 </diV>
28
29                 <div class="row">
30                         <label for="description"><?php echo _AT('description'); ?></label>
31                         <textarea cols="40" rows="5" name="description" id="description"><?php echo $_POST['description']; ?></textarea>
32                 </div>
33
34                 <div class="row">
35                         <input class="button" type="submit" name="create" value="<?php echo _AT('create'); ?>" />       
36                 </div>
37         </form>
38 </div>