/** * Get the html form * * @param array $block_data * @return string */ private function _get_form(array $block_data) { $selected_groups = $this->_ensure_array($block_data['permission']); $this->template->assign_vars(array('S_ACTIVE' => $block_data['status'], 'S_TYPE' => $block_data['type'], 'S_NO_WRAP' => $block_data['no_wrap'], 'S_HIDE_TITLE' => $block_data['hide_title'], 'S_BLOCK_CLASS' => trim($block_data['class']), 'S_GROUP_OPS' => $this->groups->get_options('special', $selected_groups))); $this->template->set_filenames(array('block_settings' => 'block_settings.html')); return $this->template->assign_display('block_settings'); }