aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMark Pemberton <mpemberton5@gmail.com>2011-05-16 00:35:31 -0400
committerMark Pemberton <mpemberton5@gmail.com>2011-05-16 00:35:31 -0400
commit10214c43b51e99cc3f8f58a4c4e8893eb2480e62 (patch)
tree16f51f136146ed09d9e9a27e2b9a781be716e8b7 /data
parent16791766dee4f9c03700b7c817063071e4d0ed33 (diff)
downloadsemanticscuttle-10214c43b51e99cc3f8f58a4c4e8893eb2480e62.tar.gz
semanticscuttle-10214c43b51e99cc3f8f58a4c4e8893eb2480e62.tar.bz2
Updated 'Generate New Key' button to use ajax if javascript enabled.
Diffstat (limited to 'data')
-rw-r--r--data/templates/editprofile.tpl.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/editprofile.tpl.php b/data/templates/editprofile.tpl.php
index 76f608a..258e864 100644
--- a/data/templates/editprofile.tpl.php
+++ b/data/templates/editprofile.tpl.php
@@ -33,7 +33,9 @@ $this->includeTemplate($GLOBALS['top_include']);
<td><input type="checkbox" id="pEnablePrivateKey" name="pEnablePrivateKey" value="true" <?php echo $privateKeyIsEnabled;?> />
<label for="pEnablePrivateKey"><?php echo T_('Enable'); ?></label>&nbsp;&nbsp;&nbsp;
<input type="text" id="pPrivateKey" name="pPrivateKey" size="40" value="<?php echo $privateKey;?>" readonly="readonly" />
- <input type="submit" name="submittedPK" value="<?php echo T_('Generate New Key'); ?>" />
+ <!--<input type="button" name="submittedPK" value="<?php echo T_('Generate New Key'); ?>" />-->
+
+ <a onClick="getNewPrivateKey(this); return false;"><button type="submit" name="submittedPK" value="1"><?php echo T_('Generate New Key'); ?></button></a>
</td>
</tr>
</table>