]> git.datanom.net - qtadmin.git/blob - wblist.php
First upload of wblist page
[qtadmin.git] / wblist.php
1 <?php
2 /* vim: set ts=4 tw=0 sw=4 noet: */
3 require_once 'config.php';
4 require_once $CFG->root . 'lib/utils.inc.php';
5
6 $util = new Utils;
7
8 if ($util->isLoggedIn()) {
9 $util->setHeading('WB List and Quarantine Administration');
10 echo $util->getHeader();
11 echo $util->getHeading();
12 $list = $util->makeRestCall('/show');
13 if ($list) {
14 $out = var_export($list, true);
15 } else {
16 $out = '<p>Connection to REST service failed</p>';
17 }
18 echo $out;
19 echo $util->getFooter();
20 } else {
21 header('Location: auth.php');
22 }
23 ?>
This page took 0.057585 seconds and 6 git commands to generate.