forked from science-ation/science-ation
properly fix the team naming/sorting issue
This commit is contained in:
parent
bed8cc9d9e
commit
4d0ff8f327
@ -605,18 +605,26 @@ for($x=1;$x<count($jteam); $x++) {
|
|||||||
print("langs=($langstr)");
|
print("langs=($langstr)");
|
||||||
print("cats=(");
|
print("cats=(");
|
||||||
$catstr="";
|
$catstr="";
|
||||||
for($y=0; $y<count($t['cats']); $y++) {
|
if(count($t['cats'])) {
|
||||||
print("c".$t['cats'][$y]. " ");
|
$first=true;
|
||||||
if($y!=0) $catstr .= "+";
|
foreach($t['cats'] AS $cid) {
|
||||||
$catstr .= $cat[$t['cats'][$y]];
|
print("c".$cid." ");
|
||||||
}
|
if(!$first) $catstr .= "+";
|
||||||
|
$catstr .= $cat[$cid];
|
||||||
|
$first=false;
|
||||||
|
}
|
||||||
|
}
|
||||||
print(")");
|
print(")");
|
||||||
print("divs=(");
|
print("divs=(");
|
||||||
$divstr="";
|
$divstr="";
|
||||||
for($y=0; $y<count($t['divs']); $y++) {
|
if(count($t['divs'])) {
|
||||||
print("d".$t['divs'][$y]. " ");
|
$first=true;
|
||||||
if($y!=0) $divstr.="/";
|
foreach($t['divs'] AS $did) {
|
||||||
$divstr .= $div[$t['divs'][$y]];
|
print("d".$did." ");
|
||||||
|
if(!$first) $divstr.="/";
|
||||||
|
$divstr .= $div[$did];
|
||||||
|
$first=false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
print(")\n");
|
print(")\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user