summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smartyplugins/function.booticon.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/smartyplugins/function.booticon.php b/smartyplugins/function.booticon.php
index 0074d87..fb77bc2 100644
--- a/smartyplugins/function.booticon.php
+++ b/smartyplugins/function.booticon.php
@@ -47,6 +47,12 @@ function smarty_function_booticon( $pParams, $pFile ) {
}
$outstr .= '></div>';
+ foreach( array_keys( $pParams ) as $key ) {
+ if( strpos( $key, 'on' ) === 0 ) {
+ $outstr .= ' '.$key.'='.$pParams[$key].'';
+ }
+ }
+
if( !empty( $pParams['ilocation'] ) ) {
if( $pParams['ilocation'] == 'menu' && isset( $pParams['iexplain'] ) ) {