1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-30 02:59:29 +02:00

[feature/oauth] Subsilver2 ucp_auth_link templates

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-08-24 16:36:14 -04:00
parent dbf97fdd52
commit cbd5bbbeb8
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<!-- INCLUDE ucp_header.html -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th colspan="4">{L_UCP_AUTH_LINK_TITLE}</th>
</tr>
<!-- IF ERROR -->
<tr>
<td class="row1" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td>
</tr>
<!-- ENDIF -->
<!-- INCLUDE {PROVIDER_TEMPLATE_FILE} -->
</table>
<!-- INCLUDE ucp_footer.html -->

View File

@ -0,0 +1,34 @@
<!-- BEGIN oauth -->
<tr>
<th>{oauth.SERVICE_NAME}</th>
</tr>
<tr>
<td class="row1">
<form id="ucp" method="post" action="{S_UCP_ACTION}">
<table>
<!-- IF oauth.UNIQUE_ID -->
<tr>
<td class="row1">{L_UCP_AUTH_LINK_ID}{L_COLON}</td>
<td class="row1">{oauth.UNIQUE_ID}</td>
</tr>
<tr>
<td class="row1">&nbsp;</td>
<td class="row1"><input type="submit" name="submit" tabindex="6" value="{L_UCP_AUTH_LINK_UNLINK}" class="button1" /></td>
</tr>
<!-- ELSE -->
<tr>
<td class="row1">{L_UCP_AUTH_LINK_ASK}</td>
</tr>
<tr>
<td class="row1"><input type="submit" name="submit" tabindex="6" value="{L_UCP_AUTH_LINK_LINK}" class="button1" /></td>
</tr>
<!-- ENDIF-->
</table>
{oauth.HIDDEN_FIELDS}
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}
</form>
</td>
</tr>
<!-- END oauth -->