2015-08-10 20:04:22 +00:00
<div style="margin: 5px;">
<h1 class="stylised">Common Tasks</h1>
<h2>Profile</h2>
<ul>
2015-10-10 21:17:50 +00:00
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'appearance' , 'avatar' ] ) } } " class="default">Change Avatar</a></li>
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'appearance' , 'userpage' ] ) } } " class="default">Change Userpage</a></li>
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'appearance' , 'signature' ] ) } } " class="default">Change Signature</a></li>
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'general' , 'profile' ] ) } } " class="default">Change Profile Details</a></li>
2015-08-10 20:04:22 +00:00
</ul>
<h2>Messaging</h2>
<ul>
2015-10-10 21:17:50 +00:00
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'messages' , 'inbox' ] ) } } " class="default">View Inbox</a></li>
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'messages' , 'compose' ] ) } } " class="default">Send PM</a></li>
2015-08-10 20:04:22 +00:00
</ul>
<h2>Account</h2>
<ul>
2015-10-10 21:17:50 +00:00
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'advanced' , 'sessions' ] ) } } " class="default">Manage Active Sessions</a></li>
<li><a href=" { { urls . format ( 'SETTING_MODE' , [ 'account' , 'password' ] ) } } " class="default">Change Password</a></li>
2015-08-10 20:04:22 +00:00
</ul>
<br />
<h1 class="stylised">Personal Statistics</h1>
<ul>
2015-10-10 21:17:50 +00:00
<li>You joined on <b> { { user . data . user_registered | date ( sakura . dateFormat ) } } </b>.</li>
2015-08-22 15:00:01 +00:00
<li>You have made <b> { { user . forumStats . posts } } forum post { % if user . forumStats . posts ! = 1 % } s { % endif % } </b> and started <b> { { user . forumStats . topics } } forum thread { % if user . forumStats . topics ! = 1 % } s { % endif % } </b>.</li>
2015-08-10 20:04:22 +00:00
<li>You have <b>x</b> warnings.</li>
2015-10-10 21:17:50 +00:00
<li>You have <b> { { user . getFriends | length } } friend { % if user . getFriends | length ! = 1 % } s { % endif % } </b>.</li>
2015-08-10 20:04:22 +00:00
</ul>
<br />
2015-10-10 21:17:50 +00:00
<h1 class="stylised"><a class="clean" href=" { { urls . format ( 'SETTING_MODE' , [ 'friends' , 'listing' ] ) } } ">Friends</a></h1>
2015-08-10 20:04:22 +00:00
<h2 style="color: #080;">Online</h2>
2015-09-08 21:57:33 +00:00
{ % if user . getFriends ( true , true , true ) . online % }
{ % for key , friend in user . getFriends ( true , true , true ) . online % }
2015-10-10 21:17:50 +00:00
<a href="/u/ { { friend . user . user_id } } " class="default" style="color: { % if friend . user . user_colour % } { { friend . user . user_colour } } { % else % } { { friend . rank . rank_colour } } { % endif % } "> { { friend . user . username } } </a> { % if key + 1 ! = user . getFriends ( true , true , true ) . online | length % } , { % endif % }
2015-08-10 20:04:22 +00:00
{ % endfor % }
{ % else % }
<h4>No friends are online.</h4>
{ % endif % }
<h2 style="color: #800;">Offline</h2>
2015-09-08 21:57:33 +00:00
{ % if user . getFriends ( true , true , true ) . offline % }
{ % for key , friend in user . getFriends ( true , true , true ) . offline % }
2015-10-10 21:17:50 +00:00
<a href="/u/ { { friend . user . user_id } } " class="default" style="color: { % if friend . user . user_colour % } { { friend . user . user_colour } } { % else % } { { friend . rank . rank_colour } } { % endif % } "> { { friend . user . username } } </a> { % if key + 1 ! = user . getFriends ( true , true , true ) . offline | length % } , { % endif % }
2015-08-10 20:04:22 +00:00
{ % endfor % }
{ % else % }
<h4>No friends are offline.</h4>
{ % endif % }
</div>