Changeset 5259 for trunk/admin/themes_installed.php
- Timestamp:
- Mar 22, 2010, 4:03:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes_installed.php
r5258 r5259 90 90 else 91 91 { 92 // is the theme "activable" ? 93 $fs_theme['activable'] = true; 94 95 $missing_parent = $themes->missing_parent_theme($theme_id); 96 if (isset($missing_parent)) 97 { 98 $fs_theme['activable'] = false; 99 100 $fs_theme['activate_tooltip'] = sprintf( 101 l10n('Impossible to activate this theme, the parent theme is missing: %s'), 102 $missing_parent 103 ); 104 } 105 106 // is the theme "deletable" ? 92 107 $children = $themes->get_children_themes($theme_id); 108 109 $fs_theme['deletable'] = true; 93 110 94 111 if (count($children) > 0) … … 100 117 implode(', ', $children) 101 118 ); 102 }103 else104 {105 $fs_theme['deletable'] = true;106 119 } 107 120
Note: See TracChangeset
for help on using the changeset viewer.