X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/76b939d83e563cb783d666c48b0fa9ffdac827e6..872f3df9586c901552dc51fc835a5afe12db6c66:/page.inc.php diff --git a/page.inc.php b/page.inc.php index 3559e63..6ffd9cc 100644 --- a/page.inc.php +++ b/page.inc.php @@ -10,20 +10,6 @@ if ($User and property_exists($User, 'login') and $User->login) { '👤', '/login', $User->login ); - if ($User->admin("edit {$Page->link}")) { - $editpage = $Page->link; - if (is_dir($editpage)) { - if (file_exists("$editpage/index.html")) { - $editpage .= '/index.html'; - } - } - else { - $editpage .= '.html'; - } - if (!file_exists($editpage) or is_writable($editpage)) { - print ' '; - } - } print "

\n"; } $menu->place['login'] = ob_get_clean();