summaryrefslogtreecommitdiff
path: root/smartyplugins/function.formfeedback.php
blob: 810e822289349182abf161338b8e08fbd42cd855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
namespace Bitweaver\Plugins;

/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

/**
 * Smarty {formfeedback} function plugin
 *
 * Type:     function
 * Name:     formfeedback
 * Input:
 *           - warning, error or success are defined css styles, but you can feed it anything
 */
function smarty_function_formfeedback( $params, &$gSmartyTemplate ) {
	return \Bitweaver\Themes\themes_feedback_to_html( $params );
}