| Source for file function.include_js.phpDocumentation is available at function.include_js.php 
 * Smarty {include_js} function plugin *        - file      (required) - fully qualified file to a javascript file *          - nopack      (optional) - do not pack    foreach($params as $key => $val) {            // start up caching engine - pretend we are themes package            $BitCache = new BitCache( 'themes', TRUE );            // get a name for the cache file we're going to store            $cachefile = md5( $file ) .'.js';            // if the file hasn't been packed and cached yet, we do that now.            // update the file path with new path        // dump a comment to the page        $text = "if( typeof( console ) != undefined ){ console.log( 'There was an error trying to include js file: " .$file .", it could not be found. Please check the file path.' ); }"; |