Changesets: MantisBT

master 33c5c684

2003-02-14 20:25

Julian Fitzell


Details Diff
Raise our required version to 4.0.6, mainly to make sure DIRECTORY_SEPARATOR
is available but also to make way for using the variable ordered parameters
feature of sprintf() in the internationalization code.

4.0.6 is two years old now so it should be a more than reasonable requirement.

* core.php: remove DIRECTORY_SEPARATOR definition

* core/php_api.php: raise required version to 4.0.6

* core/compress_api.php
(compress_is_enabled): remove check for PHP greater than 4.0.4 - we now
require 4.0.6 anyway

* doc/INSTALL:
* doc/README:
* doc/configuration.html:
update version number in documentation

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1839 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - doc/configuration.html Diff File
mod - doc/INSTALL Diff File
mod - core/php_api.php Diff File
mod - core/compress_api.php Diff File
mod - doc/README Diff File
mod - core.php Diff File

master 5cad7a7e

2003-02-14 14:06

Julian Fitzell


Details Diff
move constants into the core/ directory

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

master 5fa22cee

2003-02-13 22:00

vboctor


Details Diff
New config option (history_default_visible)

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

master 2108ff59

2003-02-13 21:58

vboctor


Details Diff
M config_defaults_inc.php
- Added "history_default_visible" config. When ON the bug history is displayed
by default.

M bug_view_advanced_page.php
M bug_view_page.php
- Modified both pages to use the new config.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1836 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - config_defaults_inc.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - bug_view_page.php Diff File

master dca0cc27

2003-02-13 21:45

vboctor


Details Diff
M core/html_api.php
(html_button_bug_monitor):
- No need to check for private threshold, since if the current user is below
the threshold, (s)he won't be able to view the defect in the first place.
Also if we take it into consideration we shouldn't assume that private
threshold is > than monitor threshold.
(html_button_bug_unmonitor):
- Added the missing td tags.
(html_buttons_view_bug_page):
- A new function that prints out all the buttons that should appear on the
view bug pages. This is now called from within both simple / advanced pages.

M bug_view_advanced_page.php
M bug_view_page.php
- Both pages modified to call html_buttons_view_bug_page() rather than
duplicating the same code.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1835 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/html_api.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - bug_view_page.php Diff File

master 1371985c

2003-02-13 09:04

vboctor


Details Diff
M core/access_api.php
(access_can_close): Reversed the login to make it less confusing.

