Changeset 1212

Show
Ignore:
Timestamp:
08/09/2008 07:30:43 AM (2 years ago)
Author:
DarTar
Message:

Notice in highscore action, refs #496

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/actions/highscores/highscores.php

    r1156 r1212  
    3434define('HIGHSCORES_DISPLAY_TOP', 10); //limit output to top n users 
    3535define('HIGHSCORES_DEFAULT_STYLE', 'complex'); //set default layout style 
     36define('HIGHSCORES_DEFAULT_RANK', 'pages'); //set default layout style 
    3637$table = ''; 
    3738 
     
    5657} 
    5758 
     59if (!isset($rank) || !in_array($rank, $valid_rank)) 
     60{ 
     61        $rank = HIGHSCORES_DEFAULT_RANK; 
     62} 
    5863 
    5964switch($rank)