]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Changed variable name in main dashboard
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 11 Mar 2011 10:44:34 +0000 (11:44 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Aug 2011 09:56:14 +0000 (11:56 +0200)
 - Changed overall stored files variable name in index.php and index.tpl

gui/bacula-web/index.php
gui/bacula-web/templates/index.tpl

index ee8276175ae65182a575d294732c7a85139cbc71..67b7af81fb897c386d465bc4aa7944e8b4aeff38 100644 (file)
@@ -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());
index 47c26f3985d01f3d0b1b16bc9d0822554a5f7bfe..cc1567bf53b3ac7e367c25d0302bab233ffe3930 100644 (file)
@@ -80,7 +80,7 @@
                <td class="label">{t}Total bytes stored{/t}</td> <td class="info">{$stored_bytes}</td>
          </tr>
          <tr>
-               <td class="label">{t}Total files{/t}</td> <td class="info">{$files_totales} file(s)</td>
+               <td class="label">{t}Total files{/t}</td> <td class="info">{$stored_files} file(s)</td>
          </tr>
          <tr>
                <td class="label">{t}Database size{/t}</td> <td class="info">{$database_size}</td>