summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-18 20:48:03 +0200
committerneoraider <devnull@localhost>2006-04-18 20:48:03 +0200
commitbb6425e2a811445cde6c502d79c2904251393948 (patch)
tree3c391312d1d7f5ab7f59168fcac215646e160e25
parent5ff0f00756ae2d6dde4d4599fe0994d21f9afe1d (diff)
downloadbbcode-bb6425e2a811445cde6c502d79c2904251393948.zip
bbcode-bb6425e2a811445cde6c502d79c2904251393948.tar
Modul an die neue Neon-Version angepasst.
-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 />