mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 12:19:57 +03:00
Change tabsheet place for plugins, themes and languages.
Plugins, themes and languages use same update page. git-svn-id: http://piwigo.org/svn/trunk@10594 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
d7dfe63e11
commit
790f6b3bb6
22 changed files with 164 additions and 670 deletions
|
@ -41,24 +41,6 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue