(a little test for later merges)
[phpbb.git] / phpBB / styles / prosilver / template / jumpbox.html
blobf7b4fca609fb9896d5a1a5123f8316b882ff5570
2 <!-- IF S_VIEWTOPIC -->
3 <p></p><p><a href="{U_VIEW_FORUM}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {FORUM_NAME}</a></p>
4 <!-- ELSEIF S_VIEWFORUM -->
5 <p></p><p><a href="{U_INDEX}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {L_INDEX}</a></p>
6 <!-- ELSEIF SEARCH_TOPIC -->
7 <p></p><p><a class="left-box {S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}" accesskey="r">{L_RETURN_TO}: {SEARCH_TOPIC}</a></p>
8 <!-- ELSEIF S_SEARCH_ACTION -->
9 <p></p><p><a class="left-box {S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}" accesskey="r">{L_RETURN_TO_SEARCH_ADV}</a></p>
10 <!-- ENDIF -->
12 <!-- IF S_DISPLAY_JUMPBOX -->
13 <form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
15 <!-- IF $CUSTOM_FIELDSET_CLASS -->
16 <fieldset class="{$CUSTOM_FIELDSET_CLASS}">
17 <!-- ELSE -->
18 <fieldset class="jumpbox">
19 <!-- ENDIF -->
20 <label for="f" accesskey="j"><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->:</label>
21 <select name="f" id="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }">
22 <!-- BEGIN jumpbox_forums -->
23 <!-- IF jumpbox_forums.S_FORUM_COUNT == 1 --><option value="-1">------------------</option><!-- ENDIF -->
24 <option value="{jumpbox_forums.FORUM_ID}"{jumpbox_forums.SELECTED}><!-- BEGIN level -->&nbsp; &nbsp;<!-- END level -->{jumpbox_forums.FORUM_NAME}</option>
25 <!-- END jumpbox_forums -->
26 </select>
27 <input type="submit" value="{L_GO}" class="button2" />
28 </fieldset>
29 </form>
31 <!-- ELSE -->
32 <br /><br />
33 <!-- ENDIF -->