'.esc_html($title).' |
'.($promos ? '
Review GoSMTP | ' : '').'![]() |
![]() |
'; } // The Gosmtp Settings footer function gosmtp_page_footer($no_twitter = 0){ echo ' | '; $promos = apply_filters('pagelayer_right_bar_promos', true); if($promos){ echo '
The Best WordPress Site Builder :
Protect your WordPress website from unauthorized access and malware :
|
'.__('SMTP settings have been saved successfully!').'
'.__('Mail sent successfully!').'
'.( !empty($send_mail['error_msg']) ? wp_kses_post($send_mail['error_msg']) : __('Unable to send mail, Please check your SMTP details') ).'
> |
|
> |
|
> | |
$mailer){
$is_pro = $disabled = $after_icon = '';
$active_mailer = (isset($settings['mail_type']) && $settings['mail_type'] == $key) ? 'mail_active' : '';
$icon = isset($mailer['icon']) ? $mailer['icon'] : GOSMTP_URL .'/images/'.$key.'.svg';
if(!class_exists($mailer['class'])){
$is_pro = 'pro';
$disabled = 'disabled';
$after_icon=' |
|
'. esc_html($mailer->title) .' | |
$field){ $attrs = ''; if(!empty($field['attr'])){ $attrs .= esc_attr($field['attr']); } // Added attributes if(!in_array($field['type'], array('button', 'notice'))){ $_type = ($field['type'] == 'copy') ? 'text' : $field['type']; $attrs .= ' type="'.esc_attr($_type).'"'; $attrs .= ' name="'.esc_attr($mailer->mailer.'['.$key.']').'"'; } // Added Classes $classes = esc_attr($mailer->mailer); if(!empty($field['class'])){ $classes .= ' '.esc_attr($field['class']); } // Get value $val = $mailer->getOption($key, $mailer->mailer); if(empty($val)){ $val = isset($field['default']) ? $field['default'] : ''; } $placeholder = empty($field['place_holder']) ? '' : esc_attr($field['place_holder']); $list = empty($field['list']) ? array() : $field['list']; $input_html = ''; switch($field['type']){ case 'radio': foreach($list as $list_key => $list_value){ $input_html .= ' '; } break; case 'checkbox': $input_html .= ''; break; case 'button': $href = empty($field['href']) ? '#' : esc_url($field['href']); $input_html .= ''.esc_html($val).''; break; case 'notice': $input_html .= '
'.wp_kses_post($description).'