]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/pools.php
bacula-web: Renamed mysqldatabase.class.php to mysql.cdb.class.php
[bacula/bacula] / gui / bacula-web / pools.php
1 <?php
2 /* 
3 +-------------------------------------------------------------------------+
4 | Copyright 2010-2011, Davide Franco                                              |
5 |                                                                         |
6 | This program is free software; you can redistribute it and/or           |
7 | modify it under the terms of the GNU General Public License             |
8 | as published by the Free Software Foundation; either version 2          |
9 | of the License, or (at your option) any later version.                  |
10 |                                                                         |
11 | This program is distributed in the hope that it will be useful,         |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of          |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |
14 | GNU General Public License for more details.                            |
15 +-------------------------------------------------------------------------+ 
16 */
17  session_start();
18  include_once( 'config.inc.php' );
19
20  $dbSql = new Bweb();
21
22  // Get volumes list (pools.tpl)
23  $dbSql->tpl->assign('pools',$dbSql->GetVolumeList() );
24
25  $dbSql->tpl->display('pools.tpl');
26 ?>