[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <!-- INCLUDE overall_header.html --> 2 3 <a name="maincontent"></a> 4 5 <!-- IF S_EDIT_FORUM --> 6 7 <script type="text/javascript"> 8 // <![CDATA[ 9 /** 10 * Handle displaying/hiding several options based on the forum type 11 */ 12 function display_options(value) 13 { 14 <!-- IF not S_ADD_ACTION and S_FORUM_ORIG_POST --> 15 if (value == {FORUM_POST}) 16 { 17 dE('type_actions', -1); 18 } 19 else 20 { 21 dE('type_actions', 1); 22 } 23 <!-- ENDIF --> 24 25 <!-- IF not S_ADD_ACTION and S_FORUM_ORIG_CAT and S_HAS_SUBFORUMS --> 26 if (value == {FORUM_LINK}) 27 { 28 dE('cat_to_link_actions', 1); 29 } 30 else 31 { 32 dE('cat_to_link_actions', -1); 33 } 34 <!-- ENDIF --> 35 36 if (value == {FORUM_POST}) 37 { 38 dE('forum_post_options', 1); 39 dE('forum_link_options', -1); 40 dE('forum_rules_options', 1); 41 dE('forum_cat_options', -1); 42 } 43 else if (value == {FORUM_LINK}) 44 { 45 dE('forum_post_options', -1); 46 dE('forum_link_options', 1); 47 dE('forum_rules_options', -1); 48 dE('forum_cat_options', -1); 49 } 50 else if (value == {FORUM_CAT}) 51 { 52 dE('forum_post_options', -1); 53 dE('forum_link_options', -1); 54 dE('forum_rules_options', 1); 55 dE('forum_cat_options', 1); 56 } 57 } 58 59 /** 60 * Init the wanted display functionality if javascript is enabled. 61 * If javascript is not available, the user is still able to properly administer. 62 */ 63 onload = function() 64 { 65 <!-- IF not S_ADD_ACTION and S_FORUM_ORIG_POST --> 66 <!-- IF S_FORUM_POST --> 67 dE('type_actions', -1); 68 <!-- ENDIF --> 69 <!-- ENDIF --> 70 71 <!-- IF not S_ADD_ACTION and S_FORUM_ORIG_CAT and S_HAS_SUBFORUMS --> 72 <!-- IF S_FORUM_CAT --> 73 dE('cat_to_link_actions', -1); 74 <!-- ENDIF --> 75 <!-- ENDIF --> 76 77 <!-- IF not S_FORUM_POST --> 78 dE('forum_post_options', -1); 79 <!-- ENDIF --> 80 81 <!-- IF not S_FORUM_CAT --> 82 dE('forum_cat_options', -1); 83 <!-- ENDIF --> 84 85 <!-- IF not S_FORUM_LINK --> 86 dE('forum_link_options', -1); 87 <!-- ENDIF --> 88 89 <!-- IF S_FORUM_LINK --> 90 dE('forum_rules_options', -1); 91 <!-- ENDIF --> 92 } 93 94 // ]]> 95 </script> 96 97 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> 98 99 <h1>{L_TITLE} <!-- IF FORUM_NAME -->:: {FORUM_NAME}<!-- ENDIF --></h1> 100 101 <p>{L_FORUM_EDIT_EXPLAIN}</p> 102 103 <!-- IF S_ERROR --> 104 <div class="errorbox"> 105 <h3>{L_WARNING}</h3> 106 <p>{ERROR_MSG}</p> 107 </div> 108 <!-- ENDIF --> 109 110 <form id="forumedit" method="post" action="{U_EDIT_ACTION}"> 111 112 <fieldset> 113 <legend>{L_FORUM_SETTINGS}</legend> 114 <dl> 115 <dt><label for="forum_type">{L_FORUM_TYPE}:</label></dt> 116 <dd><select id="forum_type" name="forum_type" onchange="display_options(this.options[this.selectedIndex].value);">{S_FORUM_TYPE_OPTIONS}</select></dd> 117 </dl> 118 <!-- IF not S_ADD_ACTION and S_FORUM_ORIG_POST --> 119 <div id="type_actions"> 120 <dl> 121 <dt><label for="type_action">{L_DECIDE_MOVE_DELETE_CONTENT}:</label></dt> 122 <dd><label><input type="radio" class="radio" name="type_action" value="delete"<!-- IF not S_MOVE_FORUM_OPTIONS --> checked="checked" id="type_action"<!-- ENDIF --> /> {L_DELETE_ALL_POSTS}</label></dd> 123 <!-- IF S_MOVE_FORUM_OPTIONS --><dd><label><input type="radio" class="radio" name="type_action" id="type_action" value="move" checked="checked" /> {L_MOVE_POSTS_TO}</label> <select name="to_forum_id">{S_MOVE_FORUM_OPTIONS}</select></dd><!-- ENDIF --> 124 </dl> 125 </div> 126 <!-- ENDIF --> 127 <!-- IF not S_ADD_ACTION and S_FORUM_ORIG_CAT and S_HAS_SUBFORUMS --> 128 <div id="cat_to_link_actions"> 129 <dl> 130 <dt><label for="action_subforums">{L_DECIDE_MOVE_DELETE_SUBFORUMS}:</label></dt> 131 <!-- IF S_FORUMS_LIST --> 132 <dd><label><input type="radio" class="radio" id="action_subforums" name="action_subforums" value="move" checked="checked" /> {L_MOVE_SUBFORUMS_TO}</label> <select name="subforums_to_id">{S_FORUMS_LIST}</select></dd> 133 <!-- ELSE --> 134 <dd><label><input type="radio" class="radio" id="action_subforums" name="action_subforums" value="delete" checked="checked" /> {L_DELETE_SUBFORUMS}</label></dd> 135 <!-- ENDIF --> 136 </dl> 137 </div> 138 <!-- ENDIF --> 139 <dl> 140 <dt><label for="parent">{L_FORUM_PARENT}:</label></dt> 141 <dd><select id="parent" name="forum_parent_id"><option value="0"<!-- IF not S_FORUM_PARENT_ID --> selected="selected"<!-- ENDIF -->>{L_NO_PARENT}</option>{S_PARENT_OPTIONS}</select></dd> 142 </dl> 143 <!-- IF S_CAN_COPY_PERMISSIONS --> 144 <dl> 145 <dt><label for="forum_perm_from">{L_COPY_PERMISSIONS}:</label><br /><span>{L_COPY_PERMISSIONS_EXPLAIN}</span></dt> 146 <dd><select id="forum_perm_from" name="forum_perm_from"><option value="0">{L_NO_PERMISSIONS}</option>{S_FORUM_OPTIONS}</select></dd> 147 </dl> 148 <!-- ENDIF --> 149 <dl> 150 <dt><label for="forum_name">{L_FORUM_NAME}:</label></dt> 151 <dd><input class="text medium" type="text" id="forum_name" name="forum_name" value="{FORUM_NAME}" maxlength="255" /></dd> 152 </dl> 153 <dl> 154 <dt><label for="forum_desc">{L_FORUM_DESC}:</label><br /><span>{L_FORUM_DESC_EXPLAIN}</span></dt> 155 <dd><textarea id="forum_desc" name="forum_desc" rows="5" cols="45">{FORUM_DESC}</textarea></dd> 156 <dd><label><input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label> 157 <label><input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label> 158 <label><input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd> 159 </dl> 160 <dl> 161 <dt><label for="forum_image">{L_FORUM_IMAGE}:</label><br /><span>{L_FORUM_IMAGE_EXPLAIN}</span></dt> 162 <dd><input class="text medium" type="text" id="forum_image" name="forum_image" value="{FORUM_IMAGE}" maxlength="255" /></dd> 163 <!-- IF FORUM_IMAGE_SRC --> 164 <dd><img src="{FORUM_IMAGE_SRC}" alt="{L_FORUM_IMAGE}" /></dd> 165 <!-- ENDIF --> 166 </dl> 167 <dl> 168 <dt><label for="forum_password">{L_FORUM_PASSWORD}:</label><br /><span>{L_FORUM_PASSWORD_EXPLAIN}</span></dt> 169 <dd><input type="password" id="forum_password" name="forum_password" value="<!-- IF S_FORUM_PASSWORD_SET -->      <!-- ENDIF -->" autocomplete="off" /></dd> 170 </dl> 171 <dl> 172 <dt><label for="forum_password_confirm">{L_FORUM_PASSWORD_CONFIRM}:</label><br /><span>{L_FORUM_PASSWORD_CONFIRM_EXPLAIN}</span></dt> 173 <dd><input type="password" id="forum_password_confirm" name="forum_password_confirm" value="<!-- IF S_FORUM_PASSWORD_SET -->      <!-- ENDIF -->" autocomplete="off" /></dd> 174 </dl> 175 <!-- IF S_FORUM_PASSWORD_SET --> 176 <dl> 177 <dt><label for="forum_password_unset">{L_FORUM_PASSWORD_UNSET}:</label><br /><span>{L_FORUM_PASSWORD_UNSET_EXPLAIN}</span></dt> 178 <dd><input id="forum_password_unset" name="forum_password_unset" type="checkbox" /></dd> 179 </dl> 180 <!-- ENDIF --> 181 <dl> 182 <dt><label for="forum_style">{L_FORUM_STYLE}:</label></dt> 183 <dd><select id="forum_style" name="forum_style"><option value="0">{L_DEFAULT_STYLE}</option>{S_STYLES_OPTIONS}</select></dd> 184 </dl> 185 </fieldset> 186 187 <div id="forum_cat_options"> 188 <fieldset> 189 <legend>{L_GENERAL_FORUM_SETTINGS}</legend> 190 <dl> 191 <dt><label for="display_active">{L_DISPLAY_ACTIVE_TOPICS}:</label><br /><span>{L_DISPLAY_ACTIVE_TOPICS_EXPLAIN}</span></dt> 192 <dd><label><input type="radio" class="radio" name="display_active" value="1"<!-- IF S_ENABLE_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 193 <label><input type="radio" class="radio" name="display_active" value="0"<!-- IF not S_ENABLE_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 194 </dl> 195 </fieldset> 196 </div> 197 198 <div id="forum_post_options"> 199 <fieldset> 200 <legend>{L_GENERAL_FORUM_SETTINGS}</legend> 201 <dl> 202 <dt><label for="forum_status">{L_FORUM_STATUS}:</label></dt> 203 <dd><select id="forum_status" name="forum_status">{S_STATUS_OPTIONS}</select></dd> 204 </dl> 205 <dl> 206 <dt><label for="display_subforum_list">{L_LIST_SUBFORUMS}:</label><br /><span>{L_LIST_SUBFORUMS_EXPLAIN}</span></dt> 207 <dd><label><input type="radio" class="radio" name="display_subforum_list" value="1"<!-- IF S_DISPLAY_SUBFORUM_LIST --> id="display_subforum_list" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 208 <label><input type="radio" class="radio" name="display_subforum_list" value="0"<!-- IF not S_DISPLAY_SUBFORUM_LIST --> id="display_subforum_list" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 209 </dl> 210 <dl> 211 <dt><label for="display_on_index">{L_LIST_INDEX}:</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt> 212 <dd><label><input type="radio" class="radio" name="display_on_index" value="1"<!-- IF S_DISPLAY_ON_INDEX --> id="display_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 213 <label><input type="radio" class="radio" name="display_on_index" value="0"<!-- IF not S_DISPLAY_ON_INDEX --> id="display_on_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 214 </dl> 215 <dl> 216 <dt><label for="enable_post_review">{L_ENABLE_POST_REVIEW}:</label><br /><span>{L_ENABLE_POST_REVIEW_EXPLAIN}</span></dt> 217 <dd><label><input type="radio" class="radio" name="enable_post_review" value="1"<!-- IF S_ENABLE_POST_REVIEW --> id="enable_post_review" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 218 <label><input type="radio" class="radio" name="enable_post_review" value="0"<!-- IF not S_ENABLE_POST_REVIEW --> id="enable_post_review" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 219 </dl> 220 <dl> 221 <dt><label for="enable_quick_reply">{L_ENABLE_QUICK_REPLY}:</label><br /><span>{L_ENABLE_QUICK_REPLY_EXPLAIN}</span></dt> 222 <dd><label><input type="radio" class="radio" name="enable_quick_reply" value="1"<!-- IF S_ENABLE_QUICK_REPLY --> id="enable_quick_reply" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 223 <label><input type="radio" class="radio" name="enable_quick_reply" value="0"<!-- IF not S_ENABLE_QUICK_REPLY --> id="enable_quick_reply" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 224 </dl> 225 <dl> 226 <dt><label for="enable_indexing">{L_ENABLE_INDEXING}:</label><br /><span>{L_ENABLE_INDEXING_EXPLAIN}</span></dt> 227 <dd><label><input type="radio" class="radio" name="enable_indexing" value="1"<!-- IF S_ENABLE_INDEXING --> id="enable_indexing" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 228 <label><input type="radio" class="radio" name="enable_indexing" value="0"<!-- IF not S_ENABLE_INDEXING --> id="enable_indexing" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 229 </dl> 230 <dl> 231 <dt><label for="enable_icons">{L_ENABLE_TOPIC_ICONS}:</label></dt> 232 <dd><label><input type="radio" class="radio" name="enable_icons" value="1"<!-- IF S_TOPIC_ICONS --> id="enable_icons" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 233 <label><input type="radio" class="radio" name="enable_icons" value="0"<!-- IF not S_TOPIC_ICONS --> id="enable_icons" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 234 </dl> 235 <dl> 236 <dt><label for="display_recent">{L_ENABLE_RECENT}:</label><br /><span>{L_ENABLE_RECENT_EXPLAIN}</span></dt> 237 <dd><label><input type="radio" class="radio" name="display_recent" value="1"<!-- IF S_DISPLAY_ACTIVE_TOPICS --> id="display_recent" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 238 <label><input type="radio" class="radio" name="display_recent" value="0"<!-- IF not S_DISPLAY_ACTIVE_TOPICS --> id="display_recent" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 239 </dl> 240 <dl> 241 <dt><label for="topics_per_page">{L_FORUM_TOPICS_PAGE}:</label><br /><span>{L_FORUM_TOPICS_PAGE_EXPLAIN}</span></dt> 242 <dd><input type="text" id="topics_per_page" name="topics_per_page" value="{TOPICS_PER_PAGE}" size="4" maxlength="4" /></dd> 243 </dl> 244 </fieldset> 245 246 <fieldset> 247 <legend>{L_FORUM_PRUNE_SETTINGS}</legend> 248 <dl> 249 <dt><label for="enable_prune">{L_FORUM_AUTO_PRUNE}:</label><br /><span>{L_FORUM_AUTO_PRUNE_EXPLAIN}</span></dt> 250 <dd><label><input type="radio" class="radio" name="enable_prune" value="1"<!-- IF S_PRUNE_ENABLE --> id="enable_prune" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 251 <label><input type="radio" class="radio" name="enable_prune" value="0"<!-- IF not S_PRUNE_ENABLE --> id="enable_prune" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 252 </dl> 253 <dl> 254 <dt><label for="prune_freq">{L_AUTO_PRUNE_FREQ}:</label><br /><span>{L_AUTO_PRUNE_FREQ_EXPLAIN}</span></dt> 255 <dd><input type="text" id="prune_freq" name="prune_freq" value="{PRUNE_FREQ}" maxlength="4" size="4" /> {L_DAYS}</dd> 256 </dl> 257 <dl> 258 <dt><label for="prune_days">{L_AUTO_PRUNE_DAYS}:</label><br /><span>{L_AUTO_PRUNE_DAYS_EXPLAIN}</span></dt> 259 <dd><input type="text" id="prune_days" name="prune_days" value="{PRUNE_DAYS}" maxlength="4" size="4" /> {L_DAYS}</dd> 260 </dl> 261 <dl> 262 <dt><label for="prune_viewed">{L_AUTO_PRUNE_VIEWED}:</label><br /><span>{L_AUTO_PRUNE_VIEWED_EXPLAIN}</span></dt> 263 <dd><input type="text" id="prune_viewed" name="prune_viewed" value="{PRUNE_VIEWED}" maxlength="4" size="4" /> {L_DAYS}</dd> 264 </dl> 265 <dl> 266 <dt><label for="prune_old_polls">{L_PRUNE_OLD_POLLS}:</label><br /><span>{L_PRUNE_OLD_POLLS_EXPLAIN}</span></dt> 267 <dd><label><input type="radio" class="radio" name="prune_old_polls" value="1"<!-- IF S_PRUNE_OLD_POLLS --> id="prune_old_polls" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 268 <label><input type="radio" class="radio" name="prune_old_polls" value="0"<!-- IF not S_PRUNE_OLD_POLLS --> id="prune_old_polls" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 269 </dl> 270 <dl> 271 <dt><label for="prune_announce">{L_PRUNE_ANNOUNCEMENTS}:</label></dt> 272 <dd><label><input type="radio" class="radio" name="prune_announce" value="1"<!-- IF S_PRUNE_ANNOUNCE --> id="prune_announce" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 273 <label><input type="radio" class="radio" name="prune_announce" value="0"<!-- IF not S_PRUNE_ANNOUNCE --> id="prune_announce" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 274 </dl> 275 <dl> 276 <dt><label for="prune_sticky">{L_PRUNE_STICKY}:</label></dt> 277 <dd><label><input type="radio" class="radio" name="prune_sticky" value="1"<!-- IF S_PRUNE_STICKY --> id="prune_sticky" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 278 <label><input type="radio" class="radio" name="prune_sticky" value="0"<!-- IF not S_PRUNE_STICKY --> id="prune_sticky" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 279 </dl> 280 </fieldset> 281 </div> 282 283 <div id="forum_link_options"> 284 <fieldset> 285 <legend>{L_GENERAL_FORUM_SETTINGS}</legend> 286 <dl> 287 <dt><label for="link_display_on_index">{L_LIST_INDEX}:</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt> 288 <dd><label><input type="radio" class="radio" name="link_display_on_index" value="1"<!-- IF S_DISPLAY_ON_INDEX --> id="link_display_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 289 <label><input type="radio" class="radio" name="link_display_on_index" value="0"<!-- IF not S_DISPLAY_ON_INDEX --> id="link_display_on_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 290 </dl> 291 <dl> 292 <dt><label for="forum_link">{L_FORUM_LINK}:</label><br /><span>{L_FORUM_LINK_EXPLAIN}</span></dt> 293 <dd><input class="text medium" type="text" id="forum_link" name="forum_link" value="{FORUM_DATA_LINK}" maxlength="255" /></dd> 294 </dl> 295 <dl> 296 <dt><label for="forum_link_track">{L_FORUM_LINK_TRACK}:</label><br /><span>{L_FORUM_LINK_TRACK_EXPLAIN}</span></dt> 297 <dd><label><input type="radio" class="radio" name="forum_link_track" value="1"<!-- IF S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_YES}</label> 298 <label><input type="radio" class="radio" name="forum_link_track" value="0"<!-- IF not S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd> 299 </dl> 300 </fieldset> 301 </div> 302 303 <div id="forum_rules_options"> 304 <fieldset> 305 <legend>{L_FORUM_RULES}</legend> 306 <dl> 307 <dt><label for="forum_rules_link">{L_FORUM_RULES_LINK}:</label><br /><span>{L_FORUM_RULES_LINK_EXPLAIN}</span></dt> 308 <dd><input class="text medium" type="text" id="forum_rules_link" name="forum_rules_link" value="{FORUM_RULES_LINK}" maxlength="255" /></dd> 309 </dl> 310 <!-- IF FORUM_RULES_PREVIEW --> 311 <dl> 312 <dt><label>{L_FORUM_RULES_PREVIEW}:</label></dt> 313 <dd>{FORUM_RULES_PREVIEW}</dd> 314 </dl> 315 <!-- ENDIF --> 316 <dl> 317 <dt><label for="forum_rules">{L_FORUM_RULES}:</label><br /><span>{L_FORUM_RULES_EXPLAIN}</span></dt> 318 <dd><textarea id="forum_rules" name="forum_rules" rows="4" cols="70">{FORUM_RULES_PLAIN}</textarea></dd> 319 <dd><label><input type="checkbox" class="radio" name="rules_parse_bbcode"<!-- IF S_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label> 320 <label><input type="checkbox" class="radio" name="rules_parse_smilies"<!-- IF S_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label> 321 <label><input type="checkbox" class="radio" name="rules_parse_urls"<!-- IF S_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd> 322 </dl> 323 </fieldset> 324 </div> 325 326 <fieldset class="submit-buttons"> 327 <legend>{L_SUBMIT}</legend> 328 <input class="button1" type="submit" id="submit" name="update" value="{L_SUBMIT}" /> 329 <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" /> 330 {S_FORM_TOKEN} 331 </fieldset> 332 </form> 333 334 <!-- ELSEIF S_DELETE_FORUM --> 335 336 <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> 337 338 <h1>{L_FORUM_DELETE}</h1> 339 340 <p>{L_FORUM_DELETE_EXPLAIN}</p> 341 342 <!-- IF S_ERROR --> 343 <div class="errorbox"> 344 <h3>{L_WARNING}</h3> 345 <p>{ERROR_MSG}</p> 346 </div> 347 <!-- ENDIF --> 348 349 <form id="acp_forum" method="post" action="{U_ACTION}"> 350 351 <fieldset> 352 <legend>{L_FORUM_DELETE}</legend> 353 <dl> 354 <dt><label>{L_FORUM_NAME}:</label></dt> 355 <dd><strong>{FORUM_NAME}</strong></dd> 356 </dl> 357 <!-- IF S_FORUM_POST --> 358 <dl> 359 <dt><label for="delete_action">{L_ACTION}:</label></dt> 360 <dd><label><input type="radio" class="radio" id="delete_action" name="action_posts" value="delete" checked="checked" /> {L_DELETE_ALL_POSTS}</label></dd> 361 <!-- IF S_MOVE_FORUM_OPTIONS --> 362 <dd><label><input type="radio" class="radio" name="action_posts" value="move" /> {L_MOVE_POSTS_TO}</label> <select name="posts_to_id">{S_MOVE_FORUM_OPTIONS}</select></dd> 363 <!-- ENDIF --> 364 </dl> 365 <!-- ENDIF --> 366 <!-- IF S_HAS_SUBFORUMS --> 367 <dl> 368 <dt><label for="sub_delete_action">{L_ACTION}:</label></dt> 369 <dd><label><input type="radio" class="radio" id="sub_delete_action" name="action_subforums" value="delete" checked="checked" /> {L_DELETE_SUBFORUMS}</label></dd> 370 <!-- IF S_FORUMS_LIST --> 371 <dd><label><input type="radio" class="radio" name="action_subforums" value="move" /> {L_MOVE_SUBFORUMS_TO}</label> <select name="subforums_to_id">{S_FORUMS_LIST}</select></dd> 372 <!-- ENDIF --> 373 </dl> 374 <!-- ENDIF --> 375 376 <p class="quick"> 377 <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> 378 </p> 379 {S_FORM_TOKEN} 380 </fieldset> 381 </form> 382 383 <!-- ELSEIF S_CONTINUE_SYNC --> 384 385 <script type="text/javascript"> 386 // <![CDATA[ 387 var close_waitscreen = 0; 388 // no scrollbars... 389 popup('{UA_PROGRESS_BAR}', 400, 240, '_sync'); 390 // ]]> 391 </script> 392 393 <h1>{L_FORUM_ADMIN}</h1> 394 395 <p>{L_FORUM_ADMIN_EXPLAIN}</p> 396 397 <p>{L_PROGRESS_EXPLAIN}</p> 398 399 <!-- ELSE --> 400 401 <script type="text/javascript"> 402 // <![CDATA[ 403 /** 404 * Popup search progress bar 405 */ 406 function popup_progress_bar() 407 { 408 var close_waitscreen = 0; 409 // no scrollbars... 410 popup('{UA_PROGRESS_BAR}', 400, 240, '_sync'); 411 } 412 // ]]> 413 </script> 414 415 <h1>{L_FORUM_ADMIN}</h1> 416 417 <p>{L_FORUM_ADMIN_EXPLAIN}</p> 418 419 <!-- IF ERROR_MSG --> 420 <div class="errorbox"> 421 <h3>{L_WARNING}</h3> 422 <p>{ERROR_MSG}</p> 423 </div> 424 <!-- ENDIF --> 425 426 <!-- IF S_RESYNCED --> 427 <script type="text/javascript"> 428 // <![CDATA[ 429 var close_waitscreen = 1; 430 // ]]> 431 </script> 432 433 <div class="successbox"> 434 <h3>{L_NOTIFY}</h3> 435 <p>{L_FORUM_RESYNCED}</p> 436 </div> 437 <!-- ENDIF --> 438 439 <p><strong>{NAVIGATION}<!-- IF S_NO_FORUMS --> [<a href="{U_EDIT}">{L_EDIT}</a> | <a href="{U_DELETE}">{L_DELETE}</a><!-- IF not S_LINK --> | <a href="{U_SYNC}">{L_RESYNC}</a><!-- ENDIF --->]<!-- ENDIF --></strong></p> 440 441 <!-- IF .forums --> 442 <table cellspacing="1"> 443 <col class="row1" /><col class="row1" /><col class="row2" /> 444 <tbody> 445 <!-- BEGIN forums --> 446 <tr> 447 <td style="width: 5%; text-align: center;">{forums.FOLDER_IMAGE}</td> 448 <td> 449 <!-- IF forums.FORUM_IMAGE --><div style="float: {S_CONTENT_FLOW_BEGIN}; margin-right: 5px;">{forums.FORUM_IMAGE}</div><!-- ENDIF --> 450 <strong><!-- IF forums.S_FORUM_LINK -->{forums.FORUM_NAME}<!-- ELSE --><a href="{forums.U_FORUM}">{forums.FORUM_NAME}</a><!-- ENDIF --></strong> 451 <!-- IF forums.FORUM_DESCRIPTION --><br /><span>{forums.FORUM_DESCRIPTION}</span><!-- ENDIF --> 452 <!-- IF forums.S_FORUM_POST --><br /><br /><span>{L_TOPICS}: <strong>{forums.FORUM_TOPICS}</strong> / {L_POSTS}: <strong>{forums.FORUM_POSTS}</strong></span><!-- ENDIF --> 453 </td> 454 <td style="vertical-align: top; width: 100px; text-align: right; white-space: nowrap;"> 455 <!-- IF forums.S_FIRST_ROW && not forums.S_LAST_ROW --> 456 {ICON_MOVE_UP_DISABLED} 457 <a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> 458 <!-- ELSEIF not forums.S_FIRST_ROW && not forums.S_LAST_ROW --> 459 <a href="{forums.U_MOVE_UP}">{ICON_MOVE_UP}</a> 460 <a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> 461 <!-- ELSEIF forums.S_LAST_ROW && not forums.S_FIRST_ROW --> 462 <a href="{forums.U_MOVE_UP}">{ICON_MOVE_UP}</a> 463 {ICON_MOVE_DOWN_DISABLED} 464 <!-- ELSE --> 465 {ICON_MOVE_UP_DISABLED} 466 {ICON_MOVE_DOWN_DISABLED} 467 <!-- ENDIF --> 468 <a href="{forums.U_EDIT}">{ICON_EDIT}</a> 469 <!-- IF not forums.S_FORUM_LINK --> 470 <a href="{forums.U_SYNC}" onclick="popup_progress_bar();">{ICON_SYNC}</a> 471 <!-- ELSE --> 472 {ICON_SYNC_DISABLED} 473 <!-- ENDIF --> 474 <a href="{forums.U_DELETE}">{ICON_DELETE}</a> 475 </td> 476 </tr> 477 <!-- END forums --> 478 </tbody> 479 </table> 480 <!-- ENDIF --> 481 482 <form id="fselect" method="post" action="{U_SEL_ACTION}"> 483 484 <fieldset class="quick"> 485 {L_SELECT_FORUM}: <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{FORUM_BOX}</select> 486 487 <input class="button2" type="submit" value="{L_GO}" /> 488 {S_FORM_TOKEN} 489 </fieldset> 490 </form> 491 492 <form id="forums" method="post" action="{U_ACTION}"> 493 494 <fieldset class="quick"> 495 <input type="hidden" name="action" value="add" /> 496 497 <input type="text" name="forum_name" value="" maxlength="255" /> 498 <input class="button2" name="addforum" type="submit" value="{L_CREATE_FORUM}" /> 499 {S_FORM_TOKEN} 500 </fieldset> 501 </form> 502 503 <!-- ENDIF --> 504 505 <!-- INCLUDE overall_footer.html -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Oct 2 15:03:47 2013 | Cross-referenced by PHPXref 0.7.1 |