plugins/SpecialAdmin.php
changeset 346 35b0a72083ca
parent 324 6f030150b171
equal deleted inserted replaced
345:95d9e7eacc83 346:35b0a72083ca
  2400       'icon_18' : '<?php echo scriptPath; ?>/images/icons/plusbottom.gif', // junction for closed node
  2400       'icon_18' : '<?php echo scriptPath; ?>/images/icons/plusbottom.gif', // junction for closed node
  2401       'icon_19' : '<?php echo scriptPath; ?>/images/icons/plus.gif',       // junction for last closed node
  2401       'icon_19' : '<?php echo scriptPath; ?>/images/icons/plus.gif',       // junction for last closed node
  2402       'icon_26' : '<?php echo scriptPath; ?>/images/icons/minusbottom.gif',// junction for opened node
  2402       'icon_26' : '<?php echo scriptPath; ?>/images/icons/minusbottom.gif',// junction for opened node
  2403       'icon_27' : '<?php echo scriptPath; ?>/images/icons/minus.gif'       // junction for last opended node
  2403       'icon_27' : '<?php echo scriptPath; ?>/images/icons/minus.gif'       // junction for last opended node
  2404     };
  2404     };
  2405     addOnloadHook(keepalive_onload);
  2405     if ( typeof(keepalive_onload) == 'function' )
       
  2406 	addOnloadHook(keepalive_onload);
  2406     <?php
  2407     <?php
  2407     echo $paths->parseAdminTree(); // Make a Javascript array that defines the tree
  2408     echo $paths->parseAdminTree(); // Make a Javascript array that defines the tree
  2408     if(!isset($_GET['module'])) { echo 'addOnloadHook(_enanoAdminOnload);'; } ?>
  2409     if(!isset($_GET['module'])) { echo 'addOnloadHook(function() { _enanoAdminOnload(); new tree(TREE_ITEMS, TREE_TPL, \'admin_tree\'); } )'; } ?>
  2409     </script>
  2410     </script>
  2410     <table border="0" width="100%">
  2411     <table border="0" width="100%">
  2411       <tr>
  2412       <tr>
  2412         <td class="holder" valign="top">
  2413         <td class="holder" valign="top">
  2413           <div class="pad" style="padding-right: 20px;">
  2414           <div class="pad" style="padding-right: 20px;" id="admin_tree">
  2414             <script type="text/javascript">
       
  2415             if ( !KILL_SWITCH )
       
  2416             {
       
  2417               new tree(TREE_ITEMS, TREE_TPL);
       
  2418             }
       
  2419             </script>
       
  2420           </div>
  2415           </div>
  2421         </td>
  2416         </td>
  2422         <td width="100%" valign="top">
  2417         <td width="100%" valign="top">
  2423           <div class="pad" id="ajaxPageContainer">
  2418           <div class="pad" id="ajaxPageContainer">
  2424           <?php
  2419           <?php