From a589f3b45149f371576a97828afaba4fc47e40f7 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 11 Mar 2011 11:44:34 +0100 Subject: [PATCH] bacula-web: Changed variable name in main dashboard - Changed overall stored files variable name in index.php and index.tpl --- gui/bacula-web/index.php | 2 +- gui/bacula-web/templates/index.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index ee8276175a..67b7af81fb 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -72,7 +72,7 @@ $query = ""; // Stored files number $totalfiles = $dbSql->GetStoredFiles(); -$smarty->assign('files_totales',$totalfiles); +$smarty->assign('stored_files',$totalfiles); // Database size $smarty->assign('database_size', $dbSql->GetDbSize()); diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 47c26f3985..cc1567bf53 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -80,7 +80,7 @@ {t}Total bytes stored{/t} {$stored_bytes} - {t}Total files{/t} {$files_totales} file(s) + {t}Total files{/t} {$stored_files} file(s) {t}Database size{/t} {$database_size} -- 2.39.5