diff options
author | 2001-07-31 03:04:52 +0000 | |
---|---|---|
committer | 2001-07-31 03:04:52 +0000 | |
commit | dffb70f0868c3dd90126c26db369412f86d2ebfe (patch) | |
tree | 5d7b732dd7acdfd8c3f56dbd51f5a505762e21dc | |
parent | Finally getting around to committing some ebuilds I have been working on. (diff) | |
download | gentoo-2-dffb70f0868c3dd90126c26db369412f86d2ebfe.tar.gz gentoo-2-dffb70f0868c3dd90126c26db369412f86d2ebfe.tar.bz2 gentoo-2-dffb70f0868c3dd90126c26db369412f86d2ebfe.zip |
*** empty log message ***
-rw-r--r-- | app-doc/gentoo-web/files/wiki/single.php | 2 | ||||
-rw-r--r-- | app-doc/gentoo-web/files/wiki/teams.php | 2 | ||||
-rw-r--r-- | app-doc/gentoo-web/files/wiki/teamtasks.php | 2 | ||||
-rw-r--r-- | app-doc/gentoo-web/files/wiki/useredit.php | 14 |
4 files changed, 14 insertions, 6 deletions
diff --git a/app-doc/gentoo-web/files/wiki/single.php b/app-doc/gentoo-web/files/wiki/single.php index a1d8f753e8fd..49d0033b527b 100644 --- a/app-doc/gentoo-web/files/wiki/single.php +++ b/app-doc/gentoo-web/files/wiki/single.php @@ -213,7 +213,7 @@ <?php if ( $uid && ($action != 'new_todo' || $new_todo_post_success) ) { ?> <div style="float:right;padding:10px 0 5px 5px;"> - <table width=200 border=0 cellpadding=3 cellspacing=0 bgcolor="#46357c"><tr><td> + <table width=250 border=0 cellpadding=3 cellspacing=0 bgcolor="#46357c"><tr><td> <table width="100%" border=0 cellpadding=5 cellspacing=0 bgcolor="white"><tr><td> <form method="post" action="single.php?action=post_followup&tid=<?=$tid;?>"> <p style="font-weight:bold;">Post a Followup!</p> diff --git a/app-doc/gentoo-web/files/wiki/teams.php b/app-doc/gentoo-web/files/wiki/teams.php index a87c4a46b2cc..feea67cb8c66 100644 --- a/app-doc/gentoo-web/files/wiki/teams.php +++ b/app-doc/gentoo-web/files/wiki/teams.php @@ -151,7 +151,7 @@ <?php } ?> </div> -<p style="font-size:medium;font-weight:bold;">Team <?=$team;?></p> +<p style="font-size:medium;font-weight:bold;">The <?=$team;?> Team</p> <p><b>Summary</b></p> <p style="margin:0 5px 10px 10px;"><?=$summary;?></p> <p><b>Status</b></p> diff --git a/app-doc/gentoo-web/files/wiki/teamtasks.php b/app-doc/gentoo-web/files/wiki/teamtasks.php index c2c54c5cdb75..4d2c4e822b1a 100644 --- a/app-doc/gentoo-web/files/wiki/teamtasks.php +++ b/app-doc/gentoo-web/files/wiki/teamtasks.php @@ -15,7 +15,7 @@ if ( $action == 'grab_todo' && $tid ) { grabtodo( $tid ); } if ( $team == 6 ) { if ( $q == 'u' ) { - $result = mysql_query( "select * from todos where public=1 and team=$team" ); + $result = mysql_query( "select * from todos where priority!=0 and public=1 and team=$team" ); ?><p style="font-size:medium;font-weight:bold;">Unassigned Tasks for <?=$teamname;?> Team</p><?php } elseif ( $q == 'o' ) { $result = mysql_query( "select * from todos where priority!=0 and team=$team" ); diff --git a/app-doc/gentoo-web/files/wiki/useredit.php b/app-doc/gentoo-web/files/wiki/useredit.php index 1842a9d36b96..3b549bb9ccd6 100644 --- a/app-doc/gentoo-web/files/wiki/useredit.php +++ b/app-doc/gentoo-web/files/wiki/useredit.php @@ -54,8 +54,12 @@ if ( $submitted ) { if ($tmp) continue; // next group // add 'em - $newlead[] = $xuid; - $newlead = implode( ',', $newlead ); + if ( sizeof($newlead) == 0 ) { + $newlead = $xuid; + } else { + $newlead[] = $xuid; + $newlead = implode( ',', $newlead ); + } mysql_query( "update teams set leader='$newlead' where gid=".$cur['value'] ); } } @@ -87,7 +91,11 @@ if ( $submitted ) { $newl[] = $each['value']; } - $newl = implode( ',', $newl ); // compile the new var + if ( sizeof($newl) == 0 ) { + $newl = ''; + } else { + $newl = implode( ',', $newl ); // compile the new var + } mysql_query( "update teams set leader='$newl' where gid=".$ol['value'] ); } } |