summaryrefslogtreecommitdiffstats
path: root/templates/show_videos.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-08 23:42:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-08 23:42:52 +0000
commit35d6670bd523f0118c4075039298d43f9966bb3c (patch)
tree903159587556d0aa83773c8b24185ccba73f9da9 /templates/show_videos.inc.php
parent04bcb58be993a4662893f55fbd1c91bc5325fbdc (diff)
downloadampache-35d6670bd523f0118c4075039298d43f9966bb3c.tar.gz
ampache-35d6670bd523f0118c4075039298d43f9966bb3c.tar.bz2
ampache-35d6670bd523f0118c4075039298d43f9966bb3c.zip
added sorting to the video browse, also made the api add_lt, add_gt work for artist and album (untested)
Diffstat (limited to 'templates/show_videos.inc.php')
-rw-r--r--templates/show_videos.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_videos.inc.php b/templates/show_videos.inc.php
index 63a8d8ed..4e679eb0 100644
--- a/templates/show_videos.inc.php
+++ b/templates/show_videos.inc.php
@@ -33,10 +33,10 @@ $web_path = Config::get('web_path');
</colgroup>
<tr class="th-top">
<th class="cel_add"><?php echo _('Add'); ?></th>
- <th class="cel_title"><?php echo _('Title'); ?></th>
- <th class="cel_codec"><?php echo _('Codec'); ?></th>
- <th class="cel_resolution"><?php echo _('Resolution'); ?></th>
- <th class="cel_length"><?php echo _('Length'); ?></th>
+ <th class="cel_title"><?php echo Ajax::text('?page=browse&action=set_sort&type=video&sort=title',_('Title'),'sort_video_title'); ?></th>
+ <th class="cel_codec"><?php echo Ajax::text('?page=browse&action=set_sort&type=video&sort=codec',_('Codec'),'sort_video_codec'); ?></th>
+ <th class="cel_resolution"><?php echo Ajax::text('?page=browse&action=set_sort&type=video&sort=resolution',_('Resolution'),'sort_video_rez'); ?></th>
+ <th class="cel_length"><?php echo Ajax::text('?page=browse&action=set_sort&type=video&sort=length',_('Length'),'sort_video_length'); ?></th>
<th class="cel_tags"><?php echo _('Tags'); ?></th>
</tr>
<?php