diff options
author | neoraider <devnull@localhost> | 2006-04-18 20:48:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-18 20:48:03 +0200 |
commit | bb6425e2a811445cde6c502d79c2904251393948 (patch) | |
tree | 3c391312d1d7f5ab7f59168fcac215646e160e25 /pages | |
parent | 5ff0f00756ae2d6dde4d4599fe0994d21f9afe1d (diff) | |
download | bbcode-bb6425e2a811445cde6c502d79c2904251393948.tar bbcode-bb6425e2a811445cde6c502d79c2904251393948.zip |
Modul an die neue Neon-Version angepasst.
Diffstat (limited to 'pages')
-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('<' => '<', '>' => '>', '&' => '&', '"' => '"')); ?>" size="70" /><br /> |