equal
deleted
inserted
replaced
2207 echo $paths->parseAdminTree(); // Make a Javascript array that defines the tree |
2207 echo $paths->parseAdminTree(); // Make a Javascript array that defines the tree |
2208 ?> |
2208 ?> |
2209 |
2209 |
2210 addOnloadHook(function() |
2210 addOnloadHook(function() |
2211 { |
2211 { |
2212 console.trace(); |
|
2213 new tree(TREE_ITEMS, TREE_TPL, 'admin_tree'); |
2212 new tree(TREE_ITEMS, TREE_TPL, 'admin_tree'); |
2214 keepalive_onload(); |
2213 keepalive_onload(); |
2215 }); |
2214 }); |
2216 </script> |
2215 </script> |
2217 <table border="0" width="100%"> |
2216 <table border="0" width="100%"> |
2315 return print enano_json_encode(array( |
2314 return print enano_json_encode(array( |
2316 'mode' => 'success' |
2315 'mode' => 'success' |
2317 )); |
2316 )); |
2318 } |
2317 } |
2319 |
2318 |
|
2319 $template->preload_js(array('l10n', 'jquery', 'jquery-ui')); |
2320 $template->add_header('<script type="text/javascript" src="'.cdnPath.'/includes/clientside/sbedit.js"></script>'); |
2320 $template->add_header('<script type="text/javascript" src="'.cdnPath.'/includes/clientside/sbedit.js"></script>'); |
2321 |
2321 |
2322 $template->header(); |
2322 $template->header(); |
2323 |
2323 |
2324 if(isset($_POST['save'])) |
2324 if(isset($_POST['save'])) |