diff --git a/admin/admin_reply_ticket.php b/admin/admin_reply_ticket.php index b8e0f8eb..c4b11321 100644 --- a/admin/admin_reply_ticket.php +++ b/admin/admin_reply_ticket.php @@ -1,7 +1,7 @@ $ticket['subject'], 'message' => stripslashes($message), 'attachments' => $myattachments, -'dt' => hesk_date($ticket['dt']), -'lastchange' => hesk_date($ticket['lastchange']), +'dt' => hesk_date($ticket['dt'], true), +'lastchange' => hesk_date($ticket['lastchange'], true), ); // 2. Add custom fields to the array diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php index 8543c9cc..1bf456ff 100644 --- a/admin/admin_ticket.php +++ b/admin/admin_ticket.php @@ -1,7 +1,7 @@ $ticket['lastreplier'], 'subject' => $ticket['subject'], 'message' => stripslashes($msg), - 'dt' => hesk_date($ticket['dt']), - 'lastchange' => hesk_date($ticket['lastchange']), + 'dt' => hesk_date($ticket['dt'], true), + 'lastchange' => hesk_date($ticket['lastchange'], true), ); // 2. Add custom fields to the array @@ -443,11 +443,11 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');

  • - +

  • - +

  • @@ -773,7 +773,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); -


    : +


    :

    diff --git a/admin/export.php b/admin/export.php index 3644aac6..f497428a 100644 --- a/admin/export.php +++ b/admin/export.php @@ -1,7 +1,7 @@ '.$ticket['id'].' -'.$ticket['dt'].' -'.$ticket['lastchange'].' +'.hesk_date($ticket['dt'], true).' +'.hesk_date($ticket['lastchange'], true).' @@ -567,6 +568,9 @@ if (isset($_GET['w'])) $tickets_exported++; $this_round++; } // End of while loop + + // Go back to the HH:MM:SS format for hesk_date() + $hesk_settings['timeformat'] = 'H:i:s'; // Append any remaining rows into the file if ($this_round > 0) diff --git a/admin/knowledgebase_private.php b/admin/knowledgebase_private.php index 897c729e..24d23267 100644 --- a/admin/knowledgebase_private.php +++ b/admin/knowledgebase_private.php @@ -1,7 +1,7 @@ : - + : diff --git a/admin/mail.php b/admin/mail.php index 123a8b7f..1630580f 100644 --- a/admin/mail.php +++ b/admin/mail.php @@ -1,7 +1,7 @@ '.$admins[$pm[$hesk_settings['mailtmp']['other']]].'' : (($pm['from'] == 9999) ? 'HESK.com' : $hesklang['e_udel']); - $pm['dt'] = hesk_dateToString($pm['dt'],0,1); + + echo $pm['dt']; + + $pm['dt'] = hesk_dateToString($pm['dt'],0,1,0,true); ?> @@ -597,7 +600,7 @@ function mail_list_messages() $pm['subject'] = ''.$pm['subject'].''; } $pm['name'] = isset($admins[$pm[$hesk_settings['mailtmp']['other']]]) ? ''.$admins[$pm[$hesk_settings['mailtmp']['other']]].'' : (($pm['from'] == 9999) ? 'HESK.com' : $hesklang['e_udel']); - $pm['dt'] = hesk_dateToString($pm['dt'],0); + $pm['dt'] = hesk_dateToString($pm['dt'],0,0,0,true); echo << diff --git a/admin/profile.php b/admin/profile.php index c7fe5391..1971b542 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -1,7 +1,7 @@ '; } echo ' diff --git a/install/updateNuMods.php b/install/updateNuMods.php index b8251cd1..5163e852 100644 --- a/install/updateNuMods.php +++ b/install/updateNuMods.php @@ -61,11 +61,11 @@ if ($_GET['update'] == 1) ?> - NuMods 1.2.0 Install / Upgrade + NuMods 1.2.4 Install / Upgrade
    -

    Install / Upgrade NuMods to 1.2.0

    +

    Install / Upgrade NuMods to 1.2.4

    If you have not yet installed/updated HESK, please do so first before continuing; otherwise installation will fail!


    Please verify the database information below. Addtionally, ensure that the database user has CREATE permissions.

    diff --git a/knowledgebase.php b/knowledgebase.php index 70aa932d..8ab5292f 100644 --- a/knowledgebase.php +++ b/knowledgebase.php @@ -1,7 +1,7 @@ -

    :

    +

    :

    ' . hesk_unhortenUrl($ticket['message']) . '

    '; // Print replies while ($reply = hesk_dbFetchAssoc($res)) { - $reply['dt'] = hesk_date($reply['dt']); + $reply['dt'] = hesk_date($reply['dt'], true); echo '
    diff --git a/reply_ticket.php b/reply_ticket.php index be9a2bc1..7c09275c 100644 --- a/reply_ticket.php +++ b/reply_ticket.php @@ -1,7 +1,7 @@ $ticket['subject'], 'message' => stripslashes($message), 'attachments' => $myattachments, -'dt' => hesk_date($ticket['dt']), -'lastchange' => hesk_date($ticket['lastchange']), +'dt' => hesk_date($ticket['dt'], true), +'lastchange' => hesk_date($ticket['lastchange'], true), ); // 2. Add custom fields to the array diff --git a/ticket.php b/ticket.php index 12effbfc..671b4774 100644 --- a/ticket.php +++ b/ticket.php @@ -1,7 +1,7 @@
    ' . hesk_date($article['dt'], true) . '
    -

    :     :

    +

    :     :

    -

    :

    +

    :

    $v) @@ -598,7 +598,7 @@ function hesk_printCustomerTicketReplies() $unread_replies[] = $reply['id']; } - $reply['dt'] = hesk_date($reply['dt']); + $reply['dt'] = hesk_date($reply['dt'], true); ?>