Revision 162
Added by ryan about 19 years ago
template.html | ||
---|---|---|
1 | 1 |
</div><!-- BEGIN main_block --> |
2 | 2 |
|
3 | 3 |
<script language="javascript" type="text/javascript"> |
4 |
function toggle_radio(group_name, set_value) { |
|
5 |
if(set_value == true) { |
|
6 |
document.getElementById(group_name + "_true").checked = true; |
|
7 |
document.getElementById(group_name + "_false").checked = false; |
|
8 |
} else { |
|
9 |
document.getElementById(group_name + "_true").checked = false; |
|
10 |
document.getElementById(group_name + "_false").checked = true; |
|
11 |
} |
|
12 |
} |
|
13 | 4 |
function change_os(type) { |
14 | 5 |
if(type == 'linux') { |
15 |
document.getElementById('operating_system_linux').checked = true; |
|
16 |
document.getElementById('operating_system_windows').checked = false; |
|
17 | 6 |
document.getElementById('file_perms_box1').style.display = 'block'; |
18 | 7 |
document.getElementById('file_perms_box2').style.display = 'block'; |
19 | 8 |
document.getElementById('file_perms_box3').style.display = 'block'; |
20 | 9 |
} else if(type == 'windows') { |
21 |
document.getElementById('operating_system_linux').checked = false; |
|
22 |
document.getElementById('operating_system_windows').checked = true; |
|
23 | 10 |
document.getElementById('file_perms_box1').style.display = 'none'; |
24 | 11 |
document.getElementById('file_perms_box2').style.display = 'none'; |
25 | 12 |
document.getElementById('file_perms_box3').style.display = 'none'; |
26 | 13 |
} |
27 | 14 |
} |
28 |
function change_page_trash(type) { |
|
29 |
if(type == 'inline') { |
|
30 |
document.getElementById("page_trash_disabled").checked = false; |
|
31 |
document.getElementById("page_trash_inline").checked = true; |
|
32 |
document.getElementById("page_trash_separate").checked = false; |
|
33 |
} else if(type == 'separate') { |
|
34 |
document.getElementById("page_trash_disabled").checked = false; |
|
35 |
document.getElementById("page_trash_inline").checked = false; |
|
36 |
document.getElementById("page_trash_separate").checked = true; |
|
37 |
} else { |
|
38 |
document.getElementById("page_trash_disabled").checked = true; |
|
39 |
document.getElementById("page_trash_inline").checked = false; |
|
40 |
document.getElementById("page_trash_separate").checked = false; |
|
41 |
} |
|
42 |
} |
|
43 | 15 |
</script> |
44 | 16 |
|
45 | 17 |
<style> |
... | ... | |
54 | 26 |
width: 100%; |
55 | 27 |
} |
56 | 28 |
.setting_value textarea { |
57 |
height: 65px;
|
|
29 |
height: 50px;
|
|
58 | 30 |
} |
59 | 31 |
#file_mode input { |
60 | 32 |
width: 12px; |
... | ... | |
117 | 89 |
<textarea name="website_footer">{WEBSITE_FOOTER}</textarea> |
118 | 90 |
</td> |
119 | 91 |
</tr> |
120 |
<tr> |
|
92 |
<tr class="advanced">
|
|
121 | 93 |
<td class="setting_name">{TEXT_PAGE_LEVEL_LIMIT}:</td> |
122 | 94 |
<td class="setting_value" colspan="2"> |
123 | 95 |
<select name="page_level_limit"> |
... | ... | |
131 | 103 |
<td class="setting_name">{TEXT_PAGE_TRASH}:</td> |
132 | 104 |
<td class="setting_value" colspan="2"> |
133 | 105 |
<input type="radio" name="page_trash" id="page_trash_disabled" style="width: 14px; height: 14px;" value="disabled"{PAGE_TRASH_DISABLED} /> |
134 |
<font style="cursor: pointer;" onclick="javascript: change_page_trash('disabled');">{TEXT_DISABLED}</font>
|
|
106 |
<label for="page_trash_disabled">{TEXT_DISABLED}</label>
|
|
135 | 107 |
<input type="radio" name="page_trash" id="page_trash_inline" style="width: 14px; height: 14px;" value="inline"{PAGE_TRASH_INLINE} /> |
136 |
<font style="cursor: pointer;" onclick="javascript: change_page_trash('inline');">{TEXT_INLINE}</font>
|
|
108 |
<label for="page_trash_inline">{TEXT_INLINE}</label>
|
|
137 | 109 |
<input type="radio" name="page_trash" id="page_trash_separate" style="width: 14px; height: 14px;" value="separate"{PAGE_TRASH_SEPARATE} /> |
138 |
<font style="cursor: pointer;" onclick="javascript: change_page_trash('separate');">{TEXT_SEPARATE}</font>
|
|
110 |
<label for="page_trash_separate">{TEXT_SEPARATE}</label>
|
|
139 | 111 |
</td> |
140 | 112 |
</tr> |
141 | 113 |
<input type="hidden" name="page_languages" value="{PAGE_LANGUAGES}" /> |
... | ... | |
143 | 115 |
<td class="setting_name">{TEXT_MULTIPLE_MENUS}:</td> |
144 | 116 |
<td class="setting_value" colspan="2"> |
145 | 117 |
<input type="radio" name="multiple_menus" id="multiple_menus_true" style="width: 14px; height: 14px;" value="true"{MULTIPLE_MENUS_ENABLED} /> |
146 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('multiple_menus', true);">{TEXT_ENABLED}</font>
|
|
118 |
<label for="multiple_menus_true">{TEXT_ENABLED}</label>
|
|
147 | 119 |
<input type="radio" name="multiple_menus" id="multiple_menus_false" style="width: 14px; height: 14px;" value="false"{MULTIPLE_MENUS_DISABLED} /> |
148 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('multiple_menus', false);">{TEXT_DISABLED}</font>
|
|
120 |
<label for="multiple_menus_false">{TEXT_DISABLED}</label>
|
|
149 | 121 |
</td> |
150 | 122 |
</tr> |
151 | 123 |
<tr> |
152 | 124 |
<td class="setting_name">{TEXT_HOME_FOLDERS}:</td> |
153 | 125 |
<td class="setting_value" colspan="2"> |
154 | 126 |
<input type="radio" name="home_folders" id="home_folders_true" style="width: 14px; height: 14px;" value="true"{HOME_FOLDERS_ENABLED} /> |
155 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('home_folders', true);">{TEXT_ENABLED}</font>
|
|
127 |
<label for="home_folders_true">{TEXT_ENABLED}</label>
|
|
156 | 128 |
<input type="radio" name="home_folders" id="home_folders_false" style="width: 14px; height: 14px;" value="false"{HOME_FOLDERS_DISABLED} /> |
157 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('home_folders', false);">{TEXT_DISABLED}</font>
|
|
129 |
<label for="home_folders_false">{TEXT_DISABLED}</label>
|
|
158 | 130 |
</td> |
159 | 131 |
</tr> |
160 | 132 |
<tr class="advanced"> |
161 | 133 |
<td class="setting_name">{TEXT_MANAGE_SECTIONS}:</td> |
162 | 134 |
<td class="setting_value" colspan="2"> |
163 | 135 |
<input type="radio" name="manage_sections" id="manage_sections_true" style="width: 14px; height: 14px;" value="true"{MANAGE_SECTIONS_ENABLED} /> |
164 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('manage_sections', true);">{TEXT_ENABLED}</font>
|
|
136 |
<label for="manage_sections_true">{TEXT_ENABLED}</label>
|
|
165 | 137 |
<input type="radio" name="manage_sections" id="manage_sections_false" style="width: 14px; height: 14px;" value="false"{MANAGE_SECTIONS_DISABLED} /> |
166 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('manage_sections', false);">{TEXT_DISABLED}</font>
|
|
138 |
<label for="manage_sections_false">{TEXT_DISABLED}</label>
|
|
167 | 139 |
</td> |
168 | 140 |
</tr> |
169 | 141 |
<tr class="advanced"> |
170 | 142 |
<td class="setting_name">{TEXT_SECTION_BLOCKS}:</td> |
171 | 143 |
<td class="setting_value" colspan="2"> |
172 | 144 |
<input type="radio" name="section_blocks" id="section_blocks_true" style="width: 14px; height: 14px;" value="true"{SECTION_BLOCKS_ENABLED} /> |
173 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('section_blocks', true);">{TEXT_ENABLED}</font>
|
|
145 |
<label for="section_blocks_true">{TEXT_ENABLED}</label>
|
|
174 | 146 |
<input type="radio" name="section_blocks" id="section_blocks_false" style="width: 14px; height: 14px;" value="false"{SECTION_BLOCKS_DISABLED} /> |
175 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('section_blocks', false);">{TEXT_DISABLED}</font>
|
|
147 |
<label for="section_blocks_false">{TEXT_DISABLED}</label>
|
|
176 | 148 |
</td> |
177 | 149 |
</tr> |
178 | 150 |
<tr> |
179 | 151 |
<td class="setting_name">{TEXT_INTRO_PAGE}:</td> |
180 | 152 |
<td class="setting_value" colspan="2"> |
181 | 153 |
<input type="radio" name="intro_page" id="intro_page_true" style="width: 14px; height: 14px;" value="true"{INTRO_PAGE_ENABLED} /> |
182 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('intro_page', true);">{TEXT_ENABLED}</font>
|
|
154 |
<label for="intro_page_true">{TEXT_ENABLED}</label>
|
|
183 | 155 |
<input type="radio" name="intro_page" id="intro_page_false" style="width: 14px; height: 14px;" value="false"{INTRO_PAGE_DISABLED} /> |
184 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('intro_page', false);">{TEXT_DISABLED}</font>
|
|
156 |
<label for="intro_page_false">{TEXT_DISABLED}</label>
|
|
185 | 157 |
</td> |
186 | 158 |
</tr> |
187 | 159 |
<tr class="advanced"> |
188 | 160 |
<td class="setting_name">{TEXT_HOMEPAGE_REDIRECTION}:</td> |
189 | 161 |
<td class="setting_value" colspan="2"> |
190 | 162 |
<input type="radio" name="homepage_redirection" id="homepage_redirection_true" style="width: 14px; height: 14px;" value="true"{HOMEPAGE_REDIRECTION_ENABLED} /> |
191 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('homepage_redirection', true);">{TEXT_ENABLED}</font>
|
|
163 |
<label for="homepage_redirection_true">{TEXT_ENABLED}</label>
|
|
192 | 164 |
<input type="radio" name="homepage_redirection" id="homepage_redirection_false" style="width: 14px; height: 14px;" value="false"{HOMEPAGE_REDIRECTION_DISABLED} /> |
193 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('homepage_redirection', false);">{TEXT_DISABLED}</font>
|
|
165 |
<label for="homepage_redirection_false">{TEXT_DISABLED}</font>
|
|
194 | 166 |
</td> |
195 | 167 |
</tr> |
196 | 168 |
<tr class="advanced"> |
197 | 169 |
<td class="setting_name">{TEXT_SMART_LOGIN}:</td> |
198 | 170 |
<td class="setting_value" colspan="2"> |
199 | 171 |
<input type="radio" name="smart_login" id="smart_login_true" style="width: 14px; height: 14px;" value="true"{SMART_LOGIN_ENABLED} /> |
200 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('smart_login', true);">{TEXT_ENABLED}</font>
|
|
172 |
<label for="smart_login_true">{TEXT_ENABLED}</label>
|
|
201 | 173 |
<input type="radio" name="smart_login" id="smart_login_false" style="width: 14px; height: 14px;" value="false"{SMART_LOGIN_DISABLED} /> |
202 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('smart_login', false);">{TEXT_DISABLED}</font>
|
|
174 |
<label for="smart_login_false">{TEXT_DISABLED}</label>
|
|
203 | 175 |
</td> |
204 | 176 |
</tr> |
205 | 177 |
<tr> |
206 | 178 |
<td class="setting_name">{TEXT_LOGIN}:</td> |
207 | 179 |
<td class="setting_value" colspan="2"> |
208 | 180 |
<input type="radio" name="frontend_login" id="frontend_login_true" style="width: 14px; height: 14px;" value="true"{PRIVATE_ENABLED} /> |
209 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('frontend_login', true);">{TEXT_ENABLED}</font>
|
|
181 |
<label for="frontend_login_true">{TEXT_ENABLED}</label>
|
|
210 | 182 |
<input type="radio" name="frontend_login" id="frontend_login_false" style="width: 14px; height: 14px;" value="false"{PRIVATE_DISABLED} /> |
211 |
<font style="cursor: pointer;" onclick="javascript: toggle_radio('frontend_login', false);">{TEXT_DISABLED}</font>
|
|
183 |
<label for="frontend_login_false">{TEXT_DISABLED}</label>
|
|
212 | 184 |
</td> |
213 | 185 |
</tr> |
214 | 186 |
<tr> |
215 |
<td class="setting_name">{TEXT_SIGNUP}:</td> |
|
187 |
<td class="settfonting_name">{TEXT_SIGNUP}:</td>
|
|
216 | 188 |
<td class="setting_value" colspan="2"> |
217 | 189 |
<select name="frontend_signup"> |
218 | 190 |
<option value="false">{TEXT_DISABLED}</option> |
... | ... | |
233 | 205 |
</select> |
234 | 206 |
</td> |
235 | 207 |
</tr> |
236 |
<tr class="advanced"> |
|
208 |
<tr class="advancedfont">
|
|
237 | 209 |
<td class="setting_name">{TEXT_WYSIWYG_STYLE}:</td> |
238 | 210 |
<td class="setting_value" colspan="2"> |
239 | 211 |
<input type="text" name="wysiwyg_style" value="{WYSIWYG_STYLE}" /> |
... | ... | |
245 | 217 |
<input type="text" name="server_email" value="{SERVER_EMAIL}" /> |
246 | 218 |
</td> |
247 | 219 |
</tr> |
248 |
<tr> |
|
249 |
<td class="setting_name">{TEXT_EDITOR}:</td> |
|
220 |
<tr class="advanced">
|
|
221 |
<td class="setting_name">{TEXT_WYSIWYG_EDITOR}:</td>
|
|
250 | 222 |
<td class="setting_value" colspan="2"> |
251 | 223 |
<select name="wysiwyg_editor"> |
252 | 224 |
<!-- BEGIN editor_list_block --> |
... | ... | |
414 | 386 |
<td class="setting_name">{TEXT_SERVER_OPERATING_SYSTEM}:</td> |
415 | 387 |
<td class="setting_value" colspan="2"> |
416 | 388 |
<input type="radio" name="operating_system" id="operating_system_linux" onclick="javascript: change_os('linux');" style="width: 14px; height: 14px;" value="linux"{LINUX_SELECTED} /> |
417 |
<font style="cursor: pointer;" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</font>
|
|
389 |
<label for="operating_system_linux" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</label>
|
|
418 | 390 |
<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');"" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} /> |
419 |
<font style="cursor: pointer;" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</font>
|
|
391 |
<label for="operating_system_windows" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</label>
|
|
420 | 392 |
</td> |
421 | 393 |
</tr> |
422 | 394 |
<tr> |
... | ... | |
424 | 396 |
<td class="setting_value" colspan="3"> |
425 | 397 |
<div id="{BASIC_FILE_PERMS_ID}2" style="margin: 0; padding: 0;"> |
426 | 398 |
<input type="checkbox" name="world_writeable" id="world_writeable" style="width: 14px; height: 14px;" value="true"{WORLD_WRITEABLE_SELECTED} /> |
427 |
<font style="cursor: pointer;" onclick="javascript: toggle_checkbox('world_writeable');">
|
|
399 |
<label for="world_writeable">
|
|
428 | 400 |
{TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS} (777) |
429 | 401 |
</font> |
430 | 402 |
<br /> |
... | ... | |
450 | 422 |
<tr> |
451 | 423 |
<td> |
452 | 424 |
<input type="checkbox" name="file_u_r" id="file_u_r" value="true"{FILE_U_R_CHECKED} /> |
453 |
<font onclick="javascript: toggle_checkbox('file_u_r');" style="cursor: default;">{TEXT_READ}</font>
|
|
425 |
<label for="file_u_r">{TEXT_READ}</label>
|
|
454 | 426 |
<br /> |
455 | 427 |
<input type="checkbox" name="file_u_w" id="file_u_w" value="true"{FILE_U_W_CHECKED} /> |
456 |
<font onclick="javascript: toggle_checkbox('file_u_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
|
428 |
<label for="file_u_w">{TEXT_WRITE}</label>
|
|
457 | 429 |
<br /> |
458 | 430 |
<input type="checkbox" name="file_u_e" id="file_u_e" value="true"{FILE_U_E_CHECKED} /> |
459 |
<font onclick="javascript: toggle_checkbox('file_u_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
|
431 |
<label for="file_u_e">{TEXT_EXECUTE}</label>
|
|
460 | 432 |
</td> |
461 | 433 |
<td> |
462 | 434 |
<input type="checkbox" name="file_g_r" id="file_g_r" value="true"{FILE_G_R_CHECKED} /> |
463 |
<font onclick="javascript: toggle_checkbox('file_g_r');" style="cursor: default;">{TEXT_READ}</font>
|
|
435 |
<label for="file_g_r">{TEXT_READ}</label>
|
|
464 | 436 |
<br /> |
465 | 437 |
<input type="checkbox" name="file_g_w" id="file_g_w" value="true"{FILE_G_W_CHECKED} /> |
466 |
<font onclick="javascript: toggle_checkbox('file_g_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
|
438 |
<label for="file_g_w">{TEXT_WRITE}</label>
|
|
467 | 439 |
<br /> |
468 | 440 |
<input type="checkbox" name="file_g_e" id="file_g_e" value="true"{FILE_G_E_CHECKED} /> |
469 |
<font onclick="javascript: toggle_checkbox('file_g_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
|
441 |
<label for="file_g_e">{TEXT_EXECUTE}</label>
|
|
470 | 442 |
</td> |
471 | 443 |
<td> |
472 | 444 |
<input type="checkbox" name="file_o_r" id="file_o_r" value="true"{FILE_O_R_CHECKED} /> |
473 |
<font onclick="javascript: toggle_checkbox('file_o_r');" style="cursor: default;">{TEXT_READ}</font>
|
|
445 |
<label for="file_o_r">{TEXT_READ}</label>
|
|
474 | 446 |
<br /> |
475 | 447 |
<input type="checkbox" name="file_o_w" id="file_o_w" value="true"{FILE_O_W_CHECKED} /> |
476 |
<font onclick="javascript: toggle_checkbox('file_o_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
|
448 |
<label for="file_o_w">{TEXT_WRITE}</label>
|
|
477 | 449 |
<br /> |
478 | 450 |
<input type="checkbox" name="file_o_e" id="file_o_e" value="true"{FILE_O_E_CHECKED} /> |
479 |
<font onclick="javascript: toggle_checkbox('file_o_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
|
451 |
<label for="file_o_e">{TEXT_EXECUTE}</label>
|
|
480 | 452 |
</td> |
481 | 453 |
</tr> |
482 | 454 |
</table> |
... | ... | |
496 | 468 |
<tr> |
497 | 469 |
<td> |
498 | 470 |
<input type="checkbox" name="dir_u_r" id="dir_u_r" value="true"{DIR_U_R_CHECKED} /> |
499 |
<font onclick="javascript: toggle_checkbox('dir_u_r');" style="cursor: default;">{TEXT_READ}</font>
|
|
471 |
<label for="dir_u_r">{TEXT_READ}</label>
|
|
500 | 472 |
<br /> |
501 | 473 |
<input type="checkbox" name="dir_u_w" id="dir_u_w" value="true"{DIR_U_W_CHECKED} /> |
502 |
<font onclick="javascript: toggle_checkbox('dir_u_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
|
474 |
<label for="dir_u_w">{TEXT_WRITE}</label>
|
|
503 | 475 |
<br /> |
504 | 476 |
<input type="checkbox" name="dir_u_e" id="dir_u_e" value="true"{DIR_U_E_CHECKED} /> |
505 |
<font onclick="javascript: toggle_checkbox('dir_u_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
|
477 |
<label for="dir_u_e">{TEXT_EXECUTE}</label>
|
|
506 | 478 |
</td> |
507 | 479 |
<td> |
508 | 480 |
<input type="checkbox" name="dir_g_r" id="dir_g_r" value="true"{DIR_G_R_CHECKED} /> |
509 |
<font onclick="javascript: toggle_checkbox('dir_g_r');" style="cursor: default;">{TEXT_READ}</font>
|
|
481 |
<label for="dir_g_r">{TEXT_READ}</label>
|
|
510 | 482 |
<br /> |
511 | 483 |
<input type="checkbox" name="dir_g_w" id="dir_g_w" value="true"{DIR_G_W_CHECKED} /> |
512 |
<font onclick="javascript: toggle_checkbox('dir_g_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
|
484 |
<label for="dir_g_w">{TEXT_WRITE}</label>
|
|
513 | 485 |
<br /> |
514 | 486 |
<input type="checkbox" name="dir_g_e" id="dir_g_e" value="true"{DIR_G_E_CHECKED} /> |
515 |
<font onclick="javascript: toggle_checkbox('dir_g_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
|
487 |
<label for="dir_g_e">{TEXT_EXECUTE}</label>
|
|
516 | 488 |
</td> |
517 | 489 |
<td> |
518 | 490 |
<input type="checkbox" name="dir_o_r" id="dir_o_r" value="true"{DIR_O_R_CHECKED} /> |
519 |
<font onclick="javascript: toggle_checkbox('dir_o_r');" style="cursor: default;">{TEXT_READ}</font>
|
|
491 |
<label for="dir_o_r">{TEXT_READ}</label>
|
|
520 | 492 |
<br /> |
521 | 493 |
<input type="checkbox" name="dir_o_w" id="dir_o_w" value="true"{DIR_O_W_CHECKED} /> |
522 |
<font onclick="javascript: toggle_checkbox('dir_o_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
|
494 |
<label for="dir_o_w">{TEXT_WRITE}</label>
|
|
523 | 495 |
<br /> |
524 | 496 |
<input type="checkbox" name="dir_o_e" id="dir_o_e" value="true"{DIR_O_E_CHECKED} /> |
525 |
<font onclick="javascript: toggle_checkbox('dir_o_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
|
497 |
<label for="dir_o_e">{TEXT_EXECUTE}</label>
|
|
526 | 498 |
</td> |
527 | 499 |
</tr> |
528 | 500 |
</table> |
Also available in: Unified diff
Tuned interface with less javascript