]> git.mxchange.org Git - mailer.git/blobdiff - inc/expression-functions.php
Admin menu has now a JavaScript "effect":
[mailer.git] / inc / expression-functions.php
index 1eee08b4c3f4c45598f498397ffde7c6cd00b4a6..3aa8026953da4a850835eb16ce2523a65b60e0ba 100644 (file)
@@ -109,10 +109,12 @@ function doExpressionCode ($data) {
 // Expression call-back function for URLs
 function doExpressionUrl ($data) {
        // Do we have JS-mode?
-       if ($data['callback'] == 'js') $data['mode'] = 1;
+       if ($data['callback'] == 'js') {
+               $data['output_mode'] = 1;
+       } // END - if
 
        // Handle an URL here
-       $replacer = "{DQUOTE} . encodeUrl('" . $data['matches'][4][$data['key']] . "', " . $data['mode'] . ') . {DQUOTE}';
+       $replacer = "{DQUOTE} . encodeUrl('" . $data['matches'][4][$data['key']] . "', " . $data['output_mode'] . ') . {DQUOTE}';
 
        // Replace it
        $code = replaceExpressionCode($data, $replacer);