Browse Source

#30 also output if no tickets were created

merge-requests/2/head
Mike Koch 7 years ago
parent
commit
94b2b97994
  1. 1
      language/en/text.php
  2. 4
      verifyemail.php

1
language/en/text.php

@ -37,6 +37,7 @@ $hesklang['verify_email'] = 'Verify Email';
$hesklang['email_verified'] = 'The email address <b>%s</b> has been verified. Additionally, the following tickets have been created:'; //%s: email address
$hesklang['verify_no_records'] = 'No records were found for this activation key. Has this activation key already been used?';
$hesklang['activation_key'] = 'Activation Key';
$hesklang['no_tickets_created'] = 'No tickets created';
// ADDED OR MODIFIED IN Mods For HESK 1.6.0
$hesklang['ticket_closed'] = '[#%%TRACK_ID%%] Ticket closed/resolved';

4
verifyemail.php

@ -64,6 +64,10 @@ require_once(HESK_PATH . 'inc/header.inc.php');
{
echo '<li><a href="'.$hesk_settings['hesk_url'].'/ticket.php?track='.$ticket['trackid'].'">'.$ticket.'</a></li>';
}
if (count($submittedTickets) == 0)
{
echo '<li>'.$hesklang['no_tickets_created'].'</li>';
}
?>
</ul>
</div>

Loading…
Cancel
Save