<spanclass="helptext">{trans 'This password is used to access some of the external systems managed by our infrastructure. It will be regenerated if you change your password.'}</span>
</td>
</tr>
<trclass="pass-info">
<th>{trans 'API key'}:</th>
<td><spanclass="mono">{$api_key}</span><br/>
<spanclass="helptext">{trans 'Your API key will be regenerated automatically if you change your password.'}</span>
</td>
</tr>
<tr>
<td> </td>
<td><inputtype="submit"value="{trans 'Update Your Account'}"name="submit"/> | <ahref="{url 'IDF_Views::index'}">{trans 'Cancel'}</a>
</td>
</tr>
</table>
</form>
{if count($keys)}
<tablesummary=" "class="recent-issues">
<tr><thcolspan="2">{trans 'Your Current Public Keys'}</th></tr>
{foreach $keys as $key}<tr><td>
<spanclass="mono">{$key.showCompact()}</span></td><td><formclass="star"method="post"action="{url 'IDF_Views_User::deleteKey', array($key.id)}"><inputtype="image"src="{media '/idf/img/trash.png'}"name="submit"value="{trans 'Delete this key'}"/></form>
{foreach $mailaddrs as $mail}{if $mail.id != -1}<tr><td>
{$mail.address}</td><td><formclass="star"method="post"action="{url 'IDF_Views_User::deleteMail', array($mail.id)}"><inputtype="image"src="{media '/idf/img/trash.png'}"name="submit"value="{trans 'Delete this address'}"/></form>
</td>
</tr>{/if}{/foreach}
</table>
{/if}
{/block}
{block context}
<divclass="issue-submit-info">
<p>{trans 'If possible, use your real name. By using your real name, people will have more trust in your comments and remarks.'}</p>
<p>{trans 'The extra password is used to access some of the external systems and the API key is used to interact with this website using a program.'}</p>
$("#extra-password").before("{/literal}<trid=\"form-block-0\"><td> </td><td><imgstyle=\"vertical-align:text-bottom;\"src=\"{media'/idf/img/start.png'}\"alt=\"\"align=\"bottom\"/><aid=\"form-show-0\"href=\"#\">{trans 'Show API key and extra password'}{literal}</a>.</td></tr>");