| Anonymous | Login | Signup for a new account | 2010-07-29 10:09 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0010411 | mantisbt | bugtracker | public | 2009-04-27 05:37 | 2009-05-18 09:18 | ||||||
| Reporter | paontis | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 1.2.0a3 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0010411: Changes to project_view_state and view_state to create only private projects | ||||||||||
| Description | I needed to create only private projects and forbid to create public projects. I saw in config_defaults_inc.php the following: $g_project_view_state_enum_string = '10:public,50:private'; So in config_inc.php i put: $g_project_view_state_enum_string = '50:private'; However in the code sometime it is used view_state where I expected to find project_view_state and viceversa. So i did the following changes: In manage_proj_create_page.php i changed: <?php print_enum_string_option_list( 'view_state' ) ?> to: <?php print_enum_string_option_list( 'project_view_state' ) ?> In manage_proj_edit_page.php i changed: <?php print_enum_string_option_list( 'view_state', $row['view_state']) ?> to: <?php print_enum_string_option_list( 'project_view_state', $row['view_state']) ?> In manage_proj_page.php i changed: <?php echo get_enum_element( 'view_state', $t_project['view_state'] ) ?> to: <?php echo get_enum_element( 'project_view_state', $t_project['view_state'] ) ?> And, viceversa, in bug_view_page.php and bug_view_advanced_page.php i changed: <?php echo get_enum_element( 'project_view_state', $t_bug->view_state ) ?> to: <?php echo get_enum_element( 'view_state', $t_bug->view_state ) ?> | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
paontis (reporter) 2009-05-18 09:18 |
the same for bug_view_inc.php (included for example in the page bug_reminder_page.php): change <?php echo get_enum_element( 'project_view_state', $t_bug->view_state ) ?> to <?php echo get_enum_element( 'view_state', $t_bug->view_state ) ?> |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-04-27 05:37 | paontis | New Issue | |
| 2009-05-18 09:18 | paontis | Note Added: 0021831 | |
| MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.1880 seconds. memory usage: 1,926 KB |