MantisBT: master fa10a0cc

Author Committer Branch Timestamp Parent
Julian Fitzell master 2003-01-30 04:41 master 7462eeca
Changeset

Some cleanup in progress of the manage files

  • config_defaults_inc.php:
    (g_delete_project_threshold): new option to control who can delete projects
    (g_create_project_threshold): new option to control who can creates projecs

  • manage_proj_add.php:

    • use new threshold (create_project_threshold)
    • user print instead of ECHO
  • manage_proj_cat_copy.php:

    • use new function category_get_all_rows()
  • manage_proj_cat_edit_page.php:

    • add a comment to come back to later
  • manage_proj_delete.php:

    • use bew threshold (delete_project_threshold)
  • manage_proj_edit_page.php:

    • remove unused GPC parameter f_action
    • use file_is_uploading_enabled() instead of checking one variable ourselves
    • use bew threshold (delete_project_threshold)
    • split categories and versions into two tables
    • use new function category_get_all_rows()
    • use new function version_get_all_rows()
  • manage_proj_page.php:

    • use new threshold (create_project_threshold)
  • core/category_api.php:
    (category_get_all): renamed to category_get_all_rows
    (category_get_all_rows): return an array of rows instead of a result

  • core/file_api.php:
    (file_is_uploading_enabled): new function that determines whether uploading
    is enabled in general
    (file_allow_project_upload): use files_is_uploading_enabled()
    (file_allow_bug_upload): use files_is_uploading_enabled()

  • core/project_api.php:
    (project_get_row): new function
    (project_get_field): use project_get_row()

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

mod - manage_proj_add.php Diff File
mod - config_defaults_inc.php Diff File
mod - manage_proj_page.php Diff File
mod - core/category_api.php Diff File
mod - manage_proj_update.php Diff File
mod - manage_proj_cat_copy.php Diff File
mod - manage_proj_delete.php Diff File
mod - core/project_api.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - doc/ChangeLog Diff File
mod - core/file_api.php Diff File
mod - core/version_api.php Diff File
mod - manage_proj_edit_page.php Diff File