X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/607a4d0feac9b4c3a846901371c78b5cd5975300..b64b2d8c38c4f3f6754bfd66bd3533cb53e7bab8:/foot.inc.php diff --git a/foot.inc.php b/foot.inc.php index 7723e30..b3d6e6a 100644 --- a/foot.inc.php +++ b/foot.inc.php @@ -1,29 +1,15 @@ - -var pagebody = document.getElementsByClassName('article')[0]; -pagebody.innerHTML = '

Nieuwe pagina

 

'; - -EOT; -} - define('N', "\n"); -$editable = FALSE; // "Beheer toegestaan voor {$_SERVER['REMOTE_ADDR']}:"; -if ($editable) { +global $User; + +if ($User['admin']) { + echo ''.N; + echo ''.N; + echo ''.N; } -?>