summaryrefslogtreecommitdiff
path: root/templates/editprofile.tpl.php
blob: d84fac5d11f1769697d9569efbc469839998d776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
$this->includeTemplate($GLOBALS['top_include']);
?>

<form action="<?php echo $formaction; ?>" method="post">

<h3><?php echo T_('Actions'); ?></h3>
<table class="profile">
<tr>
    <th align="left"><?php echo T_('Export'); ?></th>
    <td>
	<a href="../api/posts/all"><?php echo T_('All bookmarks')?></a>
	<?php echo ' &larr; '.T_('Del.icio.us-like API')?>
    </td>
</tr>
</table>

<h3><?php echo T_('Account Details'); ?></h3>

<table class="profile">
<tr>
    <th align="left"><?php echo T_('Username'); ?></th>
    <td><?php echo $user; ?></td>
    <td></td>
</tr>
<tr>
    <th align="left"><?php echo T_('New Password'); ?></th>
    <td><input type="password" name="pPass" size="20" /></td>
    <td></td>
</tr>
<tr>
    <th align="left"><?php echo T_('Confirm Password'); ?></th>
    <td><input type="password" name="pPassConf" size="20" /></td>
    <td></td>
</tr>
<tr>
    <th align="left"><?php echo T_('E-mail'); ?></th>
    <td><input type="text" name="pMail" size="75" value="<?php echo filter($row['email'], 'xml'); ?>" /></td>
    <td>&larr; <?php echo T_('Required'); ?></td>
</tr>
</table>

<h3><?php echo T_('Personal Details'); ?></h3>

<table class="profile">
<tr>
    <th align="left"><?php echo T_('Name'); ?></th>
    <td><input type="text" name="pName" size="75" value="<?php echo filter($row['name'], 'xml'); ?>" /></td>
</tr>
<tr>
    <th align="left"><?php echo T_('Homepage'); ?></th>
    <td><input type="text" name="pPage" size="75" value="<?php echo filter($row['homepage'], 'xml'); ?>" /></td>
</tr>
<tr>
    <th align="left"><?php echo T_('Description'); ?></th>
    <td><textarea name="pDesc" cols="75" rows="10"><?php echo $row['uContent']; ?></textarea></td>
</tr>
<tr>
    <th></th>
    <td><input type="submit" name="submitted" value="<?php echo T_('Save Changes'); ?>" /></td>
</tr>
</table>
</form>

<?php
$this->includeTemplate($GLOBALS['bottom_include']);
?>