#640 Remove unnecessary subtext, fix required email issue

master^2
Mike Koch 6 years ago
parent a1fc11cd93
commit 7fc3fb042d
No known key found for this signature in database
GPG Key ID: 9BA5D7F8391455ED

@ -319,7 +319,6 @@ function print_add_ticket()
<!-- START FORM --> <!-- START FORM -->
<div class="form"> <div class="form">
<h2><?php hesk_showTopBar($hesklang['submit_ticket']); ?></h2> <h2><?php hesk_showTopBar($hesklang['submit_ticket']); ?></h2>
<small><?php echo $hesklang['use_form_below']; ?></small>
<div class="blankSpace"></div> <div class="blankSpace"></div>
<?php <?php
// Service messages // Service messages
@ -372,7 +371,7 @@ function print_add_ticket()
} ?> <?php if ($hesk_settings['detect_typos']) { } ?> <?php if ($hesk_settings['detect_typos']) {
echo ' onblur="Javascript:hesk_suggestEmail(\'email\', \'email_suggestions\', 1, 0)"'; echo ' onblur="Javascript:hesk_suggestEmail(\'email\', \'email_suggestions\', 1, 0)"';
} ?> placeholder="<?php echo htmlspecialchars($hesklang['email']); ?>" } ?> placeholder="<?php echo htmlspecialchars($hesklang['email']); ?>"
data-error="<?php echo htmlspecialchars($hesklang['enter_valid_email']); ?>" required> <?php if ($hesk_settings['require_email']): ?>data-error="<?php echo htmlspecialchars($hesklang['enter_valid_email']); ?>" required<?php endif; ?>>
<div class="help-block with-errors"></div> <div class="help-block with-errors"></div>
</div> </div>

Loading…
Cancel
Save