60 $this->JQueryMarkup =
get_package(
'jquery::jquery_markup' ,
'last' , __FILE__ );
61 $this->PageCSS =
get_package(
'page::page_css' ,
'last' , __FILE__ );
62 $this->PageJS =
get_package(
'page::page_js' ,
'last' , __FILE__ );
88 private function load_jquery_core( $Path )
92 $this->PageJS->add_javascript(
"$Path/include/js/jquery-1.7.1.min.js" );
93 $this->PageJS->add_javascript(
"$Path/include/js/jquery-ui-1.8.17.custom.min.js" );
94 $this->PageJS->add_javascript(
"$Path/include/js/lang/ui.datepicker-ru.js" );
95 $this->PageJS->add_javascript(
"$Path/include/js/jquery.cookie.js" );
96 $this->PageJS->add_javascript(
"$Path/include/js/jquery.accordion.autorun.js" );
122 private function load_framework_scripts( $Path )
126 $this->PageJS->add_javascript(
"$Path/include/js/jquery.simple.select.extractor.js" );
127 $this->PageJS->add_javascript(
"$Path/include/js/jquery.wrappers.js" );
128 $this->PageJS->add_javascript(
"$Path/include/js/request_manager.js" );
129 $this->PageJS->add_javascript(
"$Path/include/js/tabs_ex.js" );
130 $this->PageJS->add_javascript(
"$Path/include/js/print.js" );
132 catch( Exception $e )
156 private function load_widgets_scripts( $Path )
160 $this->PageJS->add_javascript(
"$Path/include/js/jquery.dropdown.block.js" );
161 $this->PageJS->add_javascript(
"$Path/include/js/jquery.timer.widget.js" );
162 $this->PageJS->add_javascript(
"$Path/include/js/jquery.disable.text.select.js" );
163 $this->PageJS->add_javascript(
"$Path/include/js/wizard.js" );
165 catch( Exception $e )
189 private function load_styles_and_languages( $Path )
193 $this->PageCSS->add_stylesheet(
194 "$Path/res/css/jquery-ui-1.8.default.css"
196 $this->PageCSS->add_stylesheet(
"$Path/res/css/jquery-ui-1.8.patch.css" );
199 $Lang->include_strings_js(
'settings::settings_view' );
201 catch( Exception $e )
229 $Path =
'{http_host}/'._get_package_relative_path_ex(
'jquery' ,
'last' );
231 $this->load_jquery_core( $Path );
233 $this->load_framework_scripts( $Path );
235 $this->load_widgets_scripts( $Path );
237 $this->load_styles_and_languages( $Path );
239 catch( Exception $e )