Skip to content

Commit

Permalink
Made the view/report/update pages honor the forced simple/advanced gl…
Browse files Browse the repository at this point in the history
…obals

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@519 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Nov 26, 2001
1 parent b5cfb4e commit 86e3cbb
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CREDITS
Expand Up @@ -33,7 +33,7 @@ Brett England
Jan Derk
Ariel Arjona
Talal Nehme
Leigh
Leigh Morresi

Translations:

Expand Down
8 changes: 8 additions & 0 deletions ChangeLog
Expand Up @@ -3,7 +3,15 @@ Mantis
11.xx.2001 - 0.16.0

* Fixed minor HTML errors in core_html_API.php
* Fixed the view, report, and update pages to honor the forces advanced/simple modes
* Modified the mantis_bug_table.build field to be a VARCHAR
* Modified the mantis_bug_table.votes field to be an INT
* Modified the mantis_bug_table.os_build field to be longer
* Modified the mantis_user_profile_table.os_build field to be longer
* Modified the mantis_user_pref_table.language field to be longer
* Updated Korean localization
* Updated Polish localization
* Added file_type field to mantis_bug_file_table and mantis_project_file_table
* Added LDAP login support

11.04.2001 - 0.15.12
Expand Down
4 changes: 4 additions & 0 deletions bug_update_advanced_page.php3
Expand Up @@ -10,6 +10,10 @@
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?
if ( 1 == $g_show_update ) {
print_header_redirect ( $g_bug_update_page."?f_id=".$f_id );
}

db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
check_access( UPDATER );
check_bug_exists( $f_id );
Expand Down
4 changes: 4 additions & 0 deletions bug_update_page.php3
Expand Up @@ -10,6 +10,10 @@
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?
if ( 2 == $g_show_update ) {
print_header_redirect ( $g_bug_update_advanced_page."?f_id=".$f_id );
}

db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
check_access( UPDATER );
check_bug_exists( $f_id );
Expand Down
26 changes: 14 additions & 12 deletions config_inc.php
Expand Up @@ -717,17 +717,17 @@

#----------------------------------
# summary
$g_summary_page = $g_path."summary_page".$g_php;
$g_summary_jpgraph_function = $g_absolute_path."summary_graph_functions".$g_php;
$g_summary_jpgraph_page = $g_path."summary_jpgraph_page".$g_php;
$g_summary_jpgraph_cumulative_bydate = "summary_graph_cumulative_bydate".$g_php;
$g_summary_jpgraph_bydeveloper = "summary_graph_bydeveloper".$g_php;
$g_summary_jpgraph_byreporter = "summary_graph_byreporter".$g_php;
$g_summary_jpgraph_byseverity = "summary_graph_byseverity".$g_php;
$g_summary_jpgraph_bystatus = "summary_graph_bystatus".$g_php;
$g_summary_jpgraph_byresolution = "summary_graph_byresolution".$g_php;
$g_summary_jpgraph_bycategory = "summary_graph_bycategory".$g_php;
$g_summary_jpgraph_bypriority = "summary_graph_bypriority".$g_php;
$g_summary_page = $g_path."summary_page".$g_php;
$g_summary_jpgraph_function = $g_absolute_path."summary_graph_functions".$g_php;
$g_summary_jpgraph_page = $g_path."summary_jpgraph_page".$g_php;
$g_summary_jpgraph_cumulative_bydate = "summary_graph_cumulative_bydate".$g_php;
$g_summary_jpgraph_bydeveloper = "summary_graph_bydeveloper".$g_php;
$g_summary_jpgraph_byreporter = "summary_graph_byreporter".$g_php;
$g_summary_jpgraph_byseverity = "summary_graph_byseverity".$g_php;
$g_summary_jpgraph_bystatus = "summary_graph_bystatus".$g_php;
$g_summary_jpgraph_byresolution = "summary_graph_byresolution".$g_php;
$g_summary_jpgraph_bycategory = "summary_graph_bycategory".$g_php;
$g_summary_jpgraph_bypriority = "summary_graph_bypriority".$g_php;
#----------------------------------

#----------------------------------
Expand All @@ -741,5 +741,7 @@
$g_bug_file_upload_inc = $g_absolute_path."bug_file_upload_inc.php";

$g_print_all_bug_page = $g_path."print_all_bug_page".$g_php;

$g_csv_export_inc = $g_path."view_csv_export_inc.php";
#----------------------------------
?>
?>
2 changes: 1 addition & 1 deletion report_bug_advanced_page.php3
Expand Up @@ -205,7 +205,7 @@
<? echo $s_product_build ?>
</td>
<td>
<input type="text" name="f_build" size="4" maxlength="4" value="<? echo $f_build ?>">
<input type="text" name="f_build" size="32" maxlength="32" value="<? echo $f_build ?>">
</td>
</tr>
<tr height="10" bgcolor="<? echo $g_white_color ?>">
Expand Down
4 changes: 4 additions & 0 deletions view_bug_advanced_page.php3
Expand Up @@ -7,6 +7,10 @@
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?
if ( 1 == $g_show_view ) {
print_header_redirect ( $g_view_bug_page."?f_id=".$f_id );
}

db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

check_bug_exists( $f_id );
Expand Down
4 changes: 4 additions & 0 deletions view_bug_page.php3
Expand Up @@ -7,6 +7,10 @@
<? include( "core_API.php" ) ?>
<? login_cookie_check() ?>
<?
if ( 2 == $g_show_view ) {
print_header_redirect ( $g_view_bug_advanced_page."?f_id=".$f_id );
}

db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

check_bug_exists( $f_id );
Expand Down

0 comments on commit 86e3cbb

Please sign in to comment.