Zeile 1 | Zeile 1 |
---|
<form action="forumdisplay.php" method="get"> <span class="smalltext"><strong>{$lang->forumjump}</strong></span> <select name="{$name}" class="forumjump">
|
<form action="forumdisplay.php" method="get"> <span class="smalltext"><strong>{$lang->forumjump}</strong></span> <select name="{$name}" class="forumjump">
|
<option value="-1" {$jumpsel['default']}>{$lang->forumjump_select}</option> <option value="-1">--------------------</option>
| |
<option value="-4">{$lang->forumjump_pms}</option> <option value="-3">{$lang->forumjump_usercp}</option> <option value="-5">{$lang->forumjump_wol}</option>
| <option value="-4">{$lang->forumjump_pms}</option> <option value="-3">{$lang->forumjump_usercp}</option> <option value="-5">{$lang->forumjump_wol}</option>
|
Zeile 13 | Zeile 11 |
---|
{$gobutton} </form> <script type="text/javascript">
|
{$gobutton} </form> <script type="text/javascript">
|
<!-- $(".forumjump").change(function() { var option = $(".forumjump").get(0).selectedIndex.value;
| $(".forumjump").change(function() { var option = $(this).val();
|
|
|
if(option < 0) { window.location=('forumdisplay.php?fid='+option) return }
window.location=({$forum_link}) }) //-->
| if(option < 0) { window.location = 'forumdisplay.php?fid='+option; } else { window.location = {$forum_link}; } });
|
</script>
| </script>
|