Beispiel #1
0
 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();
 }
Beispiel #2
0
 function _formFooter()
 {
     $id = $this->getIdValue();
     if (!$id) {
         return false;
     }
     require_once 'AMP/Content/Article/Version/List.inc.php';
     $list = new Article_Version_List(AMP_Registry::getDbcon(), array('article' => $id));
     return $list->execute();
 }