fixed width and groupicons

This commit is contained in:
Ulf Gebhardt 2023-10-27 16:52:08 +02:00
parent 89e835efb1
commit 057e3dfa87
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,8 @@ class TSStatus
private $_javascriptName; private $_javascriptName;
private $_socket; private $_socket;
private $showPasswordBox;
public $imagePath; public $imagePath;
public $showNicknameBox; public $showNicknameBox;
public $timeout; public $timeout;
@ -219,10 +221,10 @@ class TSStatus
} }
$serverGroups = $this->parseLine($lines[4]); $serverGroups = $this->parseLine($lines[4]);
foreach ($serverGroups as $sg) if($sg["iconid"] > 0) $this->setServerGroupFlag($sg["sgid"], 'group/icon_' . $sg["iconid"]); foreach ($serverGroups as $sg) if($sg["iconid"] > 0) $this->setServerGroupFlag($sg["sgid"], 'icon_' . $sg["iconid"]);
$channelGroups = $this->parseLine($lines[5]); $channelGroups = $this->parseLine($lines[5]);
foreach ($channelGroups as $cg) if($cg["iconid"] > 0) $this->setChannelGroupFlag($cg["cgid"], 'group/icon_' . $cg["iconid"]); foreach ($channelGroups as $cg) if($cg["iconid"] > 0) $this->setChannelGroupFlag($cg["cgid"], 'icon_' . $cg["iconid"]);
} }
else throw new Exception("Invalid server response"); else throw new Exception("Invalid server response");
} }

View File

@ -7,7 +7,7 @@
.tsstatus, .tsstatuserror{ .tsstatus, .tsstatuserror{
background-color: #ffffff; background-color: #ffffff;
width: 300px; /* width: 300px; */
} }
.tsstatus, .tsstatus *, .tsstatuserror{ .tsstatus, .tsstatus *, .tsstatuserror{