コード例 #1
0
    ?>
    <div class="widget">
        <div class="widget-top">
    	    <div class="widget-title-action"><a href="javascript:void(0);" class="widget-action"></a></div>
    		<div class="widget-title"><h4><?php 
    _e('Field Options', 'formidable');
    ?>
 (ID <?php 
    echo (int) $field['id'];
    ?>
)</h4></div>
        </div>
    	<div class="widget-inside">
            <table class="form-table frm_clear_none">
                <?php 
    $field_types = FrmFieldsHelper::get_field_types($field['type']);
    ?>
				<tr><td class="frm_150_width"><label><?php 
    _e('Field Type', 'formidable');
    ?>
</label></td>
                    <td>
                <select <?php 
    if (count($field_types) == 1) {
        ?>
disabled="disabled"<?php 
    } else {
        ?>
name="field_options[type_<?php 
        echo esc_attr($field['id']);
        ?>