Completed
Branch BUG/reg-form-closing-div (9e796b)
by
unknown
09:05 queued 01:02
created
reg_steps/attendee_information/attendee_info_single.template.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@  discard block
 block discarded – undo
6 6
 <?php if (!is_admin()) : ?>
7 7
     <p id="spco-attendee_information-pg" class="spco-steps-pg small-text drk-grey-text">
8 8
         <?php echo apply_filters(
9
-            'FHEE__registration_page_attendee_information__attendee_information_pg',
10
-            sprintf(
11
-                esc_html__(
12
-                    'In order to process your registration, we ask you to provide the following information.%1$sPlease note that all fields marked with an asterisk (%2$s) are required.',
13
-                    'event_espresso'
14
-                ),
15
-                '<br />',
16
-                '<span class="asterisk">*</span>'
17
-            )
18
-        ); ?>
9
+			'FHEE__registration_page_attendee_information__attendee_information_pg',
10
+			sprintf(
11
+				esc_html__(
12
+					'In order to process your registration, we ask you to provide the following information.%1$sPlease note that all fields marked with an asterisk (%2$s) are required.',
13
+					'event_espresso'
14
+				),
15
+				'<br />',
16
+				'<span class="asterisk">*</span>'
17
+			)
18
+		); ?>
19 19
 </p>
20 20
 <?php endif; ?>
21 21
 
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
 $prev_ticket = 0;
26 26
 
27 27
 if (count($registrations) > 0) {
28
-    $ticketID = key($template_args['ticket_count']);
29
-    ?>
28
+	$ticketID = key($template_args['ticket_count']);
29
+	?>
30 30
 
31 31
     <div id="spco-attendee-panel-dv-<?php echo $ticketID; ?>"
32 32
         class="spco-attendee-panel-dv spco-attendee-ticket-<?php echo $ticketID; ?>">
@@ -41,54 +41,54 @@  discard block
 block discarded – undo
41 41
                     <th scope="col" width="" class="jst-left"><?php esc_html_e('Name and Description', 'event_espresso'); ?></th>
42 42
                     <th scope="col" width="7.5%" class="jst-rght">
43 43
                         <?php esc_html_e(
44
-                            'Qty',
45
-                            'event_espresso'
46
-                        ); ?></th>
44
+							'Qty',
45
+							'event_espresso'
46
+						); ?></th>
47 47
                     <th scope="col" width="17.5%" class="jst-rght">
48 48
                         <?php esc_html_e(
49
-                            'Price',
50
-                            'event_espresso'
51
-                        ); ?></th>
49
+							'Price',
50
+							'event_espresso'
51
+						); ?></th>
52 52
                     <th scope="col" width="17.5%" class="jst-rght">
53 53
                         <?php esc_html_e(
54
-                            'Total',
55
-                            'event_espresso'
56
-                        ); ?></th>
54
+							'Total',
55
+							'event_espresso'
56
+						); ?></th>
57 57
                 </tr>
58 58
                 </thead>
59 59
                 <tbody>
60 60
                 <?php
61
-                // Store previous values to avoid duplicated rows.
62
-                $prev_ticket = 0;
63
-                // Display all tickets inside.
64
-                foreach ($registrations as $registration) {
65
-                    if ($registration instanceof EE_Registration) {
66
-                        if ($registration->ticket()->ID() !== $prev_ticket) {
67
-                            echo $ticket_line_item[ $registration->ticket()->ID() ];
68
-                        }
61
+				// Store previous values to avoid duplicated rows.
62
+				$prev_ticket = 0;
63
+				// Display all tickets inside.
64
+				foreach ($registrations as $registration) {
65
+					if ($registration instanceof EE_Registration) {
66
+						if ($registration->ticket()->ID() !== $prev_ticket) {
67
+							echo $ticket_line_item[ $registration->ticket()->ID() ];
68
+						}
69 69
 
70
-                        $prev_ticket = $registration->ticket()->ID();
71
-                    }
72
-                }
73
-                ?>
70
+						$prev_ticket = $registration->ticket()->ID();
71
+					}
72
+				}
73
+				?>
74 74
                 </tbody>
75 75
             </table>
76 76
         </div>
77 77
 
78 78
     <?php
79
-    // Display the forms below the table.
80
-    foreach ($registrations as $registration) {
81
-        if ($registration instanceof EE_Registration) {
82
-            // Attendee Questions.
83
-            $reg_form = EE_Template_Layout::get_subform_name($registration->reg_url_link());
84
-            echo ${$reg_form};
85
-    ?>
79
+	// Display the forms below the table.
80
+	foreach ($registrations as $registration) {
81
+		if ($registration instanceof EE_Registration) {
82
+			// Attendee Questions.
83
+			$reg_form = EE_Template_Layout::get_subform_name($registration->reg_url_link());
84
+			echo ${$reg_form};
85
+	?>
86 86
     </div>
87 87
 <?php
88
-        } // if ( $registration instanceof EE_Registration )
89
-    } // end foreach ( $registrations as $registration )
88
+		} // if ( $registration instanceof EE_Registration )
89
+	} // end foreach ( $registrations as $registration )
90 90
 
91
-    echo $default_hidden_inputs;
91
+	echo $default_hidden_inputs;
92 92
 } // end if ( count( $registrations ) > 0 )
93 93
 
94 94
 ?>
Please login to merge, or discard this patch.