1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/delete-auto-logins] User can view/delete auto logins.

User has an extra option in UCP->Profile to view the auto logins and
clear them.

PHPBB3-9647
This commit is contained in:
Dhruv Goel
2012-03-31 00:16:28 +05:30
parent 1d0607cbb3
commit 5ce46cc960
4 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<!-- INCLUDE ucp_header.html -->
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
<h2>{L_TITLE}</h2>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<fieldset>
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
<!-- IF .sessions -->
<p>{L_PROFILE_AUTOLOGIN_KEYS}</p>
<table>
<tr>
<th></th>
<th>Key</th>
<th>IP</th>
<th>Login-Time</th>
</tr>
<!-- BEGIN sessions -->
<tr>
<td><input type="checkbox" name="keys[]" value="{sessions.KEY}" /></td>
<td>{sessions.KEY}</td>
<td>{sessions.IP}</td>
<td>{sessions.LOGIN_TIME}</td>
</tr>
<!-- END sessions -->
</table>
<!-- ELSE -->
<p>{L_PROFILE_NO_AUTOLOGIN_KEYS}</p>
<!-- ENDIF -->
</fieldset>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- IF .sessions -->
<fieldset class="submit-buttons">
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
<input type="submit" name="submit" value="{L_DELETE}" class="button1" />
{S_FORM_TOKEN}
</fieldset>
<!-- ENDIF -->
</form>
<!-- INCLUDE ucp_footer.html -->