mirror of
https://github.com/znc/znc.git
synced 2026-08-09 18:32:55 +02:00
Remove Guest string and user IP from web UI
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
<? I18N znc ?>
|
||||
<? SETBLOCK InfoBar_GuestNameStr ?><? FORMAT "-Guest-" ?><? ENDSETBLOCK ?>
|
||||
<? SETBLOCK InfoBar_UserNameSpan ?><span class="user_name"><? VAR SessionUser DEFAULT=*InfoBar_GuestNameStr ?></span><? ENDSETBLOCK ?>
|
||||
<? SETBLOCK InfoBar_UserNameSpan ?><span class="user_name"><? VAR SessionUser ?></span><? ENDSETBLOCK ?>
|
||||
<div id="infobar">
|
||||
<span id="infobar_ident"><? FORMAT "Logged in as: {1} (from {2})" "InfoBar_UserNameSpan ESC=" SessionIP ?></span>
|
||||
<span id="infobar_ident">
|
||||
<? IF SessionUser ?>
|
||||
<span id="logged_in_yes"><? FORMAT "Logged in as: {1}" "InfoBar_UserNameSpan ESC=" ?></span>
|
||||
<? ELSE ?>
|
||||
<span id="logged_in_no"><? FORMAT "Not logged in" ?></span>
|
||||
<? ENDIF ?>
|
||||
</span>
|
||||
<? INC LoginBar.tmpl ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user