]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
New menu
[qtadmin.git] / lib / utils.inc.php
index b9f7cf394c1f9ba82e2383317cb18310eb685fe5..a0e971765e5fb017a97c7505cedc37bbfb258f8e 100644 (file)
@@ -22,7 +22,24 @@ class Utils {
     <script src="__ROOT__js/forms.js"></script>
     <title>__TITLE__</title>
 </head>
-<body><div id="container">';
+<body>
+<nav>
+       <ul>
+               <li><a href="index.php">Home</a></li>
+               <li>
+                       Sections <span class="caret"></span>
+                       <div>
+                               <ul>
+                                       <li><a href="qtadmin.php">Quarantine admin</a></li>
+                                       <li><a href="wblist.php">WB list admin</a></li>
+                               </ul>
+                       </div>
+               </li>
+               <li><a href="about.html">About</a></li>
+               <li><a href="help.html">Help</a></li>
+       </ul>
+</nav>
+       <div id="container">';
     private $footer = '</div><div id="footer"><p>Powered by <a href="https://qtadmin.datanom.net"
             title="Goto QtAdmin homepage">QtAdmin</a>. &copy; 2015 by Michael Rasmussen</p>
     </div></body></html>';
@@ -196,7 +213,7 @@ class Utils {
 
         $result;
 
-        $url = $CFG->wblistadm_url . "/$method";
+        $url = $CFG->wblistadm_url . "$method";
         $token = $this->getCSRFPreventionToken($_SESSION['ticket']);
         $response = $this->RESTCall($url, $data, $_SESSION['cookies'], $token);
 
This page took 0.045709 seconds and 5 git commands to generate.