remove old readme
[atutor.git] / themes / mobile / social / edit_profile / edit_additional.tmpl.php
1 <?php
2         global $addslashes;
3         //escape all strings
4         $title                  = AT_print($this->title, 'input.text');
5         $interests              = AT_print($this->interests, 'input.text');
6         $associations   = AT_print($this->associations, 'input.text');
7         $awards                 = AT_print($this->awards, 'input.text');
8 ?>
9 <form method="post" action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'edit_profile.php'); ?>">
10
11 <div class="headingbox"><h3><?php if($_GET['id']){ echo _AT($title);}else{echo  _AT($title);}?></h3></div>
12 <div class="contentbox">
13         <div>   
14                         <label for="<?php echo $title;?>"><?php echo _AT($title); ?></label>
15                 <div>
16                         <textarea rows="4" cols="40" id="<?php echo $title;?>" name="<?php echo $title;?>"><?php echo $$title; ?></textarea>
17                 </div>
18                 
19                 <?php if (isset($this->id)): ?>
20                 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
21                 <input type="hidden" name="edit" value="<?php echo $title; ?>" />
22                 <?php else: ?>  
23                 <input type="hidden" name="add" value="<?php echo $title; ?>" />
24                 <?php endif; ?>
25                 <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" class="button"/>
26                 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" class="button"/>
27         </div>
28 </div>
29 </form>