add extrafields_view.tpl.php inside public_ticket_view
This commit is contained in:
parent
381ecbb1fb
commit
8fd991d51d
@ -218,6 +218,9 @@ include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
|||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
$formticket = new FormTicket($db);
|
$formticket = new FormTicket($db);
|
||||||
|
|
||||||
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
|
$hookmanager->initHooks(array('ticketpublicview', 'globalcard'));
|
||||||
|
|
||||||
if (!$conf->global->TICKET_ENABLE_PUBLIC_INTERFACE) {
|
if (!$conf->global->TICKET_ENABLE_PUBLIC_INTERFACE) {
|
||||||
print '<div class="error">'.$langs->trans('TicketPublicInterfaceForbidden').'</div>';
|
print '<div class="error">'.$langs->trans('TicketPublicInterfaceForbidden').'</div>';
|
||||||
$db->close();
|
$db->close();
|
||||||
@ -332,6 +335,9 @@ if ($action == "view_ticket" || $action == "presend" || $action == "close" || $a
|
|||||||
print ($object->dao->progress > 0 ? dol_escape_htmltag($object->dao->progress) : '0').'%';
|
print ($object->dao->progress > 0 ? dol_escape_htmltag($object->dao->progress) : '0').'%';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// Other attributes
|
||||||
|
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user