mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
include public-room column
This commit is contained in:
parent
49a3f1cad6
commit
bf5b6ada77
1 changed files with 6 additions and 1 deletions
|
@ -45,6 +45,10 @@ function identity( $str ) {
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function capitalize( $str ) {
|
||||||
|
return strtoupper( $str );
|
||||||
|
}
|
||||||
|
|
||||||
function int_to_lang( $str ) {
|
function int_to_lang( $str ) {
|
||||||
$lang = "unknown";
|
$lang = "unknown";
|
||||||
switch ( $str ) {
|
switch ( $str ) {
|
||||||
|
@ -80,7 +84,8 @@ function strip_quotes($str) {
|
||||||
return trim( $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("room", "Room", "identity", false ),
|
||||||
new Column("lang", "Lang", "int_to_lang", false ),
|
new Column("lang", "Lang", "int_to_lang", false ),
|
||||||
new Column("ntotal", "Tot", "identity", false ),
|
new Column("ntotal", "Tot", "identity", false ),
|
||||||
|
|
Loading…
Add table
Reference in a new issue