X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/607a4d0feac9b4c3a846901371c78b5cd5975300..d1d031e348974975891a7ad232ef387e95abdd61:/foot.inc.php diff --git a/foot.inc.php b/foot.inc.php old mode 100644 new mode 100755 index 7723e30..e2ac444 --- a/foot.inc.php +++ b/foot.inc.php @@ -1,29 +1,21 @@ - -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 $Page, $User, $Edit; + +if ($User['admin']) { + if ($Edit) { + echo ''.N; + echo ''.N; + } + echo ''.N; } -?>