Exemple #1
0
 function _HTML_header()
 {
     $this->previewlink = AMP_CONTENT_URL_LINKS;
     //$result = parent::_HTML_header( ) . $this->list_preview_link( );
     $result = $this->list_preview_link() . parent::_HTML_header();
     unset($this->previewlink);
     return $result;
 }
Exemple #2
0
 function _getSourceRow()
 {
     $row_data = parent::_getSourceRow();
     if ($row_data) {
         $row_data['id'] = $row_data['name'];
     }
     return $row_data;
 }
Exemple #3
0
 function _getSourceRow()
 {
     $row_data = parent::_getSourceRow();
     if ($row_data) {
         $row_data['id'] = strip_tags($row_data['name']);
     }
     return $row_data;
 }
Exemple #4
0
 function _HTML_editColumn($id)
 {
     $source = new ArticleComment(AMP_Registry::getDbcon(), $id);
     $article_id = $source->getArticle();
     $allowed_articles = AMP_lookup('articles');
     $existing_articles = AMP_lookup('articles_existing');
     if (!isset($allowed_articles[$article_id]) && isset($existing_articles[$article_id])) {
         return "\n<td nowrap><div align='center'>" . "</div></td>\n";
     }
     return parent::_HTML_editColumn($id);
 }
Exemple #5
0
 function _getSourceRow()
 {
     if ($posted_values = $this->_copier->returnSets($this->copier_name)) {
         return false;
     }
     $all_data = array();
     $n = 0;
     while ($all_data[++$n] = parent::_getSourceRow()) {
         //collect data
     }
     $result_data = $this->_translateDataForCopier($all_data);
     $this->_copier->addSets($this->copier_name, $result_data);
     return false;
 }
Exemple #6
0
 function _HTML_header()
 {
     return $this->list_preview_link() . parent::_HTML_header();
 }