Project

General

Profile

« Previous | Next » 

Revision 1730

Added by Dietmar about 12 years ago

View differences:

frontend.functions.php
459 459
		/* include the Javascript jquery api  */
460 460
		if( $file_id == 'jquery' AND file_exists(WB_PATH .'/include/jquery/jquery-min.js'))
461 461
        {
462
            $wbpath = str_replace('\\','/',WB_PATH);  // fixed localhost problem with ie
462
            $language = LANGUAGE;
463 463
			$jquery_links .= "<script type=\"text/javascript\">\n"
464 464
                ."var URL = '".WB_URL."';\n"
465
               /* ."var WB_PATH = '".$wbpath."';\n" */
465
                ."var LANGUAGE = '".$language."';\n"
466 466
                ."var WB_URL = '".WB_URL."';\n"
467 467
                ."var TEMPLATE_DIR = '".TEMPLATE_DIR."';\n"
468 468
                ."</script>\n";

Also available in: Unified diff