summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-18 21:57:05 +0200
committerneoraider <devnull@localhost>2006-04-18 21:57:05 +0200
commit8657d3fb5cbd25f78bc668ea9a0a8b17913dd490 (patch)
tree4d4f15af80bf0bad4027e288f867767daea108cc /index.php
parent7b622dca2d4a24221202d85c15ba68d0974b432c (diff)
downloadneon-8657d3fb5cbd25f78bc668ea9a0a8b17913dd490.tar
neon-8657d3fb5cbd25f78bc668ea9a0a8b17913dd490.zip
Ein paar unn?tige Aufrufe von strtr durch htmlspecialchars ersetzt.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index b4d930f..ac87ed9 100644
--- a/index.php
+++ b/index.php
@@ -31,7 +31,7 @@
</div>
<div id="content">
<?PHP
- if($pages->HasWriteAccess($page, 'c')) {
+ if($pages->HasWriteAccess($page, 'c') && $_GET['mode'] != 'edit') {
$backlink = $GLOBALS['links']->GetNeonLink($page);
echo '<a class="editlink" href="' . $GLOBALS['links']->GetNeonLink($page, 'mode=edit') . '">Bearbeiten</a>';