// Do action 		frontier_post_form_standard_top
// $thispost 		Post object for the post
// $tmp_task_new  	Equals true if the user is adding a post
//****************************************************************************************************
do_action('frontier_post_form_standard_top', $thispost, $tmp_task_new);
?>

	<tr><td class="frontier_no_border">
	<fieldset class="frontier_post_fieldset">
		<legend><?php 
_e("Content", "frontier-post");
?>
</legend>
		<div id="frontier_editor_field">
		<?php 
wp_editor($thispost->post_content, 'user_post_desc', frontier_post_wp_editor_args($editor_type, $frontier_media_button, $frontier_editor_height, false));
//wp_editor($thispost->post_content, 'content-editor', frontier_post_wp_editor_args($editor_type, $frontier_media_button, $frontier_editor_height, false));
/*
echo '<td id="wp-word-count">';
printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' );
echo '</td>';
*/
if (!fp_get_option_bool('fps_tinymce_wordcount')) {
    printf(__('Word count: %s'), '<span class="word-count">0</span>');
}
?>
		</div>
	</fieldset>
	</td></tr>
	<?php 
//**********************************************************************************
// Do action 		frontier_post_form_standard_top
// $thispost 		Post object for the post
// $tmp_task_new  	Equals true if the user is adding a post
//****************************************************************************************************
do_action('frontier_post_form_standard_top', $thispost, $tmp_task_new);
?>
	
	<tr><td class="frontier_no_border">
	<fieldset class="frontier_post_fieldset">
		<legend><?php 
_e("Content", "frontier-post");
?>
</legend>	
		<div id="frontier_editor_field"> 
		<?php 
wp_editor($thispost->post_content, 'frontier_post_content', frontier_post_wp_editor_args($fpost_sc_parms['frontier_editor_height']));
?>
		</div>
	</fieldset>
	</td></tr>
	<?php 
//**********************************************************************************
//* Taxonomies
//**********************************************************************************
//$tax_list = array("category", "group", "article-type");
$tax_list = $fpost_sc_parms['frontier_custom_tax'];
$tax_layout_list = fp_get_tax_layout($fpost_sc_parms['frontier_custom_tax'], $fpost_sc_parms['frontier_custom_tax_layout']);
echo '<tr><td class="frontier_no_border">';
foreach ($tax_layout_list as $tmp_tax_name => $tmp_tax_layout) {
    if ($tmp_tax_layout != "hide") {
        // Cats_selected is set from script, but only for category