| @@ -277,22 +277,8 @@ | ||
| 277 | 277 | $this->query .= 'JOIN #__term_relationships AS cat ON post.ID = cat.object_id'; |
| 278 | 278 | $this->filters[] = 'cat.term_taxonomy_id = '.intval($this->pageInfo->filter_cat); |
| 279 | 279 | } |
| 280 | 280 | |
| 281 | - $rows = $this->getElements(); | |
| 282 | - foreach ($rows as $i => $row) { | |
| 283 | - if (str_replace(['wp:core-embed', 'wp:shortcode'], '', $row->post_content) !== $row->post_content) { | |
| 284 | - ob_start(); | |
| 285 | - acym_tooltip( | |
| 286 | - [ | |
| 287 | - 'hoveredText' => '<i class="acymicon-exclamation-triangle"></i>', | |
| 288 | - 'textShownInTooltip' => acym_translation('ACYM_SPECIAL_CONTENT_WARNING'), | |
| 289 | - ] | |
| 290 | - ); | |
| 291 | - $rows[$i]->post_title = ob_get_clean().$rows[$i]->post_title; | |
| 292 | - } | |
| 293 | - } | |
| 294 | - | |
| 295 | 281 | $listingOptions = [ |
| 296 | 282 | 'header' => [ |
| 297 | 283 | 'post_title' => [ |
| 298 | 284 | 'label' => 'ACYM_TITLE', |
| @@ -309,9 +295,9 @@ | ||
| 309 | 295 | 'class' => 'text-center', |
| 310 | 296 | ], |
| 311 | 297 | ], |
| 312 | 298 | 'id' => 'ID', |
| 313 | - 'rows' => $rows, | |
| 299 | + 'rows' => $this->getElements(), | |
| 314 | 300 | ]; |
| 315 | 301 | |
| 316 | 302 | return $this->getElementsListing($listingOptions); |
| 317 | 303 | } |