summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Bellinson <thread@gentoo.org>2001-07-30 23:01:37 +0000
committerAdam Bellinson <thread@gentoo.org>2001-07-30 23:01:37 +0000
commitf5262295360047f222121e52e625e743e06f41d4 (patch)
treec68a5591a572dae1cb6acef07ccbf6db2a8d4515 /app-doc
parent*** empty log message *** (diff)
downloadgentoo-2-f5262295360047f222121e52e625e743e06f41d4.tar.gz
gentoo-2-f5262295360047f222121e52e625e743e06f41d4.tar.bz2
gentoo-2-f5262295360047f222121e52e625e743e06f41d4.zip
*** empty log message ***
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/gentoo-web/files/wiki/functions.php3
-rw-r--r--app-doc/gentoo-web/files/wiki/teams.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/app-doc/gentoo-web/files/wiki/functions.php b/app-doc/gentoo-web/files/wiki/functions.php
index 8a0f67552406..8d0e10f0c573 100644
--- a/app-doc/gentoo-web/files/wiki/functions.php
+++ b/app-doc/gentoo-web/files/wiki/functions.php
@@ -140,7 +140,8 @@ global $uid, $dbusername, $show_privates, $list, $teams; ?>
<ul>
<?php
reset( $teams );
- while ( $each = each($teams) ) { ?>
+ while ( $each = each($teams) ) {
+ if ($each==0||$each==1) continue; ?>
<li><a href="teams.php?team=<?=$each['key'];?>"><?=$each['value'];?></a>
<?php } ?>
</ul>
diff --git a/app-doc/gentoo-web/files/wiki/teams.php b/app-doc/gentoo-web/files/wiki/teams.php
index 7166a85a4d83..a87c4a46b2cc 100644
--- a/app-doc/gentoo-web/files/wiki/teams.php
+++ b/app-doc/gentoo-web/files/wiki/teams.php
@@ -125,7 +125,7 @@
print "<li> <a href=\"mailto:$email\">$handle</a>\n";
}
if ($tmp) print '</ul>';
- else print "<p>Team $team is unleaded!</p>";
+ else print "<p>The $team team doesn't have a leader.</p>";
?>
</td>
</tr>