From fcb6a588c84f7a913a04b4d6227d4e0c0d394bb5 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 11 Dec 2015 13:20:35 -0500 Subject: [PATCH] Update for thank you section 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. --- controllers/front.php | 1 + glm-employment.php | 2 +- views/front/thankYou.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/front.php b/controllers/front.php index 68cbea8..fabd4d1 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -207,6 +207,7 @@ class staffords_employment_front // 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(); diff --git a/glm-employment.php b/glm-employment.php index 6a526f7..b0b4912 100644 --- a/glm-employment.php +++ b/glm-employment.php @@ -2,7 +2,7 @@ /** * 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 diff --git a/views/front/thankYou.php b/views/front/thankYou.php index 25d2f63..bd15ad9 100644 --- a/views/front/thankYou.php +++ b/views/front/thankYou.php @@ -1,3 +1,3 @@
- Thank you for completing this application form and for your interest in Staffords. +
-- 2.17.1