Project

General

Profile

1
<!-- BEGIN main_block -->
2

    
3
<script type="text/javascript" language="javascript">
4
function toggle_viewers() {
5
	if(document.settings.visibility.value == 'private') {
6
		document.getElementById('private_viewers').style.display = 'block';
7
		document.getElementById('registered_viewers').style.display = 'none';
8
	} else if(document.settings.visibility.value == 'registered') {
9
		document.getElementById('private_viewers').style.display = 'none';
10
		document.getElementById('registered_viewers').style.display = 'block';
11
	} else {
12
		document.getElementById('private_viewers').style.display = 'none';
13
		document.getElementById('registered_viewers').style.display = 'none';
14
	}
15
}
16
</script>
17

    
18
<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" height="50" style="margin-bottom: 10px;">
19
<tr style="background-color: #F0F0F0;">
20
	<td valign="middle" align="left">
21
		<h2>{HEADING_MODIFY_PAGE_SETTINGS}</h2>
22
	</td>
23
	<td align="right">
24
		{TEXT_CURRENT_PAGE}: 
25
		<b>{PAGE_TITLE}</b>
26
		- 
27
		<a href="{ADMIN_URL}/pages/modify.php?page_id={PAGE_ID}">{TEXT_MODIFY_PAGE}</a>
28
		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
29
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
30
		<br />
31
		<font style="color: #999999;" class="{DISPLAY_MODIFIED}">
