| <! |
| |
| <a name="maincontent"></a> |
| |
| <! |
| |
| <script type="text/javascript"> |
| // <![CDATA[ |
| /** |
| * Handle displaying/hiding several options based on the forum type |
| */ |
| function display_options(value) |
| { |
| <! |
| if (value == {FORUM_POST}) |
| { |
| dE('type_actions', -1); |
| } |
| else |
| { |
| dE('type_actions', 1); |
| } |
| <! |
| |
| <! |
| if (value == {FORUM_LINK}) |
| { |
| dE('cat_to_link_actions', 1); |
| } |
| else |
| { |
| dE('cat_to_link_actions', -1); |
| } |
| <! |
| |
| if (value == {FORUM_POST}) |
| { |
| dE('forum_post_options', 1); |
| dE('forum_link_options', -1); |
| dE('forum_rules_options', 1); |
| dE('forum_cat_options', -1); |
| } |
| else if (value == {FORUM_LINK}) |
| { |
| dE('forum_post_options', -1); |
| dE('forum_link_options', 1); |
| dE('forum_rules_options', -1); |
| dE('forum_cat_options', -1); |
| } |
| else if (value == {FORUM_CAT}) |
| { |
| dE('forum_post_options', -1); |
| dE('forum_link_options', -1); |
| dE('forum_rules_options', 1); |
| dE('forum_cat_options', 1); |
| } |
| } |
| |
| /** |
| * Init the wanted display functionality if javascript is enabled. |
| * If javascript is not available, the user is still able to properly administrate. |
| */ |
| onload = function() |
| { |
| <! |
| <! |
| dE('type_actions', -1); |
| <! |
| <! |
| |
| <! |
| <! |
| dE('cat_to_link_actions', -1); |
| <! |
| <! |
| |
| <! |
| dE('forum_post_options', -1); |
| <! |
| |
| <! |
| dE('forum_cat_options', -1); |
| <! |
| |
| <! |
| dE('forum_link_options', -1); |
| <! |
| |
| <! |
| dE('forum_rules_options', -1); |
| <! |
| } |
| |
| // ]]> |
| </script> |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
| |
| <h1>{L_TITLE} <! |
| |
| <p>{L_FORUM_EDIT_EXPLAIN}</p> |
| |
| <! |
| <div class="errorbox"> |
| <h3>{L_WARNING}</h3> |
| <p>{ERROR_MSG}</p> |
| </div> |
| <! |
| |
| <form id="forumedit" method="post" action="{U_EDIT_ACTION}"> |
| |
| <fieldset> |
| <legend>{L_FORUM_SETTINGS}</legend> |
| <dl> |
| <dt><label for="forum_type">{L_FORUM_TYPE}:</label></dt> |
| <dd><select id="forum_type" name="forum_type" onchange="display_options(this.options[this.selectedIndex].value);">{S_FORUM_TYPE_OPTIONS}</select></dd> |
| </dl> |
| <! |
| <div id="type_actions"> |
| <dl> |
| <dt><label for="type_action">{L_DECIDE_MOVE_DELETE_CONTENT}:</label></dt> |
| <dd><label><input type="radio" class="radio" name="type_action" value="delete"<! |
| <! |
| </dl> |
| </div> |
| <! |
| <! |
| <div id="cat_to_link_actions"> |
| <dl> |
| <dt><label for="action_subforums">{L_DECIDE_MOVE_DELETE_SUBFORUMS}:</label></dt> |
| <! |
| <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> |
| <! |
| <dd><label><input type="radio" class="radio" id="action_subforums" name="action_subforums" value="delete" checked="checked" /> {L_DELETE_SUBFORUMS}</label></dd> |
| <! |
| </dl> |
| </div> |
| <! |
| <dl> |
| <dt><label for="parent">{L_FORUM_PARENT}:</label></dt> |
| <dd><select id="parent" name="forum_parent_id"><option value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="forum_name">{L_FORUM_NAME}:</label></dt> |
| <dd><input class="text medium" type="text" id="forum_name" name="forum_name" value="{FORUM_NAME}" maxlength="255" /></dd> |
| </dl> |
| <dl> |
| <dt><label for="forum_desc">{L_FORUM_DESC}:</label><br /><span>{L_FORUM_DESC_EXPLAIN}</span></dt> |
| <dd><textarea id="forum_desc" name="forum_desc" rows="5" cols="45">{FORUM_DESC}</textarea></dd> |
| <dd><label><input type="checkbox" class="radio" name="desc_parse_bbcode"<! |
| <label><input type="checkbox" class="radio" name="desc_parse_smilies"<! |
| <label><input type="checkbox" class="radio" name="desc_parse_urls"<! |
| </dl> |
| <dl> |
| <dt><label for="forum_image">{L_FORUM_IMAGE}:</label><br /><span>{L_FORUM_IMAGE_EXPLAIN}</span></dt> |
| <dd><input class="text medium" type="text" id="forum_image" name="forum_image" value="{FORUM_IMAGE}" maxlength="255" /></dd> |
| <! |
| <dd><img src="{FORUM_IMAGE_SRC}" alt="{L_FORUM_IMAGE}" /></dd> |
| <! |
| </dl> |
| <dl> |
| <dt><label for="forum_password">{L_FORUM_PASSWORD}:</label><br /><span>{L_FORUM_PASSWORD_EXPLAIN}</span></dt> |
| <dd><input type="password" id="forum_password" name="forum_password" value="<!-- IF S_FORUM_PASSWORD_SET -->      <!-- ENDIF -->" /></dd> |
| </dl> |
| <dl> |
| <dt><label for="forum_password_confirm">{L_FORUM_PASSWORD_CONFIRM}:</label><br /><span>{L_FORUM_PASSWORD_CONFIRM_EXPLAIN}</span></dt> |
| <dd><input type="password" id="forum_password_confirm" name="forum_password_confirm" value="<!-- IF S_FORUM_PASSWORD_SET -->      <!-- ENDIF -->" /></dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="forum_password_unset">{L_FORUM_PASSWORD_UNSET}:</label><br /><span>{L_FORUM_PASSWORD_UNSET_EXPLAIN}</span></dt> |
| <dd><input id="forum_password_unset" name="forum_password_unset" type="checkbox" /></dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="forum_style">{L_FORUM_STYLE}:</label></dt> |
| <dd><select id="forum_style" name="forum_style"><option value="0">{L_DEFAULT_STYLE}</option>{S_STYLES_OPTIONS}</select></dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="forum_perm_from">{L_COPY_PERMISSIONS}:</label><br /><span>{L_COPY_PERMISSIONS_EXPLAIN}</span></dt> |
| <dd><select id="forum_perm_from" name="forum_perm_from"><option value="0">{L_NO_PERMISSIONS}</option>{S_FORUM_OPTIONS}</select></dd> |
| </dl> |
| <! |
| </fieldset> |
| |
| <div id="forum_cat_options"> |
| <fieldset> |
| <legend>{L_GENERAL_FORUM_SETTINGS}</legend> |
| <dl> |
| <dt><label for="display_active">{L_DISPLAY_ACTIVE_TOPICS}:</label><br /><span>{L_DISPLAY_ACTIVE_TOPICS_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="display_active" value="1"<! |
| <label><input type="radio" class="radio" name="display_active" value="0"<! |
| </dl> |
| </fieldset> |
| </div> |
| |
| <div id="forum_post_options"> |
| <fieldset> |
| <legend>{L_GENERAL_FORUM_SETTINGS}</legend> |
| <dl> |
| <dt><label for="forum_status">{L_FORUM_STATUS}:</label></dt> |
| <dd><select id="forum_status" name="forum_status">{S_STATUS_OPTIONS}</select></dd> |
| </dl> |
| <dl> |
| <dt><label for="display_subforum_list">{L_LIST_SUBFORUMS}:</label><br /><span>{L_LIST_SUBFORUMS_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="display_subforum_list" value="1"<! |
| <label><input type="radio" class="radio" name="display_subforum_list" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="display_on_index">{L_LIST_INDEX}:</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="display_on_index" value="1"<! |
| <label><input type="radio" class="radio" name="display_on_index" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="enable_post_review">{L_ENABLE_POST_REVIEW}:</label><br /><span>{L_ENABLE_POST_REVIEW_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="enable_post_review" value="1"<! |
| <label><input type="radio" class="radio" name="enable_post_review" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="enable_indexing">{L_ENABLE_INDEXING}:</label><br /><span>{L_ENABLE_INDEXING_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="enable_indexing" value="1"<! |
| <label><input type="radio" class="radio" name="enable_indexing" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="enable_icons">{L_ENABLE_TOPIC_ICONS}:</label></dt> |
| <dd><label><input type="radio" class="radio" name="enable_icons" value="1"<! |
| <label><input type="radio" class="radio" name="enable_icons" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="display_recent">{L_ENABLE_RECENT}:</label><br /><span>{L_ENABLE_RECENT_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="display_recent" value="1"<! |
| <label><input type="radio" class="radio" name="display_recent" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="topics_per_page">{L_FORUM_TOPICS_PAGE}:</label><br /><span>{L_FORUM_TOPICS_PAGE_EXPLAIN}</span></dt> |
| <dd><input type="text" id="topics_per_page" name="topics_per_page" value="{TOPICS_PER_PAGE}" size="4" maxlength="4" /></dd> |
| </dl> |
| </fieldset> |
| |
| <fieldset> |
| <legend>{L_FORUM_PRUNE_SETTINGS}</legend> |
| <dl> |
| <dt><label for="enable_prune">{L_FORUM_AUTO_PRUNE}:</label><br /><span>{L_FORUM_AUTO_PRUNE_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="enable_prune" value="1"<! |
| <label><input type="radio" class="radio" name="enable_prune" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="prune_freq">{L_AUTO_PRUNE_FREQ}:</label><br /><span>{L_AUTO_PRUNE_FREQ_EXPLAIN}</span></dt> |
| <dd><input type="text" id="prune_freq" name="prune_freq" value="{PRUNE_FREQ}" maxlength="4" size="4" /> {L_DAYS}</dd> |
| </dl> |
| <dl> |
| <dt><label for="prune_days">{L_AUTO_PRUNE_DAYS}:</label><br /><span>{L_AUTO_PRUNE_DAYS_EXPLAIN}</span></dt> |
| <dd><input type="text" id="prune_days" name="prune_days" value="{PRUNE_DAYS}" maxlength="4" size="4" /> {L_DAYS}</dd> |
| </dl> |
| <dl> |
| <dt><label for="prune_viewed">{L_AUTO_PRUNE_VIEWED}:</label><br /><span>{L_AUTO_PRUNE_VIEWED_EXPLAIN}</span></dt> |
| <dd><input type="text" id="prune_viewed" name="prune_viewed" value="{PRUNE_VIEWED}" maxlength="4" size="4" /> {L_DAYS}</dd> |
| </dl> |
| <dl> |
| <dt><label for="prune_old_polls">{L_PRUNE_OLD_POLLS}:</label><br /><span>{L_PRUNE_OLD_POLLS_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="prune_old_polls" value="1"<! |
| <label><input type="radio" class="radio" name="prune_old_polls" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="prune_announce">{L_PRUNE_ANNOUNCEMENTS}:</label></dt> |
| <dd><label><input type="radio" class="radio" name="prune_announce" value="1"<! |
| <label><input type="radio" class="radio" name="prune_announce" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="prune_sticky">{L_PRUNE_STICKY}:</label></dt> |
| <dd><label><input type="radio" class="radio" name="prune_sticky" value="1"<! |
| <label><input type="radio" class="radio" name="prune_sticky" value="0"<! |
| </dl> |
| </fieldset> |
| </div> |
| |
| <div id="forum_link_options"> |
| <fieldset> |
| <legend>{L_GENERAL_FORUM_SETTINGS}</legend> |
| <dl> |
| <dt><label for="link_display_on_index">{L_LIST_INDEX}:</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="link_display_on_index" value="1"<! |
| <label><input type="radio" class="radio" name="link_display_on_index" value="0"<! |
| </dl> |
| <dl> |
| <dt><label for="forum_link">{L_FORUM_LINK}:</label><br /><span>{L_FORUM_LINK_EXPLAIN}</span></dt> |
| <dd><input class="text medium" type="text" id="forum_link" name="forum_link" value="{FORUM_DATA_LINK}" maxlength="255" /></dd> |
| </dl> |
| <dl> |
| <dt><label for="forum_link_track">{L_FORUM_LINK_TRACK}:</label><br /><span>{L_FORUM_LINK_TRACK_EXPLAIN}</span></dt> |
| <dd><label><input type="radio" class="radio" name="forum_link_track" value="1"<! |
| <label><input type="radio" class="radio" name="forum_link_track" value="0"<! |
| </dl> |
| </fieldset> |
| </div> |
| |
| <div id="forum_rules_options"> |
| <fieldset> |
| <legend>{L_FORUM_RULES}</legend> |
| <dl> |
| <dt><label for="forum_rules_link">{L_FORUM_RULES_LINK}:</label><br /><span>{L_FORUM_RULES_LINK_EXPLAIN}</span></dt> |
| <dd><input class="text medium" type="text" id="forum_rules_link" name="forum_rules_link" value="{FORUM_RULES_LINK}" maxlength="255" /></dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label>{L_FORUM_RULES_PREVIEW}:</label></dt> |
| <dd>{FORUM_RULES_PREVIEW}</dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="forum_rules">{L_FORUM_RULES}:</label><br /><span>{L_FORUM_RULES_EXPLAIN}</span></dt> |
| <dd><textarea id="forum_rules" name="forum_rules" rows="4" cols="70">{FORUM_RULES_PLAIN}</textarea></dd> |
| <dd><label><input type="checkbox" class="radio" name="rules_parse_bbcode"<! |
| <label><input type="checkbox" class="radio" name="rules_parse_smilies"<! |
| <label><input type="checkbox" class="radio" name="rules_parse_urls"<! |
| </dl> |
| </fieldset> |
| </div> |
| |
| <fieldset class="submit-buttons"> |
| <legend>{L_SUBMIT}</legend> |
| <input class="button1" type="submit" id="submit" name="update" value="{L_SUBMIT}" /> |
| <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" /> |
| {S_FORM_TOKEN} |
| </fieldset> |
| </form> |
| |
| <! |
| |
| <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a> |
| |
| <h1>{L_FORUM_DELETE}</h1> |
| |
| <p>{L_FORUM_DELETE_EXPLAIN}</p> |
| |
| <! |
| <div class="errorbox"> |
| <h3>{L_WARNING}</h3> |
| <p>{ERROR_MSG}</p> |
| </div> |
| <! |
| |
| <form id="acp_forum" method="post" action="{U_ACTION}"> |
| |
| <fieldset> |
| <legend>{L_FORUM_DELETE}</legend> |
| <dl> |
| <dt><label>{L_FORUM_NAME}:</label></dt> |
| <dd><strong>{FORUM_NAME}</strong></dd> |
| </dl> |
| <! |
| <dl> |
| <dt><label for="delete_action">{L_ACTION}:</label></dt> |
| <dd><label><input type="radio" class="radio" id="delete_action" name="action_posts" value="delete" checked="checked" /> {L_DELETE_ALL_POSTS}</label></dd> |
| <! |
| <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> |
| <! |
| </dl> |
| <! |
| <! |
| <dl> |
| <dt><label for="sub_delete_action">{L_ACTION}:</label></dt> |
| <dd><label><input type="radio" class="radio" id="sub_delete_action" name="action_subforums" value="delete" checked="checked" /> {L_DELETE_SUBFORUMS}</label></dd> |
| <! |
| <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> |
| <! |
| </dl> |
| <! |
| |
| <p class="quick"> |
| <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> |
| </p> |
| {S_FORM_TOKEN} |
| </fieldset> |
| </form> |
| |
| <! |
| |
| <script type="text/javascript"> |
| // <![CDATA[ |
| var close_waitscreen = 0; |
| // no scrollbars... |
| popup('{UA_PROGRESS_BAR}', 400, 240, '_sync'); |
| // ]]> |
| </script> |
| |
| <h1>{L_FORUM_ADMIN}</h1> |
| |
| <p>{L_FORUM_ADMIN_EXPLAIN}</p> |
| |
| <p>{L_PROGRESS_EXPLAIN}</p> |
| |
| <! |
| |
| <script type="text/javascript"> |
| // <![CDATA[ |
| /** |
| * Popup search progress bar |
| */ |
| function popup_progress_bar() |
| { |
| var close_waitscreen = 0; |
| // no scrollbars... |
| popup('{UA_PROGRESS_BAR}', 400, 240, '_sync'); |
| } |
| // ]]> |
| </script> |
| |
| <h1>{L_FORUM_ADMIN}</h1> |
| |
| <p>{L_FORUM_ADMIN_EXPLAIN}</p> |
| |
| <! |
| <div class="errorbox"> |
| <h3>{L_WARNING}</h3> |
| <p>{ERROR_MSG}</p> |
| </div> |
| <! |
| |
| <! |
| <script type="text/javascript"> |
| // <![CDATA[ |
| var close_waitscreen = 1; |
| // ]]> |
| </script> |
| |
| <div class="successbox"> |
| <h3>{L_NOTIFY}</h3> |
| <p>{L_FORUM_RESYNCED}</p> |
| </div> |
| <! |
| |
| <p><strong>{NAVIGATION}<! |
| |
| <! |
| <table cellspacing="1"> |
| <col class="row1" /><col class="row1" /><col class="row2" /> |
| <tbody> |
| <! |
| <tr> |
| <td style="width: 5%; text-align: center;">{forums.FOLDER_IMAGE}</td> |
| <td> |
| <! |
| <strong><! |
| <! |
| <! |
| </td> |
| <td style="vertical-align: top; width: 100px; text-align: right; white-space: nowrap;"> |
| <! |
| {ICON_MOVE_UP_DISABLED} |
| <a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> |
| <! |
| <a href="{forums.U_MOVE_UP}">{ICON_MOVE_UP}</a> |
| <a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> |
| <! |
| <a href="{forums.U_MOVE_UP}">{ICON_MOVE_UP}</a> |
| {ICON_MOVE_DOWN_DISABLED} |
| <! |
| {ICON_MOVE_UP_DISABLED} |
| {ICON_MOVE_DOWN_DISABLED} |
| <! |
| <a href="{forums.U_EDIT}">{ICON_EDIT}</a> |
| <! |
| <a href="{forums.U_SYNC}" onclick="popup_progress_bar();">{ICON_SYNC}</a> |
| <! |
| {ICON_SYNC_DISABLED} |
| <! |
| <a href="{forums.U_DELETE}">{ICON_DELETE}</a> |
| </td> |
| </tr> |
| <! |
| </tbody> |
| </table> |
| <! |
| |
| <form id="fselect" method="post" action="{U_SEL_ACTION}"> |
| |
| <fieldset class="quick"> |
| {L_SELECT_FORUM}: <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{FORUM_BOX}</select> |
| |
| <input class="button2" type="submit" value="{L_GO}" /> |
| {S_FORM_TOKEN} |
| </fieldset> |
| </form> |
| |
| <form id="forums" method="post" action="{U_ACTION}"> |
| |
| <fieldset class="quick"> |
| <input type="hidden" name="action" value="add" /> |
| |
| <input type="text" name="forum_name" value="" maxlength="255" /> |
| <input class="button2" name="addforum" type="submit" value="{L_CREATE_FORUM}" /> |
| {S_FORM_TOKEN} |
| </fieldset> |
| </form> |
| |
| <! |
| |
| <! |