summaryrefslogtreecommitdiffstats
path: root/templates/show_stats.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_stats.inc.php')
-rw-r--r--templates/show_stats.inc.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/templates/show_stats.inc.php b/templates/show_stats.inc.php
index 61f62409..3e75b571 100644
--- a/templates/show_stats.inc.php
+++ b/templates/show_stats.inc.php
@@ -1,5 +1,5 @@
<?php
-/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
+/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
/**
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
@@ -32,7 +32,7 @@ $catalogs = Catalog::get_catalogs();
<th><?php echo T_('Albums'); ?></th>
<th><?php echo T_('Artists'); ?></th>
<th><?php echo T_('Songs'); ?></th>
- <th><?php echo T_('Videos'); ?></th>
+ <th><?php echo T_('Videos'); ?></th>
<th><?php echo T_('Tags'); ?></th>
<th><?php echo T_('Catalog Size'); ?></th>
<th><?php echo T_('Catalog Time'); ?></th>
@@ -43,7 +43,7 @@ $catalogs = Catalog::get_catalogs();
<td><?php echo $stats['albums']; ?></td>
<td><?php echo $stats['artists']; ?></td>
<td><?php echo $stats['songs']; ?></td>
- <td><?php echo $stats['videos']; ?></td>
+ <td><?php echo $stats['videos']; ?></td>
<td><?php echo $stats['tags']; ?></td>
<td><?php echo $stats['formatted_size']; ?></td>
<td><?php echo $stats['time_text']; ?></td>
@@ -67,24 +67,24 @@ $catalogs = Catalog::get_catalogs();
<th class="cel_lastverify"><?php echo T_('Last Verify'); ?></th>
<th class="cel_lastadd"><?php echo T_('Last Add'); ?></th>
<th class="cel_lastclean"><?php echo T_('Last Clean'); ?></th>
- <th class="cel_songs"><?php echo T_('Songs'); ?></th>
- <th class="cel_video"><?php echo T_('Videos'); ?></th>
- <th class="cel_total"><?php echo T_('Catalog Size'); ?></th>
+ <th class="cel_songs"><?php echo T_('Songs'); ?></th>
+ <th class="cel_video"><?php echo T_('Videos'); ?></th>
+ <th class="cel_total"><?php echo T_('Catalog Size'); ?></th>
</tr>
<?php foreach ($catalogs as $catalog_id) {
- $catalog = new Catalog($catalog_id);
- $catalog->format();
- $stats = Catalog::get_stats($catalog_id);
+ $catalog = new Catalog($catalog_id);
+ $catalog->format();
+ $stats = Catalog::get_stats($catalog_id);
?>
<tr>
- <td class="cel_catalog"><?php echo $catalog->name; ?></td>
- <td class="cel_path"><?php echo scrub_out($catalog->f_path); ?></td>
- <td class="cel_lastverify"><?php echo scrub_out($catalog->f_update); ?></td>
- <td class="cel_lastadd"><?php echo scrub_out($catalog->f_add); ?></td>
- <td class="cel_lastclean"><?php echo scrub_out($catalog->f_clean); ?></td>
- <td class="cel_songs"><?php echo scrub_out($stats['songs']); ?></td>
- <td class="cel_video"><?php echo scrub_out($stats['videos']); ?></td>
- <td class="cel_total"><?php echo scrub_out($stats['formatted_size']); ?></td>
+ <td class="cel_catalog"><?php echo $catalog->name; ?></td>
+ <td class="cel_path"><?php echo scrub_out($catalog->f_path); ?></td>
+ <td class="cel_lastverify"><?php echo scrub_out($catalog->f_update); ?></td>
+ <td class="cel_lastadd"><?php echo scrub_out($catalog->f_add); ?></td>
+ <td class="cel_lastclean"><?php echo scrub_out($catalog->f_clean); ?></td>
+ <td class="cel_songs"><?php echo scrub_out($stats['songs']); ?></td>
+ <td class="cel_video"><?php echo scrub_out($stats['videos']); ?></td>
+ <td class="cel_total"><?php echo scrub_out($stats['formatted_size']); ?></td>
</tr>
<?php } ?>