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/editor | |
parent | 5ff0f00756ae2d6dde4d4599fe0994d21f9afe1d (diff) | |
download | bbcode-bb6425e2a811445cde6c502d79c2904251393948.tar bbcode-bb6425e2a811445cde6c502d79c2904251393948.zip |
Modul an die neue Neon-Version angepasst.
Diffstat (limited to 'pages/editor')
-rw-r--r-- | pages/editor/bbcode.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pages/editor/bbcode.xml b/pages/editor/bbcode.xml new file mode 100644 index 0000000..3dcc901 --- /dev/null +++ b/pages/editor/bbcode.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<page> + <info> + <name>bbcode</name> + <template>phpexec</template> + <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: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 /> + <textarea name="data_code" class="pageedit spaced-top spaced-bottom" rows="25" cols="70"><?PHP + echo strtr($data['_data']['code'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); + ?></textarea><br /> + <input type="submit" value="Änderungen übernehmen" /> + <input type="submit" name="back" value="Zurück" /> +</form> + ]]> + </code> + </data> +</page> |