diff --git a/ChangeLog b/ChangeLog index 0c7efa620b..3f93b3eb8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ Mantis * Modified version string to be longer. * Modified html functions to consolidate code. * Modified confirm messages to consolidate localization strings. + * Modified comments to use one # instead of ### (save space) * Added view by page feature. * Added edit new link in news update page. * Added file upload into database. diff --git a/admin_cookiecheck.php3 b/admin_cookiecheck.php3 index 7e0d3f49a4..ba67ed614c 100644 --- a/admin_cookiecheck.php3 +++ b/admin_cookiecheck.php3 @@ -23,6 +23,6 @@ ?>

If the test is failed then your browser may have cookies turned off. Additionally, your webserver or PHP may be configured incorrectly. - +

Click here to reload the page and see if the value was set correctly. diff --git a/admin_upgrade_0_14_0.php3 b/admin_upgrade_0_14_0.php3 index f7e47a0d9f..ba22d4c040 100644 --- a/admin_upgrade_0_14_0.php3 +++ b/admin_upgrade_0_14_0.php3 @@ -66,7 +66,7 @@ PRINT "UPDATED PROJECTS"; $result = db_query( $query ); $bug_count = db_num_rows( $result ); -### update bug table +# update bug table $query3 = "ALTER TABLE mantis_bug_table ADD project_id INT (7) UNSIGNED ZEROFILL not null AFTER id"; $result3 = db_query( $query3 ); if ( $result3 ) { @@ -112,7 +112,7 @@ PRINT "UPGRADED BUGS"; $result = db_query( $query ); $news_count = db_num_rows( $result ); -### update news table +# update news table $query3 = "ALTER TABLE mantis_news_table ADD project_id INT (7) UNSIGNED ZEROFILL not null AFTER id"; $result3 = db_query( $query3 ); if ( $result3 ) { @@ -140,7 +140,7 @@ PRINT "UPGRADED NEWS"; $result = db_query( $query ); $user_count = db_num_rows( $result ); -### update user tables +# update user tables $query3 = "ALTER TABLE mantis_user_table ADD login_count INT not null DEFAULT '0' AFTER access_level"; $result3 = db_query( $query3 ); if ( $result3 ) { diff --git a/bug_resolve_page.php3 b/bug_resolve_page.php3 index bd2b5fd330..a30c937db6 100644 --- a/bug_resolve_page.php3 +++ b/bug_resolve_page.php3 @@ -15,7 +15,7 @@ - +

