diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index bb871e2df..5a0be5dc3 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -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 " $this->postInfo['thread_name'], 'thread' => $this->postInfo['post_thread'], 'id' => $this->postInfo['post_id']))."'>".IMAGE_post." ".$gen->convert_date($this->postInfo['post_datestamp'], 'forum'); + + // XXX what is this line meant to do? + // $text = " $this->postInfo['thread_name'], 'thread' => $this->postInfo['post_thread'], 'id' => $this->postInfo['post_id']))."'>".IMAGE_post." "; + return $gen->convert_date($this->postInfo['post_datestamp'], 'forum'); } function sc_post() diff --git a/e107_plugins/forum/templates/forum_viewtopic_template.php b/e107_plugins/forum/templates/forum_viewtopic_template.php index dad5c8571..532e03f96 100644 --- a/e107_plugins/forum/templates/forum_viewtopic_template.php +++ b/e107_plugins/forum/templates/forum_viewtopic_template.php @@ -19,8 +19,8 @@ $sc_style['LASTEDIT']['pre'] = "

[ ".LAN $sc_style['LASTEDITBY']['pre'] = ' '.FORLAN_BY.' '; $sc_style['LASTEDITBY']['post'] = ' ]'; -$sc_style['LEVEL']['pre'] = "
"; -$sc_style['LEVEL']['post'] = "
"; +$sc_style['LEVEL']['pre'] = ""; +$sc_style['LEVEL']['post'] = ""; $sc_style['ATTACHMENTS']['pre'] = "

"; $sc_style['ATTACHMENTS']['post'] = "
"; @@ -31,6 +31,9 @@ $sc_style['ANON_IP']['post'] = ""; $sc_style['USER_EXTENDED']['location.text_value']['mid'] = ": "; $sc_style['USER_EXTENDED']['location.text_value']['post'] = "
"; + + +/* $FORUMSTART = "
@@ -284,7 +287,7 @@ $FORUMDELETEDSTYLE = ""; - +*/ $FORUM_CRUMB['sitename']['value'] = "{SITENAME}"; $FORUM_CRUMB['sitename']['sep'] = " :: "; @@ -350,19 +353,21 @@ $FORUMTOPIC_TEMPLATE['end'] = "
$FORUMTOPIC_TEMPLATE['thread'] =" {NEWFLAG} {USERCOMBO}{ANON_IP} - {THREADDATESTAMP} + {THREADDATESTAMP} {POSTOPTIONS} - + {CUSTOMTITLE} {AVATAR} +
- {LEVEL=badge}{LEVEL=pic} + {LEVEL=badge} {LEVEL=pic} +
- + {POLL} {POST}