protected function buildNavBar() { parent::buildNavBar(); // build the navbar like we're in the Post component because it's the // only way this delete page gets loaded. In the Comment component, // comments get deleted with the AJAX server. $this->navbar->popEntry(); $this->navbar->popEntry(); $this->navbar->addEntry(new SwatNavBarEntry(Blorg::_('Posts'), 'Post')); $this->navbar->addEntry(new SwatNavBarEntry($this->post->getTitle(), sprintf('Post/Details?id=%s', $this->post->id))); $this->navbar->addEntry(new SwatNavBarEntry(Blorg::_('Delete Comments'))); }
protected function buildNavBar() { parent::buildNavBar(); $this->navbar->popEntries(1); $this->navbar->createEntry(CME::ngettext('Delete CME Front Matter', 'Delete CME Front Matters', count($this->items))); }