mirror of
https://github.com/Mibew/design.git
synced 2025-01-23 02:20:34 +03:00
fix & remove unused var
This commit is contained in:
parent
6bc85737cd
commit
3ca088f197
@ -150,7 +150,6 @@ function print_pending_threads($groupids,$since) {
|
|||||||
function print_operators() {
|
function print_operators() {
|
||||||
echo "<operators>";
|
echo "<operators>";
|
||||||
$operators = operator_get_all();
|
$operators = operator_get_all();
|
||||||
$names = array();
|
|
||||||
|
|
||||||
foreach($operators as $operator) {
|
foreach($operators as $operator) {
|
||||||
if (!operator_is_online($operator))
|
if (!operator_is_online($operator))
|
||||||
|
@ -92,7 +92,7 @@ function tpl_content() { global $page, $webimroot;
|
|||||||
<?php if($page['istatus']) { ?>
|
<?php if($page['istatus']) { ?>
|
||||||
<a href="users.php<?php echo $page['havemenu'] ? "" : "?nomenu" ?>"><?php echo getlocal("pending.status.setonline") ?></a>
|
<a href="users.php<?php echo $page['havemenu'] ? "" : "?nomenu" ?>"><?php echo getlocal("pending.status.setonline") ?></a>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<a href="users.php?away<?php echo $page['havemenu'] ? "" : "&nomenu" ?>"><?php echo getlocal("pending.status.setaway") ?></a>
|
<a href="users.php?away<?php echo $page['havemenu'] ? "" : "&nomenu" ?>"><?php echo getlocal("pending.status.setaway") ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user