MantisBT: master 05c1639f

Author Committer Branch Timestamp Parent
dregad dregad master 2024-02-11 10:20 master cefd6643
Affected Issues  0031017: Allow disabling Categories
Changeset

Use enabled/disabled for category status

Since we currently only use a binary state (enabled/disabled) for the
status, we do not need to make things more complex than they have to be.

This simplifies @cas's original contribution by:

  • using a checkbox for input instead of radio buttons
  • display a check icon instead of relying on language strings in lists
  • standardize on enabled/disabled terminology

This also fixes the "inverted logic" (status == 0 was previously treated
as enabled, which is the reverse of one would expect.

Fixes 0031017

mod - bug_report_page.php Diff File
mod - bug_update_page.php Diff File
mod - core/category_api.php Diff File
mod - core/print_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - manage_proj_cat_update.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_page.php Diff File