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' || document.settings.visibility.value == 'registered') {
6
		document.getElementById('allowed_viewers').style.display = 'block';
7
	} else {
8
		document.getElementById('allowed_viewers').style.display = 'none';
9
	}
10
}
11
</script>
12

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

    
33
<form name="settings" action="settings2.php" method="post">
34

    
35
<input type="hidden" name="page_id" value="{PAGE_ID}" />
36

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

    
174
</form>
175

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