gconfig->show_list) { $navigation = $pagecontrol ? $pagecontrol->showNavigation($this->gconfig->pagespread) : ''; $alphabetabove = $this->gconfig->show_alphabet ? $alphabethtml : ''; $alphabetbelow = $this->gconfig->show_alphabet_below ? $alphabethtml : ''; $item_list = $this->makeItemList ($alphabetabove, $navigation, $listhtml, $navigation, $alphabetbelow); } else $item_list = ''; $itemcount = $grandtotal ? sprintf(_GLOSSARY_ITEM_COUNT, $grandtotal) : ''; if ($allowentry) { $addlink = $this->interface->sefRelToAbs("index.php?option=com_glossary&task=edit&id=0&glossid=".$glossary->id); $addhtml = $this->showLinkToEntryForm($addlink); } else $addhtml = ''; echo $this->showGlossaryPage($glossary, $glosshtmltop, $itemcount, $addhtml, $searchhtml, $item_list, $glosshtmlbottom); } protected function makeItemList ($alphabetabove, $navigation, $listhtml, $navigation, $alphabetbelow) { return <<{$this->show(_GLOSSARY_ADD_ENTRY)} ADD_ENTRY_HTML; } protected function showGlossaryPage ($glossary, $glosshtmltop, $itemcount, $addhtml, $searchhtml, $item_list, $glosshtmlbottom) { return <<{$this->showHTML($glossary->description)} $glosshtmltop $itemcount $addhtml $searchhtml $item_list $glosshtmlbottom
Glossary {$this->show(_GLOSSARY_VERSION)} uses technologies including PHP and SQL
GLOSSARY_DISPLAY; } }