Skip to content

Commit

Permalink
removed bug_reopen
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@104 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Dec 24, 2000
1 parent 39d00a3 commit 597714a
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 202 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Expand Up @@ -26,6 +26,10 @@ To Do:
dealing with bugnotes.
* Reordered the config_inc.php file items
* Added a logout redirect page variable for the logout page
* Fixed show source problem
* Removed get_current_user_id() and replaced with calls to get_current_user_field( "id" )
* Added reopen bug dialog
* Added $g_bug_reopen_page and removed $g_bug_reopen

12.20.2000 - 0.12.0

Expand Down
2 changes: 1 addition & 1 deletion account_prefs_page.php3
Expand Up @@ -18,7 +18,7 @@
db_mysql_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

### grab the user id
$u_id = get_current_user_id();
$u_id = get_current_user_field( "id " );

### Grab the data
$query = "SELECT *
Expand Down
4 changes: 2 additions & 2 deletions account_profile_manage_page.php3
Expand Up @@ -34,7 +34,7 @@
<td bgcolor=<? echo $g_white_color ?>>
<table cols=2 width=100%>
<form method=post action="<? echo $g_account_profile_add ?>">
<input type=hidden name=f_user_id value="<? echo get_current_user_id() ?>">
<input type=hidden name=f_user_id value="<? echo get_current_user_field( "id " ) ?>">
<tr>
<td colspan=2 bgcolor=<? echo $g_table_title_color ?>>
<b><? echo $s_add_profile ?></b>
Expand Down Expand Up @@ -91,7 +91,7 @@
<td bgcolor=<? echo $g_white_color ?>>
<table width=100%>
<form method=post action="<? echo $g_account_profile_edit_page ?>">
<input type=hidden name=f_user_id value="<? echo get_current_user_id() ?>">
<input type=hidden name=f_user_id value="<? echo get_current_user_field( "id " ) ?>">
<tr>
<td colspan=2 bgcolor=<? echo $g_table_title_color ?>>
<b><? echo $s_edit_or_delete_profiles ?></b>
Expand Down
67 changes: 0 additions & 67 deletions bug_reopen.php3

This file was deleted.

6 changes: 3 additions & 3 deletions bugnote_add.php3
Expand Up @@ -10,7 +10,7 @@
db_mysql_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

### get user information
$u_id = get_current_user_id();
$u_id = get_current_user_field( "id " );

$f_bugnote_text = string_safe( $f_bugnote_text );
### insert bugnote text
Expand Down Expand Up @@ -42,14 +42,14 @@
### get date submitted (weird bug in mysql)
$query = "SELECT date_submitted
FROM $g_mantis_bug_table
WHERE id='$f_id'";
WHERE id='$f_bug_id'";
$result = mysql_query( $query );
$t_date_submitted = mysql_result( $result, 0 );

### update bug last updated
$query = "UPDATE $g_mantis_bug_table
SET date_submitted='$t_date_submitted', last_updated=NOW()
WHERE id='$f_id'";
WHERE id='$f_bug_id'";
$result = mysql_query($query);
?>
<? print_html_top() ?>
Expand Down
2 changes: 1 addition & 1 deletion bugnote_inc.php
Expand Up @@ -8,7 +8,7 @@
db_mysql_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

### grab the user id currently logged in
$t_user_id = get_current_user_id();
$t_user_id = get_current_user_field( "id " );

### get the bugnote data
$query = "SELECT *
Expand Down
2 changes: 1 addition & 1 deletion config_inc.php
Expand Up @@ -176,7 +176,7 @@
$g_bug_update_advanced_page = "bug_update_advanced_page".$g_php;
$g_bug_update = "bug_update".$g_php;

$g_bug_reopen = "bug_reopen".$g_php;
$g_bug_reopen_page = "bug_reopen_page".$g_php;

# vote
$g_bug_vote_add = "bug_vote_add".$g_php;
Expand Down

0 comments on commit 597714a

Please sign in to comment.