$weight++)); $loaded_files[$file] = $js_path; } } } /** * Return the version of jQuery UI installed. */ function jquery_ui_get_version() { $version = 0; if (file_exists(JQUERY_UI_PATH . '/version.txt')) { $version = file_get_contents(JQUERY_UI_PATH . '/version.txt'); } return $version; }