mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
More Forum template tweaks
This commit is contained in:
@@ -27,10 +27,16 @@ class plugin_forum_view_shortcodes extends e_shortcode
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* What does this do?
|
||||
*/
|
||||
function sc_threaddatestamp()
|
||||
{
|
||||
$gen = e107::getDateConvert(); // XXX _URL_ check if all required info is there
|
||||
return "<a id='post_{$this->postInfo['post_id']}' href='".$this->e107->url->create('forum/thread/post', array('name' => $this->postInfo['thread_name'], 'thread' => $this->postInfo['post_thread'], 'id' => $this->postInfo['post_id']))."'>".IMAGE_post."</a> ".$gen->convert_date($this->postInfo['post_datestamp'], 'forum');
|
||||
|
||||
// XXX what is this line meant to do?
|
||||
// $text = "<a id='post_{$this->postInfo['post_id']}' href='".$this->e107->url->create('forum/thread/post', array('name' => $this->postInfo['thread_name'], 'thread' => $this->postInfo['post_thread'], 'id' => $this->postInfo['post_id']))."'>".IMAGE_post."</a> ";
|
||||
return $gen->convert_date($this->postInfo['post_datestamp'], 'forum');
|
||||
}
|
||||
|
||||
function sc_post()
|
||||
|
Reference in New Issue
Block a user