Need to pull the thank you section out of the setting now and use nl2br
to format the text.
Also bump version number for the plugin.
// next form part
++$formPart;
if ($formPart == self::FINAL_FORM) {
+ $plugin_options = get_option(STAFFORDS_EMP_SETTING_NAME);
include $this->frontViewDir . '/' . self::SUCCESS_TEMPLATE;
unset($_SESSION['glmJobsApplication'], $_SESSION['glmJobsAppForm']);
$this->email_owner();
/**
* Plugin Name: Staffords Employment
* Description: Online Employment Application for Staffords
- * Version: 0.3.0
+ * Version: 0.3.1
* Author: Steve Sutton
* Author URI: http://www.gaslightmedia.com
* License: All right reserved
<div class="alert-box success">
- Thank you for completing this application form and for your interest in Staffords.
+<?php echo nl2br($plugin_options['thank_you_text']); ?>
</div>