1
|
<!--
|
2
|
@version $Id: pages.htt 75 2017-03-10 10:47:06Z manu $
|
3
|
-->
|
4
|
<!-- BEGIN main_block -->
|
5
|
<!-- BEGIN add_block -->
|
6
|
<h2>{HEADING_ADD_PAGE}</h2>
|
7
|
<div class="{DISPLAY_ADD} block-outer" style="float: left; width: 100%; padding-top: 1.925em;">
|
8
|
<form name="add" action="add.php" method="post">
|
9
|
{FTAN}
|
10
|
<table style="border-collapse: separate; width: 40%; float: left;" class="pages_add" >
|
11
|
<tbody>
|
12
|
<tr style="margin: 0.525em 0;">
|
13
|
<td style="width: 13.525em;">{TEXT_TITLE}:</td>
|
14
|
<td style="width: 20.525em;"><input type="text" name="title" style="width: 20.525em;" /></td>
|
15
|
</tr>
|
16
|
<tr>
|
17
|
<td >{TEXT_TYPE}:</td>
|
18
|
<td >
|
19
|
<select name="type" style="width: 20.525em;">
|
20
|
<!-- BEGIN module_list_block -->
|
21
|
<option value="{VALUE}"{SELECTED}>{NAME}</option>
|
22
|
<!-- END module_list_block -->
|
23
|
</select>
|
24
|
</td>
|
25
|
</tr>
|
26
|
<tr>
|
27
|
<td >{TEXT_PARENT}:</td>
|
28
|
<td >
|
29
|
<select name="parent" style="width: 20.525em;" onchange="return disabled_hack_for_ie(this);">
|
30
|
<!-- BEGIN page_list_block2 -->
|
31
|
<option value="{ID}"{DISABLED} style="background: {FLAG_ROOT_ICON} no-repeat center left; padding-left: 20px;">{TITLE}</option>
|
32
|
<!-- END page_list_block2 -->
|
33
|
</select>
|
34
|
</td>
|
35
|
</tr>
|
36
|
<tr>
|
37
|
<td >{TEXT_VISIBILITY}:</td>
|
38
|
<td >
|
39
|
<select name="visibility" onchange="javascript: toggle_viewers();" style="width: 20.525em;">
|
40
|
<option value="public"{SELECTED}>{TEXT_PUBLIC}</option>
|
41
|
<option value="private">{TEXT_PRIVATE}</option>
|
42
|
<option value="registered">{TEXT_REGISTERED}</option>
|
43
|
<option value="hidden">{TEXT_HIDDEN}</option>
|
44
|
<option value="none">{TEXT_NONE}</option>
|
45
|
</select>
|
46
|
</td>
|
47
|
</tr>
|
48
|
<tr>
|
49
|
<td> </td>
|
50
|
<td> </td>
|
51
|
</tr>
|
52
|
<tr>
|
53
|
<td > </td>
|
54
|
<td>
|
55
|
<input type="submit" name="submit" value="{TEXT_ADD}" style="min-width: 7.525em; padding: 0 0.9525em;" />
|
56
|
<input type="reset" name="reset" value="{TEXT_RESET}" style="min-width: 7.525em; padding: 0 0.9525em;" />
|
57
|
</td>
|
58
|
</tr>
|
59
|
<tr>
|
60
|
<td> </td>
|
61
|
<td> </td>
|
62
|
</tr>
|
63
|
</tbody>
|
64
|
</table>
|
65
|
<table style="border-collapse: separate; width: 58%; padding-left: 1.225em;" class="pages_groups" >
|
66
|
<tbody>
|
67
|
<tr>
|
68
|
<td style=" width: 55%; vertical-align: top;">{TEXT_ADMINISTRATORS}:
|
69
|
<ul style="list-style-type: none; margin: 0; padding: 0;">
|
70
|
<!-- BEGIN group_list_block -->
|
71
|
<li>
|
72
|
<input type="checkbox" name="admin_groups[]" id="admin_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
|
73
|
<label for="admin_group_{TOGGLE}">{NAME}</label>
|
74
|
</li>
|
75
|
<!-- END group_list_block -->
|
76
|
</ul>
|
77
|
</td>
|
78
|
<td style=" vertical-align: top;">
|
79
|
<div id="viewers" style="display: none;">{TEXT_REGISTERED_VIEWERS}:
|
80
|
<ul style="list-style-type: none; margin: 0; padding: 0;">
|
81
|
<!-- BEGIN group_list_block2 -->
|
82
|
<li>
|
83
|
<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
|
84
|
<label for="viewing_group_{TOGGLE}">{NAME}</label>
|
85
|
</li>
|
86
|
<!-- END group_list_block2 -->
|
87
|
</ul>
|
88
|
</div>
|
89
|
</td>
|
90
|
</tr>
|
91
|
</tbody>
|
92
|
</table>
|
93
|
</form>
|
94
|
</div>
|
95
|
<!-- END add_block -->
|
96
|
|
97
|
<!-- BEGIN intro_block -->
|
98
|
<div class="{DISPLAY_INTRO}" style="padding-top: 10px;">
|
99
|
<br />
|
100
|
<h2>{HEADING_MODIFY_INTRO_PAGE}</h2>
|
101
|
<a href="intro.php">{INTRO_LINK}</a>
|
102
|
</div>
|
103
|
<!-- END intro_block -->
|
104
|
</div> <!-- end div of pages_tree -->
|
105
|
|
106
|
<!-- Addition for remembering expanded state of pages -->
|
107
|
<script type="text/javascript">
|
108
|
var THEME_URL = '{THEME_URL}';
|
109
|
var WB_URL = '{WB_URL}';
|
110
|
</script>
|
111
|
<script src="{ADMIN_URL}/pages/page_index.js" type="text/javascript"></script>
|
112
|
<!-- END main_block -->
|