@@ -62,6 +62,6 @@
- + \ No newline at end of file diff --git a/config_inc.php b/config_inc.php index 4949fe2189..a47379af2e 100644 --- a/config_inc.php +++ b/config_inc.php @@ -5,7 +5,7 @@ # See the files README and LICENSE for details ########################################################################### - ### CONFIGURATION VARIABLES ### + # CONFIGURATION VARIABLES ########################################################################### # In general a value of 0 means the feature is disabled and 1 means the @@ -17,7 +17,7 @@ error_reporting(E_ALL); ################################ - ### Mantis Database Settings ### + # Mantis Database Settings ################################ # --- database variables --------- @@ -30,7 +30,7 @@ $g_database_name = "bugtracker"; ############################ - ### Mantis Path Settings ### + # Mantis Path Settings ############################ # --- path variables -------------- @@ -48,7 +48,7 @@ $g_absolute_path = "/usr/local/www/data/mantis/"; ############################# - ### Web Server ### + # Web Server ############################# # --- using MS IIS ---------------- @@ -56,7 +56,7 @@ $g_use_iis = 0; ############################# - ### Mantis Version String ### + # Mantis Version String ############################# # --- version variables ----------- @@ -64,7 +64,7 @@ $g_show_version = ON; ############################# - ### Mantis Email Settings ### + # Mantis Email Settings ############################# # --- email variables ------------- @@ -131,7 +131,7 @@ $g_smtp_host = "localhost"; ################################ - ### Mantis Language Settings ### + # Mantis Language Settings ################################ # --- language settings ----------- @@ -142,7 +142,7 @@ $g_language_choices_arr = array( "english", "chinese_traditional", "danish", "dutch", "french", "french2", "german", "italian", "korean", "norwegian", "polish", "portuguese_brazilian", "portuguese_standard", "russian", "spanish", "swedish", "turkish" ); ############################### - ### Mantis Display Settings ### + # Mantis Display Settings ############################### # --- sitewide variables ---------- @@ -183,7 +183,7 @@ $g_show_priority_text = OFF; ############################ - ### Mantis JPGRAPH Addon ### + # Mantis JPGRAPH Addon ############################ # --- jpgraph settings --- # @@ -199,7 +199,7 @@ $g_jpgraph_path = "./jpgraph/"; # dont forget the ending slash! ############################ - ### Mantis Time Settings ### + # Mantis Time Settings ############################ # --- time varaibles -------------- @@ -214,7 +214,7 @@ $g_content_expire = 0; ############################ - ### Mantis Date Settings ### + # Mantis Date Settings ############################ # --- date format settings -------- @@ -226,7 +226,7 @@ $g_complete_date_format = "m-d-y H:i T"; ############################ - ### Mantis News Settings ### + # Mantis News Settings ############################ # --- Limit News Items ------------ @@ -242,7 +242,7 @@ $g_news_view_limit_days = 30; ################################## - ### Mantis Default Preferences ### + # Mantis Default Preferences ################################## # --- signup default --------------- @@ -276,7 +276,7 @@ # default_language - is set to site language ############################### - ### Mantis Summary Settings ### + # Mantis Summary Settings ############################### # how many reporters to show @@ -291,7 +291,7 @@ $g_date_partitions = array( 1, 2, 3, 7, 30, 60, 90, 180, 365); ############################### - ### Mantis Bugnote Settings ### + # Mantis Bugnote Settings ############################### # --- bugnote settings ------------ @@ -300,11 +300,11 @@ $g_bugnote_order = "ASC"; ################################### - ### Mantis File Upload Settings ### + # Mantis File Upload Settings ################################### # --- file upload settings -------- - ### @@@ This should be broken into per project settings and split between bug uploads and project document uploads + # @@@ This should be broken into per project settings and split between bug uploads and project document uploads $g_allow_file_upload = ON; # Upload destination: specify actual location in project settings @@ -314,7 +314,7 @@ $g_max_file_size = 5000000; # 5 MB ############################ - ### Mantis HTML Settings ### + # Mantis HTML Settings ############################ # --- html tags ------------------- @@ -336,7 +336,7 @@ $g_primary_table_tags = ""; ########################## - ### Mantis HR Settings ### + # Mantis HR Settings ########################## # --- hr -------------------------- @@ -344,7 +344,7 @@ $g_hr_width = 50; ############################# - ### Mantis LDAP Settings ### + # Mantis LDAP Settings ############################# # look in README.LDAP for details @@ -356,7 +356,7 @@ $g_use_ldap_email = 0; # Should we send to the LDAP email address or what MySql tells us ############################ - ### Mantis Misc Settings ### + # Mantis Misc Settings ############################ # --- threshold ------------------- @@ -381,7 +381,7 @@ $g_allow_close_immediately = OFF; ############################## - ### Mantis Color Variables ### + # Mantis Color Variables ############################## # --- color values ---------------- @@ -409,7 +409,7 @@ ############################### - ### Mantis Cookie Variables ### + # Mantis Cookie Variables ############################### # --- cookie prefix --------------- @@ -457,7 +457,7 @@ } ####################################### - ### Mantis Database Table Variables ### + # Mantis Database Table Variables ####################################### # --- table prefix ---------------- @@ -481,7 +481,7 @@ $g_mantis_user_pref_table = $g_db_table_prefix."_user_pref_table"; ########################### - ### Mantis Enum Strings ### + # Mantis Enum Strings ########################### # --- enum strings ---------------- @@ -498,7 +498,7 @@ $g_eta_enum_string = "10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month"; ############################# - ### Mantis Page Variables ### + # Mantis Page Variables ############################# #---------------------------------- diff --git a/constant_inc.php b/constant_inc.php index 534f5e4684..c861e3ac0f 100644 --- a/constant_inc.php +++ b/constant_inc.php @@ -5,11 +5,11 @@ # See the files README and LICENSE for details ########################################################################### - ### CONFIGURATION VARIABLES ### + # CONFIGURATION VARIABLES ########################################################################### ######################## - ### Mantis Constants ### + # Mantis Constants ######################## # --- constants ------------------- @@ -31,7 +31,7 @@ define( "ADMINISTRATOR", 90 ); # status - define( "NEW_", 10 ); ### NEW seems to be a reserved keyword + define( "NEW_", 10 ); # NEW seems to be a reserved keyword define( "FEEDBACK", 20 ); define( "ACKNOWLEDGED", 30 ); define( "CONFIRMED", 40 ); @@ -92,7 +92,7 @@ # email padding define( "EMAIL_PAD_LENGTH", 28 ); - + # show variable values define( "BOTH", 0 ); define( "SIMPLE_ONLY", 1 ); diff --git a/core_database_API.php b/core_database_API.php index ab5b4f2172..64400eb382 100644 --- a/core_database_API.php +++ b/core_database_API.php @@ -5,7 +5,7 @@ # See the files README and LICENSE for details ########################################################################### - # Database ### + # Database ########################################################################### # This in the general interface for all database calls. diff --git a/core_html_API.php b/core_html_API.php index 8651d90d45..088fcb6e43 100644 --- a/core_html_API.php +++ b/core_html_API.php @@ -253,7 +253,7 @@ function print_source_link( $p_file ) { PRINT ""; } } - # -------------------- + # -------------------- # print the hr function print_hr( $p_hr_size, $p_hr_width ) { PRINT "
"; diff --git a/summary_graph_functions.php3 b/summary_graph_functions.php3 index 81924ac27f..2743ff6ab9 100644 --- a/summary_graph_functions.php3 +++ b/summary_graph_functions.php3 @@ -27,7 +27,7 @@ include ($g_jpgraph_path."jpgraph_bar.php"); project_id='$g_project_cookie_val'"; $result = db_query( $query ); $enum_name_count[] = db_result( $result, 0 ); - } ### end for + } # end for } @@ -110,7 +110,7 @@ include ($g_jpgraph_path."jpgraph_bar.php"); $result2 = db_query( $query ); $resolved_bug_count[] = db_result( $result2, 0, 0 ); - } ### end for + } # end for } @@ -188,7 +188,7 @@ include ($g_jpgraph_path."jpgraph_bar.php"); $reporter_count[] = $t_count; } - } ### end for + } # end for } @@ -248,7 +248,7 @@ include ($g_jpgraph_path."jpgraph_bar.php"); $result2 = db_query( $query ); $category_bug_count[] = db_result( $result2, 0, 0 ); - } ### end for + } # end for } @@ -307,7 +307,7 @@ include ($g_jpgraph_path."jpgraph_bar.php"); function create_cumulative_bydate(){ global $metrics, $g_mantis_bug_table, $g_project_cookie_val; - ### Get all the submitted dates + # Get all the submitted dates $query = "SELECT UNIX_TIMESTAMP(date_submitted) as date_submitted FROM $g_mantis_bug_table WHERE project_id='$g_project_cookie_val' @@ -331,7 +331,7 @@ include ($g_jpgraph_path."jpgraph_bar.php"); $t_clo_val = CLOSED; $t_res_val = RESOLVED; - ### Get all the resolved dates + # Get all the resolved dates $query = "SELECT UNIX_TIMESTAMP(last_updated) as last_updated FROM $g_mantis_bug_table WHERE project_id='$g_project_cookie_val' AND diff --git a/view_all_inc.php b/view_all_inc.php index 5631ef0297..35a31c4bb0 100644 --- a/view_all_inc.php +++ b/view_all_inc.php @@ -309,12 +309,12 @@

- - - - - - - + + + + + + +
\ No newline at end of file