60 $this->CachedMultyFS =
get_package(
'cached_multy_fs' ,
'last' , __FILE__ );
61 $this->PageJS =
get_package(
'page::page_js' ,
'last' , __FILE__ );
62 $this->String =
get_package(
'string' ,
'last' , __FILE__ );
93 $Path =
"{http_host}/$Path/include/js";
95 $this->PageJS->add_javascript(
"$Path/jquery.jstree.js" );
96 $this->PageJS->add_javascript(
"$Path/jquery.jstree.buttons.js" );
97 $this->PageJS->add_javascript(
"$Path/jquery.jstree.autorun.default.js" );
98 $this->PageJS->add_javascript(
"$Path/jquery.jstree.extractor.js" );
99 $this->PageJS->add_javascript(
"$Path/jquery.jstree.autorun.default.js" );
102 $Lang->include_strings_js(
'gui::jstree' );
104 catch( Exception $e )
136 $Code = $this->CachedMultyFS->get_template( __FILE__ ,
'tree_control_buttons.tpl' );
138 $Selector = $Settings->get_setting(
'tree_control_selector' ,
'.tree_control' );
139 $Code = str_replace(
'{tree_control_selector}' , $Selector , $Code );
141 $DirectCategory = $Settings->get_setting(
'direct_category' ,
'14' );
142 $Code = str_replace(
'{direct_category}' , $DirectCategory , $Code );
144 $Code = $this->String->print_record( $Code , $Settings );
148 catch( Exception $e )