MantisBT: master 615dfefc

Author Committer Branch Timestamp Parent
Julian Fitzell master 2003-02-10 16:59 master 9e0203b7
Changeset

This commit attempts to clean up the string output escaping a bit.

I renamed string_edit_text to string_attribute (since it is useful whenever it is used in an HTML attribute). I renamed string_edit_textarea
to string_textarea. Then I split string_display and string_email into two functions, one that inserts links and one that doesn't.

I renamed filter_html_tags() to string_restore_valid_html_tags(), filter_href_tags() to string_insert_hrefs(), and unfilter_href_tags() to
string_strip_hrefs() because I always found the old names confusing and they had the wrong prefix.

I removed filter_img_tags() since we don't use it at the moment and it does nothing.

The rest of the changes are just to reflect these renamings. In email_api I also moved the code around a little so we only do the string
escaping once in email_send().

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1819 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - news_edit_page.php Diff File
mod - print_all_bug_page.php Diff File
mod - print_bug_page.php Diff File
mod - main_page.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - core/string_api.php Diff File
mod - view_all_inc.php Diff File
mod - account_prof_edit_page.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - proj_doc_edit_page.php Diff File
mod - core/html_api.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - bugnote_inc.php Diff File
mod - manage_proj_ver_edit_page.php Diff File
mod - csv_export.php Diff File
mod - bugnote_edit_page.php Diff File
mod - manage_proj_page.php Diff File
mod - core/email_api.php Diff File
mod - proj_doc_page.php Diff File
mod - news_view_page.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - news_add.php Diff File
mod - news_update.php Diff File
mod - print_bugnote_inc.php Diff File
mod - core/bug_api.php Diff File