fix & remove unused var

This commit is contained in:
Evgeny Gryaznov 2011-02-26 13:09:46 +01:00
parent 6bc85737cd
commit 3ca088f197
2 changed files with 2 additions and 3 deletions

View File

@ -150,7 +150,6 @@ function print_pending_threads($groupids,$since) {
function print_operators() {
echo "<operators>";
$operators = operator_get_all();
$names = array();
foreach($operators as $operator) {
if (!operator_is_online($operator))

View File

@ -92,7 +92,7 @@ function tpl_content() { global $page, $webimroot;
<?php if($page['istatus']) { ?>
<a href="users.php<?php echo $page['havemenu'] ? "" : "?nomenu" ?>"><?php echo getlocal("pending.status.setonline") ?></a>
<?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'] ? "" : "&amp;nomenu" ?>"><?php echo getlocal("pending.status.setaway") ?></a>
<?php } ?>
</div>