Lines Matching refs:js_name
265 $js_name="indexmenu_";
276 $js_name .= $js_opts['gen_id'];
278 $js_name .= sprintf("%u",crc32($ns));
280 $js_name .= uniqid(rand());
286 $output_tmp=$this->_jstree($data,$ns,$js_opts,$js_name,$opts['max']);
293 …$output .= "indexmenu_nojsqueue.push(new Array('".$js_name."','".utf8_encodeFN($js_opts['jsajax'])…
297 $output.="\n".'<div id="nojs_'.$js_name.'" class="indexmenu_nojs"';
311 function _jstree($data,$ns,$js_opts,$js_name,$max) { argument
324 $out .= "var $js_name = new dTree('".$js_name."','".$js_opts['theme']."');\n";
326 $out .= "$js_name.config.urlbase='".substr(wl(":"), 0, -1)."';\n";
327 $out .= "$js_name.config.sepchar='".$sepchar."';\n";
328 if ($js_opts['notoc']) $out .="$js_name.config.toc=false;\n";
329 if ($js_opts['nocookie']) $out .="$js_name.config.useCookies=false;\n";
330 if ($js_opts['noscroll']) $out .="$js_name.config.scroll=false;\n";
331 if ($js_opts['maxjs'] > 0) $out .= "$js_name.config.maxjs=".$js_opts['maxjs'].";\n";
332 …if (!empty($js_opts['jsajax'])) $out .= "$js_name.config.jsajax='".utf8_encodeFN($js_opts['jsajax'…
333 $out .= $js_name.".add('".idfilter(cleanID($ns))."',0,-1,'".$title."'";
336 $anodes = $this->_jsnodes($data,$js_name);
338 $out .= "document.write(".$js_name.");\n";
339 $out .= $js_name.".init(";
355 function _jsnodes($data,$js_name,$noajax=1) { argument
364 $jscmd=$js_name.".add";