From bf5b6ada77ca7ca15eaaaadea8127703918aec0a Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 7 Feb 2012 18:59:17 -0800 Subject: [PATCH] include public-room column --- xwords4/relay/scripts/showgames.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xwords4/relay/scripts/showgames.php b/xwords4/relay/scripts/showgames.php index 3a5bd2924..9ec256757 100644 --- a/xwords4/relay/scripts/showgames.php +++ b/xwords4/relay/scripts/showgames.php @@ -45,6 +45,10 @@ function identity( $str ) { return $str; } +function capitalize( $str ) { + return strtoupper( $str ); +} + function int_to_lang( $str ) { $lang = "unknown"; switch ( $str ) { @@ -80,7 +84,8 @@ function strip_quotes($str) { return trim( $str, '"'); } -$cols = array( new Column("dead", "D", "identity", false ), +$cols = array( new Column("dead", "D", "capitalize", false ), + new Column("pub", "P", "capitalize", false ), new Column("room", "Room", "identity", false ), new Column("lang", "Lang", "int_to_lang", false ), new Column("ntotal", "Tot", "identity", false ),