mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-06 05:22:37 +02: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:
@@ -15,9 +15,14 @@ class updates
|
||||
var $merged_extensions = array();
|
||||
var $merged_extension_url = 'http://piwigo.org/download/merged_extensions.txt';
|
||||
|
||||
function __construct()
|
||||
function __construct($page='updates')
|
||||
{
|
||||
$this->types = array('plugins', 'themes', 'languages');
|
||||
|
||||
if (in_array($page, $this->types))
|
||||
{
|
||||
$this->types = array($page);
|
||||
}
|
||||
$this->default_themes = array('clear', 'dark', 'Sylvia');
|
||||
$this->default_plugins = array('admin_multi_view', 'c13y_upgrade', 'language_switch', 'LocalFilesEditor');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user