|
|
|
@ -2,139 +2,133 @@
|
|
|
|
|
<!-- IMPORT partials/account/header.tpl -->
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-5 account-block">
|
|
|
|
|
<div class="col-xs-12 account-block">
|
|
|
|
|
<div class="account-picture-block text-center">
|
|
|
|
|
<span>
|
|
|
|
|
<span class="account-username"> {username}</span>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<!-- IF !isSelf -->
|
|
|
|
|
<br/>
|
|
|
|
|
<!-- IF !config.disableChat -->
|
|
|
|
|
<a id="chat-btn" href="#" class="btn btn-primary btn-sm">[[user:chat]]</a>
|
|
|
|
|
<!-- ENDIF !config.disableChat -->
|
|
|
|
|
<a id="follow-btn" href="#" class="btn btn-success btn-sm <!-- IF isFollowing -->hide<!-- ENDIF isFollowing -->">[[user:follow]]</a>
|
|
|
|
|
<a id="unfollow-btn" href="#" class="btn btn-warning btn-sm <!-- IF !isFollowing -->hide<!-- ENDIF !isFollowing -->">[[user:unfollow]]</a>
|
|
|
|
|
|
|
|
|
|
<!-- IF isAdmin -->
|
|
|
|
|
<br/><br/>
|
|
|
|
|
|
|
|
|
|
<a id="banAccountBtn" href="#" class="btn btn-danger btn-sm <!-- IF banned -->hide<!-- ENDIF banned -->">[[user:ban_account]]</a>
|
|
|
|
|
<a id="unbanAccountBtn" href="#" class="btn btn-danger btn-sm <!-- IF !banned -->hide<!-- ENDIF !banned -->">[[user:unban_account]]</a>
|
|
|
|
|
<a id="deleteAccountBtn" href="#" class="btn btn-danger btn-sm">[[user:delete_account]]</a><br/><br/>
|
|
|
|
|
<!-- ENDIF isAdmin -->
|
|
|
|
|
<!-- ENDIF !isSelf -->
|
|
|
|
|
|
|
|
|
|
<div class="account-picture-block panel panel-default">
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<div>
|
|
|
|
|
<div class="text-center">
|
|
|
|
|
<span>
|
|
|
|
|
<span class="account-username"> {username}</span>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<!-- IF !isSelf -->
|
|
|
|
|
<br/>
|
|
|
|
|
<!-- IF !config.disableChat -->
|
|
|
|
|
<a id="chat-btn" href="#" class="btn btn-primary btn-sm">[[user:chat]]</a>
|
|
|
|
|
<!-- ENDIF !config.disableChat -->
|
|
|
|
|
<a id="follow-btn" href="#" class="btn btn-success btn-sm <!-- IF isFollowing -->hide<!-- ENDIF isFollowing -->">[[user:follow]]</a>
|
|
|
|
|
<a id="unfollow-btn" href="#" class="btn btn-warning btn-sm <!-- IF !isFollowing -->hide<!-- ENDIF !isFollowing -->">[[user:unfollow]]</a>
|
|
|
|
|
|
|
|
|
|
<!-- IF isAdmin -->
|
|
|
|
|
<br/><br/>
|
|
|
|
|
|
|
|
|
|
<a id="banAccountBtn" href="#" class="btn btn-danger btn-sm <!-- IF banned -->hide<!-- ENDIF banned -->">[[user:ban_account]]</a>
|
|
|
|
|
<a id="unbanAccountBtn" href="#" class="btn btn-danger btn-sm <!-- IF !banned -->hide<!-- ENDIF !banned -->">[[user:unban_account]]</a>
|
|
|
|
|
<a id="deleteAccountBtn" href="#" class="btn btn-danger btn-sm">[[user:delete_account]]</a><br/><br/>
|
|
|
|
|
<!-- ENDIF isAdmin -->
|
|
|
|
|
<!-- ENDIF !isSelf -->
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="banLabel" class="text-center <!-- IF !banned -->hide<!-- ENDIF !banned -->">
|
|
|
|
|
<span class="label label-danger">[[user:banned]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- IF aboutme -->
|
|
|
|
|
<hr/>
|
|
|
|
|
<div component="aboutme" class="text-center">
|
|
|
|
|
{aboutme}
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF aboutme -->
|
|
|
|
|
<hr/>
|
|
|
|
|
<div class="text-center account-stats">
|
|
|
|
|
|
|
|
|
|
<!-- IF reputation -->
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{reputation}">{reputation}</span>
|
|
|
|
|
<span class="account-bio-label">[[global:reputation]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF reputation -->
|
|
|
|
|
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{postcount}">{postcount}</span>
|
|
|
|
|
<span class="account-bio-label">[[global:posts]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{profileviews}">{profileviews}</span>
|
|
|
|
|
<span class="account-bio-label">[[user:profile_views]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="banLabel" class="text-center <!-- IF !banned -->hide<!-- ENDIF !banned -->">
|
|
|
|
|
<span class="label label-danger">[[user:banned]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- IF aboutme -->
|
|
|
|
|
<hr/>
|
|
|
|
|
<div component="aboutme" class="text-center">
|
|
|
|
|
{aboutme}
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF aboutme -->
|
|
|
|
|
<hr/>
|
|
|
|
|
<div class="text-center account-stats">
|
|
|
|
|
|
|
|
|
|
<!-- IF reputation -->
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{reputation}">{reputation}</span>
|
|
|
|
|
<span class="account-bio-label">[[global:reputation]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF reputation -->
|
|
|
|
|
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{postcount}">{postcount}</span>
|
|
|
|
|
<span class="account-bio-label">[[global:posts]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{profileviews}">{profileviews}</span>
|
|
|
|
|
<span class="account-bio-label">[[user:profile_views]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{followerCount}">{followerCount}</span>
|
|
|
|
|
<span class="account-bio-label">[[user:followers]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="inline-block text-center">
|
|
|
|
|
<span class="human-readable-number" title="{followingCount}">{followingCount}</span>
|
|
|
|
|
<span class="account-bio-label">[[user:following]]</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="hidden">
|
|
|
|
|
<!-- IF email -->
|
|
|
|
|
<span class="account-bio-label">[[user:email]]</span>
|
|
|
|
|
<span class="account-bio-value"><i class="fa fa-eye-slash {emailClass}" title="[[user:email_hidden]]"></i> {email}</span>
|
|
|
|
|
<!-- ENDIF email -->
|
|
|
|
|
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="panel-body text-center">
|
|
|
|
|
<!-- IF fullname -->
|
|
|
|
|
<span class="account-bio-label">[[user:fullname]]</span>
|
|
|
|
|
<span class="account-bio-value">{fullname}</span>
|
|
|
|
|
<!-- ENDIF fullname -->
|
|
|
|
|
|
|
|
|
|
<!-- IF email -->
|
|
|
|
|
<span class="account-bio-label">[[user:email]]</span>
|
|
|
|
|
<span class="account-bio-value"><i class="fa fa-eye-slash {emailClass}" title="[[user:email_hidden]]"></i> {email}</span>
|
|
|
|
|
<!-- ENDIF email -->
|
|
|
|
|
<!-- IF websiteName -->
|
|
|
|
|
<span class="account-bio-label">[[user:website]]</span>
|
|
|
|
|
<span class="account-bio-value"><a href="{websiteLink}" rel="nofollow">{websiteName}</a></span>
|
|
|
|
|
<!-- ENDIF websiteName -->
|
|
|
|
|
|
|
|
|
|
<!-- IF fullname -->
|
|
|
|
|
<span class="account-bio-label">[[user:fullname]]</span>
|
|
|
|
|
<span class="account-bio-value">{fullname}</span>
|
|
|
|
|
<!-- ENDIF fullname -->
|
|
|
|
|
<!-- IF location -->
|
|
|
|
|
<span class="account-bio-label">[[user:location]]</span>
|
|
|
|
|
<span class="account-bio-value">{location}</span>
|
|
|
|
|
<!-- ENDIF location -->
|
|
|
|
|
|
|
|
|
|
<!-- IF websiteName -->
|
|
|
|
|
<span class="account-bio-label">[[user:website]]</span>
|
|
|
|
|
<span class="account-bio-value"><a href="{websiteLink}" rel="nofollow">{websiteName}</a></span>
|
|
|
|
|
<!-- ENDIF websiteName -->
|
|
|
|
|
<!-- IF age -->
|
|
|
|
|
<span class="account-bio-label">[[user:age]]</span>
|
|
|
|
|
<span class="account-bio-value">{age}</span>
|
|
|
|
|
<!-- ENDIF age -->
|
|
|
|
|
|
|
|
|
|
<!-- IF location -->
|
|
|
|
|
<span class="account-bio-label">[[user:location]]</span>
|
|
|
|
|
<span class="account-bio-value">{location}</span>
|
|
|
|
|
<!-- ENDIF location -->
|
|
|
|
|
|
|
|
|
|
<!-- IF age -->
|
|
|
|
|
<span class="account-bio-label">[[user:age]]</span>
|
|
|
|
|
<span class="account-bio-value">{age}</span>
|
|
|
|
|
<!-- ENDIF age -->
|
|
|
|
|
<span class="account-bio-label">[[user:followers]]</span>
|
|
|
|
|
<span class="human-readable-number account-bio-value" title="{followerCount}">{followerCount}</span>
|
|
|
|
|
|
|
|
|
|
<span class="account-bio-label">[[user:following]]</span>
|
|
|
|
|
<span class="human-readable-number account-bio-value" title="{followingCount}">{followingCount}</span>
|
|
|
|
|
|
|
|
|
|
<span class="account-bio-label">[[user:followers]]</span>
|
|
|
|
|
<span class="human-readable-number account-bio-value" title="{followerCount}">{followerCount}</span>
|
|
|
|
|
<span class="account-bio-label">[[user:joined]]</span>
|
|
|
|
|
<span class="timeago account-bio-value" title="{joindate}"></span>
|
|
|
|
|
|
|
|
|
|
<span class="account-bio-label">[[user:following]]</span>
|
|
|
|
|
<span class="human-readable-number account-bio-value" title="{followingCount}">{followingCount}</span>
|
|
|
|
|
|
|
|
|
|
<span class="account-bio-label">[[user:joined]]</span>
|
|
|
|
|
<span class="timeago account-bio-value" title="{joindate}"></span>
|
|
|
|
|
|
|
|
|
|
<span class="account-bio-label">[[user:lastonline]]</span>
|
|
|
|
|
<span class="timeago account-bio-value" title="{lastonline}"></span>
|
|
|
|
|
|
|
|
|
|
<!-- IF !disableSignatures -->
|
|
|
|
|
<!-- IF signature -->
|
|
|
|
|
<hr/>
|
|
|
|
|
<span class="account-bio-label">[[user:signature]]</span>
|
|
|
|
|
<div class="post-signature">
|
|
|
|
|
<span id='signature'>{signature}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF signature -->
|
|
|
|
|
<!-- ENDIF !disableSignatures -->
|
|
|
|
|
<span class="account-bio-label">[[user:lastonline]]</span>
|
|
|
|
|
<span class="timeago account-bio-value" title="{lastonline}"></span>
|
|
|
|
|
|
|
|
|
|
<!-- IF !disableSignatures -->
|
|
|
|
|
<!-- IF signature -->
|
|
|
|
|
<hr/>
|
|
|
|
|
<span class="account-bio-label">[[user:signature]]</span>
|
|
|
|
|
<div class="post-signature">
|
|
|
|
|
<span id='signature'>{signature}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF signature -->
|
|
|
|
|
<!-- ENDIF !disableSignatures -->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- IF groups.length -->
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<h3 class="panel-title">[[groups:groups]]</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="panel-body">
|
|
|
|
|
<div class="hidden">
|
|
|
|
|
<!-- BEGIN groups -->
|
|
|
|
|
<a href="{config.relative_path}/groups/{groups.slug}"><span class="label group-label inline-block" style="background-color: {groups.labelColor};"><!-- IF groups.icon --><i class="fa {groups.icon}"></i> <!-- ENDIF groups.icon -->{groups.userTitle}</span></a>
|
|
|
|
|
<a href="{config.relative_path}/groups/{groups.slug}"><span class="label group-label inline-block" style="background-color: {groups.labelColor};"><!-- IF groups.icon --><i class="fa {groups.icon}"></i> <!-- ENDIF groups.icon -->{groups.userTitle}</span></a>
|
|
|
|
|
<!-- END groups -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- ENDIF groups.length -->
|
|
|
|
|
<br /><br />
|
|
|
|
|
|
|
|
|
|
<!-- IF ips.length -->
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="hidden">
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<h3 class="panel-title">[[global:recentips]]</h3>
|
|
|
|
|
</div>
|
|
|
|
@ -148,7 +142,7 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-7">
|
|
|
|
|
<div class="col-xs-12">
|
|
|
|
|
<!-- IF !posts.length -->
|
|
|
|
|
<div class="alert alert-warning">[[user:has_no_posts]]</div>
|
|
|
|
|
<!-- ENDIF !posts.length -->
|
|
|
|
|