Put ticket reply form in the right place

This commit is contained in:
Mike Koch 2017-03-07 12:54:20 -05:00
parent ba0a035d88
commit 5a1b4552ce

View File

@ -319,7 +319,13 @@ if (!$show['show']) {
<div class="blankSpace"></div> <div class="blankSpace"></div>
<!-- REPLIES --> <!-- REPLIES -->
<?php <?php
// Print "Submit a reply" form?
if ($ticket['locked'] != 1 && $ticket['status'] != 3 && $hesk_settings['reply_top'] == 1) {
hesk_printCustomerReplyForm();
}
if ($hesk_settings['new_top']) { if ($hesk_settings['new_top']) {
$i = hesk_printCustomerTicketReplies() ? 0 : 1; $i = hesk_printCustomerTicketReplies() ? 0 : 1;
} else { } else {
@ -405,12 +411,6 @@ if (!$show['show']) {
} }
?> ?>
<!-- END REPLIES --> <!-- END REPLIES -->
<?php
// Print "Submit a reply" form?
if ($ticket['locked'] != 1 && $ticket['status'] != 3 && $hesk_settings['reply_top'] == 1) {
hesk_printCustomerReplyForm();
}
?>
<?php <?php
/* Print "Submit a reply" form? */ /* Print "Submit a reply" form? */