';
+$arrayofjs = array();
+$arrayofcss = array('/opensurvey/css/style.css', '/ticket/css/styles.css.php');
+
+llxHeaderTicket($langs->trans("CreateTicket"), "", 0, 0, $arrayofjs, $arrayofcss);
+
+
+print '
';
if ($action != "infos_success") {
$formticket->withfromsocid = isset($socid) ? $socid : $user->societe_id;
@@ -361,11 +369,8 @@ if ($action != "infos_success") {
print '
' . $langs->trans('TicketPublicInfoCreateTicket') . '
';
$formticket->showForm();
-} else {
- print '
' . $langs->trans('MesgInfosPublicTicketCreatedWithTrackId', '' . $object->track_id . '');
- print '
';
- print $langs->trans('PleaseRememberThisId');
}
+
print '
';
// End of page
diff --git a/htdocs/public/ticket/index.php b/htdocs/public/ticket/index.php
index a3e4d63a4bc..2e138312102 100644
--- a/htdocs/public/ticket/index.php
+++ b/htdocs/public/ticket/index.php
@@ -55,18 +55,18 @@ $action = GETPOST('action', 'alpha');
$form = new Form($db);
$formticket = new FormTicket($db);
-$arrayofjs = array();
-$arrayofcss = array('/ticket/css/styles.css.php');
-
if (empty($conf->global->TICKET_ENABLE_PUBLIC_INTERFACE))
{
print $langs->trans('TicketPublicInterfaceForbidden');
exit;
}
+$arrayofjs = array();
+$arrayofcss = array('/ticket/css/styles.css.php');
+
llxHeaderTicket($langs->trans("Tickets"), "", 0, 0, $arrayofjs, $arrayofcss);
-print '
';
+print '
';
print '
' . ($conf->global->TICKET_PUBLIC_TEXT_HOME ? $conf->global->TICKET_PUBLIC_TEXT_HOME : $langs->trans("TicketPublicDesc")) . '
';
print '