X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/607a4d0feac9b4c3a846901371c78b5cd5975300..b49b76d0bd617a2d155540cd099515f48255b50c:/foot.inc.php?ds=sidebyside 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; } -?>