1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/oauth] Get the OAuth template in place for ucp_auth_link

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-08-12 14:43:18 -04:00
parent e04844c95f
commit 4003e077c1
4 changed files with 49 additions and 9 deletions

View File

@@ -1,5 +1,28 @@
<form id="ucp" method="post" action="{S_UCP_ACTION}">
<!-- BEGIN oauth -->
<form id="ucp" method="post" action="{S_UCP_ACTION}">
<h3>{oauth.SERVICE_NAME}</h3>
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}
</form>
<fieldset class="fields2">
<!-- IF oauth.UNIQUE_ID -->
<dl>
<dt>{L_UCP_AUTH_LINK_ID}{L_COLON}</dt>
<dd>{oauth.UNIQUE_ID}</dd>
</dl>
<dl>
<dt>&nbsp;</dt>
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="unlink" tabindex="6" value="{L_UNLINK}" class="button1" /></dd>
</dl>
<!-- ELSE -->
<dl>
<dd>{L_UCP_AUTH_LINK_ASK}</dd>
</dl>
<dl>
<dt>&nbsp;</dt>
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="link" tabindex="6" value="{L_LINK}" class="button1" /></dd>
</dl>
<!-- ENDIF-->
</fieldset>
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}
</form>
<!-- END oauth -->