Skip to content

Commit

Permalink
minor fixes with ; and removed destructive elemtns from sql file
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@47 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Dec 9, 2000
1 parent 8602df2 commit 9ec5566
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CONFIGURATION
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions account_prefs_page.php3
Expand Up @@ -70,15 +70,15 @@
Advanced report
</td>
<td>
<input type=checkbox name=f_advanced_report size=4 maxlength=4 value="<? echo $v_hour_count ?>"> hours ago
<input type=checkbox name=f_advanced_report size=4 maxlength=4 value="<? echo $v_hour_count ?>">
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
Advanced view
</td>
<td>
<input type=checkbox name=f_advanced_view size=4 maxlength=4 value="<? echo $v_hour_count ?>"> hours ago
<input type=checkbox name=f_advanced_view size=4 maxlength=4 value="<? echo $v_hour_count ?>">
</td>
</tr>
<tr align=center>
Expand Down
6 changes: 3 additions & 3 deletions core_API.php
Expand Up @@ -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";
Expand All @@ -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.",";
Expand All @@ -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.",";
Expand Down
6 changes: 0 additions & 6 deletions db_generate.sql
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 9ec5566

Please sign in to comment.