function admin_themes(&$smarty) { global $theme; if ($theme['version'] > 0.703) { $this->actions['style'] = true; } parent::AdminPanel($smarty); }