Skip to content

Commit

Permalink
Update forum_shortcodes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rica-carv authored Sep 29, 2024
1 parent 1661031 commit 8215213
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ function sc_replies($parm = '')
return $this->sc_repliesx($parm);
}


function sc_threadsx($parm = null) // EQUAL TO SC_THREADS.......................
{
$val = ($this->var['forum_threads']) ? $this->var['forum_threads'] : '0';
Expand All @@ -486,7 +485,6 @@ function sc_threadsx($parm = null) // EQUAL TO SC_THREADS.......................
return e107::getParser()->toBadge($val);
}


function sc_repliesx($parm = null) // EQUAL TO SC_REPLIES.......................
{
//print_a($parm);
Expand All @@ -500,7 +498,6 @@ function sc_repliesx($parm = null) // EQUAL TO SC_REPLIES.......................
return e107::getParser()->toBadge($val);
}


function sc_forumsubforums()
{
return (!empty($this->var['text'])) ? "<br /><div class='smalltext'>".LAN_FORUM_0069.": {$this->var['text']}</div>":"";
Expand All @@ -511,15 +508,11 @@ function sc_lastpostuser()
return $this->sc_lastpost(array('type'=>'username'));
}


function sc_lastpostdate()
{
echo "<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>";

return $this->sc_lastpost(array('type'=>'datelink'));
}


function sc_lastpost($parm = null)
{
if (empty($this->var['forum_lastpost_info']))
Expand Down

0 comments on commit 8215213

Please sign in to comment.