source: extensions/oAuth/template/auth.tpl @ 27495

Last change on this file since 27495 was 26604, checked in by mistic100, 11 years ago

clean templating + allow to use Steam/Wordpress/Flickr without displaying OpenID

File size: 1.1 KB
Line 
1<!DOCTYPE html>
2<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
3<head>
4  <meta charset="{$CONTENT_ENCODING}">
5  <title>{'Sign in with %s'|translate:$PROVIDER} | {$GALLERY_TITLE}</title>
6</head>
7
8<body>
9
10<div style="text-align:center;margin-top:20px;">
11{if $ERROR}
12  <img id="loader" src="{$OAUTH_PATH}template/images/alert.png">
13  <h3>{'Error...'|translate}</h3>
14  {$ERROR}<br>
15  <a href="#" id="close">{'Close'|translate}</a>
16 
17  <script type="text/javascript">
18    document.getElementById('close').onclick = function() { window.self.close(); };
19  </script>
20 
21{elseif $LOADING}
22  <img id="loader" src="{$OAUTH_PATH}template/images/ajax-loader-big.gif">
23  <h3>{'Loading...'|translate}</h3>
24  {'Contacting <b>%s</b>. Please wait.'|translate:$PROVIDER}
25 
26  <script type="text/javascript">
27    setTimeout('window.location.href = "{$SELF_URL}{$LOADING}";', 500);
28  </script>
29 
30{elseif $REDIRECT_TO}
31  <script type="text/javascript">
32    if (window.opener) window.opener.parent.oauth_redirect('{$REDIRECT_TO}');
33    window.self.close();
34  </script>
35{/if}
36</div>
37
38</body>
39</html>
Note: See TracBrowser for help on using the repository browser.