Current Path : /storage/v11800/sahityaonline/public_html/wp-content/plugins/metform/controls/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/sahityaonline/public_html/wp-content/plugins/metform/controls/form-picker-modal.php
<?php defined('ABSPATH') || exit; ?>

<div id="metform-open-content-editor" style="display:none;">
    <div class="metform-open-content-inner">
        <div class="metform-content">
		<ul class="metform-content-editor-tab">
            <li class="metform-content-editor-tab-item active" data-target="metform-select-form-content">
                <label>
                    <input class="metform-content-editor-radio" name="metform-editor-tab" type="radio" checked value="saved">

                    <div class="metform-content-editor-radio-data">
                        <p><?php esc_html_e('Select Form', 'metform') ?></p>
                        <span><?php esc_html_e('Select saved form', 'metform') ?></span>
                    </div>
                </label>
            </li>

            <li class="metform-content-editor-tab-item" data-target="metform-templates-content">
                <label>
                    <input class="metform-content-editor-radio" name="metform-editor-tab" type="radio" value="template">

                    <div class="metform-content-editor-radio-data">
                        <p><?php esc_html_e('New', 'metform') ?></p>
                        <span><?php esc_html_e('Create new form', 'metform') ?></span>
                    </div>
                </label>
            </li>
        </ul>

        <div class="metform-editor-tab-content">
            <div class="metform-editor-tab-content-item active" id="metform-select-form-content">
                <select name="metform-saved-form" class="metform-open-content-editor-templates metform-editor-input"></select>
            </div>
            <div class="metform-editor-tab-content-item" id="metform-templates-content">

				<div class="metform-template-input-con">
					<input type="text" class="metform-editor-input" placeholder="<?php esc_html_e('Enter a form name', 'metform'); ?>">
				</div>

                <?php
                $form_types = [];
                
                if(!class_exists('\MetForm_Pro\Core\Features\Quiz\Integration')){
                    $form_types = [
                        'general-form' => __('General Form', 'metform'),
                    ];

                } else {
                    $form_types = [
                        'general-form' => __('General Form', 'metform'),
                        'quiz-form' => __('Quiz Form', 'metform'),
                    ];
                }
                ?>

                <div class="metform-template-form-type">
                    <select id="metform-add-new-form-model__form-type" class="metform-editor-input" data-nonce="<?php echo esc_attr(wp_create_nonce('wp_rest'));?>">
                        <?php foreach($form_types as $key => $type){ ?>
                            <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($type); ?></option>
                        <?php } ?>
                    </select><br>
                </div>

                <ul class="metform-templates-list">
                    
                    <li>
                        <label>
                            <input class="metform-template-radio" name="metform-editor-template" type="radio" value="0" checked>
                            <div class="metform-template-radio-data">
                                <img src="<?php echo esc_url(\MetForm\Plugin::instance()->plugin_url() . 'templates/blank/preview-thumb.svg'); ?>" alt="<?php esc_html_e('Blank Template', 'metform'); ?>">
                                <div class="metform-template-footer-content">
                                    <div class="metform-template-footer-title">
                                        <h2><?php esc_html_e('Blank Template', 'metform'); ?></h2>
                                    </div>
                                    <div class="metform-template-footer-links">
                                        <?php esc_html_e('Create From Scratch', 'metform'); ?>
                                    </div>
                                </div>
                            </div>
                        </label>
                    </li>

                    <?php foreach(\MetForm\Templates\Base::instance()->get_templates() as $template): ?>
                        <?php include \MetForm\Plugin::instance()->core_dir() . 'forms/views/modal-form-template-item.php'; ?>
                    <?php endforeach; ?>

                </ul>

            </div>
		</div>
		
		<button resturl="<?php echo esc_url(get_rest_url()) ?>metform/v1/forms/"  class="metform-open-content-editor-button"><span class="eicon-elementor"></span><?php esc_html_e('Edit form', 'metform') ?></button>
		<span class="metform-close-editor-modals metform-picker-close"><button class="metform-open-content-close-button"><?php esc_html_e('Save & close', 'metform'); ?></button></span>

        <i class="eicon-close metform-close-editor-modals" aria-hidden="true" title="<?php echo esc_attr__('Close', 'metform'); ?>"></i>
		</div>
    </div>
</div>

Softgel-Capsule – Affy Pharma Pvt Ltd

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket