FIX #33742
This commit is contained in:
parent
8ad1bf580f
commit
d77898ff3d
2 changed files with 3 additions and 2 deletions
|
|
@ -307,6 +307,7 @@ class FormTicket
|
|||
}
|
||||
|
||||
print '<form method="POST" '.($withdolfichehead ? '' : 'style="margin-bottom: 30px;" ').'name="ticket" id="form_create_ticket" enctype="multipart/form-data" action="'.(!empty($this->param["returnurl"]) ? $this->param["returnurl"] : $_SERVER['PHP_SELF']).'">';
|
||||
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||
print '<input type="hidden" name="action" value="'.$this->action.'">';
|
||||
if (!empty($object->id)) {
|
||||
|
|
@ -837,7 +838,7 @@ class FormTicket
|
|||
print dol_get_fiche_end();
|
||||
}
|
||||
|
||||
print '<br>';
|
||||
print '<br><br>';
|
||||
|
||||
if ($mode == 'create') {
|
||||
print $form->buttonsSaveCancel(((isset($this->withreadid) && $this->withreadid > 0) ? "SendResponse" : "CreateTicket"), ($this->withcancel ? "Cancel" : ""));
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ function llxHeaderTicket($title, $head = "", $disablejs = 0, $disablehead = 0, $
|
|||
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss, 0, 1); // Show html headers
|
||||
|
||||
print '<body id="mainbody" class="publicnewticketform">';
|
||||
print '<div class="publicnewticketform2 flexcontainer centpercent" style="min-height: 100%;">';
|
||||
print '<div class="publicnewticketform2 centpercent" style="min-height: 100%;">';
|
||||
|
||||
print '<header class="center centpercent">';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue