includes/paths.php
changeset 118 0c5efda996bf
parent 116 77c75179bb95
child 138 13561bde2e2c
equal deleted inserted replaced
117:7cfdbb2fd17a 118:0c5efda996bf
   507         $ret .= "        ['".$c['name']."', 'javascript:ajaxPage(\\'".$this->nslist['Admin'].$c['pageid']."\\');'],\n";
   507         $ret .= "        ['".$c['name']."', 'javascript:ajaxPage(\\'".$this->nslist['Admin'].$c['pageid']."\\');'],\n";
   508       }
   508       }
   509       $ret .= "      ],\n";
   509       $ret .= "      ],\n";
   510     }
   510     }
   511     $ret .= "    ['Log out of admin panel', 'javascript:ajaxPage(\\'".$this->nslist['Admin']."AdminLogout\\');'],\n";
   511     $ret .= "    ['Log out of admin panel', 'javascript:ajaxPage(\\'".$this->nslist['Admin']."AdminLogout\\');'],\n";
       
   512     $ret .= "    ['<span id=\\'keepalivestat\\'>Loading keep-alive control...</span>', 'javascript:ajaxToggleKeepalive();', 
       
   513                    ['About keep-alive', 'javascript:aboutKeepAlive();']
       
   514                  ],\n";
   512     // I used this while I painstakingly wrote the Runt code that auto-expands certain nodes based on the value of a bitfield stored in a cookie. *shudders*
   515     // I used this while I painstakingly wrote the Runt code that auto-expands certain nodes based on the value of a bitfield stored in a cookie. *shudders*
   513     // $ret .= "    ['(debug) Clear menu bitfield', 'javascript:createCookie(\\'admin_menu_state\\', \\'1\\', 365);'],\n";
   516     // $ret .= "    ['(debug) Clear menu bitfield', 'javascript:createCookie(\\'admin_menu_state\\', \\'1\\', 365);'],\n";
   514     $ret .= "]\n];";
   517     $ret .= "]\n];";
   515     return $ret;
   518     return $ret;
   516   }
   519   }