aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-08-24 16:36:14 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-08-24 16:36:31 -0400
commitcbd5bbbeb8358a3279ce82cac9becbe55d7803b1 (patch)
treef6e2042363e67081a38bd4d07ca643637fda7d21
parentdbf97fdd52043611a86cb48920bb152122b3f6c2 (diff)
downloadforums-cbd5bbbeb8358a3279ce82cac9becbe55d7803b1.tar
forums-cbd5bbbeb8358a3279ce82cac9becbe55d7803b1.tar.gz
forums-cbd5bbbeb8358a3279ce82cac9becbe55d7803b1.tar.bz2
forums-cbd5bbbeb8358a3279ce82cac9becbe55d7803b1.tar.xz
forums-cbd5bbbeb8358a3279ce82cac9becbe55d7803b1.zip
[feature/oauth] Subsilver2 ucp_auth_link templates
PHPBB3-11673
-rw-r--r--phpBB/styles/subsilver2/template/ucp_auth_link.html17
-rw-r--r--phpBB/styles/subsilver2/template/ucp_auth_link_oauth.html34
2 files changed, 51 insertions, 0 deletions
diff --git a/phpBB/styles/subsilver2/template/ucp_auth_link.html b/phpBB/styles/subsilver2/template/ucp_auth_link.html
new file mode 100644
index 0000000000..c6e4ddd250
--- /dev/null
+++ b/phpBB/styles/subsilver2/template/ucp_auth_link.html
@@ -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 -->
diff --git a/phpBB/styles/subsilver2/template/ucp_auth_link_oauth.html b/phpBB/styles/subsilver2/template/ucp_auth_link_oauth.html
new file mode 100644
index 0000000000..56a4c89125
--- /dev/null
+++ b/phpBB/styles/subsilver2/template/ucp_auth_link_oauth.html
@@ -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 -->