mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
Remove black/whitelist from group pages
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -386,23 +386,6 @@ if($auth) {
|
||||
</div>
|
||||
</div>
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<?php
|
||||
if($scriptname === "groups-domains.php" && isset($_GET['type']))
|
||||
{
|
||||
if($_GET["type"] === "white")
|
||||
{
|
||||
$scriptname = "whitelist";
|
||||
}
|
||||
elseif($_GET["type"] === "black")
|
||||
{
|
||||
$scriptname = "blacklist";
|
||||
}
|
||||
}
|
||||
if(!$auth && (!isset($indexpage) || isset($_GET['login'])))
|
||||
{
|
||||
$scriptname = "login";
|
||||
}
|
||||
?>
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
<li class="header text-uppercase">Main</li>
|
||||
<!-- Home Page -->
|
||||
|
||||
Reference in New Issue
Block a user