]> projects.mako.cc - scuttle/blob - templates/editprofile.tpl.php
Added link to profile on top menu
[scuttle] / templates / editprofile.tpl.php
1 <?php
2 $this->includeTemplate($GLOBALS['top_include']);
3 ?>
4
5 <form action="<?php echo $formaction; ?>" method="post">
6
7 <h3><?php echo T_('Account Details'); ?></h3>
8
9 <table class="profile">
10 <tr>
11     <th align="left"><?php echo T_('Username'); ?></th>
12     <td><?php echo $user; ?></td>
13     <td></td>
14 </tr>
15 <tr>
16     <th align="left"><?php echo T_('New Password'); ?></th>
17     <td><input type="password" name="pPass" size="20" /></td>
18     <td></td>
19 </tr>
20 <tr>
21     <th align="left"><?php echo T_('Confirm Password'); ?></th>
22     <td><input type="password" name="pPassConf" size="20" /></td>
23     <td></td>
24 </tr>
25 <tr>
26     <th align="left"><?php echo T_('E-mail'); ?></th>
27     <td><input type="text" name="pMail" size="75" value="<?php echo filter($row['email'], 'xml'); ?>" /></td>
28     <td>&larr; <?php echo T_('Required'); ?></td>
29 </tr>
30 </table>
31
32 <h3><?php echo T_('Personal Details'); ?></h3>
33
34 <table class="profile">
35 <tr>
36     <th align="left"><?php echo T_('Name'); ?></th>
37     <td><input type="text" name="pName" size="75" value="<?php echo filter($row['name'], 'xml'); ?>" /></td>
38 </tr>
39 <tr>
40     <th align="left"><?php echo T_('Homepage'); ?></th>
41     <td><input type="text" name="pPage" size="75" value="<?php echo filter($row['homepage'], 'xml'); ?>" /></td>
42 </tr>
43 <tr>
44     <th align="left"><?php echo T_('Description'); ?></th>
45     <td><textarea name="pDesc" cols="75" rows="10"><?php echo $row['uContent']; ?></textarea></td>
46 </tr>
47 <tr>
48     <th></th>
49     <td><input type="submit" name="submitted" value="<?php echo T_('Save Changes'); ?>" /></td>
50 </tr>
51 </table>
52 </form>
53
54 <?php
55 $this->includeTemplate($GLOBALS['bottom_include']);
56 ?>

Benjamin Mako Hill || Want to submit a patch?