示例#1
0
		<?php 
$edited_Comment->ip_country();
?>
	</p>
	<p><strong><?php 
echo T_('Spam Karma');
?>
:</strong> <?php 
$edited_Comment->spam_karma();
?>
</p>

	<?php 
$Form->end_fieldset();
// ####################### TEXT RENDERERS #########################
global $Plugins;
$Form->begin_fieldset(T_('Text Renderers'), array('id' => 'itemform_renderers'));
$edited_Comment->renderer_checkboxes();
$Form->end_fieldset();
?>
</div>

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

</div>

<?php 
$Form->end_form();
// JS code for status dropdown select button
echo_status_dropdown_button_js('comment');
示例#2
0
echo action_icon('', 'refresh', $quick_setting_url . 'reset_quick_settings', T_('Reset defaults for this screen.'), 3, 4);
echo '</p>';
?>

</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();