summaryrefslogtreecommitdiff
path: root/smartyplugins
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2025-08-23 13:54:00 -0400
committerspiderr <spiderr@bitweaver.org>2025-08-23 13:54:00 -0400
commitc2eded66f67777e62cfb1ef27edcf8cb422dfd10 (patch)
tree7d9805c32a9b48bdc03cd5ec3a7fbb79dc784fcd /smartyplugins
parent256ce00dde43987798e1ad234b6a8e8d50791d16 (diff)
downloadthemes-c2eded66f67777e62cfb1ef27edcf8cb422dfd10.tar.gz
themes-c2eded66f67777e62cfb1ef27edcf8cb422dfd10.tar.bz2
themes-c2eded66f67777e62cfb1ef27edcf8cb422dfd10.zip
Add session based BitFeedback mechanism for passing messages between pageload
Diffstat (limited to 'smartyplugins')
-rw-r--r--smartyplugins/function.formfeedback.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/smartyplugins/function.formfeedback.php b/smartyplugins/function.formfeedback.php
index ee4fab3..1e8117d 100644
--- a/smartyplugins/function.formfeedback.php
+++ b/smartyplugins/function.formfeedback.php
@@ -14,7 +14,9 @@
* - warning, error or success are defined css styles, but you can feed it anything
*/
function smarty_function_formfeedback( $params, &$gBitSmarty ) {
+ if( !empty( $params['pagekey'] ) ) {
+ $params = BitFeedback::get( $params['pagekey'] );
+ }
return themes_feedback_to_html( $params );
}
-?>