Changeset 28989 for trunk/admin/themes_installed.php
- Timestamp:
- Jul 7, 2014, 1:16:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes_installed.php
r28587 r28989 92 92 { 93 93 $tpl_theme['STATE'] = 'active'; 94 $tpl_theme['IS_DEFAULT'] = ($theme_id == $default_theme); 94 95 $tpl_theme['DEACTIVABLE'] = true; 95 96 … … 99 100 $tpl_theme['DEACTIVATE_TOOLTIP'] = l10n('Impossible to deactivate this theme, you need at least one theme.'); 100 101 } 101 102 $tpl_theme['IS_DEFAULT'] = ($theme_id == $default_theme); 102 if ($tpl_theme['IS_DEFAULT']) 103 { 104 $tpl_theme['DEACTIVABLE'] = false; 105 $tpl_theme['DEACTIVATE_TOOLTIP'] = l10n('Impossible to deactivate the default theme.'); 106 } 103 107 } 104 108 else
Note: See TracChangeset
for help on using the changeset viewer.