Example #1
0
    ?>
</label>
		<?php 
    echo form::select('p_type', module_contact::getFieldsTypes(true), $field_data['type']);
    ?>
</p>

		<p class="field col"><label for="p_active" title="<?php 
    _e('c_c_required_field');
    ?>
" class="required"><?php 
    _e('Status');
    ?>
</label>
		<?php 
    echo form::select('p_active', module_contact::getFieldsStatus(true, in_array($field_id, module_contact::getUnDisablableFields())), $field_data['active']);
    ?>
</p>
	</div>

	<?php 
    foreach ($okt->languages->list as $aLanguage) {
        ?>
	<p class="field" lang="<?php 
        echo $aLanguage['code'];
        ?>
"><label for="p_description_<?php 
        echo $aLanguage['code'];
        ?>
"><?php 
        _e('c_c_Description');
Example #2
0
        ?>
"
			title="<?php 
        _e('m_contact_modify_field_value');
        ?>
 <?php 
        echo html::escapeHTML($rsFields->title);
        ?>
"
			class="icon paintbrush"><?php 
        _e('m_contact_modify_value');
        ?>
</a>

			<?php 
        if (in_array($rsFields->id, module_contact::getUnDeletableFields())) {
            ?>
			- <a class="icon delete disabled"><?php 
            _e('c_c_action_Delete');
            ?>
</a>
			<?php 
        } else {
            ?>
			- <a href="module.php?m=contact&amp;action=fields&amp;delete=<?php 
            echo $rsFields->id;
            ?>
"
			onclick="return window.confirm('<?php 
            echo html::escapeJS(__('m_contact_confirm_field_deletion'));
            ?>