diff options
Diffstat (limited to 'tmw3/template/jumpbox.html')
-rw-r--r-- | tmw3/template/jumpbox.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tmw3/template/jumpbox.html b/tmw3/template/jumpbox.html new file mode 100644 index 0000000..f46fed9 --- /dev/null +++ b/tmw3/template/jumpbox.html @@ -0,0 +1,19 @@ + +<!-- IF S_DISPLAY_JUMPBOX --> + <form method="post" name="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}"> + + <table cellspacing="0" cellpadding="0" border="0"> + <tr> + <td nowrap="nowrap"><span class="gensmall"><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->:</span> <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }"> + + <!-- BEGIN jumpbox_forums --> + <!-- IF jumpbox_forums.S_FORUM_COUNT eq 1 --><option value="-1">------------------</option><!-- ENDIF --> + <option value="{jumpbox_forums.FORUM_ID}"{jumpbox_forums.SELECTED}><!-- BEGIN level --> <!-- END level -->{jumpbox_forums.FORUM_NAME}</option> + <!-- END jumpbox_forums --> + + </select> <input class="btnlite" type="submit" value="{L_GO}" /></td> + </tr> + </table> + + </form> +<!-- ENDIF -->
\ No newline at end of file |