public static function em_gateway_settings_footer($EM_Gateway)
 {
     $default_emails = self::get_gateway_default_emails($EM_Gateway);
     $email_values = self::get_gateway_default_values($EM_Gateway);
     $admin_emails = false;
     if (get_option('dbem_custom_emails_gateways_admins')) {
         $admin_emails = EM_Custom_Emails::get_gateway_admin_emails($EM_Gateway);
     }
     $gateway = $EM_Gateway->gateway;
     $default_emails[$gateway]['title'] = __('Booking Email Templates', 'em-pro');
     $default_emails[$gateway]['text'] = '<p>' . sprintf(__('Below you can modify the emails that are sent when bookings are made. This will override the default emails located in your %s settings page.', 'em-pro'), '<a href="' . admin_url('edit.php?post_type=event&page=events-manager-options#emails:booking-emails') . '">' . esc_html__emp('Booking Email Templates', 'dbem') . '</a>');
     $default_emails[$gateway]['text'] .= __('Additionally, you can also override these emails at an event level when editing an event. Should you choose not to, any overriden emails on this page will be considered the default email for this gateway.', 'em-pro') . '</p>';
     $default_emails[$gateway]['text'] .= '<p>' . __('Note that some gateways do not automatically send pending or confirmed emails, in these cases they may only apply to when event admins manually change the status of a booking resulting in an automated email getting sent.', 'em-pro') . '</p>';
     $default_emails[$gateway]['text'] .= '<p>' . __('Click on the title texts with a plus (+) next to them to reveal further options, and the minus (-) sign to hide them.', 'em-pro') . '</p>';
     if (get_option('dbem_multiple_bookings')) {
         $default_emails[$gateway]['text'] = '<p><strong>' . __('Important:', 'em-pro') . '</strong> ' . __('You are in Multiple Booking Mode. These emails will only be used when individually modifying bookings which trigger these individual event booking emails.', 'em-pro') . '</p>' . $default_emails[$gateway]['text'];
         //duplicate default emails array and give them different keys
         $default_emails = self::add_gateway_mb_default_emails($default_emails, $EM_Gateway);
         //alter texts
         $default_emails[$gateway . '-mb']['title'] = __('Multiple Booking Email Templates', 'em-pro');
         $default_emails[$gateway . '-mb']['text'] = '<p>' . sprintf(__('Below you can modify the emails that are sent when bookings are made. This will override the default emails located in your %s settings page.', 'em-pro'), '<a href="' . admin_url('edit.php?post_type=event&page=events-manager-options#emails:multiple-booking-emails') . '">' . __('Multiple Booking Email Templates', 'em-pro') . '</a>');
         $default_emails[$gateway . '-mb']['text'] .= '<p>' . __('Note that some gateways do not automatically send pending or confirmed emails, in these cases they may only apply to when event admins manually change the status of a booking resulting in an automated email getting sent.', 'em-pro') . '</p>';
         $default_emails[$gateway . '-mb']['text'] .= '<p>' . __('Click on the title texts with a plus (+) next to them to reveal further options, and the minus (-) sign to hide them.', 'em-pro') . '</p>';
         //get default mb values and merge them into email values
         $mb_email_values = self::get_gateway_mb_default_values($gateway);
         $email_values = array_merge($email_values, $mb_email_values);
     }
     self::emails_editor($email_values, $default_emails, $admin_emails);
 }