release 1.2.3
This commit is contained in:
@@ -30,7 +30,7 @@ if(count($multiple_uuid) > 1 and !isset($_SESSION['uuid_verified'])) {
|
||||
$servergroups = $dbgroups->fetchAll(PDO::FETCH_ASSOC);
|
||||
foreach($servergroups as $servergroup) {
|
||||
$sqlhisgroup[$servergroup['sgid']] = $servergroup['sgidname'];
|
||||
if(file_exists('../icons/'.$servergroup['sgid'].'.png')) {
|
||||
if(file_exists('../tsicons/'.$servergroup['sgid'].'.png')) {
|
||||
$sqlhisgroup_file[$servergroup['sgid']] = true;
|
||||
} else {
|
||||
$sqlhisgroup_file[$servergroup['sgid']] = false;
|
||||
@@ -112,7 +112,7 @@ require_once('nav.php');
|
||||
<div class="form-group">
|
||||
<?PHP if (isset($sqlhisgroup_file[$allowed_group]) && $sqlhisgroup_file[$allowed_group]===true) { ?>
|
||||
<label class="col-sm-5 control-label"><?php echo $sqlhisgroup[$allowed_group]; ?></label>
|
||||
<label class="col-sm-1 control-label"><img src="../icons/<?PHP echo $allowed_group; ?>.png" alt="groupicon"></label>
|
||||
<label class="col-sm-1 control-label"><img src="../tsicons/<?PHP echo $allowed_group; ?>.png" alt="groupicon"></label>
|
||||
<label class="col-sm-2 control-label"></label>
|
||||
<?PHP } else { ?>
|
||||
<label class="col-sm-5 control-label"><?php echo $sqlhisgroup[$allowed_group]; ?></label>
|
||||
@@ -120,9 +120,9 @@ require_once('nav.php');
|
||||
<?PHP } ?>
|
||||
<div class="col-sm-2">
|
||||
<?PHP if(in_array($allowed_group, $cld_groups)) {
|
||||
echo '<input id="switch-animate" type="checkbox" checked data-size="mini" name="',$allowed_group,'" value="',$msgtouser,'">';
|
||||
echo '<input type="checkbox" checked data-size="mini" name="',$allowed_group,'" value="1">';
|
||||
} else {
|
||||
echo '<input id="switch-animate" type="checkbox" data-size="mini" name="',$allowed_group,'" value="',$msgtouser,'">';
|
||||
echo '<input type="checkbox" data-size="mini" name="',$allowed_group,'" value="1">';
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user