M core/html_api.php
- Moved the td's inside the html APIs so that they are only printed if the button is
printed. This removes spaces between buttons that were dependent on the number of hidden
buttons (which doesn't make sense). I didn't want to put the td's in the html_button
since it is a generic method.

M bug_view_advanced_page.php
M bug_view_page.php
- Simplified the code.
- Now the buttons always appear centered independent of the hidden buttons.
- More checks can still move to the APIs (can be done later).

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1834 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/html_api.php Diff File
mod - bug_view_page.php Diff File
mod - core/access_api.php Diff File
mod - bug_view_advanced_page.php Diff File

master 8b206bcb

2003-02-13 08:24

vboctor


Details Diff
M manage_user_create.php
- Fixed a problem where the user create page used to ask the user for confirmation that
the password is empty, even if it is not empty.

M core/access_api.php
- (access_can_close_bug): Checks if the current user can close the specified bug.
This is true if the user is the reporter of the bug and the reporters can close bugs or
if the user's access level is above the required threshold.
- (access_ensure_can_close_bug): Calls access_can_close_bug(), and if it fails, it calls
access_denied().

M bug_close.php
M bug_close_page.php
M bug_view_advanced_page.php
M bug_view_page.php
- Made use of the added functions in access_api to allow reporters to close their own
bugs, if $g_allow_reporter_close is set to ON. This is a fix to bug 0002901.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1833 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002901
mod - bug_view_page.php Diff File
mod - bug_close_page.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - manage_user_create.php Diff File
mod - bug_close.php Diff File
mod - core/access_api.php Diff File

master b7666f1b

2003-02-13 02:11

Julian Fitzell


Details Diff
* manage_proj_edit_page.php: don't display the column headers in each section
when there are no rows to be displayed

* lang/strings_english.txt: use 'Field' instead of 'Fields' so I renamed the
string

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1832 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_proj_edit_page.php Diff File
mod - lang/strings_english.txt Diff File

master f3af52ba

2003-02-12 19:42

vboctor


Details Diff
Enhanced the look'n'feel of some sections and made them consistent.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1831 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_english.txt Diff File
mod - manage_proj_edit_page.php Diff File

master 9d8d5717

2003-02-12 08:10

vboctor


Details Diff
- Update for French translation contributed by Quentin Delance.
- Added Quentin to credits.

Thanks Quentin... Keep sending the updates... generally we need "cvs diff -u"
rather than complete files. However, since the non-English language files are
not that dynamic, it is not a big deal to get the complete file since it usually matches
what's in CVS.

To keep everybody happy for language files you can send both!

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1830 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - doc/CREDITS Diff File
mod - lang/strings_french.txt Diff File

master 63caa3f9

2003-02-11 16:36

jlatour


Details Diff
Fixed a bug which prevented creation of new accounts.

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

master 4c2feb7b

2003-02-11 09:08

vboctor


Details Diff
Fixed a problem where the check to display the "Send a Reminder" link was invalid.
The check was (if annonymous && has the appropriate access level) rather than
(if NOT annonymous and have the appropriate access level)

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

master 3a4dad2e

2003-02-11 08:54

vboctor


Details Diff
Fix for 0002842: User still receives email after account is disabled.

- core/user_api.php
(user_is_enabled): function added to allow checking that a user is enabled before sending emails.

- core/email_api.php
(build_bcc_list):
- Changed checks for "user_exists()" to be "user_exists() and user_is_enabled()"
- Added "WHERE enabled = 1" to SQL queries returning candidate users to be emailed.

- doc/ChangeLog
- documented the fix.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1827 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/email_api.php Diff File
mod - doc/ChangeLog Diff File
mod - core/user_api.php Diff File

master 806c6284

2003-02-11 04:08

Julian Fitzell


Details Diff
Remove login_cookie_check() which was made obsolete months ago. The last visit update portion was moved into print_footer() and all calls to this function were replaced with calls to auth_ensure_user_authenticated() which is what was being called under the hood anyway.

There are also a few comments I added for myself in access_api because I may continue working on this from work tomorrow.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1826 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_user_update.php Diff File
mod - core/access_api.php Diff File
mod - manage_user_edit_page.php Diff File
mod - manage_user_reset.php Diff File
mod - bug_delete.php Diff File
mod - bug_reminder_page.php Diff File
mod - summary_jpgraph_page.php Diff File
mod - view_all_bug_page.php Diff File
mod - summary_graph_byresolution_pct.php Diff File
mod - bugnote_add.php Diff File
mod - bug_resolve_page.php Diff File
mod - summary_graph_cumulative_bydate.php Diff File
mod - account_prof_delete.php Diff File
mod - manage_user_prune.php Diff File
mod - print_all_bug_options_page.php Diff File
mod - bug_file_add.php Diff File
mod - account_prof_make_default.php Diff File
mod - account_prefs_page.php Diff File
mod - account_prof_menu_page.php Diff File
mod - manage_proj_user_copy.php Diff File
mod - proj_doc_add.php Diff File
mod - proj_doc_update.php Diff File
mod - manage_custom_field_update.php Diff File
mod - print_all_bug_options_reset.php Diff File
mod - manage_proj_cat_copy.php Diff File
mod - news_menu_page.php Diff File
mod - summary_graph_byreporter.php Diff File
mod - bug_file_delete.php Diff File
mod - summary_graph_bystatus_pct.php Diff File
mod - account_delete.php Diff File
mod - summary_graph_byresolution_mix.php Diff File
mod - bugnote_delete.php Diff File
mod - show_source_page.php Diff File
mod - proj_doc_delete.php Diff File
mod - news_edit_page.php Diff File
mod - summary_graph_imp_resolution.php Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - account_prof_edit_page.php Diff File
mod - summary_graph_imp_severity.php Diff File
mod - manage_user_proj_delete.php Diff File
mod - main_page.php Diff File
mod - bug_report_page.php Diff File
mod - manage_proj_custom_field_remove.php Diff File
mod - proj_doc_page.php Diff File
mod - bug_close.php Diff File
mod - bug_view_page.php Diff File
mod - bug_reminder.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - manage_proj_update.php Diff File
mod - manage_proj_user_add.php Diff File
mod - manage_proj_delete.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - manage_user_proj_add.php Diff File
mod - summary_graph_bypriority_mix.php Diff File
mod - jump_to_bug.php Diff File
mod - bugnote_update.php Diff File
mod - summary_graph_imp_category.php Diff File
mod - print_all_bug_options_update.php Diff File
mod - account_update.php Diff File
mod - manage_proj_create_page.php Diff File
mod - news_delete.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - summary_graph_byseverity_pct.php Diff File
mod - manage_proj_cat_delete.php Diff File
mod - bug_assign.php Diff File
mod - file_download.php Diff File
mod - manage_user_create.php Diff File
mod - summary_graph_bypriority.php Diff File
mod - summary_graph_byresolution.php Diff File
mod - manage_proj_custom_field_add_existing.php Diff File
mod - summary_graph_bystatus.php Diff File
mod - manage_user_create_page.php Diff File
mod - print_all_bug_page.php Diff File
mod - core/authentication_api.php Diff File
mod - manage_proj_user_remove.php Diff File
mod - bug_monitor.php Diff File
mod - summary_graph_byseverity_mix.php Diff File
mod - summary_graph_byseverity.php Diff File
mod - account_prefs_update.php Diff File
mod - bug_update.php Diff File
mod - manage_proj_page.php Diff File
mod - bug_reopen_page.php Diff File
mod - manage_proj_ver_add.php Diff File
mod - bug_resolve.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - csv_export.php Diff File
mod - manage_proj_cat_update.php Diff File
mod - bugnote_edit_page.php Diff File
mod - manage_proj_ver_delete.php Diff File
mod - summary_graph_imp_priority.php Diff File
mod - documentation_page.php Diff File
mod - proj_doc_add_page.php Diff File
mod - summary_page.php Diff File
mod - set_project.php Diff File
mod - account_prof_add.php Diff File
mod - account_page.php Diff File
mod - manage_user_delete.php Diff File
mod - summary_graph_bycategory_pct.php Diff File
mod - manage_proj_create.php Diff File
mod - bug_update_page.php Diff File
mod - manage_custom_field_page.php Diff File
mod - bug_actiongroup_page.php Diff File
mod - summary_graph_bycategory.php Diff File
mod - print_bug_page.php Diff File
mod - bug_report.php Diff File
mod - bug_actiongroup.php Diff File
mod - manage_proj_cat_add.php Diff File
mod - manage_custom_field_create.php Diff File
mod - news_add.php Diff File
mod - login_page.php Diff File
mod - manage_proj_ver_update.php Diff File
mod - bug_report_advanced_page.php Diff File
mod - summary_graph_bypriority_pct.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - manage_custom_field_delete.php Diff File
mod - summary_graph_bydeveloper.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - manage_user_page.php Diff File
mod - account_prof_update.php Diff File
mod - account_prefs_reset.php Diff File
mod - view_all_set.php Diff File
mod - bug_reopen.php Diff File
mod - news_update.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - news_view_page.php Diff File
mod - bug_close_page.php Diff File
mod - proj_doc_edit_page.php Diff File
mod - news_list_page.php Diff File
mod - manage_proj_ver_edit_page.php Diff File
mod - summary_graph_imp_status.php Diff File

master dc93493c

2003-02-11 04:04

Julian Fitzell


Details Diff
* core/summary_api.php
(print_reporter_summary): use user_get_name() to prevent problems when the
user has been deleted

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

master 6ebcce84

2003-02-11 03:59

Julian Fitzell


Details Diff
Stop showing the current project name at the login screen when you aren't logged in (when the project cookie is still hanging around)

* config_defaults_inc.php
(g_show_project_in_title): remove 3rd possible value. We should compare ON
and OFF directly, not assume they are 1 and 0. If you don't want the title
just set it to '' in the window_title and page_title config options

* core/project_api.php
(project_get_name): new function to get a project name, while handling the
case of a 0 project_id

* core/html_api.php
(print_page_top1): stop getting and passing the window_title
(print_page_top2a): stop getting and passing the page_title
(print_title): rewrite to be cleaner
(print_header): rewrite to be cleaner
(print_footer): update the user's last visit time if they are logged in

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1824 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - config_defaults_inc.php Diff File
mod - core/project_api.php Diff File
mod - core/html_api.php Diff File

master 831e4368

2003-02-11 02:36

Julian Fitzell


Details Diff
This is sort of a dump of what I've done so far. I realized I need to divert myself to the access_api briefly because the access control checks are getting really confusing. I'm going to go look at renaming some of those functions.

* config_defaults_inc.php
(g_manage_user_threshold): new config option to control access to user
management functions (create/delete/modify)

* constant_inc.php
(ERROR_USER_NAME_INVALID): new error

* manage_user_create.php
* manage_user_create_page.php
* manage_user_delete.php
* manage_user_edit_page.php
* manage_user_page.php
* manage_user_proj_add.php
* manage_user_proj_delete.php
cleanup this files

* core/user_api.php
(user_is_name_valid):
new function that checks a username for validity. We
may need to expand this definition to include other character sets? (though
the PCRE regexes say they take localization into account). We might also
need to add a config option to make the checking less strict for systems
that already have users with names that contain weird characters.

(user_ensure_name_valid):
error-triggering version of above

(user_create):
call user_ensure_name_valid() before creating the user

(user_set_name):
new function that checks the username for validity before setting it. If
you subvert this function and use user_set_field() directly, you should
check the username yourself.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1823 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/user_api.php Diff File
mod - manage_user_page.php Diff File
mod - doc/ChangeLog Diff File
mod - manage_user_create.php Diff File
mod - manage_user_create_page.php Diff File
mod - manage_user_proj_add.php Diff File
mod - manage_user_proj_delete.php Diff File
mod - config_defaults_inc.php Diff File
mod - constant_inc.php Diff File
mod - manage_user_edit_page.php Diff File
mod - manage_user_delete.php Diff File
mod - lang/strings_english.txt Diff File

master 954fbd73

2003-02-11 02:18

Julian Fitzell


Details Diff
* manage_proj_add.php: rename to manage_proj_create.php

* manage_proj_create.php
* manage_proj_create_page.php
* manage_proj_edit_page.php
* manage_proj_page.php
start trying to fix the permissions here. I realized that in most cases we
were always checking the *current* project but we usually want to be
checking either the global permission level or the level in the project
we are working on (which is passed in to the manage section - it doesn't
use the current project)

More to come on this

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1822 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_create_page.php Diff File
mod - manage_proj_page.php Diff File

master a4badaf9

2003-02-11 00:41

vboctor


Details Diff
* core/custom_field_api.php
- (print_custom_field_input): Fix for 0002881: Handling quotations in custom
fields.
- (custom_field_set_value): Fix for 0002922: Custom fields with quotes are added
to history even if not modified.

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

master d60db9b5

2003-02-10 18:48

Julian Fitzell


Details Diff
Ewww.... horrid, horrid, horrid PHP bug.

array_keys() will always give you an array element 0 (because of the way arrays are indexed) and in_array() will always return true when you ask if a string is contained in an array that has a 0 in it (because of the way strings and integers are compared)

* core/bug_api.php
(bug_get): use strict veresion of in_array

* core/user_pref_api.php
(user_pref_get): use strict veresion of in_array
(user_pref_get_pref): use strict veresion of in_array

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1820 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/user_pref_api.php Diff File
mod - core/bug_api.php Diff File

master 615dfefc

2003-02-10 16:59

Julian Fitzell


Details Diff
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

master 9e0203b7

2003-02-09 17:30

Julian Fitzell


Details Diff
Clean up the menu and header a little bit

* core/html_api.php
(print_header): use string_display() on the title
(print_hr): flip the code in the conditional
(print_menu): rearrange the menu so account prefs are next to login/logout
and conditional admin stuff is at the end

* core/print_api.php
(print_project_option_list): use string_display() on the project names

* lang/strings_english.txt
(account_link): use 'My Account' instead of 'Account'

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1818 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_english.txt Diff File
mod - core/html_api.php Diff File
mod - core/print_api.php Diff File

master fb79c205

2003-02-09 17:15

Julian Fitzell


Details Diff
* manage_proj_page.php: cleanup this file

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

master 875f99e0

2003-02-09 17:15

Julian Fitzell


Details Diff
* core/icon_api.php
(print_sort_icon): accept ASC and DESC constants as well as the strings
'ASC' and 'DESC'

* core/print_api.php
(print_manage_user_sort_link): accept ASC and DESC constants as well as
the strings 'ASC' and 'DESC'
(print_manage_project_sort_link): accept ASC and DESC constants as well
as the strings 'ASC' and 'DESC'

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1816 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/icon_api.php Diff File
mod - core/print_api.php Diff File

master a3f5ca55

2003-02-09 16:55

Julian Fitzell


Details Diff
In addition to these changes, I added space between function (yes, bad Julian, bad Julian)

* core/project_api.php
(project_cache_row): convert the id to an int before using it as an array key
(project_cache_all): new function to pull all project rows from the db into
the cache
(project_clear_cache): convert the id to an int before using it as an array
key
(project_get_all_rows): new public function to return all the project rows

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1815 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/project_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 636 637 638 639 640 641 642 ... 700 ... 703 704 705  Next  Last