Index: branches/RC/core/units/ban_rules/ban_rules_config.php =================================================================== diff -u -N -r10941 -r10953 --- branches/RC/core/units/ban_rules/ban_rules_config.php (.../ban_rules_config.php) (revision 10941) +++ branches/RC/core/units/ban_rules/ban_rules_config.php (.../ban_rules_config.php) (revision 10953) @@ -32,7 +32,7 @@ 'ban_rule_edit' => Array ('prefixes' => Array ('ban-rule'), 'format' => "#ban-rule_status# '#ban-rule_titlefield#'"), ), - 'PermSection' => Array('main' => 'in-portal:ban_rules'), + 'PermSection' => Array('main' => 'in-portal:ban_rulelist'), 'Sections' => Array ( 'in-portal:ban_rulelist' => Array ( @@ -60,34 +60,34 @@ 'RuleId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), 'RuleType' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0, 'use_phrases' => 1, 'formatter'=>'kOptionsFormatter', 'options'=>Array( 0 => 'la_opt_Deny', -// 1 => 'la_opt_Allow' - ) +// 1 => 'la_opt_Allow' + ) ), 'ItemField' => Array ('type' => 'string', 'max_len' => 255, 'default' => NULL, 'use_phrases' => 1, 'formatter'=>'kOptionsFormatter', 'options'=>Array( 'ip' => 'la_opt_IP_Address', - 'Login' => 'la_opt_Username', - 'Email' => 'la_opt_Email', - 'FirstName' => 'la_opt_FirstName', - 'LastName' => 'la_opt_LastName', - 'Address' => 'la_opt_Address', - 'City' => 'la_opt_City', - 'State' => 'la_opt_State', - 'Zip' => 'la_opt_Zip', - 'Phone' => 'la_opt_Phone', - ) + 'Login' => 'la_opt_Username', + 'Email' => 'la_opt_Email', + 'FirstName' => 'la_opt_FirstName', + 'LastName' => 'la_opt_LastName', + 'Address' => 'la_opt_Address', + 'City' => 'la_opt_City', + 'State' => 'la_opt_State', + 'Zip' => 'la_opt_Zip', + 'Phone' => 'la_opt_Phone', + ) ), 'ItemVerb' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0, 'use_phrases' => 1, 'formatter'=>'kOptionsFormatter', 'options'=>Array( 1 => 'la_opt_Exact', - 3 => 'la_opt_Sub-match' - ) + 3 => 'la_opt_Sub-match' + ) ), 'ItemValue' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'required'=>1, 'default' => ''), 'ItemType' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), 'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), 'Status' => Array ('type' => 'int', 'not_null' => 1, 'default' => 1, 'use_phrases' => 1, 'formatter'=>'kOptionsFormatter', 'options'=>Array( 1 => 'la_Enabled', - 0 => 'la_Disabled' - ) + 0 => 'la_Disabled' + ) ), 'ErrorTag' => Array ('type' => 'string', 'max_len' => 255, 'default' => NULL), ),