Ignore:
Timestamp:
Apr 23, 2011, 2:48:05 PM (13 years ago)
Author:
patdenice
Message:

Change tabsheet place for plugins, themes and languages.
Plugins, themes and languages use same update page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/updates.class.php

    r10511 r10594  
    1616  var $merged_extension_url = 'http://piwigo.org/download/merged_extensions.txt';
    1717
    18   function __construct()
     18  function __construct($page='updates')
    1919  {
    2020    $this->types = array('plugins', 'themes', 'languages');
     21
     22    if (in_array($page, $this->types))
     23    {
     24      $this->types = array($page);
     25    }
    2126    $this->default_themes = array('clear', 'dark', 'Sylvia');
    2227    $this->default_plugins = array('admin_multi_view', 'c13y_upgrade', 'language_switch', 'LocalFilesEditor');
Note: See TracChangeset for help on using the changeset viewer.