source: extensions/oAuth/template/profile.tpl @ 26667

Last change on this file since 26667 was 26604, checked in by mistic100, 10 years ago

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

File size: 787 bytes
Line 
1{html_style}
2#oauth {
3  width:400px;
4  height:48px;
5  overflow:hidden;
6  margin:0 auto 15px auto;
7  padding:5px;
8  background:rgba(128,128,128,0.2);
9  border:1px solid #7e7e7e;
10  border-radius:5px;
11}
12#oauth .avatar {
13  width:48px;
14  border-radius:5px;
15  margin-right:5px;
16  float:left;
17}
18{/html_style}
19
20<div id="oauth">
21{if $OAUTH_USER.avatar}
22  <img src="{$OAUTH_USER.avatar}" class="avatar">
23{else}
24  <img src="{$ROOT_URL}{$OAUTH_PATH}template/images/avatar-default.png" class="avatar">
25{/if}
26
27  {'Logged with'|translate} : <b>{$OAUTH_USER.provider}</b><br>
28  <b>{'Username'|translate}</b> : {$OAUTH_USER.username}<br>
29  {if $OAUTH_USER.u_profile}<b>{'Profile URL'|translate}</b> : <a href="{$OAUTH_USER.u_profile}">{$OAUTH_USER.u_profile|truncate:40:' ... ':true:true}</a>{/if}
30</div>
Note: See TracBrowser for help on using the repository browser.