aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions_plugins.inc.php18
-rw-r--r--admin/include/plugins.class.php18
2 files changed, 18 insertions, 18 deletions
diff --git a/admin/include/functions_plugins.inc.php b/admin/include/functions_plugins.inc.php
index 6710b7470..693ca7707 100644
--- a/admin/include/functions_plugins.inc.php
+++ b/admin/include/functions_plugins.inc.php
@@ -43,22 +43,4 @@ function get_admin_plugin_menu_link($file)
}
return $url;
}
-
-/**
- * Set tabsheet for plugins pages.
- * @param string selected page.
- */
-function set_plugins_tabsheet($selected)
-{
- include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
-
- $link = get_root_url().'admin.php?page=';
-
- $tabsheet = new tabsheet();
- $tabsheet->add('plugins_list', l10n('Plugin list'), $link.'plugins_list');
- $tabsheet->add('plugins_update', l10n('Check for updates'), $link.'plugins_update');
- $tabsheet->add('plugins_new', l10n('Other plugins'), $link.'plugins_new');
- $tabsheet->select($selected);
- $tabsheet->assign();
-}
?> \ No newline at end of file
diff --git a/admin/include/plugins.class.php b/admin/include/plugins.class.php
index 8b5cdd4d0..b099fc4e9 100644
--- a/admin/include/plugins.class.php
+++ b/admin/include/plugins.class.php
@@ -40,6 +40,24 @@ class plugins
}
}
+ /**
+ * Set tabsheet for plugins pages.
+ * @param string selected page.
+ */
+ function set_tabsheet($selected)
+ {
+ include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
+
+ $link = get_root_url().'admin.php?page=';
+
+ $tabsheet = new tabsheet();
+ $tabsheet->add('plugins_list', l10n('Plugin list'), $link.'plugins_list');
+ $tabsheet->add('plugins_update', l10n('Check for updates'), $link.'plugins_update');
+ $tabsheet->add('plugins_new', l10n('Other plugins'), $link.'plugins_new');
+ $tabsheet->select($selected);
+ $tabsheet->assign();
+ }
+
/**
* Perform requested actions
* @param string - action