mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
trackback plugin removed.
This commit is contained in:
@@ -168,12 +168,13 @@ class news_shortcodes extends e_shortcode
|
||||
|
||||
function sc_trackback($parm=null)
|
||||
{
|
||||
global $pref;
|
||||
return null;
|
||||
/* global $pref;
|
||||
if(!vartrue($pref['trackbackEnabled'])) { return ''; }
|
||||
$news_item = $this->news_item;
|
||||
$news_item['#'] = 'track';
|
||||
|
||||
return ($this->param['trackbackbeforestring'] ? $this->param['trackbackbeforestring'] : '')."<a href='".e107::getUrl()->create('news/view/item', $this->news_item)."'>".$this->param['trackbackstring'].$this->news_item['tb_count'].'</a>'.($this->param['trackbackafterstring'] ? $this->param['trackbackafterstring'] : '');
|
||||
return ($this->param['trackbackbeforestring'] ? $this->param['trackbackbeforestring'] : '')."<a href='".e107::getUrl()->create('news/view/item', $this->news_item)."'>".$this->param['trackbackstring'].$this->news_item['tb_count'].'</a>'.($this->param['trackbackafterstring'] ? $this->param['trackbackafterstring'] : '');*/
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$TRACKBACK = "
|
||||
<div class='fcaption'>{TITLE}</div>
|
||||
{EXCERPT}<br />From: {BLOGNAME}<br /><br />
|
||||
";
|
||||
|
||||
$TRACKBACK_RENDER_METHOD = TRUE; /* TRUE=tablerender, FALSE=echo */
|
||||
|
Reference in New Issue
Block a user