diff --git a/www/account.php b/www/account.php index 8130c67..4e062b0 100644 --- a/www/account.php +++ b/www/account.php @@ -1,7 +1,8 @@ New/Pending\n"); + $email = db_escape($_COOKIE["FROM"]); + print("
No new/pending articles found.
\n"); + print("No new/pending STRs found.
\n"); + else + { + html_start_table(array("Id", "Priority", "Status", "Scope", + "Summary", "Version", "Last Updated", + "Assigned To")); + + while ($row = db_next($result)) + { + $date = date("M d, Y", $row['modify_date']); + $summary = htmlspecialchars($row['summary'], ENT_QUOTES); + $summabbr = htmlspecialchars(abbreviate($row['summary'], 80), ENT_QUOTES); + $prtext = $priority_text[$row['priority']]; + $sttext = $status_text[$row['status']]; + $sctext = $scope_text[$row['scope']]; + + html_start_row(); + + print(""); } @@ -144,7 +144,7 @@ html_footer() print(" | |||||
" - ." | " + ." | " ."Copyright 2003-2004 by Michael Sweet. This library is free " ."software; you can redistribute it and/or modify it " ."under the terms of the GNU Library General Public " diff --git a/www/phplib/str.php b/www/phplib/str.php new file mode 100644 index 0000000..53ba3fa --- /dev/null +++ b/www/phplib/str.php @@ -0,0 +1,86 @@ + "Resolved", + 2 => "Unresolved", + 3 => "Active", + 4 => "Pending", + 5 => "New" +); + +$status_long = array( + 1 => "1 - Closed w/Resolution", + 2 => "2 - Closed w/o Resolution", + 3 => "3 - Active", + 4 => "4 - Pending", + 5 => "5 - New" +); + +$priority_text = array( + 1 => "RFE", + 2 => "LOW", + 3 => "MODERATE", + 4 => "HIGH", + 5 => "CRITICAL" +); + +$priority_long = array( + 1 => "1 - Request for Enhancement, e.g. asking for a feature", + 2 => "2 - Low, e.g. a documentation error or undocumented side-effect", + 3 => "3 - Moderate, e.g. unable to compile the software", + 4 => "4 - High, e.g. key functionality not working", + 5 => "5 - Critical, e.g. nothing working at all" +); + +$scope_text = array( + 1 => "MACH", + 2 => "OS", + 3 => "ALL" +); + +$scope_long = array( + 1 => "1 - Specific to a machine", + 2 => "2 - Specific to an operating system", + 3 => "3 - Applies to all machines and operating systems" +); + + +// +// End of "$Id: str.php,v 1.1 2004/05/18 01:39:00 mike Exp $". +// +?> diff --git a/www/str.php b/www/str.php index a1a1589..4ce4f6b 100644 --- a/www/str.php +++ b/www/str.php @@ -1,31 +1,27 @@ "Michael Sweet " - ."M = Machine, " + ."MACH = Machine, " ."OS = Operating System." ." \n"); } @@ -1894,4 +1841,7 @@ switch ($op) break; } +// +// End of "$Id: str.php,v 1.5 2004/05/18 01:39:00 mike Exp $". +// ?> |