Ignore:
Timestamp:
03/25/10 23:38:09 (10 years ago)
Author:
patdenice
Message:

Move set_tabsheet function for plugins pages to plugins class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_plugins.inc.php

    r5196 r5367  
    4444  return $url; 
    4545} 
    46  
    47 /** 
    48  * Set tabsheet for plugins pages. 
    49  * @param string selected page. 
    50  */ 
    51 function set_plugins_tabsheet($selected) 
    52 { 
    53   include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); 
    54  
    55   $link = get_root_url().'admin.php?page='; 
    56  
    57   $tabsheet = new tabsheet(); 
    58   $tabsheet->add('plugins_list', l10n('Plugin list'), $link.'plugins_list'); 
    59   $tabsheet->add('plugins_update', l10n('Check for updates'), $link.'plugins_update'); 
    60   $tabsheet->add('plugins_new', l10n('Other plugins'), $link.'plugins_new'); 
    61   $tabsheet->select($selected); 
    62   $tabsheet->assign(); 
    63 } 
    6446?> 
Note: See TracChangeset for help on using the changeset viewer.