Merge branch '506-customer-reply-form-location' into '3-0-4'

Put ticket reply form in the right place

See merge request !44
This commit is contained in:
Mike Koch 2017-03-07 17:55:31 +00:00
commit abdc734833

View File

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