summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pages/editor/bbcode.xml (renamed from pages/bbcode.e.xml)8
1 files changed, 6 insertions, 2 deletions
diff --git a/pages/bbcode.e.xml b/pages/editor/bbcode.xml
index 55169e1..3dcc901 100644
--- a/pages/bbcode.e.xml
+++ b/pages/editor/bbcode.xml
@@ -3,20 +3,24 @@
<info>
<name>bbcode</name>
<template>phpexec</template>
- <access>0:0</access>
+ <access>9:0</access>
<type>e</type>
</info>
<data>
<code>
<![CDATA[
<?PHP
+ require_once('code/links.inc.php')
+
+
$title = 'Edit \'' . $data['_data']['_page'] . '\'';
echo '<h2>' . $title . '</h2>';
?>
-<form method="post" action="<?PHP echo $GLOBALS['links']->GetNeonLink('Pages:Edit'); ?>">
+<form method="post" action="<?PHP echo $GLOBALS['links']->GetNeonLink('Pages:Edit:Do'); ?>">
<input type="hidden" name="name" value="<?PHP echo $data['_data']['_page'] ?>" />
<input type="hidden" name="type" value="<?PHP echo $data['_data']['_type']; ?>" />
+ <input type="hidden" name="backlink" value="<?PHP echo htmlspecialchars($data['_backlink']); ?>" />
Titel: <input type="text" name="data_title" value="<?PHP
echo strtr($data['_data']['title'], array('<' => '&lt;', '>' => '&gt;', '&' => '&amp;', '"' => '&quot;'));
?>" size="70" /><br />