]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/pools.php
bacula-web: Removed useless lang.php file
[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   // Smarty configuration
12   $smarty->compile_check = true;
13   $smarty->debugging = false;
14   $smarty->force_compile = true;
15
16   $smarty->template_dir = "./templates";
17   $smarty->compile_dir = "./templates_c";
18   $smarty->config_dir     = "./configs";
19
20   // Get volumes list (pools.tpl)
21   $smarty->assign('pools',$dbSql->GetVolumeList() );
22
23   $smarty->display('pools.tpl');
24 ?>