From: Steve Sutton Date: Fri, 11 Dec 2015 18:20:35 +0000 (-0500) Subject: Update for thank you section X-Git-Tag: v0.3.1^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=fcb6a588c84f7a913a04b4d6227d4e0c0d394bb5;p=WP-Plugins%2Fstaffords-employment.git 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. --- 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. +