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

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

update for 2.6

File size: 758 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_AVATAR}
22  <img src="{$OAUTH_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_PROVIDER}</b><br>
28  <b>{'Username'|translate}</b> : {$OAUTH_USERNAME}<br>
29  {if $OAUTH_PROFILE_URL}<b>{'Profile URL'|translate}</b> : <a href="{$OAUTH_PROFILE_URL}">{$OAUTH_PROFILE_URL|truncate:40:' ... ':true:true}</a>{/if}
30</div>
Note: See TracBrowser for help on using the repository browser.