]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/pools.php
bacula-web: Removed pools and volumes list from main layout
[bacula/bacula] / gui / bacula-web / pools.php
1 <?php
2   session_start();
3   require_once ("paths.php");
4   require_once ($smarty_path."Smarty.class.php");
5   require_once ("bweb.inc.php");
6   require_once ("config.inc.php");
7
8   $smarty = new Smarty();
9   $dbSql = new Bweb();
10
11   require("lang.php");
12
13   // Smarty configuration
14   $smarty->compile_check = true;
15   $smarty->debugging = false;
16   $smarty->force_compile = true;
17
18   $smarty->template_dir = "./templates";
19   $smarty->compile_dir = "./templates_c";
20   $smarty->config_dir     = "./configs";
21
22   // Get volumes list (pools.tpl)
23   $smarty->assign('pools',$dbSql->GetVolumeList() );
24
25   $smarty->display('pools.tpl');
26 ?>