template_type == 'checkout' ) { $this_modal_title = __('Checkout', 'woocommerce' ); }else if( $this->template_type == 'thanks' ) { $this_modal_title = __('Thank you', 'woocommerce' ); } ?>
'.__('This is the currently valid template.', 'mfn-opts' ).'
'; }else{ echo ''.sprintf( 'The currently valid template is %s. Do you want to overwrite it?', ''.get_the_title($valid_tmpl).'' ).'
'; } } else { echo ''.__('Do you want to apply this template as default view?', 'mfn-opts' ).'
'; } echo ''.__('Cancel', 'mfn-opts').' '; if( (!empty($valid_tmpl) && $this->post_id != $valid_tmpl) || empty($valid_tmpl) ) { echo ''.__('Save & Set as default View', 'mfn-opts').' '; }elseif( !empty($valid_tmpl) && $this->post_id == $valid_tmpl ) { echo ''.__('Back to default View', 'mfn-opts').' '; } echo ''.__('Update', 'mfn-opts').' '; ?>