diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-17 03:11:06 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-17 03:11:06 +0000 |
commit | 88562955f9c96d8d347acc8c12cdf33adab04f94 (patch) | |
tree | ad90a912041f32aeeef6fb662ad4d91c67c34c0b /templates/show_songs.inc.php | |
parent | d1dcfcbc903153007fff2c155248046ecfbdc76a (diff) | |
download | ampache-88562955f9c96d8d347acc8c12cdf33adab04f94.tar.gz ampache-88562955f9c96d8d347acc8c12cdf33adab04f94.tar.bz2 ampache-88562955f9c96d8d347acc8c12cdf33adab04f94.zip |
added sorting on most objects in most views, report bugs if you find points where sorting fails
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r-- | templates/show_songs.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php index 2ad73b95..a104f1f2 100644 --- a/templates/show_songs.inc.php +++ b/templates/show_songs.inc.php @@ -31,14 +31,14 @@ $ajax_url = Config::get('ajax_url'); </tr> <tr class="table-header"> <th><?php echo _('Add'); ?></th> - <th onclick="ajaxPut('<?php echo $ajax_url; ?>?action=browse&sort=title');return true;" style="cursor:pointer;"> - <?php echo _('Song Title'); ?> + <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 _('Track'); ?></th> - <th><?php echo _('Time'); ?></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> <?php |