function _formFooter() { if (!$this->getIdValue()) { return false; } $renderer = new AMPDisplay_HTML(); return $renderer->inSpan(AMP_TEXT_SYSTEM_LINK_NAV_LAYOUT_EDIT, array('class' => 'intitle')) . AMP_navCountDisplay_Introtext($this->getIdValue()); }
function _formFooter() { $article =& $this->_get_model(); if (!$article) { return false; } $id = $article->getArticleId(); $renderer = new AMPDisplay_HTML(); $output = $renderer->inSpan(sprintf(AMP_TEXT_CURRENT_ACTION, AMP_TEXT_EDIT, sprintf(AMP_TEXT_VERSION_ID, $article->id)), array('class' => 'page_result')); require_once 'AMP/Content/Article/Version/List.inc.php'; $list = new Article_Version_List(AMP_Registry::getDbcon(), array('article' => $id)); return $output . $list->execute(); }