New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment box & posts arrangement. #3

Open
wants to merge 2 commits into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+8 鈭11
Diff settings

Always

Just for now

Viewing a subset of changes. View all
Prev

Place the comment box at footer part

  • Loading branch information...
hmrserver committed Oct 13, 2017
commit b5fa3767c9ab4b8098721dee0b5b54b5c5677e0b
Copy path View file
@@ -77,15 +77,6 @@ function exec_ogp_module()
echo ticketHeader($ticketData);
echo ticketReply($ticketData);
echo '<div class="ticket_ReplyBox status_'.ticketCodeToName($ticketData['status'], true).'">
<form method="POST">
<textarea name="reply_content" style="width:100%;" rows="12">'.(isset($_SESSION['ticketReply']) ? $_SESSION['ticketReply'] : '').'</textarea>
<input type="submit" class="ticket_button" name="ticket_submit_response" value="'. get_lang('ticket_submit_response') . '">
<input type="submit" class="ticket_button" name="ticket_close" value="'. get_lang('ticket_close') . '">
</form>
</div>';
if (!empty($ticketData['replies'])) {
echo '<div class="replyContainer">';
foreach ($ticketData['replies'] as $replyData) {
@@ -95,5 +86,11 @@ function exec_ogp_module()
} else {
echo '<div class="no_ticket_replies">'.get_lang('no_ticket_replies').'</div>';
}
}
echo '<div class="ticket_ReplyBox status_'.ticketCodeToName($ticketData['status'], true).'">
<form method="POST">
<textarea name="reply_content" style="width:100%;" rows="12">'.(isset($_SESSION['ticketReply']) ? $_SESSION['ticketReply'] : '').'</textarea>
<input type="submit" class="ticket_button" name="ticket_submit_response" value="'. get_lang('ticket_submit_response') . '">
<input type="submit" class="ticket_button" name="ticket_close" value="'. get_lang('ticket_close') . '">
</form>
</div>';
}
ProTip! Use n and p to navigate between commits in a pull request.