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/include/themes.class.php

    r5452 r5874  
    382382          {
    383383            $theme['parent'] = $val[1];
     384          }
     385          if (preg_match('/["\']activable["\'].*?(true|false)/', $theme_data, $val))
     386          {
     387            $theme['activable'] = get_boolean($val[1]);
    384388          }
    385389
Note: See TracChangeset for help on using the changeset viewer.