- Add a bugnote entry form to bug_update_page.php and bug_update_advanced_page.php
- Enable support for that in bug_update.php
- Pull out bugnote addition code into a helper function and update all files that do this
- some cleanups along the way
I also added Revision, Author, Date, and Id CVS variables since some of the files in the repo have them... I assume we're moving toward adding them not removing them?
bug_close.php:
- renamed $t_clo_val to $t_status_val
- moved variable cleaning to top of file
- replaced bugnote addition code with a call to add_bugnote()
bug_reopen.php:
- moved variable cleaning to top of file
- renamed $t_fee_val to $t_status_val
- renamed $t_reop to $t_resolution
- remove unused $t_handler_id variable
- replaced bugnote addition code with a call to add_bugnote()
- removed all references to uncleaned variables
bug_resolve.php:
- added checking and cleaning code for form variables
- renamed $t_res_val to $t_status_val
- replaced bugnote addition code with a call to add_bugnote()
- removed all references to uncleaned variables
bug_update.php:
- add code to handle adding a bugnote while updating
bug_update_advanced_page.php:
- remove all references to uncleaned variables
- fix call to print_version_option_list() which seemed to be passing an extra parameter ($f_version)
- add checkbox and textarea to add a bugnote while updating
bug_update_page.php:
- remove all references to uncleaned variables
- add checkbox and textarea to add a bugnote while updating
bugnote_add.php:
- added checking and cleaning code for form variables
- replaced bugnote addition code with a call to add_bugnote()
- removed all references to uncleaned variables
- moved emailing code inside if(!empty( $c_bugnote_text ) ) block
core_helper_API.php:
- (add_bugnote) New function to add a bugnote to the database
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1210 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |