MantisBT: master 0aefaf05

Author Committer Branch Timestamp Parent
vboctor master 2002-12-08 05:54 master 47ebbbce
Changeset
  • Added lang_exists() to check if a string exists without generating errors.
  • Added lang_get_defaulted() to get a string if found, otherwise return a default.
  • Used lang_get_defaulted() to attempt getting the string corresponding to the custom
    field name (that is why I used to call it caption), if not found, the same string is
    returned (in case the user does not care for multi-lingual support). The translation
    strings for the custom fields should be defined in custom_strings_inc.php.
  • Removed colons from bug report page, since this was the only one with colons.

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

mod - bug_update_page.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - core/lang_api.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - bug_view_page.php Diff File
mod - bug_report_page.php Diff File