Completed
Branch FET/rule-specific-exclusions-l... (334422)
by
unknown
17:10 queued 32s
created
admin_pages/payments/templates/payment_settings.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 					</label>
10 10
 				</th>
11 11
 				<td>
12
-					<?php echo EEH_Form_Fields::select_input('show_pending_payment_options', $values, $show_pending_payment_options ); ?>
12
+					<?php echo EEH_Form_Fields::select_input('show_pending_payment_options', $values, $show_pending_payment_options); ?>
13 13
 
14 14
 				</td>
15 15
 			</tr>
Please login to merge, or discard this patch.
admin_pages/registration_form/Registration_Form_Admin_Page_Init.core.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if (!defined('EVENT_ESPRESSO_VERSION') )
2
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
3 3
 	exit('NO direct script access allowed');
4 4
 
5 5
 /**
@@ -33,16 +33,16 @@  discard block
 block discarded – undo
33 33
 
34 34
 	public function __construct() {
35 35
 		//define some constants
36
-		define( 'REGISTRATION_FORM_PG_SLUG', 'espresso_registration_form' );
37
-		define( 'REGISTRATION_FORM_LABEL', __('Registration Form', 'event_espresso'));
38
-		define( 'REGISTRATION_FORM_PG_NAME', REGISTRATION_FORM_LABEL );
39
-		define( 'REGISTRATION_FORM_ADMIN', EE_ADMIN_PAGES . 'registration_form' . DS );
40
-		define( 'REGISTRATION_FORM_ADMIN_URL', admin_url( 'admin.php?page=' . REGISTRATION_FORM_PG_SLUG ));
41
-		define( 'EE_FORMS_ADMIN_URL', admin_url('admin.php?page=' . REGISTRATION_FORM_PG_SLUG ));
42
-		define( 'REGISTRATION_FORM_ASSETS_PATH', REGISTRATION_FORM_ADMIN . 'assets' . DS );
43
-		define( 'REGISTRATION_FORM_ASSETS_URL', EE_ADMIN_PAGES_URL . 'registration_form/assets/' );
44
-		define( 'REGISTRATION_FORM_TEMPLATE_PATH', REGISTRATION_FORM_ADMIN . 'templates' . DS );
45
-		define( 'REGISTRATION_FORM_TEMPLATE_URL', EE_ADMIN_PAGES_URL . 'registration_form/templates/' );
36
+		define('REGISTRATION_FORM_PG_SLUG', 'espresso_registration_form');
37
+		define('REGISTRATION_FORM_LABEL', __('Registration Form', 'event_espresso'));
38
+		define('REGISTRATION_FORM_PG_NAME', REGISTRATION_FORM_LABEL);
39
+		define('REGISTRATION_FORM_ADMIN', EE_ADMIN_PAGES.'registration_form'.DS);
40
+		define('REGISTRATION_FORM_ADMIN_URL', admin_url('admin.php?page='.REGISTRATION_FORM_PG_SLUG));
41
+		define('EE_FORMS_ADMIN_URL', admin_url('admin.php?page='.REGISTRATION_FORM_PG_SLUG));
42
+		define('REGISTRATION_FORM_ASSETS_PATH', REGISTRATION_FORM_ADMIN.'assets'.DS);
43
+		define('REGISTRATION_FORM_ASSETS_URL', EE_ADMIN_PAGES_URL.'registration_form/assets/');
44
+		define('REGISTRATION_FORM_TEMPLATE_PATH', REGISTRATION_FORM_ADMIN.'templates'.DS);
45
+		define('REGISTRATION_FORM_TEMPLATE_URL', EE_ADMIN_PAGES_URL.'registration_form/templates/');
46 46
 		parent::__construct();
47 47
 	}
48 48
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
 
55 55
 	protected function _set_menu_map() {
56
-		$this->_menu_map = new EE_Admin_Page_Sub_Menu( array(
56
+		$this->_menu_map = new EE_Admin_Page_Sub_Menu(array(
57 57
 			'menu_group' => 'management',
58 58
 			'menu_order' => 30,
59 59
 			'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY,
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if (!defined('EVENT_ESPRESSO_VERSION') )
2
+if (!defined('EVENT_ESPRESSO_VERSION') ) {
3 3
 	exit('NO direct script access allowed');
4
+}
4 5
 
5 6
 /**
6 7
  * Event Espresso
Please login to merge, or discard this patch.
registration_form/help_tabs/registration_form_add_question.help_tab.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
 <?php _e('This shows the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', 'event_espresso'); ?>
27 27
 </li>
28 28
 <li>
29
-<strong><?php _e('Answer Options (for applicable question types)', 'event_espresso');?></strong><br/>
30
-<?php _e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso');?>
29
+<strong><?php _e('Answer Options (for applicable question types)', 'event_espresso'); ?></strong><br/>
30
+<?php _e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso'); ?>
31 31
 </li>
32 32
 <li>
33 33
 <strong><?php _e('Required Question', 'event_espresso'); ?></strong><br />
Please login to merge, or discard this patch.
admin_pages/registrations/Registrations_Admin_Page_Init.core.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * ------------------------------------------------------------------------
23 23
  */
