summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/header.html
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-03 18:51:18 -0400
committerAdam <Adam@anope.org>2013-09-03 18:51:18 -0400
commit46913511677b169f32d55e4fc96a8c236169ddc7 (patch)
tree170400c6eabe8e18d0a4809f89a46ff239dfc156 /modules/extra/webcpanel/templates/default/header.html
parent404debf78925f86e94cfd71334433bc1eb423115 (diff)
Cleanup previous commit
Fix log messages from commands send through webpanel Don't show OperServ section to non opers
Diffstat (limited to 'modules/extra/webcpanel/templates/default/header.html')
-rw-r--r--modules/extra/webcpanel/templates/default/header.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html
index 93d2c31fb..0ccf477c5 100644
--- a/modules/extra/webcpanel/templates/default/header.html
+++ b/modules/extra/webcpanel/templates/default/header.html
@@ -32,7 +32,13 @@
{IF EQ CATEGORY MemoServ}{IF EQ CATEGORY_NAME MemoServ}class="active"{END IF}{END IF}
{IF EQ CATEGORY HostServ}{IF EQ CATEGORY_NAME HostServ}class="active"{END IF}{END IF}
{IF EQ CATEGORY OperServ}{IF EQ CATEGORY_NAME OperServ}class="active"{END IF}{END IF}>
- <a href="{CATEGORY_URL}">{CATEGORY_NAME}</a>
+ {IF EQ CATEGORY_NAME OperServ}
+ {IF EXISTS IS_OPER}
+ <a href="{CATEGORY_URL}">{CATEGORY_NAME}</a>
+ {END IF}
+ {ELSE}
+ <a href="{CATEGORY_URL}">{CATEGORY_NAME}</a>
+ {END IF}
</li>
{END FOR}
</ul>
@@ -55,4 +61,4 @@
</div>
<div class="col-lg-9">
- <div class="panel panel-default"> \ No newline at end of file
+ <div class="panel panel-default">