summaryrefslogtreecommitdiffstats
path: root/pages/editor/bbcode.xml
blob: 198d433732043b12a6811cbc703e3fdfd8ef5ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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'); ?>">
  <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 htmlspecialchars($data['_data']['title']);
  ?>" size="70" /><br />
  <textarea name="data_code" class="pageedit spaced-top spaced-bottom" rows="25" cols="70"><?PHP
    echo htmlspecialchars($data['_data']['code']);
  ?></textarea><br />
  <input type="submit" value="Änderungen übernehmen" />
  <input type="submit" name="back" value="Zurück" />
</form>
      ]]>
    </code>
  </data>
</page>