X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/599086fed1782cf7af74d7745dc3808c4e2ad24a..e68f7733ec6b846dc82b67e52588ae0ba302b76b:/foot.inc.php diff --git a/foot.inc.php b/foot.inc.php index 30426ea..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; } -?>