- Updated French translation
- Initial support for PostgreSQL (thanks to Dan Langille)
- Upgrade Phplot to 5.0rc2 version.
- - Add templates_c to cvs repository.
+ - Added templates_c to cvs repository.
+ - Added German translation
+ - Fix mysql database size (reported by Roland Arendes)
25-10-2004 Bacula web 1.1
- - Add array_fill function (as Mikael suggested)
+ - Add array_fill function (as Mikael suggested)
- Fix url encode of links. (reported by Phil Stracchino)
- Upgrade Smarty to 2.6.6 version.
- Add French translation
+- Multi catalog
- Improve check errors routines.
- Improve security. (stats.php mainly)
- Optimize database querys (Very poor now) (TO_DAYS,etc.).
LOW PRIORITY
------------
-- Multi catalog
- WebConsole!!!
- Add support to PDF creation.
- Build documentation of classes.
$dbsize = $this->link->query("show table status")
or die ("classes.inc: Error query: 3");
if ( $dbsize->numRows() ) {
- while ( $res = $dbsize->fetchRow() )
- $database_size += $res[5];
+ while ( $res = $dbsize->fetchRow(DB_FETCHMODE_ASSOC) )
+ $database_size += $res["Data_length"];
}
else
return 0;
$bytes_stored =& $dbSql->link->getOne("select SUM(VolBytes) from Media")
or die ("Error query: 4");
-$smarty->assign('database_size', $dbSql->GetDbSize()*1000000);
+$smarty->assign('database_size', $dbSql->GetDbSize());
$smarty->assign('bytes_stored',$bytes_stored);
$tmp = $client->fetchRow();