Changeset 531 for trunk/statistic.php
- Timestamp:
- Feb 24, 2013, 10:38:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r525 r531 7 7 if(array_key_exists('Version', $_GET)) $_SESSION['StatVersion'] = $_GET['Version']; 8 8 if(!array_key_exists('StatVersion', $_SESSION)) $_SESSION['StatVersion'] = $Config['Web']['GameVersion']; 9 9 10 if(!isset($_SESSION['language'])) 10 11 { 11 12 if($User->Licence(LICENCE_USER)) 12 13 { 13 $_SESSION['language'] = $User->Language;14 14 $_SESSION['language'] = $User->Language; 15 } else $_SESSION['language'] = ''; 15 16 } 16 17 if(array_key_exists('language', $_GET)) { 17 if($_GET['language'] == ' all') $_SESSION['language'] = 'all';18 else $_SESSION['language'] = LoadLanguageIdParameter();18 if($_GET['language'] == '') $_SESSION['language'] = ''; 19 else $_SESSION['language'] = $_GET['language'] * 1; 19 20 } 20 21 … … 89 90 // Show language selection 90 91 $Output .= 'Jazyk: '; 91 $Lang = '<a href=" statistic.php?language=all">Všechny</a>';92 if( 'all' == $_SESSION['language']) $Output .= '<strong>'.$Lang.'</strong> ';92 $Lang = '<a href="?language=">Všechny</a>'; 93 if($_SESSION['language'] == '') $Output .= '<strong>'.$Lang.'</strong> '; 93 94 else $Output .= $Lang; 94 95 foreach($LanguageList as $Language)
Note:
See TracChangeset
for help on using the changeset viewer.