Changeset 5367 for trunk/admin/include/functions_plugins.inc.php
- Timestamp:
- Mar 25, 2010, 11:38:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_plugins.inc.php
r5196 r5367 44 44 return $url; 45 45 } 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 }64 46 ?>
Note: See TracChangeset
for help on using the changeset viewer.