Issue #2210197 by sun, longwave, Sutharsan: Remove public access to...
Issue #2210197 by sun, longwave, Sutharsan: Remove public access to Extension::$type, ::$name, ::$filename.
Showing
... | ... | @@ -200,17 +200,17 @@ public function themesPage() { |
if (!empty($theme->info['hidden'])) { | ||
continue; | ||
} | ||
$theme->is_default = ($theme->name == $theme_default); | ||
$theme->is_default = ($theme->getName() == $theme_default); | ||
// Identify theme screenshot. | ||
$theme->screenshot = NULL; | ||
// Create a list which includes the current theme and all its base themes. | ||
if (isset($themes[$theme->name]->base_themes)) { | ||
$theme_keys = array_keys($themes[$theme->name]->base_themes); | ||
$theme_keys[] = $theme->name; | ||
if (isset($themes[$theme->getName()]->base_themes)) { | ||
$theme_keys = array_keys($themes[$theme->getName()]->base_themes); | ||
$theme_keys[] = $theme->getName(); | ||
} | ||
else { | ||
$theme_keys = array($theme->name); | ||
$theme_keys = array($theme->getName()); | ||
< |