summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2007-10-16 20:26:16 +0000
committerspocky <spocky@ampache>2007-10-16 20:26:16 +0000
commit15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f (patch)
tree0d16eb9fb44337d4176af2ca42c3ca070b878113 /templates/show_songs.inc.php
parent4b58b3e218d2e926d7bb0e4d07be2877853de689 (diff)
downloadampache-15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f.tar.gz
ampache-15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f.tar.bz2
ampache-15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f.zip
- hardcoded disk# sort order when sort is set to album name
- removed pager from browse table - added footer to browse tables - updated browse files for better customization - modified css
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r--templates/show_songs.inc.php34
1 files changed, 24 insertions, 10 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index a104f1f2..293b0b55 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -23,13 +23,19 @@
$web_path = Config::get('web_path');
$ajax_url = Config::get('ajax_url');
?>
+<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
<table class="tabledata" cellspacing="0" cellpadding="0">
-<tr>
- <td colspan="8">
- <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
- </td>
-</tr>
-<tr class="table-header">
+<colgroup>
+ <col id="br_add" />
+ <col id="br_song" />
+ <col id="br_artist" />
+ <col id="br_album" />
+ <col id="br_genre" />
+ <col id="br_track" />
+ <col id="br_time" />
+ <col id="br_action" />
+</colgroup>
+<tr class="table-header th-top">
<th><?php echo _('Add'); ?></th>
<th>
<?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?>
@@ -50,9 +56,17 @@ $ajax_url = Config::get('ajax_url');
<?php require Config::get('prefix') . '/templates/show_song_row.inc.php'; ?>
</tr>
<?php } ?>
-<tr>
- <td colspan="8">
- <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
- </td>
+<tr class="table-header th-bottom">
+ <th><?php echo _('Add'); ?></th>
+ <th>
+ <?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?>
+ </th>
+ <th><?php echo _('Artist'); ?></th>
+ <th><?php echo _('Album'); ?></th>
+ <th><?php echo _('Genre'); ?></th>
+ <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th>
+ <th><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th>
+ <th><?php echo _('Action'); ?></th>
</tr>
</table>
+<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>