32
			{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
33
		</font>
34
	</td>
35
</tr>
36
</table>
37

    
38
<form name="settings" action="settings2.php" method="post">
39

    
40
<input type="hidden" name="page_id" value="{PAGE_ID}" />
41

    
42
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
43
<tr>
44
	<td width="100" height="20">{TEXT_PAGE_TITLE}:</td>
45
	<td with="240" height="20">
46
		<input type="text" name="page_title" value="{PAGE_TITLE}" style="width: 232px;" />
47
	</td>
48
	<td rowspan="10" valign="top" style="padding-left: 20px; padding-top: 8px;">
49
		{TEXT_ADMINISTRATORS}:
50
		<ul style="list-style-type: none; margin: 0; padding: 0;">
51
			<!-- BEGIN group_list_block -->
52
			<li>
53
			<input type="checkbox" name="admin_groups[]" id="admin_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
54
			<label for="admin_group_{TOGGLE}">{NAME}</label>
55
			</li>
56
			<!-- END group_list_block -->
57
		</ul>
58
	</td>
59
	<td rowspan="10" valign="top" style="padding-left: 20px; padding-top: 8px;">
60
		<div id="private_viewers" style="display: {DISPLAY_PRIVATE};">
61
			{TEXT_PRIVATE_VIEWERS}:
62
			<ul style="list-style-type: none; margin: 0; padding: 0;">
63
				<!-- BEGIN group_list_block2 -->
64
				<li>
65
				<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
66
				<label for="viewing_group_{TOGGLE}">{NAME}</label>
67
				</li>
68
				<!-- END group_list_block2 -->
69
			</ul>
70
		</div>
71
	</td>
72
	<td rowspan="10" valign="top" style="padding-left: 20px; padding-top: 8px;">
73
		<div id="registered_viewers" style="display: {DISPLAY_REGISTERED};">
74
			{TEXT_REGISTERED_VIEWERS}:
75
			<ul style="list-style-type: none; margin: 0; padding: 0;">
76
				<!-- BEGIN group_list_block2 -->
77
				<li>
78
				<input type="checkbox" name="viewing_groups[]" id="viewing_group_{ID}" value="{ID}"{CHECKED}{DISABLED} />
79
				<label for="viewing_group_{TOGGLE}">{NAME}</label>
80
				</li>
81
				<!-- END group_list_block2 -->
82
			</ul>
83
		</div>
84
	</td>
85
</tr>
86
<tr height="20">
87
	<td width="100" height="20">{TEXT_MENU_TITLE}:</td>
88
	<td with="240" height="20">
89
		<input type="text" name="menu_title" value="{MENU_TITLE}" style="width: 232px;" />
90
	</td>
91
</tr>
92
<tr height="20">
93
	<td width="100">{TEXT_PARENT}:</td>
94
	<td with="240">
95
		<select name="parent" style="width: 240px;">
96
			<!-- BEGIN page_list_block2 -->
97
			<option value="{ID}"{SELECTED}>{TITLE}</option>
98
			<!-- END page_list_block2 -->
99
		</select>
100
	</td>
101
</tr>
102
<tr height="20">
103
	<td width="100">{TEXT_VISIBILITY}:</td>
104
	<td width="240">
105
		<select name="visibility" onchange="javascript: toggle_viewers();" style="width: 240px;">
106
			<option value="public"{PUBLIC_SELECTED}>{TEXT_PUBLIC}</option>
107
			<option value="private"{PRIVATE_SELECTED}>{TEXT_PRIVATE}</option>
108
			<option value="registered"{REGISTERED_SELECTED}>{TEXT_REGISTERED}</option>
109
			<option value="hidden"{HIDDEN_SELECTED}>{TEXT_HIDDEN}</option>
110
			<option value="none"{NO_VIS_SELECTED}>{TEXT_NONE}</option>
111
		</select>
112
	</td>
113
</tr>
114
<tr>
115
	<td width="100" valign="top">{TEXT_DESCRIPTION}:</td>
116
	<td>
117
		<textarea name="description" style="width: 236px; height: 50px;">{DESCRIPTION}</textarea>
118
	</td>
119
</tr>
120
<tr>
121
	<td width="100" valign="top">{TEXT_KEYWORDS}:</td>
122
	<td>
123
		<textarea name="keywords" style="width: 236px; height: 50px;">{KEYWORDS}</textarea>
124
	</td>
125
</tr>
126
<tr>
127
	<td>
128
		{TEXT_TARGET}:
129
	</td>
130
	<td>
131
		<select name="target" style="WIDTH: 100%;" value="{TARGET}" />
132
			<option value="_blank"{BLANK_SELECTED}>{TEXT_NEW_WINDOW}</option>
133
			<option value="_self"{SELF_SELECTED}>{TEXT_SAME_WINDOW}</option>
134
			<option value="_top"{TOP_SELECTED}>{TEXT_TOP_FRAME}</option>
135
		</select>
136
	</td>
137
</tr>
138
<tr height="20">
139
	<td width="100">{TEXT_TEMPLATE}:</td>
140
	<td width="240">
141
		<select name="template" style="width: 240px;">
142
			<option value="">{TEXT_SYSTEM_DEFAULT}</option>
143
			<option value="">----------------------</option>
144
			<!-- BEGIN template_list_block -->
145
			<option value="{VALUE}"{SELECTED}>{NAME}</option>
146
			<!-- END template_list_block -->
147
		</select>
148
	</td>
149
</tr>
150
<tr height="20" style="display: {DISPLAY_MENU_LIST}">
151
	<td width="100">{TEXT_MENU}:</td>
152
	<td width="240">
153
		<select name="menu" style="width: 240px;">
154
			<!-- BEGIN menu_list_block -->
155
			<option value="{VALUE}"{SELECTED}>{NAME}</option>
156
			<!-- END menu_list_block -->
157
		</select>
158
	</td>
159
</tr>
160
<tr height="20" style="display: {DISPLAY_LANGUAGE_LIST}">
161
	<td width="100">{TEXT_LANGUAGE}:</td>
162
	<td width="240">
163
		<select name="language" style="width: 240px;">
164
			<!-- BEGIN language_list_block -->
165
			<option value="{VALUE}"{SELECTED}>{NAME}</option>
166
			<!-- END language_list_block -->
167
		</select>
168
	</td>
169
</tr>
170
<tr height="20">
171
	<td width="100">{TEXT_SEARCHING}:</td>
172
	<td width="240">
173
		<select name="searching" style="width: 240px;">
174
			<option value="1">{TEXT_ENABLED}</option>
175
			<option value="0"{SEARCHING_DISABLED}>{TEXT_DISABLED}</option>
176
		</select>
177
	</td>
178
</tr>
179
<tr>
180
	<td width="100">&nbsp;</td>
181
	<td colspan="4">
182
		<input type="submit" name="submit" value="{TEXT_SAVE} {SECTION_SETTINGS}" style="width: 117px;" />
183
		<input type="reset" name="reset" value="{TEXT_RESET}" style="width: 117px;" />
184
	</td>
185
</tr>
186
<tr>
187
	<td>&nbsp;</td>
188
	<td>&nbsp;</td>
189
</tr>
190
</table>
191

    
192
</form>
193

    
194
<!-- END main_block -->
(15-15/19)