Changeset 5475 for trunk/admin/plugins_list.php
- Timestamp:
- Mar 30, 2010, 3:30:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/plugins_list.php
r5474 r5475 31 31 $template->set_filenames(array('plugins' => 'plugins_list.tpl')); 32 32 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']; 35 34 $action_url = $base_url.'&plugin='.'%s'.'&pwg_token='.get_pwg_token(); 36 35 … … 57 56 $plugins->set_tabsheet($page['page']); 58 57 59 //---------------------------------------------------------------Order options60 $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 73 58 // +-----------------------------------------------------------------------+ 74 59 // | start template output | 75 60 // +-----------------------------------------------------------------------+ 76 61 77 $plugins->sort_fs_plugins( $order);62 $plugins->sort_fs_plugins('name'); 78 63 79 64 foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
Note: See TracChangeset
for help on using the changeset viewer.