Browse Source

#30 Tell user to verify email if it hasn't been verified yet

merge-requests/2/head
Mike Koch 7 years ago
parent
commit
13953d5627
  1. 1
      language/en/text.php
  2. 15
      submit_ticket.php

1
language/en/text.php

@ -46,6 +46,7 @@ $hesklang['require_customer_validate_email'] = 'Require customers to verify emai
$hesklang['multi_eml_disabled'] = 'This feature has been disabled because this help desk has been configured to require
customers to verify their email address';
$hesklang['feature_disabled'] = 'Feature Disabled';
$hesklang['verify_your_email'] = 'Your ticket has been created; however your email needs to be verified before your ticket can be addressed. An email has been sent to the email provided for verification.';
// ADDED OR MODIFIED IN Mods For HESK 1.6.0
$hesklang['ticket_closed'] = '[#%%TRACK_ID%%] Ticket closed/resolved';

15
submit_ticket.php

@ -440,14 +440,19 @@ require_once(HESK_PATH . 'inc/header.inc.php');
<div style="width: 80%; margin-left: auto; margin-right: auto;">
<?php
// Show success message with link to ticket
hesk_show_success(
if ($createTicket) {
// Show success message with link to ticket
hesk_show_success(
$hesklang['ticket_submitted'] . '<br /><br />' .
$hesklang['ticket_submitted_success'] . ': <b>' . $ticket['trackid'] . '</b><br /><br />
$hesklang['ticket_submitted'] . '<br /><br />' .
$hesklang['ticket_submitted_success'] . ': <b>' . $ticket['trackid'] . '</b><br /><br />
<a href="' . $hesk_settings['hesk_url'] . '/ticket.php?track=' . $ticket['trackid'] . '">' . $hesklang['view_your_ticket'] . '</a>'
);
);
} else
{
hesk_show_notice($hesklang['verify_your_email'].'<br><br>'.$hesklang['check_spambox']);
}
// Any other messages to display?
hesk_handle_messages();

Loading…
Cancel
Save