Ignore:
Timestamp:
Mar 30, 2010, 3:30:50 PM (14 years ago)
Author:
plg
Message:

feature 1557: remove the sorting feature on plugin list, because it becomes
not very relevant with the new design.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/plugins_list.php

    r5474 r5475  
    3131$template->set_filenames(array('plugins' => 'plugins_list.tpl'));
    3232
    33 $order = isset($_GET['order']) ? $_GET['order'] : 'name';
    34 $base_url = get_root_url().'admin.php?page='.$page['page'].'&order='.$order;
     33$base_url = get_root_url().'admin.php?page='.$page['page'];
    3534$action_url = $base_url.'&plugin='.'%s'.'&pwg_token='.get_pwg_token();
    3635
     
    5756$plugins->set_tabsheet($page['page']);
    5857
    59 //---------------------------------------------------------------Order options
    60 $link = get_root_url().'admin.php?page='.$page['page'].'&order=';
    61 
    62 $template->assign(
    63   'order_options',
    64   array(
    65     $link.'name' => l10n('Name'),
    66     $link.'status' => l10n('Status'),
    67     $link.'author' => l10n('Author'),
    68     $link.'id' => 'Id')
    69   );
    70 
    71 $template->assign('order_selected', $link.$order);
    72 
    7358// +-----------------------------------------------------------------------+
    7459// |                     start template output                             |
    7560// +-----------------------------------------------------------------------+
    7661
    77 $plugins->sort_fs_plugins($order);
     62$plugins->sort_fs_plugins('name');
    7863
    7964foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
Note: See TracChangeset for help on using the changeset viewer.