protected function getActions($id, $module, $actions) { $submits = array(); $this->core->blog->settings->addNamespace('system'); if ($id != $this->core->blog->settings->system->theme) { # Select theme to use on curent blog if (in_array('select', $actions) && $this->path_writable) { $submits[] = '<input type="submit" name="select[' . html::escapeHTML($id) . ']" value="' . __('Use this one') . '" />'; } } return array_merge($submits, parent::getActions($id, $module, $actions)); }