Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25656
Modified Files:
adm_permissions_report.php
Log Message:
Fix to hidden some lines when related functions are configured as off
Index: adm_permissions_report.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/adm_permissions_report.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- adm_permissions_report.php 14 Oct 2004 17:34:13 -0000 1.1
+++ adm_permissions_report.php 15 Oct 2004 20:50:11 -0000 1.2
@@ -210,9 +210,12 @@
echo get_capability_row_for_email( lang_get(
'email_on_reopened' ), 'reopen' );
echo get_capability_row_for_email( lang_get( 'email_on_deleted'
), 'deleted' );
echo get_capability_row_for_email( lang_get(
'email_on_bugnote_added' ), 'bugnote' );
- echo get_capability_row_for_email( lang_get(
'email_on_sponsorship_changed' ), 'sponsor' );
- echo get_capability_row_for_email( lang_get(
'email_on_relationship_changed' ), 'relationship' );
-
+ if( config_get( 'enable_sponsorship' ) == ON ) {
+ echo get_capability_row_for_email( lang_get(
'email_on_sponsorship_changed' ), 'sponsor' );
+ }
+ if( config_get( 'enable_relationship' ) == ON ) {
+ echo get_capability_row_for_email( lang_get(
'email_on_relationship_changed' ), 'relationship' );
+ }
$t_statuses = explode_enum_string( config_get(
'status_enum_string' ) );
foreach( $t_statuses as $t_status ) {
list( $t_state, $t_label ) = explode_enum_arr(
$t_status );
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
|