remove old readme
[atutor.git] / docs / themes / default / 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 ?>
6 <form method="post" action="<?php echo url_rewrite(AT_SOCIAL_BASENAME.'edit_profile.php'); ?>">
7
8 <div class="headingbox"><h3><?php if($_GET['id']){ echo _AT($title);}else{echo  _AT($title);}?></h3></div>
9 <div class="contentbox">
10         <div>   
11                         <label for="<?php echo $title;?>"><?php echo _AT($title); ?></label>
12                 <div>
13                         <textarea rows="4" cols="60" id="<?php echo $title;?>" name="<?php echo $title;?>"><?php echo $$title; ?></textarea>
14                 </div>
15                 
16                 <?php if (isset($this->id)): ?>
17                 <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
18                 <input type="hidden" name="edit" value="<?php echo $title; ?>" />
19                 <?php else: ?>  
20                 <input type="hidden" name="add" value="<?php echo $title; ?>" />
21                 <?php endif; ?>
22                 <input type="submit" name="submit" value="<?php echo _AT('save'); ?>" class="button"/>
23                 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" class="button"/>
24         </div>
25 </div>
26 </form>