<?php 
do_action('bbp_theme_before_topic_content');
?>

			<?php 
bbp_topic_content();
?>

			<?php 
do_action('bbp_theme_after_topic_content');
?>

			<?php 
$args = array('id' => 0, 'before' => '<span class="bbp-admin-links">', 'after' => '</span>', 'sep' => ' ', 'links' => array());
bbp_topic_admin_links($args);
?>
			<?php 
//bbp_topic_admin_links();
?>

		</div><!-- .bbp-topic-content -->

	</div><!-- #post-<?php 
bbp_topic_id();
?>
 -->

</div>

<?php 
        bbp_tab_index();
        ?>
" size="40" name="bbp_reply_edit_reason" id="bbp_reply_edit_reason" />
							</div>
						</fieldset>

						<?php 
        do_action('bbp_theme_after_reply_form_revisions');
        ?>

					<?php 
    } else {
        ?>

						<?php 
        bbp_topic_admin_links();
        ?>

					<?php 
    }
    ?>

					<?php 
    do_action('bbp_theme_before_reply_form_submit_wrapper');
    ?>

					<div class="bbp-submit-wrapper">

						<?php 
    do_action('bbp_theme_before_reply_form_submit_button');
    ?>
		<?php 
do_action('bbp_theme_before_topic_content');
?>

		<?php 
bbp_topic_content();
?>

		<?php 
do_action('bbp_theme_after_topic_content');
?>
        
        <?php 
do_action('bbp_theme_before_topic_admin_links');
?>

		<?php 
bbp_topic_admin_links(bbp_get_topic_id());
?>

		<?php 
do_action('bbp_theme_after_topic_admin_links');
?>

	</div><!-- .bbp-topic-content -->

</div><!-- #post-<?php 
bbp_topic_id();
?>
 -->