summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/profile.st6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/profile.st b/template/profile.st
index 1e7ee06..524ade9 100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -31,11 +31,13 @@
<div id="profile">
<h2>$nick$</h2>
- <div id="adminmute">
+
$if(isadmin)$
+ <div id="adminmute">
<a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a><br>
+ </div>
$endif$
-</div>
+
$if(avatar)$
<img id="avatarPic" src="$avatar$" width="150px"/>
$else$