Skip to content
This repository was archived by the owner on Dec 24, 2023. It is now read-only.

Commit cabb566

Browse files
No invisible control panel
1 parent ff708cf commit cabb566

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="info">
2727
<div class="infoBlock"><?php echo USERLANG["ac_lastEdited"] ." {$date}"; ?></div>
2828
<div><?php $plugins->load("addInfo") ?></div>
29-
<div id="controlPanel"><?=controlPanel($page);?></div>
29+
<?=controlPanel($page);?>
3030
</div>
3131
<div id="body" class="page">
3232
<?=$html?>

src/CoffeeBeans.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function controlPanel($page)
8989
$editPage = $buttomForm."editor/?page={$page}\">" . USERLANG["ac_editPage"] . $end;
9090
$newPage = $buttomForm."editor\">" . USERLANG["ac_newPage"] . $end;
9191
$settings = $buttomForm."config\">" . USERLANG["ac_settings"] . $end;
92-
return $editPage.$newPage.$settings;
92+
return "<div id=\"controlPanel\">".$editPage.$newPage.$settings."</div>";
9393
} else {
9494
return null;
9595
}

0 commit comments

Comments
 (0)