PageRenderTime 58ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/forum/cache/ctpl_admin_acp_forums.html.php

https://bitbucket.org/itoxable/chiron-gaming
PHP | 482 lines | 416 code | 46 blank | 20 comment | 114 complexity | 5c77f24bbcfb2a31e79394d518b8f783 MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0

Large files files are truncated, but you can click here to view the full file

  1. <?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('overall_header.html'); ?>
  2. <a name="maincontent"></a>
  3. <?php if ($this->_rootref['S_EDIT_FORUM']) { ?>
  4. <script type="text/javascript">
  5. // <![CDATA[
  6. /**
  7. * Handle displaying/hiding several options based on the forum type
  8. */
  9. function display_options(value)
  10. {
  11. <?php if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_FORUM_ORIG_POST']) { ?>
  12. if (value == <?php echo (isset($this->_rootref['FORUM_POST'])) ? $this->_rootref['FORUM_POST'] : ''; ?>)
  13. {
  14. dE('type_actions', -1);
  15. }
  16. else
  17. {
  18. dE('type_actions', 1);
  19. }
  20. <?php } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_FORUM_ORIG_CAT'] && $this->_rootref['S_HAS_SUBFORUMS']) { ?>
  21. if (value == <?php echo (isset($this->_rootref['FORUM_LINK'])) ? $this->_rootref['FORUM_LINK'] : ''; ?>)
  22. {
  23. dE('cat_to_link_actions', 1);
  24. }
  25. else
  26. {
  27. dE('cat_to_link_actions', -1);
  28. }
  29. <?php } ?>
  30. if (value == <?php echo (isset($this->_rootref['FORUM_POST'])) ? $this->_rootref['FORUM_POST'] : ''; ?>)
  31. {
  32. dE('forum_post_options', 1);
  33. dE('forum_link_options', -1);
  34. dE('forum_rules_options', 1);
  35. dE('forum_cat_options', -1);
  36. }
  37. else if (value == <?php echo (isset($this->_rootref['FORUM_LINK'])) ? $this->_rootref['FORUM_LINK'] : ''; ?>)
  38. {
  39. dE('forum_post_options', -1);
  40. dE('forum_link_options', 1);
  41. dE('forum_rules_options', -1);
  42. dE('forum_cat_options', -1);
  43. }
  44. else if (value == <?php echo (isset($this->_rootref['FORUM_CAT'])) ? $this->_rootref['FORUM_CAT'] : ''; ?>)
  45. {
  46. dE('forum_post_options', -1);
  47. dE('forum_link_options', -1);
  48. dE('forum_rules_options', 1);
  49. dE('forum_cat_options', 1);
  50. }
  51. }
  52. /**
  53. * Init the wanted display functionality if javascript is enabled.
  54. * If javascript is not available, the user is still able to properly administer.
  55. */
  56. onload = function()
  57. {
  58. <?php if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_FORUM_ORIG_POST']) { if ($this->_rootref['S_FORUM_POST']) { ?>
  59. dE('type_actions', -1);
  60. <?php } } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_FORUM_ORIG_CAT'] && $this->_rootref['S_HAS_SUBFORUMS']) { if ($this->_rootref['S_FORUM_CAT']) { ?>
  61. dE('cat_to_link_actions', -1);
  62. <?php } } if (! $this->_rootref['S_FORUM_POST']) { ?>
  63. dE('forum_post_options', -1);
  64. <?php } if (! $this->_rootref['S_FORUM_CAT']) { ?>
  65. dE('forum_cat_options', -1);
  66. <?php } if (! $this->_rootref['S_FORUM_LINK']) { ?>
  67. dE('forum_link_options', -1);
  68. <?php } if ($this->_rootref['S_FORUM_LINK']) { ?>
  69. dE('forum_rules_options', -1);
  70. <?php } ?>
  71. }
  72. // ]]>
  73. </script>
  74. <a href="<?php echo (isset($this->_rootref['U_BACK'])) ? $this->_rootref['U_BACK'] : ''; ?>" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>;">&laquo; <?php echo ((isset($this->_rootref['L_BACK'])) ? $this->_rootref['L_BACK'] : ((isset($user->lang['BACK'])) ? $user->lang['BACK'] : '{ BACK }')); ?></a>
  75. <h1><?php echo ((isset($this->_rootref['L_TITLE'])) ? $this->_rootref['L_TITLE'] : ((isset($user->lang['TITLE'])) ? $user->lang['TITLE'] : '{ TITLE }')); ?> <?php if ($this->_rootref['FORUM_NAME']) { ?>:: <?php echo (isset($this->_rootref['FORUM_NAME'])) ? $this->_rootref['FORUM_NAME'] : ''; } ?></h1>
  76. <p><?php echo ((isset($this->_rootref['L_FORUM_EDIT_EXPLAIN'])) ? $this->_rootref['L_FORUM_EDIT_EXPLAIN'] : ((isset($user->lang['FORUM_EDIT_EXPLAIN'])) ? $user->lang['FORUM_EDIT_EXPLAIN'] : '{ FORUM_EDIT_EXPLAIN }')); ?></p>
  77. <?php if ($this->_rootref['S_ERROR']) { ?>
  78. <div class="errorbox">
  79. <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
  80. <p><?php echo (isset($this->_rootref['ERROR_MSG'])) ? $this->_rootref['ERROR_MSG'] : ''; ?></p>
  81. </div>
  82. <?php } ?>
  83. <form id="forumedit" method="post" action="<?php echo (isset($this->_rootref['U_EDIT_ACTION'])) ? $this->_rootref['U_EDIT_ACTION'] : ''; ?>">
  84. <fieldset>
  85. <legend><?php echo ((isset($this->_rootref['L_FORUM_SETTINGS'])) ? $this->_rootref['L_FORUM_SETTINGS'] : ((isset($user->lang['FORUM_SETTINGS'])) ? $user->lang['FORUM_SETTINGS'] : '{ FORUM_SETTINGS }')); ?></legend>
  86. <dl>
  87. <dt><label for="forum_type"><?php echo ((isset($this->_rootref['L_FORUM_TYPE'])) ? $this->_rootref['L_FORUM_TYPE'] : ((isset($user->lang['FORUM_TYPE'])) ? $user->lang['FORUM_TYPE'] : '{ FORUM_TYPE }')); ?>:</label></dt>
  88. <dd><select id="forum_type" name="forum_type" onchange="display_options(this.options[this.selectedIndex].value);"><?php echo (isset($this->_rootref['S_FORUM_TYPE_OPTIONS'])) ? $this->_rootref['S_FORUM_TYPE_OPTIONS'] : ''; ?></select></dd>
  89. </dl>
  90. <?php if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_FORUM_ORIG_POST']) { ?>
  91. <div id="type_actions">
  92. <dl>
  93. <dt><label for="type_action"><?php echo ((isset($this->_rootref['L_DECIDE_MOVE_DELETE_CONTENT'])) ? $this->_rootref['L_DECIDE_MOVE_DELETE_CONTENT'] : ((isset($user->lang['DECIDE_MOVE_DELETE_CONTENT'])) ? $user->lang['DECIDE_MOVE_DELETE_CONTENT'] : '{ DECIDE_MOVE_DELETE_CONTENT }')); ?>:</label></dt>
  94. <dd><label><input type="radio" class="radio" name="type_action" value="delete"<?php if (! $this->_rootref['S_MOVE_FORUM_OPTIONS']) { ?> checked="checked" id="type_action"<?php } ?> /> <?php echo ((isset($this->_rootref['L_DELETE_ALL_POSTS'])) ? $this->_rootref['L_DELETE_ALL_POSTS'] : ((isset($user->lang['DELETE_ALL_POSTS'])) ? $user->lang['DELETE_ALL_POSTS'] : '{ DELETE_ALL_POSTS }')); ?></label></dd>
  95. <?php if ($this->_rootref['S_MOVE_FORUM_OPTIONS']) { ?><dd><label><input type="radio" class="radio" name="type_action" id="type_action" value="move" checked="checked" /> <?php echo ((isset($this->_rootref['L_MOVE_POSTS_TO'])) ? $this->_rootref['L_MOVE_POSTS_TO'] : ((isset($user->lang['MOVE_POSTS_TO'])) ? $user->lang['MOVE_POSTS_TO'] : '{ MOVE_POSTS_TO }')); ?></label> <select name="to_forum_id"><?php echo (isset($this->_rootref['S_MOVE_FORUM_OPTIONS'])) ? $this->_rootref['S_MOVE_FORUM_OPTIONS'] : ''; ?></select></dd><?php } ?>
  96. </dl>
  97. </div>
  98. <?php } if (! $this->_rootref['S_ADD_ACTION'] && $this->_rootref['S_FORUM_ORIG_CAT'] && $this->_rootref['S_HAS_SUBFORUMS']) { ?>
  99. <div id="cat_to_link_actions">
  100. <dl>
  101. <dt><label for="action_subforums"><?php echo ((isset($this->_rootref['L_DECIDE_MOVE_DELETE_SUBFORUMS'])) ? $this->_rootref['L_DECIDE_MOVE_DELETE_SUBFORUMS'] : ((isset($user->lang['DECIDE_MOVE_DELETE_SUBFORUMS'])) ? $user->lang['DECIDE_MOVE_DELETE_SUBFORUMS'] : '{ DECIDE_MOVE_DELETE_SUBFORUMS }')); ?>:</label></dt>
  102. <?php if ($this->_rootref['S_FORUMS_LIST']) { ?>
  103. <dd><label><input type="radio" class="radio" id="action_subforums" name="action_subforums" value="move" checked="checked" /> <?php echo ((isset($this->_rootref['L_MOVE_SUBFORUMS_TO'])) ? $this->_rootref['L_MOVE_SUBFORUMS_TO'] : ((isset($user->lang['MOVE_SUBFORUMS_TO'])) ? $user->lang['MOVE_SUBFORUMS_TO'] : '{ MOVE_SUBFORUMS_TO }')); ?></label> <select name="subforums_to_id"><?php echo (isset($this->_rootref['S_FORUMS_LIST'])) ? $this->_rootref['S_FORUMS_LIST'] : ''; ?></select></dd>
  104. <?php } else { ?>
  105. <dd><label><input type="radio" class="radio" id="action_subforums" name="action_subforums" value="delete" checked="checked" /> <?php echo ((isset($this->_rootref['L_DELETE_SUBFORUMS'])) ? $this->_rootref['L_DELETE_SUBFORUMS'] : ((isset($user->lang['DELETE_SUBFORUMS'])) ? $user->lang['DELETE_SUBFORUMS'] : '{ DELETE_SUBFORUMS }')); ?></label></dd>
  106. <?php } ?>
  107. </dl>
  108. </div>
  109. <?php } ?>
  110. <dl>
  111. <dt><label for="parent"><?php echo ((isset($this->_rootref['L_FORUM_PARENT'])) ? $this->_rootref['L_FORUM_PARENT'] : ((isset($user->lang['FORUM_PARENT'])) ? $user->lang['FORUM_PARENT'] : '{ FORUM_PARENT }')); ?>:</label></dt>
  112. <dd><select id="parent" name="forum_parent_id"><option value="0"<?php if (! $this->_rootref['S_FORUM_PARENT_ID']) { ?> selected="selected"<?php } ?>><?php echo ((isset($this->_rootref['L_NO_PARENT'])) ? $this->_rootref['L_NO_PARENT'] : ((isset($user->lang['NO_PARENT'])) ? $user->lang['NO_PARENT'] : '{ NO_PARENT }')); ?></option><?php echo (isset($this->_rootref['S_PARENT_OPTIONS'])) ? $this->_rootref['S_PARENT_OPTIONS'] : ''; ?></select></dd>
  113. </dl>
  114. <?php if ($this->_rootref['S_CAN_COPY_PERMISSIONS']) { ?>
  115. <dl>
  116. <dt><label for="forum_perm_from"><?php echo ((isset($this->_rootref['L_COPY_PERMISSIONS'])) ? $this->_rootref['L_COPY_PERMISSIONS'] : ((isset($user->lang['COPY_PERMISSIONS'])) ? $user->lang['COPY_PERMISSIONS'] : '{ COPY_PERMISSIONS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_COPY_PERMISSIONS_EXPLAIN'])) ? $this->_rootref['L_COPY_PERMISSIONS_EXPLAIN'] : ((isset($user->lang['COPY_PERMISSIONS_EXPLAIN'])) ? $user->lang['COPY_PERMISSIONS_EXPLAIN'] : '{ COPY_PERMISSIONS_EXPLAIN }')); ?></span></dt>
  117. <dd><select id="forum_perm_from" name="forum_perm_from"><option value="0"><?php echo ((isset($this->_rootref['L_NO_PERMISSIONS'])) ? $this->_rootref['L_NO_PERMISSIONS'] : ((isset($user->lang['NO_PERMISSIONS'])) ? $user->lang['NO_PERMISSIONS'] : '{ NO_PERMISSIONS }')); ?></option><?php echo (isset($this->_rootref['S_FORUM_OPTIONS'])) ? $this->_rootref['S_FORUM_OPTIONS'] : ''; ?></select></dd>
  118. </dl>
  119. <?php } ?>
  120. <dl>
  121. <dt><label for="forum_name"><?php echo ((isset($this->_rootref['L_FORUM_NAME'])) ? $this->_rootref['L_FORUM_NAME'] : ((isset($user->lang['FORUM_NAME'])) ? $user->lang['FORUM_NAME'] : '{ FORUM_NAME }')); ?>:</label></dt>
  122. <dd><input class="text medium" type="text" id="forum_name" name="forum_name" value="<?php echo (isset($this->_rootref['FORUM_NAME'])) ? $this->_rootref['FORUM_NAME'] : ''; ?>" maxlength="255" /></dd>
  123. </dl>
  124. <dl>
  125. <dt><label for="forum_desc"><?php echo ((isset($this->_rootref['L_FORUM_DESC'])) ? $this->_rootref['L_FORUM_DESC'] : ((isset($user->lang['FORUM_DESC'])) ? $user->lang['FORUM_DESC'] : '{ FORUM_DESC }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_DESC_EXPLAIN'])) ? $this->_rootref['L_FORUM_DESC_EXPLAIN'] : ((isset($user->lang['FORUM_DESC_EXPLAIN'])) ? $user->lang['FORUM_DESC_EXPLAIN'] : '{ FORUM_DESC_EXPLAIN }')); ?></span></dt>
  126. <dd><textarea id="forum_desc" name="forum_desc" rows="5" cols="45"><?php echo (isset($this->_rootref['FORUM_DESC'])) ? $this->_rootref['FORUM_DESC'] : ''; ?></textarea></dd>
  127. <dd><label><input type="checkbox" class="radio" name="desc_parse_bbcode"<?php if ($this->_rootref['S_DESC_BBCODE_CHECKED']) { ?> checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_PARSE_BBCODE'])) ? $this->_rootref['L_PARSE_BBCODE'] : ((isset($user->lang['PARSE_BBCODE'])) ? $user->lang['PARSE_BBCODE'] : '{ PARSE_BBCODE }')); ?></label>
  128. <label><input type="checkbox" class="radio" name="desc_parse_smilies"<?php if ($this->_rootref['S_DESC_SMILIES_CHECKED']) { ?> checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_PARSE_SMILIES'])) ? $this->_rootref['L_PARSE_SMILIES'] : ((isset($user->lang['PARSE_SMILIES'])) ? $user->lang['PARSE_SMILIES'] : '{ PARSE_SMILIES }')); ?></label>
  129. <label><input type="checkbox" class="radio" name="desc_parse_urls"<?php if ($this->_rootref['S_DESC_URLS_CHECKED']) { ?> checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_PARSE_URLS'])) ? $this->_rootref['L_PARSE_URLS'] : ((isset($user->lang['PARSE_URLS'])) ? $user->lang['PARSE_URLS'] : '{ PARSE_URLS }')); ?></label></dd>
  130. </dl>
  131. <dl>
  132. <dt><label for="forum_image"><?php echo ((isset($this->_rootref['L_FORUM_IMAGE'])) ? $this->_rootref['L_FORUM_IMAGE'] : ((isset($user->lang['FORUM_IMAGE'])) ? $user->lang['FORUM_IMAGE'] : '{ FORUM_IMAGE }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_IMAGE_EXPLAIN'])) ? $this->_rootref['L_FORUM_IMAGE_EXPLAIN'] : ((isset($user->lang['FORUM_IMAGE_EXPLAIN'])) ? $user->lang['FORUM_IMAGE_EXPLAIN'] : '{ FORUM_IMAGE_EXPLAIN }')); ?></span></dt>
  133. <dd><input class="text medium" type="text" id="forum_image" name="forum_image" value="<?php echo (isset($this->_rootref['FORUM_IMAGE'])) ? $this->_rootref['FORUM_IMAGE'] : ''; ?>" maxlength="255" /></dd>
  134. <?php if ($this->_rootref['FORUM_IMAGE_SRC']) { ?>
  135. <dd><img src="<?php echo (isset($this->_rootref['FORUM_IMAGE_SRC'])) ? $this->_rootref['FORUM_IMAGE_SRC'] : ''; ?>" alt="<?php echo ((isset($this->_rootref['L_FORUM_IMAGE'])) ? $this->_rootref['L_FORUM_IMAGE'] : ((isset($user->lang['FORUM_IMAGE'])) ? $user->lang['FORUM_IMAGE'] : '{ FORUM_IMAGE }')); ?>" /></dd>
  136. <?php } ?>
  137. </dl>
  138. <dl>
  139. <dt><label for="forum_password"><?php echo ((isset($this->_rootref['L_FORUM_PASSWORD'])) ? $this->_rootref['L_FORUM_PASSWORD'] : ((isset($user->lang['FORUM_PASSWORD'])) ? $user->lang['FORUM_PASSWORD'] : '{ FORUM_PASSWORD }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_PASSWORD_EXPLAIN'])) ? $this->_rootref['L_FORUM_PASSWORD_EXPLAIN'] : ((isset($user->lang['FORUM_PASSWORD_EXPLAIN'])) ? $user->lang['FORUM_PASSWORD_EXPLAIN'] : '{ FORUM_PASSWORD_EXPLAIN }')); ?></span></dt>
  140. <dd><input type="password" id="forum_password" name="forum_password" value="<?php if ($this->_rootref['S_FORUM_PASSWORD_SET']) { ?>&#x20;&#x20;&#x20;&#x20;&#x20;&#x20;<?php } ?>" autocomplete="off" /></dd>
  141. </dl>
  142. <dl>
  143. <dt><label for="forum_password_confirm"><?php echo ((isset($this->_rootref['L_FORUM_PASSWORD_CONFIRM'])) ? $this->_rootref['L_FORUM_PASSWORD_CONFIRM'] : ((isset($user->lang['FORUM_PASSWORD_CONFIRM'])) ? $user->lang['FORUM_PASSWORD_CONFIRM'] : '{ FORUM_PASSWORD_CONFIRM }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_PASSWORD_CONFIRM_EXPLAIN'])) ? $this->_rootref['L_FORUM_PASSWORD_CONFIRM_EXPLAIN'] : ((isset($user->lang['FORUM_PASSWORD_CONFIRM_EXPLAIN'])) ? $user->lang['FORUM_PASSWORD_CONFIRM_EXPLAIN'] : '{ FORUM_PASSWORD_CONFIRM_EXPLAIN }')); ?></span></dt>
  144. <dd><input type="password" id="forum_password_confirm" name="forum_password_confirm" value="<?php if ($this->_rootref['S_FORUM_PASSWORD_SET']) { ?>&#x20;&#x20;&#x20;&#x20;&#x20;&#x20;<?php } ?>" autocomplete="off" /></dd>
  145. </dl>
  146. <?php if ($this->_rootref['S_FORUM_PASSWORD_SET']) { ?>
  147. <dl>
  148. <dt><label for="forum_password_unset"><?php echo ((isset($this->_rootref['L_FORUM_PASSWORD_UNSET'])) ? $this->_rootref['L_FORUM_PASSWORD_UNSET'] : ((isset($user->lang['FORUM_PASSWORD_UNSET'])) ? $user->lang['FORUM_PASSWORD_UNSET'] : '{ FORUM_PASSWORD_UNSET }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_PASSWORD_UNSET_EXPLAIN'])) ? $this->_rootref['L_FORUM_PASSWORD_UNSET_EXPLAIN'] : ((isset($user->lang['FORUM_PASSWORD_UNSET_EXPLAIN'])) ? $user->lang['FORUM_PASSWORD_UNSET_EXPLAIN'] : '{ FORUM_PASSWORD_UNSET_EXPLAIN }')); ?></span></dt>
  149. <dd><input id="forum_password_unset" name="forum_password_unset" type="checkbox" /></dd>
  150. </dl>
  151. <?php } ?>
  152. <dl>
  153. <dt><label for="forum_style"><?php echo ((isset($this->_rootref['L_FORUM_STYLE'])) ? $this->_rootref['L_FORUM_STYLE'] : ((isset($user->lang['FORUM_STYLE'])) ? $user->lang['FORUM_STYLE'] : '{ FORUM_STYLE }')); ?>:</label></dt>
  154. <dd><select id="forum_style" name="forum_style"><option value="0"><?php echo ((isset($this->_rootref['L_DEFAULT_STYLE'])) ? $this->_rootref['L_DEFAULT_STYLE'] : ((isset($user->lang['DEFAULT_STYLE'])) ? $user->lang['DEFAULT_STYLE'] : '{ DEFAULT_STYLE }')); ?></option><?php echo (isset($this->_rootref['S_STYLES_OPTIONS'])) ? $this->_rootref['S_STYLES_OPTIONS'] : ''; ?></select></dd>
  155. </dl>
  156. </fieldset>
  157. <div id="forum_cat_options">
  158. <fieldset>
  159. <legend><?php echo ((isset($this->_rootref['L_GENERAL_FORUM_SETTINGS'])) ? $this->_rootref['L_GENERAL_FORUM_SETTINGS'] : ((isset($user->lang['GENERAL_FORUM_SETTINGS'])) ? $user->lang['GENERAL_FORUM_SETTINGS'] : '{ GENERAL_FORUM_SETTINGS }')); ?></legend>
  160. <dl>
  161. <dt><label for="display_active"><?php echo ((isset($this->_rootref['L_DISPLAY_ACTIVE_TOPICS'])) ? $this->_rootref['L_DISPLAY_ACTIVE_TOPICS'] : ((isset($user->lang['DISPLAY_ACTIVE_TOPICS'])) ? $user->lang['DISPLAY_ACTIVE_TOPICS'] : '{ DISPLAY_ACTIVE_TOPICS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_DISPLAY_ACTIVE_TOPICS_EXPLAIN'])) ? $this->_rootref['L_DISPLAY_ACTIVE_TOPICS_EXPLAIN'] : ((isset($user->lang['DISPLAY_ACTIVE_TOPICS_EXPLAIN'])) ? $user->lang['DISPLAY_ACTIVE_TOPICS_EXPLAIN'] : '{ DISPLAY_ACTIVE_TOPICS_EXPLAIN }')); ?></span></dt>
  162. <dd><label><input type="radio" class="radio" name="display_active" value="1"<?php if ($this->_rootref['S_ENABLE_ACTIVE_TOPICS']) { ?> id="display_active" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  163. <label><input type="radio" class="radio" name="display_active" value="0"<?php if (! $this->_rootref['S_ENABLE_ACTIVE_TOPICS']) { ?> id="display_active" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  164. </dl>
  165. </fieldset>
  166. </div>
  167. <div id="forum_post_options">
  168. <fieldset>
  169. <legend><?php echo ((isset($this->_rootref['L_GENERAL_FORUM_SETTINGS'])) ? $this->_rootref['L_GENERAL_FORUM_SETTINGS'] : ((isset($user->lang['GENERAL_FORUM_SETTINGS'])) ? $user->lang['GENERAL_FORUM_SETTINGS'] : '{ GENERAL_FORUM_SETTINGS }')); ?></legend>
  170. <dl>
  171. <dt><label for="forum_status"><?php echo ((isset($this->_rootref['L_FORUM_STATUS'])) ? $this->_rootref['L_FORUM_STATUS'] : ((isset($user->lang['FORUM_STATUS'])) ? $user->lang['FORUM_STATUS'] : '{ FORUM_STATUS }')); ?>:</label></dt>
  172. <dd><select id="forum_status" name="forum_status"><?php echo (isset($this->_rootref['S_STATUS_OPTIONS'])) ? $this->_rootref['S_STATUS_OPTIONS'] : ''; ?></select></dd>
  173. </dl>
  174. <dl>
  175. <dt><label for="display_subforum_list"><?php echo ((isset($this->_rootref['L_LIST_SUBFORUMS'])) ? $this->_rootref['L_LIST_SUBFORUMS'] : ((isset($user->lang['LIST_SUBFORUMS'])) ? $user->lang['LIST_SUBFORUMS'] : '{ LIST_SUBFORUMS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_LIST_SUBFORUMS_EXPLAIN'])) ? $this->_rootref['L_LIST_SUBFORUMS_EXPLAIN'] : ((isset($user->lang['LIST_SUBFORUMS_EXPLAIN'])) ? $user->lang['LIST_SUBFORUMS_EXPLAIN'] : '{ LIST_SUBFORUMS_EXPLAIN }')); ?></span></dt>
  176. <dd><label><input type="radio" class="radio" name="display_subforum_list" value="1"<?php if ($this->_rootref['S_DISPLAY_SUBFORUM_LIST']) { ?> id="display_subforum_list" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  177. <label><input type="radio" class="radio" name="display_subforum_list" value="0"<?php if (! $this->_rootref['S_DISPLAY_SUBFORUM_LIST']) { ?> id="display_subforum_list" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  178. </dl>
  179. <dl>
  180. <dt><label for="display_on_index"><?php echo ((isset($this->_rootref['L_LIST_INDEX'])) ? $this->_rootref['L_LIST_INDEX'] : ((isset($user->lang['LIST_INDEX'])) ? $user->lang['LIST_INDEX'] : '{ LIST_INDEX }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_LIST_INDEX_EXPLAIN'])) ? $this->_rootref['L_LIST_INDEX_EXPLAIN'] : ((isset($user->lang['LIST_INDEX_EXPLAIN'])) ? $user->lang['LIST_INDEX_EXPLAIN'] : '{ LIST_INDEX_EXPLAIN }')); ?></span></dt>
  181. <dd><label><input type="radio" class="radio" name="display_on_index" value="1"<?php if ($this->_rootref['S_DISPLAY_ON_INDEX']) { ?> id="display_on_index" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  182. <label><input type="radio" class="radio" name="display_on_index" value="0"<?php if (! $this->_rootref['S_DISPLAY_ON_INDEX']) { ?> id="display_on_index" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  183. </dl>
  184. <dl>
  185. <dt><label for="enable_post_review"><?php echo ((isset($this->_rootref['L_ENABLE_POST_REVIEW'])) ? $this->_rootref['L_ENABLE_POST_REVIEW'] : ((isset($user->lang['ENABLE_POST_REVIEW'])) ? $user->lang['ENABLE_POST_REVIEW'] : '{ ENABLE_POST_REVIEW }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ENABLE_POST_REVIEW_EXPLAIN'])) ? $this->_rootref['L_ENABLE_POST_REVIEW_EXPLAIN'] : ((isset($user->lang['ENABLE_POST_REVIEW_EXPLAIN'])) ? $user->lang['ENABLE_POST_REVIEW_EXPLAIN'] : '{ ENABLE_POST_REVIEW_EXPLAIN }')); ?></span></dt>
  186. <dd><label><input type="radio" class="radio" name="enable_post_review" value="1"<?php if ($this->_rootref['S_ENABLE_POST_REVIEW']) { ?> id="enable_post_review" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  187. <label><input type="radio" class="radio" name="enable_post_review" value="0"<?php if (! $this->_rootref['S_ENABLE_POST_REVIEW']) { ?> id="enable_post_review" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  188. </dl>
  189. <dl>
  190. <dt><label for="enable_quick_reply"><?php echo ((isset($this->_rootref['L_ENABLE_QUICK_REPLY'])) ? $this->_rootref['L_ENABLE_QUICK_REPLY'] : ((isset($user->lang['ENABLE_QUICK_REPLY'])) ? $user->lang['ENABLE_QUICK_REPLY'] : '{ ENABLE_QUICK_REPLY }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ENABLE_QUICK_REPLY_EXPLAIN'])) ? $this->_rootref['L_ENABLE_QUICK_REPLY_EXPLAIN'] : ((isset($user->lang['ENABLE_QUICK_REPLY_EXPLAIN'])) ? $user->lang['ENABLE_QUICK_REPLY_EXPLAIN'] : '{ ENABLE_QUICK_REPLY_EXPLAIN }')); ?></span></dt>
  191. <dd><label><input type="radio" class="radio" name="enable_quick_reply" value="1"<?php if ($this->_rootref['S_ENABLE_QUICK_REPLY']) { ?> id="enable_quick_reply" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  192. <label><input type="radio" class="radio" name="enable_quick_reply" value="0"<?php if (! $this->_rootref['S_ENABLE_QUICK_REPLY']) { ?> id="enable_quick_reply" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  193. </dl>
  194. <dl>
  195. <dt><label for="enable_indexing"><?php echo ((isset($this->_rootref['L_ENABLE_INDEXING'])) ? $this->_rootref['L_ENABLE_INDEXING'] : ((isset($user->lang['ENABLE_INDEXING'])) ? $user->lang['ENABLE_INDEXING'] : '{ ENABLE_INDEXING }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ENABLE_INDEXING_EXPLAIN'])) ? $this->_rootref['L_ENABLE_INDEXING_EXPLAIN'] : ((isset($user->lang['ENABLE_INDEXING_EXPLAIN'])) ? $user->lang['ENABLE_INDEXING_EXPLAIN'] : '{ ENABLE_INDEXING_EXPLAIN }')); ?></span></dt>
  196. <dd><label><input type="radio" class="radio" name="enable_indexing" value="1"<?php if ($this->_rootref['S_ENABLE_INDEXING']) { ?> id="enable_indexing" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  197. <label><input type="radio" class="radio" name="enable_indexing" value="0"<?php if (! $this->_rootref['S_ENABLE_INDEXING']) { ?> id="enable_indexing" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  198. </dl>
  199. <dl>
  200. <dt><label for="enable_icons"><?php echo ((isset($this->_rootref['L_ENABLE_TOPIC_ICONS'])) ? $this->_rootref['L_ENABLE_TOPIC_ICONS'] : ((isset($user->lang['ENABLE_TOPIC_ICONS'])) ? $user->lang['ENABLE_TOPIC_ICONS'] : '{ ENABLE_TOPIC_ICONS }')); ?>:</label></dt>
  201. <dd><label><input type="radio" class="radio" name="enable_icons" value="1"<?php if ($this->_rootref['S_TOPIC_ICONS']) { ?> id="enable_icons" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  202. <label><input type="radio" class="radio" name="enable_icons" value="0"<?php if (! $this->_rootref['S_TOPIC_ICONS']) { ?> id="enable_icons" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  203. </dl>
  204. <dl>
  205. <dt><label for="display_recent"><?php echo ((isset($this->_rootref['L_ENABLE_RECENT'])) ? $this->_rootref['L_ENABLE_RECENT'] : ((isset($user->lang['ENABLE_RECENT'])) ? $user->lang['ENABLE_RECENT'] : '{ ENABLE_RECENT }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_ENABLE_RECENT_EXPLAIN'])) ? $this->_rootref['L_ENABLE_RECENT_EXPLAIN'] : ((isset($user->lang['ENABLE_RECENT_EXPLAIN'])) ? $user->lang['ENABLE_RECENT_EXPLAIN'] : '{ ENABLE_RECENT_EXPLAIN }')); ?></span></dt>
  206. <dd><label><input type="radio" class="radio" name="display_recent" value="1"<?php if ($this->_rootref['S_DISPLAY_ACTIVE_TOPICS']) { ?> id="display_recent" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  207. <label><input type="radio" class="radio" name="display_recent" value="0"<?php if (! $this->_rootref['S_DISPLAY_ACTIVE_TOPICS']) { ?> id="display_recent" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  208. </dl>
  209. <dl>
  210. <dt><label for="topics_per_page"><?php echo ((isset($this->_rootref['L_FORUM_TOPICS_PAGE'])) ? $this->_rootref['L_FORUM_TOPICS_PAGE'] : ((isset($user->lang['FORUM_TOPICS_PAGE'])) ? $user->lang['FORUM_TOPICS_PAGE'] : '{ FORUM_TOPICS_PAGE }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_TOPICS_PAGE_EXPLAIN'])) ? $this->_rootref['L_FORUM_TOPICS_PAGE_EXPLAIN'] : ((isset($user->lang['FORUM_TOPICS_PAGE_EXPLAIN'])) ? $user->lang['FORUM_TOPICS_PAGE_EXPLAIN'] : '{ FORUM_TOPICS_PAGE_EXPLAIN }')); ?></span></dt>
  211. <dd><input type="text" id="topics_per_page" name="topics_per_page" value="<?php echo (isset($this->_rootref['TOPICS_PER_PAGE'])) ? $this->_rootref['TOPICS_PER_PAGE'] : ''; ?>" size="4" maxlength="4" /></dd>
  212. </dl>
  213. </fieldset>
  214. <fieldset>
  215. <legend><?php echo ((isset($this->_rootref['L_FORUM_PRUNE_SETTINGS'])) ? $this->_rootref['L_FORUM_PRUNE_SETTINGS'] : ((isset($user->lang['FORUM_PRUNE_SETTINGS'])) ? $user->lang['FORUM_PRUNE_SETTINGS'] : '{ FORUM_PRUNE_SETTINGS }')); ?></legend>
  216. <dl>
  217. <dt><label for="enable_prune"><?php echo ((isset($this->_rootref['L_FORUM_AUTO_PRUNE'])) ? $this->_rootref['L_FORUM_AUTO_PRUNE'] : ((isset($user->lang['FORUM_AUTO_PRUNE'])) ? $user->lang['FORUM_AUTO_PRUNE'] : '{ FORUM_AUTO_PRUNE }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_AUTO_PRUNE_EXPLAIN'])) ? $this->_rootref['L_FORUM_AUTO_PRUNE_EXPLAIN'] : ((isset($user->lang['FORUM_AUTO_PRUNE_EXPLAIN'])) ? $user->lang['FORUM_AUTO_PRUNE_EXPLAIN'] : '{ FORUM_AUTO_PRUNE_EXPLAIN }')); ?></span></dt>
  218. <dd><label><input type="radio" class="radio" name="enable_prune" value="1"<?php if ($this->_rootref['S_PRUNE_ENABLE']) { ?> id="enable_prune" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  219. <label><input type="radio" class="radio" name="enable_prune" value="0"<?php if (! $this->_rootref['S_PRUNE_ENABLE']) { ?> id="enable_prune" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  220. </dl>
  221. <dl>
  222. <dt><label for="prune_freq"><?php echo ((isset($this->_rootref['L_AUTO_PRUNE_FREQ'])) ? $this->_rootref['L_AUTO_PRUNE_FREQ'] : ((isset($user->lang['AUTO_PRUNE_FREQ'])) ? $user->lang['AUTO_PRUNE_FREQ'] : '{ AUTO_PRUNE_FREQ }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_AUTO_PRUNE_FREQ_EXPLAIN'])) ? $this->_rootref['L_AUTO_PRUNE_FREQ_EXPLAIN'] : ((isset($user->lang['AUTO_PRUNE_FREQ_EXPLAIN'])) ? $user->lang['AUTO_PRUNE_FREQ_EXPLAIN'] : '{ AUTO_PRUNE_FREQ_EXPLAIN }')); ?></span></dt>
  223. <dd><input type="text" id="prune_freq" name="prune_freq" value="<?php echo (isset($this->_rootref['PRUNE_FREQ'])) ? $this->_rootref['PRUNE_FREQ'] : ''; ?>" maxlength="4" size="4" /> <?php echo ((isset($this->_rootref['L_DAYS'])) ? $this->_rootref['L_DAYS'] : ((isset($user->lang['DAYS'])) ? $user->lang['DAYS'] : '{ DAYS }')); ?></dd>
  224. </dl>
  225. <dl>
  226. <dt><label for="prune_days"><?php echo ((isset($this->_rootref['L_AUTO_PRUNE_DAYS'])) ? $this->_rootref['L_AUTO_PRUNE_DAYS'] : ((isset($user->lang['AUTO_PRUNE_DAYS'])) ? $user->lang['AUTO_PRUNE_DAYS'] : '{ AUTO_PRUNE_DAYS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_AUTO_PRUNE_DAYS_EXPLAIN'])) ? $this->_rootref['L_AUTO_PRUNE_DAYS_EXPLAIN'] : ((isset($user->lang['AUTO_PRUNE_DAYS_EXPLAIN'])) ? $user->lang['AUTO_PRUNE_DAYS_EXPLAIN'] : '{ AUTO_PRUNE_DAYS_EXPLAIN }')); ?></span></dt>
  227. <dd><input type="text" id="prune_days" name="prune_days" value="<?php echo (isset($this->_rootref['PRUNE_DAYS'])) ? $this->_rootref['PRUNE_DAYS'] : ''; ?>" maxlength="4" size="4" /> <?php echo ((isset($this->_rootref['L_DAYS'])) ? $this->_rootref['L_DAYS'] : ((isset($user->lang['DAYS'])) ? $user->lang['DAYS'] : '{ DAYS }')); ?></dd>
  228. </dl>
  229. <dl>
  230. <dt><label for="prune_viewed"><?php echo ((isset($this->_rootref['L_AUTO_PRUNE_VIEWED'])) ? $this->_rootref['L_AUTO_PRUNE_VIEWED'] : ((isset($user->lang['AUTO_PRUNE_VIEWED'])) ? $user->lang['AUTO_PRUNE_VIEWED'] : '{ AUTO_PRUNE_VIEWED }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_AUTO_PRUNE_VIEWED_EXPLAIN'])) ? $this->_rootref['L_AUTO_PRUNE_VIEWED_EXPLAIN'] : ((isset($user->lang['AUTO_PRUNE_VIEWED_EXPLAIN'])) ? $user->lang['AUTO_PRUNE_VIEWED_EXPLAIN'] : '{ AUTO_PRUNE_VIEWED_EXPLAIN }')); ?></span></dt>
  231. <dd><input type="text" id="prune_viewed" name="prune_viewed" value="<?php echo (isset($this->_rootref['PRUNE_VIEWED'])) ? $this->_rootref['PRUNE_VIEWED'] : ''; ?>" maxlength="4" size="4" /> <?php echo ((isset($this->_rootref['L_DAYS'])) ? $this->_rootref['L_DAYS'] : ((isset($user->lang['DAYS'])) ? $user->lang['DAYS'] : '{ DAYS }')); ?></dd>
  232. </dl>
  233. <dl>
  234. <dt><label for="prune_old_polls"><?php echo ((isset($this->_rootref['L_PRUNE_OLD_POLLS'])) ? $this->_rootref['L_PRUNE_OLD_POLLS'] : ((isset($user->lang['PRUNE_OLD_POLLS'])) ? $user->lang['PRUNE_OLD_POLLS'] : '{ PRUNE_OLD_POLLS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_PRUNE_OLD_POLLS_EXPLAIN'])) ? $this->_rootref['L_PRUNE_OLD_POLLS_EXPLAIN'] : ((isset($user->lang['PRUNE_OLD_POLLS_EXPLAIN'])) ? $user->lang['PRUNE_OLD_POLLS_EXPLAIN'] : '{ PRUNE_OLD_POLLS_EXPLAIN }')); ?></span></dt>
  235. <dd><label><input type="radio" class="radio" name="prune_old_polls" value="1"<?php if ($this->_rootref['S_PRUNE_OLD_POLLS']) { ?> id="prune_old_polls" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  236. <label><input type="radio" class="radio" name="prune_old_polls" value="0"<?php if (! $this->_rootref['S_PRUNE_OLD_POLLS']) { ?> id="prune_old_polls" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  237. </dl>
  238. <dl>
  239. <dt><label for="prune_announce"><?php echo ((isset($this->_rootref['L_PRUNE_ANNOUNCEMENTS'])) ? $this->_rootref['L_PRUNE_ANNOUNCEMENTS'] : ((isset($user->lang['PRUNE_ANNOUNCEMENTS'])) ? $user->lang['PRUNE_ANNOUNCEMENTS'] : '{ PRUNE_ANNOUNCEMENTS }')); ?>:</label></dt>
  240. <dd><label><input type="radio" class="radio" name="prune_announce" value="1"<?php if ($this->_rootref['S_PRUNE_ANNOUNCE']) { ?> id="prune_announce" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  241. <label><input type="radio" class="radio" name="prune_announce" value="0"<?php if (! $this->_rootref['S_PRUNE_ANNOUNCE']) { ?> id="prune_announce" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  242. </dl>
  243. <dl>
  244. <dt><label for="prune_sticky"><?php echo ((isset($this->_rootref['L_PRUNE_STICKY'])) ? $this->_rootref['L_PRUNE_STICKY'] : ((isset($user->lang['PRUNE_STICKY'])) ? $user->lang['PRUNE_STICKY'] : '{ PRUNE_STICKY }')); ?>:</label></dt>
  245. <dd><label><input type="radio" class="radio" name="prune_sticky" value="1"<?php if ($this->_rootref['S_PRUNE_STICKY']) { ?> id="prune_sticky" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  246. <label><input type="radio" class="radio" name="prune_sticky" value="0"<?php if (! $this->_rootref['S_PRUNE_STICKY']) { ?> id="prune_sticky" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  247. </dl>
  248. </fieldset>
  249. </div>
  250. <div id="forum_link_options">
  251. <fieldset>
  252. <legend><?php echo ((isset($this->_rootref['L_GENERAL_FORUM_SETTINGS'])) ? $this->_rootref['L_GENERAL_FORUM_SETTINGS'] : ((isset($user->lang['GENERAL_FORUM_SETTINGS'])) ? $user->lang['GENERAL_FORUM_SETTINGS'] : '{ GENERAL_FORUM_SETTINGS }')); ?></legend>
  253. <dl>
  254. <dt><label for="link_display_on_index"><?php echo ((isset($this->_rootref['L_LIST_INDEX'])) ? $this->_rootref['L_LIST_INDEX'] : ((isset($user->lang['LIST_INDEX'])) ? $user->lang['LIST_INDEX'] : '{ LIST_INDEX }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_LIST_INDEX_EXPLAIN'])) ? $this->_rootref['L_LIST_INDEX_EXPLAIN'] : ((isset($user->lang['LIST_INDEX_EXPLAIN'])) ? $user->lang['LIST_INDEX_EXPLAIN'] : '{ LIST_INDEX_EXPLAIN }')); ?></span></dt>
  255. <dd><label><input type="radio" class="radio" name="link_display_on_index" value="1"<?php if ($this->_rootref['S_DISPLAY_ON_INDEX']) { ?> id="link_display_on_index" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  256. <label><input type="radio" class="radio" name="link_display_on_index" value="0"<?php if (! $this->_rootref['S_DISPLAY_ON_INDEX']) { ?> id="link_display_on_index" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  257. </dl>
  258. <dl>
  259. <dt><label for="forum_link"><?php echo ((isset($this->_rootref['L_FORUM_LINK'])) ? $this->_rootref['L_FORUM_LINK'] : ((isset($user->lang['FORUM_LINK'])) ? $user->lang['FORUM_LINK'] : '{ FORUM_LINK }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_LINK_EXPLAIN'])) ? $this->_rootref['L_FORUM_LINK_EXPLAIN'] : ((isset($user->lang['FORUM_LINK_EXPLAIN'])) ? $user->lang['FORUM_LINK_EXPLAIN'] : '{ FORUM_LINK_EXPLAIN }')); ?></span></dt>
  260. <dd><input class="text medium" type="text" id="forum_link" name="forum_link" value="<?php echo (isset($this->_rootref['FORUM_DATA_LINK'])) ? $this->_rootref['FORUM_DATA_LINK'] : ''; ?>" maxlength="255" /></dd>
  261. </dl>
  262. <dl>
  263. <dt><label for="forum_link_track"><?php echo ((isset($this->_rootref['L_FORUM_LINK_TRACK'])) ? $this->_rootref['L_FORUM_LINK_TRACK'] : ((isset($user->lang['FORUM_LINK_TRACK'])) ? $user->lang['FORUM_LINK_TRACK'] : '{ FORUM_LINK_TRACK }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_LINK_TRACK_EXPLAIN'])) ? $this->_rootref['L_FORUM_LINK_TRACK_EXPLAIN'] : ((isset($user->lang['FORUM_LINK_TRACK_EXPLAIN'])) ? $user->lang['FORUM_LINK_TRACK_EXPLAIN'] : '{ FORUM_LINK_TRACK_EXPLAIN }')); ?></span></dt>
  264. <dd><label><input type="radio" class="radio" name="forum_link_track" value="1"<?php if ($this->_rootref['S_FORUM_LINK_TRACK']) { ?> id="forum_link_track" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_YES'])) ? $this->_rootref['L_YES'] : ((isset($user->lang['YES'])) ? $user->lang['YES'] : '{ YES }')); ?></label>
  265. <label><input type="radio" class="radio" name="forum_link_track" value="0"<?php if (! $this->_rootref['S_FORUM_LINK_TRACK']) { ?> id="forum_link_track" checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_NO'])) ? $this->_rootref['L_NO'] : ((isset($user->lang['NO'])) ? $user->lang['NO'] : '{ NO }')); ?></label></dd>
  266. </dl>
  267. </fieldset>
  268. </div>
  269. <div id="forum_rules_options">
  270. <fieldset>
  271. <legend><?php echo ((isset($this->_rootref['L_FORUM_RULES'])) ? $this->_rootref['L_FORUM_RULES'] : ((isset($user->lang['FORUM_RULES'])) ? $user->lang['FORUM_RULES'] : '{ FORUM_RULES }')); ?></legend>
  272. <dl>
  273. <dt><label for="forum_rules_link"><?php echo ((isset($this->_rootref['L_FORUM_RULES_LINK'])) ? $this->_rootref['L_FORUM_RULES_LINK'] : ((isset($user->lang['FORUM_RULES_LINK'])) ? $user->lang['FORUM_RULES_LINK'] : '{ FORUM_RULES_LINK }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_RULES_LINK_EXPLAIN'])) ? $this->_rootref['L_FORUM_RULES_LINK_EXPLAIN'] : ((isset($user->lang['FORUM_RULES_LINK_EXPLAIN'])) ? $user->lang['FORUM_RULES_LINK_EXPLAIN'] : '{ FORUM_RULES_LINK_EXPLAIN }')); ?></span></dt>
  274. <dd><input class="text medium" type="text" id="forum_rules_link" name="forum_rules_link" value="<?php echo (isset($this->_rootref['FORUM_RULES_LINK'])) ? $this->_rootref['FORUM_RULES_LINK'] : ''; ?>" maxlength="255" /></dd>
  275. </dl>
  276. <?php if ($this->_rootref['FORUM_RULES_PREVIEW']) { ?>
  277. <dl>
  278. <dt><label><?php echo ((isset($this->_rootref['L_FORUM_RULES_PREVIEW'])) ? $this->_rootref['L_FORUM_RULES_PREVIEW'] : ((isset($user->lang['FORUM_RULES_PREVIEW'])) ? $user->lang['FORUM_RULES_PREVIEW'] : '{ FORUM_RULES_PREVIEW }')); ?>:</label></dt>
  279. <dd><?php echo (isset($this->_rootref['FORUM_RULES_PREVIEW'])) ? $this->_rootref['FORUM_RULES_PREVIEW'] : ''; ?></dd>
  280. </dl>
  281. <?php } ?>
  282. <dl>
  283. <dt><label for="forum_rules"><?php echo ((isset($this->_rootref['L_FORUM_RULES'])) ? $this->_rootref['L_FORUM_RULES'] : ((isset($user->lang['FORUM_RULES'])) ? $user->lang['FORUM_RULES'] : '{ FORUM_RULES }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_FORUM_RULES_EXPLAIN'])) ? $this->_rootref['L_FORUM_RULES_EXPLAIN'] : ((isset($user->lang['FORUM_RULES_EXPLAIN'])) ? $user->lang['FORUM_RULES_EXPLAIN'] : '{ FORUM_RULES_EXPLAIN }')); ?></span></dt>
  284. <dd><textarea id="forum_rules" name="forum_rules" rows="4" cols="70"><?php echo (isset($this->_rootref['FORUM_RULES_PLAIN'])) ? $this->_rootref['FORUM_RULES_PLAIN'] : ''; ?></textarea></dd>
  285. <dd><label><input type="checkbox" class="radio" name="rules_parse_bbcode"<?php if ($this->_rootref['S_BBCODE_CHECKED']) { ?> checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_PARSE_BBCODE'])) ? $this->_rootref['L_PARSE_BBCODE'] : ((isset($user->lang['PARSE_BBCODE'])) ? $user->lang['PARSE_BBCODE'] : '{ PARSE_BBCODE }')); ?></label>
  286. <label><input type="checkbox" class="radio" name="rules_parse_smilies"<?php if ($this->_rootref['S_SMILIES_CHECKED']) { ?> checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_PARSE_SMILIES'])) ? $this->_rootref['L_PARSE_SMILIES'] : ((isset($user->lang['PARSE_SMILIES'])) ? $user->lang['PARSE_SMILIES'] : '{ PARSE_SMILIES }')); ?></label>
  287. <label><input type="checkbox" class="radio" name="rules_parse_urls"<?php if ($this->_rootref['S_URLS_CHECKED']) { ?> checked="checked"<?php } ?> /> <?php echo ((isset($this->_rootref['L_PARSE_URLS'])) ? $this->_rootref['L_PARSE_URLS'] : ((isset($user->lang['PARSE_URLS'])) ? $user->lang['PARSE_URLS'] : '{ PARSE_URLS }')); ?></label></dd>
  288. </dl>
  289. </fieldset>
  290. </div>
  291. <fieldset class="submit-buttons">
  292. <legend><?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?></legend>
  293. <input class="button1" type="submit" id="submit" name="update" value="<?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?>" />&nbsp;
  294. <input class="button2" type="reset" id="reset" name="reset" value="<?php echo ((isset($this->_rootref['L_RESET'])) ? $this->_rootref['L_RESET'] : ((isset($user->lang['RESET'])) ? $user->lang['RESET'] : '{ RESET }')); ?>" />
  295. <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
  296. </fieldset>
  297. </form>
  298. <?php } else if ($this->_rootref['S_DELETE_FORUM']) { ?>
  299. <a href="<?php echo (isset($this->_rootref['U_BACK'])) ? $this->_rootref['U_BACK'] : ''; ?>" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>;">&laquo; <?php echo ((isset($this->_rootref['L_BACK'])) ? $this->_rootref['L_BACK'] : ((isset($user->lang['BACK'])) ? $user->lang['BACK'] : '{ BACK }')); ?></a>
  300. <h1><?php echo ((isset($this->_rootref['L_FORUM_DELETE'])) ? $this->_rootref['L_FORUM_DELETE'] : ((isset($user->lang['FORUM_DELETE'])) ? $user->lang['FORUM_DELETE'] : '{ FORUM_DELETE }')); ?></h1>
  301. <p><?php echo ((isset($this->_rootref['L_FORUM_DELETE_EXPLAIN'])) ? $this->_rootref['L_FORUM_DELETE_EXPLAIN'] : ((isset($user->lang['FORUM_DELETE_EXPLAIN'])) ? $user->lang['FORUM_DELETE_EXPLAIN'] : '{ FORUM_DELETE_EXPLAIN }')); ?></p>
  302. <?php if ($this->_rootref['S_ERROR']) { ?>
  303. <div class="errorbox">
  304. <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
  305. <p><?php echo (isset($this->_rootref['ERROR_MSG'])) ? $this->_rootref['ERROR_MSG'] : ''; ?></p>
  306. </div>
  307. <?php } ?>
  308. <form id="acp_forum" method="post" action="<?php echo (isset($this->_rootref['U_ACTION'])) ? $this->_rootref['U_ACTION'] : ''; ?>">
  309. <fieldset>
  310. <legend><?php echo ((isset($this->_rootref['L_FORUM_DELETE'])) ? $this->_rootref['L_FORUM_DELETE'] : ((isset($user->lang['FORUM_DELETE'])) ? $user->lang['FORUM_DELETE'] : '{ FORUM_DELETE }')); ?></legend>
  311. <dl>
  312. <dt><label><?php echo ((isset($this->_rootref['L_FORUM_NAME'])) ? $this->_rootref['L_FORUM_NAME'] : ((isset($user->lang['FORUM_NAME'])) ? $user->lang['FORUM_NAME'] : '{ FORUM_NAME }')); ?>:</label></dt>
  313. <dd><strong><?php echo (isset($this->_rootref['FORUM_NAME'])) ? $this->_rootref['FORUM_NAME'] : ''; ?></strong></dd>
  314. </dl>
  315. <?php if ($this->_rootref['S_FORUM_POST']) { ?>
  316. <dl>
  317. <dt><label for="delete_action"><?php echo ((isset($this->_rootref['L_ACTION'])) ? $this->_rootref['L_ACTION'] : ((isset($user->lang['ACTION'])) ? $user->lang['ACTION'] : '{ ACTION }')); ?>:</label></dt>
  318. <dd><label><input type="radio" class="radio" id="delete_action" name="action_posts" value="delete" checked="checked" /> <?php echo ((isset($this->_rootref['L_DELETE_ALL_POSTS'])) ? $this->_rootref['L_DELETE_ALL_POSTS'] : ((isset($user->lang['DELETE_ALL_POSTS'])) ? $user->lang['DELETE_ALL_POSTS'] : '{ DELETE_ALL_POSTS }')); ?></label></dd>
  319. <?php if ($this->_rootref['S_MOVE_FORUM_OPTIONS']) { ?>
  320. <dd><label><input type="radio" class="radio" name="action_posts" value="move" /> <?php echo ((isset($this->_rootref['L_MOVE_POSTS_TO'])) ? $this->_rootref['L_MOVE_POSTS_TO'] : ((isset($user->lang['MOVE_POSTS_TO'])) ? $user->lang['MOVE_POSTS_TO'] : '{ MOVE_POSTS_TO }')); ?></label> <select name="posts_to_id"><?php echo (isset($this->_rootref['S_MOVE_FORUM_OPTIONS'])) ? $this->_rootref['S_MOVE_FORUM_OPTIONS'] : ''; ?></select></dd>
  321. <?php } ?>
  322. </dl>
  323. <?php } if ($this->_rootref['S_HAS_SUBFORUMS']) { ?>
  324. <dl>
  325. <dt><label for="sub_delete_action"><?php echo ((isset($this->_rootref['L_ACTION'])) ? $this->_rootref['L_ACTION'] : ((isset($user->lang['ACTION'])) ? $user->lang['ACTION'] : '{ ACTION }')); ?>:</label></dt>
  326. <dd><label><input type="radio" class="radio" id="sub_delete_action" name="action_subforums" value="delete" checked="checked" /> <?php echo ((isset($this->_rootref['L_DELETE_SUBFORUMS'])) ? $this->_rootref['L_DELETE_SUBFORUMS'] : ((isset($user->lang['DELETE_SUBFORUMS'])) ? $user->lang['DELETE_SUBFORUMS'] : '{ DELETE_SUBFORUMS }')); ?></label></dd>
  327. <?php if ($this->_rootref['S_FORUMS_LIST']) { ?>
  328. <dd><label><input type="radio" class="radio" name="action_subforums" value="move" /> <?php echo ((isset($this->_rootref['L_MOVE_SUBFORUMS_TO'])) ? $this->_rootref['L_MOVE_SUBFORUMS_TO'] : ((isset($user->lang['MOVE_SUBFORUMS_TO'])) ? $user->lang['MOVE_SUBFORUMS_TO'] : '{ MOVE_SUBFORUMS_TO }')); ?></label> <select name="subforums_to_id"><?php echo (isset($this->_rootref['S_FORUMS_LIST'])) ? $this->_rootref['S_FORUMS_LIST'] : ''; ?></select></dd>
  329. <?php } ?>
  330. </dl>
  331. <?php } ?>
  332. <p class="quick">
  333. <input class="button1" type="submit" name="update" value="<?php echo ((isset($this->_rootref['L_SUBMIT'])) ? $this->_rootref['L_SUBMIT'] : ((isset($user->lang['SUBMIT'])) ? $user->lang['SUBMIT'] : '{ SUBMIT }')); ?>" />
  334. </p>
  335. <?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
  336. </fieldset>
  337. </form>
  338. <?php } else if ($this->_rootref['S_CONTINUE_SYNC']) { ?>
  339. <script type="text/javascript">
  340. // <![CDATA[
  341. var close_waitscreen = 0;
  342. // no scrollbars...
  343. popup('<?php echo (isset($this->_rootref['UA_PROGRESS_BAR'])) ? $this->_rootref['UA_PROGRESS_BAR'] : ''; ?>', 400, 240, '_sync');
  344. // ]]>
  345. </script>
  346. <h1><?php echo ((isset($this->_rootref['L_FORUM_ADMIN'])) ? $this->_rootref['L_FORUM_ADMIN'] : ((isset($user->lang['FORUM_ADMIN'])) ? $user->lang['FORUM_ADMIN'] : '{ FORUM_ADMIN }')); ?></h1>
  347. <p><?php echo ((isset($this->_rootref['L_FORUM_ADMIN_EXPLAIN'])) ? $this->_rootref['L_FORUM_ADMIN_EXPLAIN'] : ((isset($user->lang['FORUM_ADMIN_EXPLAIN'])) ? $user->lang['FORUM_ADMIN_EXPLAIN'] : '{ FORUM_ADMIN_EXPLAIN }')); ?></p>
  348. <p><?php echo ((isset($this->_rootref['L_PROGRESS_EXPLAIN'])) ? $this->_rootref['L_PROGRESS_EXPLAIN'] : ((isset($user->lang['PROGRESS_EXPLAIN'])) ? $user->lang['PROGRESS_EXPLAIN'] : '{ PROGRESS_EXPLAIN }')); ?></p>
  349. <?php } else { ?>
  350. <script type="text/javascript">
  351. // <![CDATA[
  352. /**
  353. * Popup search progress bar
  354. */
  355. function popup_progress_bar()
  356. {
  357. var close_waitscreen = 0;
  358. // no scrollbars...
  359. popup('<?php echo (isset($this->_rootref['UA_PROGRESS_BAR'])) ? $this->_rootref['UA_PROGRESS_BAR'] : ''; ?>', 400, 240, '_sync');
  360. }
  361. // ]]>
  362. </script>
  363. <h1><?php echo ((isset($this->_rootref['L_FORUM_ADMIN'])) ? $this->_rootref['L_FORUM_ADMIN'] : ((isset($user->lang['FORUM_ADMIN'])) ? $user->lang['FORUM_ADMIN'] : '{ FORUM_ADMIN }')); ?></h1>
  364. <p><?php echo ((isset($this->_rootref['L_FORUM_ADMIN_EXPLAIN'])) ? $this->_rootref['L_FORUM_ADMIN_EXPLAIN'] : ((isset($user->lang['FORUM_ADMIN_EXPLAIN'])) ? $user->lang['FORUM_ADMIN_EXPLAIN'] : '{ FORUM_ADMIN_EXPLAIN }')); ?></p>
  365. <?php if ($this->_rootref['ERROR_MSG']) { ?>
  366. <div class="errorbox">
  367. <h3><?php echo ((isset($this->_rootref['L_WARNING'])) ? $this->_rootref['L_WARNING'] : ((isset($user->lang['WARNING'])) ? $user->lang['WARNING'] : '{ WARNING }')); ?></h3>
  368. <p><?php echo (isset($this->_rootref['ERROR_MSG'])) ? $this->_rootref['ERROR_MSG'] : ''; ?></p>
  369. </div>
  370. <?php } if ($this->_rootref['S_RESYNCED']) { ?>
  371. <script type="text/javascript">
  372. // <![CDATA[
  373. var close_waitscreen = 1;
  374. // ]]>
  375. </script>
  376. <div class="successbox">
  377. <h3><?php echo ((isset($this->_rootref['L_NOTIFY'])) ? $this->_rootref['L_NOTIFY'] : ((isset($user->lang['NOTIFY'])) ? $user->lang['NOTIFY'] : '{ NOTIFY }')); ?></h3>
  378. <p><?php echo ((isset($this->_rootref['L_FORUM_RESYNCED'])) ? $this->_rootref['L_FORUM_RESYNCED'] : ((isset($user->lang['FORUM_RESYNCED'])) ? $user->lang['FORUM_RESYNCED'] : '{ FORUM_RESYNCED }')); ?></p>
  379. </div>
  380. <?php } ?>
  381. <p><strong><?php echo (isset($this->_rootref['NAVIGATION'])) ? $this->_rootref['NAVIGATION'] : ''; if ($this->_rootref['S_NO_FORUMS']) { ?> [<a href="<?php echo (isset($this->_rootref['U_EDIT'])) ? $this->_rootref['U_EDIT'] : ''; ?>"><?php echo ((isset($this->_rootref['L_EDIT'])) ? $this->_rootref['L_EDIT'] : ((isset($user->lang['EDIT'])) ? $user->lang['EDIT'] : '{ EDIT }')); ?></a> | <a href="<?php echo (isset($this->_rootref['U_DELETE'])) ? $this->_rootref['U_DELETE'] : ''; ?>"><?php echo ((isset($this->_rootref['L_DELETE'])) ? $this->_rootref['L_DELETE'] : ((isset($user->lang['DELETE'])) ? $user->lang['DELETE'] : '{ DELETE }')); ?></a><?php if (! $this->_rootref['S_LINK']) { ?> | <a href="<?php echo (isset($this->_rootref['U_SYNC'])) ? $this->_rootref['U_SYNC'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RESYNC'])) ? $this

Large files files are truncated, but you can click here to view the full file