24
-class Registrations_Admin_Page_Init extends EE_Admin_Page_CPT_Init  {
24
+class Registrations_Admin_Page_Init extends EE_Admin_Page_CPT_Init {
25 25
 
26 26
 
27 27
 
@@ -34,16 +34,16 @@  discard block
 block discarded – undo
34 34
 	 * 		@return void
35 35
 	 */
36 36
 	public function __construct() {
37
-		do_action( 'AHEE_log', __FILE__, __FUNCTION__, '' );
38
-		if ( ! defined( 'REG_PG_SLUG' ) ) {
39
-			define( 'REG_PG_SLUG', 'espresso_registrations' );
40
-			define( 'REG_PG_NAME', ucwords( str_replace( '_', '', REG_PG_SLUG )));
41
-			define( 'REG_ADMIN', EE_ADMIN_PAGES . 'registrations' . DS );
42
-			define( 'REG_ADMIN_URL', admin_url( 'admin.php?page=' . REG_PG_SLUG ));
43
-			define( 'REG_ASSETS_PATH', REG_ADMIN . 'assets' . DS );
44
-			define( 'REG_ASSETS_URL', EE_ADMIN_PAGES_URL . 'registrations/assets/' );
45
-			define( 'REG_TEMPLATE_PATH', REG_ADMIN . 'templates' . DS );
46
-			define( 'REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL . 'registrations/templates/' );
37
+		do_action('AHEE_log', __FILE__, __FUNCTION__, '');
38
+		if ( ! defined('REG_PG_SLUG')) {
39
+			define('REG_PG_SLUG', 'espresso_registrations');
40
+			define('REG_PG_NAME', ucwords(str_replace('_', '', REG_PG_SLUG)));
41
+			define('REG_ADMIN', EE_ADMIN_PAGES.'registrations'.DS);
42
+			define('REG_ADMIN_URL', admin_url('admin.php?page='.REG_PG_SLUG));
43
+			define('REG_ASSETS_PATH', REG_ADMIN.'assets'.DS);
44
+			define('REG_ASSETS_URL', EE_ADMIN_PAGES_URL.'registrations/assets/');
45
+			define('REG_TEMPLATE_PATH', REG_ADMIN.'templates'.DS);
46
+			define('REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL.'registrations/templates/');
47 47
 		}
48 48
 
49 49
 		parent::__construct();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
 
61 61
 	protected function _set_menu_map() {
62
-		$this->_menu_map = new EE_Admin_Page_Sub_Menu( array(
62
+		$this->_menu_map = new EE_Admin_Page_Sub_Menu(array(
63 63
 			'menu_group' => 'main',
64 64
 			'menu_order' => 40,
65 65
 			'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY,
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,6 @@
 block discarded – undo
1
-<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) exit('No direct script access allowed');
1
+<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) {
2
+	exit('No direct script access allowed');
3
+}
2 4
 /**
3 5
  * Event Espresso
4 6
  *
Please login to merge, or discard this patch.
templates/attendee_address_details_metabox_content.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee');
2
+EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee');
3 3
 /*
4 4
  * @var $attendee EE_Attendee 
5 5
  * @var $state_html html for displaying the attendee's state
Please login to merge, or discard this patch.
templates/attendee_details_after_title_form_fields.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee');
2
+EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee');
3 3
 /**
4 4
  * @var $attendee - instance of EE_Attendee
5 5
  */
Please login to merge, or discard this patch.
templates/reg_admin_details_main_meta_box_reg_questions.template.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,11 @@
 block discarded – undo
11 11
 		<?php echo $att_questions; ?>
12 12
 		<?php if ( !empty($att_questions) ) : ?>
13 13
 			<input id="reg-admin-attendee-questions-submit" class="button-primary" value="Update Registration Questions" type="submit" />
14
-		<?php else : ?>
15
-			<p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); ?></p>
14
+		<?php else {
15
+	: ?>
16
+			<p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso');
17
+}
18
+?></p>
16 19
 		<?php endif; ?>
17 20
 
18 21
 	</form>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 	<p><?php _e('This displays the custom questions and answers for this registrant.  Please note that any answers to system questions have been saved with the contact record.  You can edit those answers via the "View/Edit this Contact" link in the Contact Details metabox in the sidebar.', 'event_espresso'); ?></p>
3 3
 	
4 4
 	<form name="reg-admin-attendee-questions-frm" id="reg-admin-attendee-questions-frm" action="<?php echo REG_ADMIN_URL; ?>" method="post">
5
-		<?php wp_nonce_field( $reg_questions_form_action . '_nonce', $reg_questions_form_action . '_nonce' ); ?>
5
+		<?php wp_nonce_field($reg_questions_form_action.'_nonce', $reg_questions_form_action.'_nonce'); ?>
6 6
 		<input  type="hidden" name="page" value="<?php echo REG_PG_SLUG; ?>"/>
7 7
 		<input  type="hidden" name="action" value="<?php echo $reg_questions_form_action; ?>"/>
8 8
 		<input  type="hidden" name="_REG_ID" value="<?php echo $REG_ID; ?>"/>
9 9
 		<input  type="hidden" name="espresso_ajax" id="espresso-ajax" value="0"/>
10 10
 		<input  type="hidden" name="noheader" id="reg-admin-noheader-inp" value="true"/>
11 11
 		<?php echo $att_questions; ?>
12
-		<?php if ( !empty($att_questions) ) : ?>
12
+		<?php if ( ! empty($att_questions)) : ?>
13 13
 			<input id="reg-admin-attendee-questions-submit" class="button-primary" value="Update Registration Questions" type="submit" />
14 14
 		<?php else : ?>
15 15
 			<p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); ?></p>
Please login to merge, or discard this patch.
registrations/templates/reg_admin_register_new_attendee.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,2 +1,2 @@
 block discarded – undo
1
-<h1><span class="small-text not-bold"><?php _e( 'Adding Registration For: ', 'event_espresso' );?></span><?php echo $event_name;?></h1>
1
+<h1><span class="small-text not-bold"><?php _e('Adding Registration For: ', 'event_espresso'); ?></span><?php echo $event_name; ?></h1>
2 2
 <?php echo $step_content; ?>
3 3
\ No newline at end of file
Please login to merge, or discard this patch.
templates/reg_admin_register_new_attendee_step_content.template.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 	<h2 class="ee-new-registration-step-header"><?php echo $title ?></h2>
3 3
 	<div class="ee-new-registration-step-content">
4 4
 		<?php echo $content; ?>
5
-		<?php if ( $show_notification_toggle && EE_Registry::instance()->CAP->current_user_can( 'ee_send_message', 'registration_message_type' ) ) : ?>
5
+		<?php if ($show_notification_toggle && EE_Registry::instance()->CAP->current_user_can('ee_send_message', 'registration_message_type')) : ?>
6 6
 			<div class="ee-attention">
7
-				<label for="txn_reg_status_change" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label>
7
+				<label for="txn_reg_status_change" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label>
8 8
 				<input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]" checked=checked>
9 9
 				<br/>
10 10
 				<br />
11
-				<p class="description"><?php _e( 'Send a notification to registrants after processing?', 'event_espresso' );?></p><br/>
11
+				<p class="description"><?php _e('Send a notification to registrants after processing?', 'event_espresso'); ?></p><br/>
12 12
 				<label></label>
13 13
 			</div>
14 14
 		<?php endif; ?>
Please login to merge, or discard this patch.