Ignore:
Timestamp:
Apr 16, 2010, 12:08:37 AM (14 years ago)
Author:
plg
Message:

feature 1605: ability to forbid theme activation, needed for gally-default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes_installed.php

    r5642 r5874  
    100100  {
    101101    // is the theme "activable" ?
    102     $fs_theme['activable'] = true;
     102    if (isset($fs_theme['activable']) and !$fs_theme['activable'])
     103    {
     104      $fs_theme['activate_tooltip'] = l10n('This theme was not designed to be directly activated');
     105    }
     106    else
     107    {
     108      $fs_theme['activable'] = true;
     109    }
    103110
    104111    $missing_parent = $themes->missing_parent_theme($theme_id);
Note: See TracChangeset for help on using the changeset viewer.