diff options
author | neoraider <devnull@localhost> | 2006-12-14 01:06:02 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-12-14 01:06:02 +0100 |
commit | 543336aef16562369c01992817f58e17144c9cad (patch) | |
tree | d49cd8549a836c740df7096ddcf7788ed7920c37 /pages/Pages.xml | |
parent | 93e1133ee88b03e7cae7318cb19761e698e57b86 (diff) | |
download | neon-543336aef16562369c01992817f58e17144c9cad.tar neon-543336aef16562369c01992817f58e17144c9cad.zip |
Base-Type durch Subst-Erweiterungen unnoetig gemacht; Type-Konzept entfernt.
Diffstat (limited to 'pages/Pages.xml')
-rw-r--r-- | pages/Pages.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pages/Pages.xml b/pages/Pages.xml new file mode 100644 index 0000000..b438efa --- /dev/null +++ b/pages/Pages.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<page> + <info> + <name>Pages</name> + <template>phpexec</template> + <access>0:0</access> + </info> + <data> + <code> + <![CDATA[ +<?PHP + Uses('links', 'pages'); + + + $title = '{{Pages}}'; + + echo '<h2>{{Pages}}</h2>'; + + echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Handle') . '">'; + + echo '<select name="name" size="15" class="pagelist spaced-bottom">'; + + foreach($GLOBALS['pages']->GetList() as $page) + echo '<option>' . $page . '</option>'; + + echo '</select>'; + echo '<br />'; + echo '<input type="submit" name="view" value="{{Display}}" /> '; + echo '<input type="submit" name="new" value="{{New}}" /> '; + echo '<input type="submit" name="edit" value="{{Edit}}" /> '; + echo '<input type="submit" name="privs" value="{{Change access}}" /> '; + echo '<input type="submit" name="copy" value="{{Copy}}" /> '; + echo '<input type="submit" name="rename" value="{{Rename}}" /> '; + echo '<input type="submit" name="delete" value="{{Delete}}" />'; + echo '</form>'; +?> + ]]> + </code> + </data> +</page> |