summaryrefslogtreecommitdiffstats
path: root/templates/show_users.inc.php
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2008-02-20 23:11:38 +0000
committerpb1dft <pb1dft@ampache>2008-02-20 23:11:38 +0000
commite9e0d7926740e75bb2e25932f01b07345e80d1fc (patch)
tree8aa65c8d11a15af023a7eac9cec15fddc6862f7c /templates/show_users.inc.php
parentb70a11b78bec4ed1bc2ace4f0358763d51c80693 (diff)
downloadampache-e9e0d7926740e75bb2e25932f01b07345e80d1fc.tar.gz
ampache-e9e0d7926740e75bb2e25932f01b07345e80d1fc.tar.bz2
ampache-e9e0d7926740e75bb2e25932f01b07345e80d1fc.zip
Fixed sorting on admin>users
Diffstat (limited to 'templates/show_users.inc.php')
-rw-r--r--templates/show_users.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_users.inc.php b/templates/show_users.inc.php
index 797c0b16..9a2b276c 100644
--- a/templates/show_users.inc.php
+++ b/templates/show_users.inc.php
@@ -36,9 +36,9 @@ $web_path = Config::get('web_path');
<col id="col_online" />
</colgroup>
<tr class="th-top">
- <th class="cel_username"><?php echo _('Fullname'); ?>(<?php echo _('Username'); ?>)</th>
- <th class="cel_lastseen"><?php echo _('Last Seen'); ?></th>
- <th class="cel_registrationdate"><?php echo _('Registration Date'); ?></th>
+ <th class="cel_username"><?php echo Ajax::text('?page=browse&action=set_sort&sort=fullname',_('Fullname'),'users_sort_fullname'); ?>( <?php echo Ajax::text('?page=browse&action=set_sort&sort=username',_('Username'),'users_sort_username');?>)</th>
+ <th class="cel_lastseen"><?php echo Ajax::text('?page=browse&action=set_sort&sort=last_seen',_('Last Seen'),'users_sort_lastseen'); ?></th>
+ <th class="cel_registrationdate"><?php echo Ajax::text('?page=browse&action=set_sort&sort=create_date',_('Registration Date'),'users_sort_createdate'); ?></th>
<th class="cel_activity"><?php echo _('Activity'); ?></th>
<?php if (Config::get('track_user_ip')) { ?>
<th class="cel_lastip"><?php echo _('Last Ip'); ?></th>
@@ -101,9 +101,9 @@ foreach ($object_ids as $user_id) {
</tr>
<?php } //end foreach users ?>
<tr class="th-bottom">
- <th class="cel_username"><?php echo _('Fullname'); ?>(<?php echo _('Username'); ?>)</th>
- <th class="cel_lastseen"><?php echo _('Last Seen'); ?></th>
- <th class="cel_registrationdate"><?php echo _('Registration Date'); ?></th>
+ <th class="cel_username"><?php echo Ajax::text('?page=browse&action=set_sort&sort=fullname',_('Fullname'),'users_sort_fullname'); ?>( <?php echo Ajax::text('?page=browse&action=set_sort&sort=username',_('Username'),'users_sort_username');?>)</th>
+ <th class="cel_lastseen"><?php echo Ajax::text('?page=browse&action=set_sort&sort=last_seen',_('Last Seen'),'users_sort_lastseen'); ?></th>
+ <th class="cel_registrationdate"><?php echo Ajax::text('?page=browse&action=set_sort&sort=create_date',_('Registration Date'),'users_sort_createdate'); ?></th>
<th class="cel_activity"><?php echo _('Activity'); ?></th>
<?php if (Config::get('track_user_ip')) { ?>
<th class="cel_lastip"><?php echo _('Last Ip'); ?></th>