12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
- if (!defined('STATUSNET')) {
- exit(1);
- }
- require_once INSTALLDIR.'/lib/noticelist.php';
- class DoFollowListItem extends NoticeListItem
- {
-
- function showContent()
- {
-
- $this->out->elementStart('article', array('class' => 'e-content'));
- $html = $this->notice->getRendered();
- if (common_config('nofollow', 'external') == 'sometimes') {
-
-
- $html = preg_replace('/rel="(.*)nofollow ?/', 'rel="\1', $html);
- }
- $this->out->raw($html);
- $this->out->elementEnd('div');
- }
- }
|