diff --git a/html/inc/team_types.inc b/html/inc/team_types.inc index fb94087451..aa377b3d92 100644 --- a/html/inc/team_types.inc +++ b/html/inc/team_types.inc @@ -18,10 +18,9 @@ include_once("../inc/translation.inc"); -global $team_types; $team_types = array( "", - tra("None"), + tra("Other"), tra("Company"), tra("Primary school"), tra("Secondary school"), diff --git a/html/user/custom.css b/html/user/custom.css index a6a1d26045..326e6b9fde 100644 --- a/html/user/custom.css +++ b/html/user/custom.css @@ -11,3 +11,8 @@ table a:hover, .table a:hover, a:hover { blockquote { font-size: 15px; } + +.bg-primary a { + color: white; + text-decoration: underline; +} diff --git a/html/user/team.php b/html/user/team.php index 4d55c34ec1..c1264e630f 100644 --- a/html/user/team.php +++ b/html/user/team.php @@ -49,7 +49,7 @@ echo "
  • " . tra("All teams") . " "; -for ($i=1; $i<8; $i++) { +for ($i=1; $i ".tra("%1 teams", team_type_name($i))." "; } diff --git a/html/user/top_teams.php b/html/user/top_teams.php index 94e3efaafa..7c3c33e3be 100644 --- a/html/user/top_teams.php +++ b/html/user/top_teams.php @@ -57,7 +57,7 @@ default: } $type = get_int("type", true); -if ($type < 1 || $type > 7) { +if ($type < 0 || $type >= count($team_types)) { $type = 0; } $type_url="";