1
0
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:
Cameron
2020-12-29 10:04:33 -08:00
parent 21e3c3f8ab
commit 94f772577a
26 changed files with 40 additions and 625 deletions

View File

@@ -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'] : '');*/
}

View File

@@ -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 */