]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/pools.php
bacula-web: New function get_Day_Intervals()
[bacula/bacula] / gui / bacula-web / pools.php
index 62a2de0c86e67cd85333eb6effb08b9f6eea76f6..4fe3cd8b66173648410ea0e7d660a0ed92bbb7d5 100644 (file)
@@ -1,3 +1,26 @@
 <?php
+/* 
++-------------------------------------------------------------------------+
+| Copyright 2010-2011, Davide Franco                                             |
+|                                                                         |
+| This program is free software; you can redistribute it and/or           |
+| modify it under the terms of the GNU General Public License             |
+| as published by the Free Software Foundation; either version 2          |
+| of the License, or (at your option) any later version.                  |
+|                                                                         |
+| This program is distributed in the hope that it will be useful,         |
+| but WITHOUT ANY WARRANTY; without even the implied warranty of          |
+| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |
+| GNU General Public License for more details.                            |
++-------------------------------------------------------------------------+ 
+*/
+ session_start();
+ include_once( 'config.inc.php' );
 
+ $dbSql = new Bweb();
+
+ // Get volumes list (pools.tpl)
+ $dbSql->tpl->assign('pools',$dbSql->GetVolumeList() );
+
+ $dbSql->tpl->display('pools.tpl');
 ?>