blob: 6db07105a7ac73ae024263963191aa396159fd9a (
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
37
38
39
40
41
42
43
44
|
<?xml version="1.0" encoding="UTF-8" ?>
<page>
<info>
<name>Pages</name>
<template>phpexec</template>
<access>0:0</access>
<type>c</type>
</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 '<input type="hidden" name="type" value="c" />';
echo '<select name="name" size="15" class="pagelist spaced-bottom">';
foreach($GLOBALS['pages']->GetList() as $page)
if($page[strlen($page)-1] == 'c')
echo '<option>' . substr($page, 0, -2) . '</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>
|