cvs: pearweb /public_html/bugs/include functions.inc
| From: | Daniel Convissor | Date: | Wed, 30 Jun 2004 04:09:30 +0000 |
| Subject: | cvs: pearweb /public_html/bugs/include functions.inc | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21291@lists.php.net to get a copy of this message | ||
danielc Wed Jun 30 00:09:30 2004 EDT
Modified files:
/pearweb/public_html/bugs/include functions.inc
Log:
* Move $state_types to top of file with other global
vars for clarity.
http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.55&r2=1.56&ty=u
Index: pearweb/public_html/bugs/include/functions.inc
diff -u pearweb/public_html/bugs/include/functions.inc:1.55
pearweb/public_html/bugs/include/functions.inc:1.56
--- pearweb/public_html/bugs/include/functions.inc:1.55 Tue Jun 29 12:31:37 2004
+++ pearweb/public_html/bugs/include/functions.inc Wed Jun 30 00:09:29 2004
@@ -15,7 +15,7 @@
* @package Bugs
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: functions.inc,v 1.55 2004/06/29 16:31:37 dufuz Exp $
+ * @version $Id: functions.inc,v 1.56 2004/06/30 04:09:29 danielc Exp $
*/
// used in mail_bug_updates(), below, and class for search results
@@ -39,6 +39,27 @@
'Feature/Change Request' => 'Req',
);
+// Used in show_state_options()
+$state_types = array (
+ 'Open' => 2,
+ 'Closed' => 2,
+ 'Duplicate' => 2,
+ 'Critical' => 1,
+ 'Assigned' => 1,
+ 'Not Assigned' => 1,
+ 'Analyzed' => 1,
+ 'Verified' => 1,
+ 'Suspended' => 1,
+ 'Wont fix' => 1,
+ 'No Feedback' => 1,
+ 'Feedback' => 1,
+ 'Old Feedback' => 0,
+ 'Stale' => 0,
+ 'Fresh' => 0,
+ 'Bogus' => 2,
+ 'All' => 0
+);
+
/**
* Obfuscates email addresses to hinder spammer's spiders
@@ -253,26 +274,6 @@
}
echo ">All</option>\n";
}
-
-$state_types = array (
- 'Open' => 2,
- 'Closed' => 2,
- 'Duplicate' => 2,
- 'Critical' => 1,
- 'Assigned' => 1,
- 'Not Assigned' => 1,
- 'Analyzed' => 1,
- 'Verified' => 1,
- 'Suspended' => 1,
- 'Wont fix' => 1,
- 'No Feedback' => 1,
- 'Feedback' => 1,
- 'Old Feedback' => 0,
- 'Stale' => 0,
- 'Fresh' => 0,
- 'Bogus' => 2,
- 'All' => 0
-);
/**
* Prints bug type <option>'s for use in a <select>