diff --git a/CONFIGURATION b/CONFIGURATION index b4148fde19..78aa4a489d 100644 --- a/CONFIGURATION +++ b/CONFIGURATION @@ -7,6 +7,9 @@ whatever you need. way you can easily upgrade your installations while not having to re-enter all your configuration settings. + NOTE: since the package is still being changed a fair amount I suggest + the following + * core_API.php - this file contains all the critical functions * To add more categories just edit through the manage area. The format must diff --git a/account_prefs_page.php3 b/account_prefs_page.php3 index 8a2b9991da..9ec282b992 100644 --- a/account_prefs_page.php3 +++ b/account_prefs_page.php3 @@ -70,7 +70,7 @@ Advanced report - hours ago + > @@ -78,7 +78,7 @@ Advanced view - hours ago + diff --git a/core_API.php b/core_API.php index 8fbefb2525..e91febb641 100644 --- a/core_API.php +++ b/core_API.php @@ -117,7 +117,7 @@ function print_menu( $p_menu_file="" ) { } #-------------------- function get_enum_string( $p_field_name ) { - global $g_mantis_bug_table + global $g_mantis_bug_table; $query = "SHOW FIELDS FROM $g_mantis_bug_table"; @@ -139,7 +139,7 @@ function get_enum_count( $t_enum_string ) { #-------------------- ### Used for update pages function print_categories( $p_category="" ) { - global $g_mantis_bug_table + global $g_mantis_bug_table; $t_category_string = get_enum_string( "category" ); $t_str = $t_category_string.","; @@ -158,7 +158,7 @@ function print_categories( $p_category="" ) { #-------------------- ### Used for update pages function print_list( $p_list, $p_item="" ) { - global $g_mantis_bug_table + global $g_mantis_bug_table; $t_category_string = get_enum_string( $p_list ); $t_str = $t_category_string.","; diff --git a/db_generate.sql b/db_generate.sql index 8bcac02065..6b782d4bc4 100644 --- a/db_generate.sql +++ b/db_generate.sql @@ -7,7 +7,6 @@ # Table structure for table 'mantis_bug_table' # -DROP TABLE IF EXISTS mantis_bug_table; CREATE TABLE mantis_bug_table ( id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL auto_increment, reporter_id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL, @@ -39,7 +38,6 @@ CREATE TABLE mantis_bug_table ( # Table structure for table 'mantis_bug_text_table' # -DROP TABLE IF EXISTS mantis_bug_text_table; CREATE TABLE mantis_bug_text_table ( id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL auto_increment, description text NOT NULL, @@ -53,7 +51,6 @@ CREATE TABLE mantis_bug_text_table ( # Table structure for table 'mantis_bugnote_table' # -DROP TABLE IF EXISTS mantis_bugnote_table; CREATE TABLE mantis_bugnote_table ( id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL auto_increment, bug_id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL, @@ -69,7 +66,6 @@ CREATE TABLE mantis_bugnote_table ( # Table structure for table 'mantis_bugnote_text_table' # -DROP TABLE IF EXISTS mantis_bugnote_text_table; CREATE TABLE mantis_bugnote_text_table ( id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL auto_increment, note text NOT NULL, @@ -81,7 +77,6 @@ CREATE TABLE mantis_bugnote_text_table ( # Table structure for table 'mantis_news_table' # -DROP TABLE IF EXISTS mantis_news_table; CREATE TABLE mantis_news_table ( id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL auto_increment, poster_id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL, @@ -98,7 +93,6 @@ CREATE TABLE mantis_news_table ( # Table structure for table 'mantis_user_table' # -DROP TABLE IF EXISTS mantis_user_table; CREATE TABLE mantis_user_table ( id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL auto_increment, username varchar(32) NOT NULL,