X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2Fbacula-web%2Fpools.php;h=4fe3cd8b66173648410ea0e7d660a0ed92bbb7d5;hb=0cc9650ffa42ef10f3bb9acf3565c80e0813df79;hp=0a2c682c98ae9a62c362897c397308a2769abd18;hpb=bed4d6c620101ad0893a1eb28bfdb7bcf7511b00;p=bacula%2Fbacula diff --git a/gui/bacula-web/pools.php b/gui/bacula-web/pools.php index 0a2c682c98..4fe3cd8b66 100644 --- a/gui/bacula-web/pools.php +++ b/gui/bacula-web/pools.php @@ -1,24 +1,26 @@ compile_check = true; - $smarty->debugging = false; - $smarty->force_compile = true; + // Get volumes list (pools.tpl) + $dbSql->tpl->assign('pools',$dbSql->GetVolumeList() ); - $smarty->template_dir = "./templates"; - $smarty->compile_dir = "./templates_c"; - $smarty->config_dir = "./configs"; - - // Get volumes list (pools.tpl) - $smarty->assign('pools',$dbSql->GetVolumeList() ); - - $smarty->display('pools.tpl'); + $dbSql->tpl->display('pools.tpl'); ?>