add('name', QUICKSEARCH); $propbag->add('description', SEARCH_FOR_ENTRY); $propbag->add('stackable', false); $propbag->add('author', 'Serendipity Team'); $propbag->add('version', '1.2'); // NOTE: This plugin is also in the central repository. Commit changes to the core, too :) $propbag->add('configuration', array('fullentry')); $propbag->add('groups', array('FRONTEND_ENTRY_RELATED')); } function introspect_config_item($name, &$propbag) { switch($name) { case 'fullentry': $propbag->add('type', 'boolean'); $propbag->add('name', SEARCH_FULLENTRY); $propbag->add('description', ''); $propbag->add('default', true); break; default: return false; } return true; } function generate_content(&$title) { global $serendipity; $title = $this->title; $fullentry = serendipity_db_bool($this->get_config('fullentry', 'true')); ?>