published ? 'checked="checked"' : ''; $nocheck = $entry->published ? '' : 'checked="checked"'; $parser_class = MARKDOWN_PARSER_CLASS; $parser = new $parser_class; echo <<
{$this->show(_GLOSSARY_COMPONENT_TITLE)} - {$this->show(_GLOSSARY_EDIT_ENTRIES)}
{$this->showHTML($parser->transform($entry->tdefinition))}
{$this->show(_CMSAPI_YES)} {$this->show(_CMSAPI_NO)}
EDIT_ENTRY; } function makeGlossarySelect ($glossaries, $entry) { $optionlist = ''; foreach ($glossaries as $glossary) { $selected = ($glossary->id == $entry->catid) ? ' selected="selected"' : ''; $optionlist .= <<$glossary->name OPTION_ENTRY; } return $optionlist; } }