?>

</div>

<div class="clear"></div>

</div>

<?php 
// ================================== END OF EDIT FORM ==================================
$Form->end_form();
// ####################### JS BEHAVIORS #########################
// JS code for status dropdown select button
echo_status_dropdown_button_js('post');
echo_link_files_js();
echo_autocomplete_tags();
if (empty($edited_Item->ID)) {
    // if we creating new post - we add slug autofiller JS
    echo_slug_filler();
} else {
    // if we are editing the post
    echo_set_slug_changed();
}
// New category input box:
echo_onchange_newcat();
// Location
echo_regional_js('item', $edited_Item->region_visible());
// Post type
echo_onchange_item_type_js();
// Goal
echo_onchange_goal_cat();
Example #2
0
    ?>
"><input type="radio" name="post_comment_status" value="disabled" class="checkbox" <?php 
    if ($post_comment_status == 'disabled') {
        echo 'checked="checked"';
    }
    ?>
 />
			<?php 
    echo T_('Disabled');
    ?>
</label><br />
		<?php 
    $Form->end_fieldset();
}
?>

</div>

<div class="clear"></div>

<?php 
// ================================== END OF EDIT FORM ==================================
$Form->end_form();
// ####################### JS BEHAVIORS #########################
echo_publishnowbutton_js();
echo_set_is_attachments();
echo_link_files_js();
// New category input box:
echo_onchange_newcat();
echo_autocomplete_tags($edited_Item->get_tags());
// require dirname(__FILE__).'/inc/_item_form_behaviors.inc.php';