Changeset 615 for trunk/inc/server.php


Ignore:
Timestamp:
Aug 8, 2009, 11:36:14 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Přepínání světů.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/server.php

    r614 r615  
    373373    global $Config;
    374374   
     375   
    375376    $Output = '';
    376377    if(count($Config['Mangos']['RealmList']) > 1)
    377378    {
    378       $Output .= '<div align="center"><form name="RealmSelection'.$FormNameSufix.'" action="" method="post">'.
     379      if(array_key_exists('page', $_GET)) $Target = '?page='.$_GET['page'];
     380        else $Target = '';
     381      $Output .= '<div align="center"><form name="RealmSelection'.$FormNameSufix.'" action="'.$Target.'" method="post">'.
    379382      'Svět <select name="RealmIndex" onchange="document.RealmSelection'.$FormNameSufix.'.submit()">';
    380383      foreach($Config['Mangos']['RealmList'] as $Index => $Realm)
Note: See TracChangeset for help on using the changeset viewer.