2007-12-12 17:29:16 +01:00
|
|
|
<?php
|
|
|
|
$this->includeTemplate($GLOBALS['top_include']);
|
|
|
|
?>
|
|
|
|
|
|
|
|
<form action="<?php echo $formaction; ?>" method="post">
|
2010-10-09 12:53:45 +02:00
|
|
|
<input type="hidden" name="token" value="<?php echo $token; ?>"/>
|
2008-04-03 15:28:48 +02:00
|
|
|
|
2007-12-12 17:29:16 +01:00
|
|
|
<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>
|
2008-11-25 16:57:29 +01:00
|
|
|
<td><input type="text" name="pMail" size="75" value="<?php echo filter($objectUser->getEmail(), 'xml'); ?>" /></td>
|
2010-11-02 19:07:59 +01:00
|
|
|
<td>← <?php echo T_('Required'); ?></td>
|
2007-12-12 17:29:16 +01:00
|
|
|
</tr>
|
2011-05-13 20:26:51 +02:00
|
|
|
<tr>
|
|
|
|
<th align="left"><?php echo T_('Private RSS Feed'); ?></th>
|
|
|
|
<td><input type="checkbox" id="pEnablePrivateKey" name="pEnablePrivateKey" value="true" <?php echo $privateKeyIsEnabled;?> />
|
|
|
|
<label for="pEnablePrivateKey"><?php echo T_('Enable'); ?></label>
|
|
|
|
<input type="text" id="pPrivateKey" name="pPrivateKey" size="40" value="<?php echo $privateKey;?>" readonly="readonly" />
|
2011-05-17 06:24:43 +02:00
|
|
|
<a onclick="getNewPrivateKey(this); return false;"><button type="submit" name="submittedPK" value="1"><?php echo T_('Generate New Key'); ?></button></a>
|
2011-05-13 20:26:51 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
2007-12-12 17:29:16 +01:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3><?php echo T_('Personal Details'); ?></h3>
|
|
|
|
|
|
|
|
<table class="profile">
|
|
|
|
<tr>
|
|
|
|
<th align="left"><?php echo T_('Name'); ?></th>
|
2008-11-25 16:57:29 +01:00
|
|
|
<td><input type="text" name="pName" size="75" value="<?php echo filter($objectUser->getName(), 'xml'); ?>" /></td>
|
2007-12-12 17:29:16 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th align="left"><?php echo T_('Homepage'); ?></th>
|
2008-11-25 16:57:29 +01:00
|
|
|
<td><input type="text" name="pPage" size="75" value="<?php echo filter($objectUser->getHomepage()); ?>" /></td>
|
2007-12-12 17:29:16 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th align="left"><?php echo T_('Description'); ?></th>
|
2008-11-25 16:57:29 +01:00
|
|
|
<td><textarea name="pDesc" cols="75" rows="10"><?php echo $objectUser->getContent(); ?></textarea></td>
|
2007-12-12 17:29:16 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<td><input type="submit" name="submitted" value="<?php echo T_('Save Changes'); ?>" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2011-05-09 18:16:53 +02:00
|
|
|
|
|
|
|
<?php include 'editprofile-sslclientcerts.tpl.php'; ?>
|
2008-04-03 16:36:16 +02:00
|
|
|
<h3><?php echo T_('Actions'); ?></h3>
|
|
|
|
<table class="profile">
|
|
|
|
<tr>
|
|
|
|
<th align="left"><?php echo T_('Export bookmarks'); ?></th>
|
|
|
|
<td>
|
2009-02-16 13:02:47 +01:00
|
|
|
<a href="../api/export_html.php"><?php echo T_('HTML file (for browsers)')?></a> /
|
2011-05-09 18:16:53 +02:00
|
|
|
<a href="../api/posts_all.php"><?php echo T_('XML file (like del.icio.us)')?></a> /
|
2009-05-05 15:35:08 +02:00
|
|
|
<a href="../api/export_csv.php"><?php echo T_('CSV file (for spreadsheet tools)')?></a>
|
2008-04-03 16:36:16 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr><th> </th><td> </td></tr>
|
|
|
|
<tr><th> </th><td> </td></tr>
|
|
|
|
</table>
|
|
|
|
|
2007-12-12 17:29:16 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
$this->includeTemplate($GLOBALS['bottom_include']);
|
2008-04-03 15:28:48 +02:00
|
|
|
?>
|