diff --git a/e107_plugins/forum/forum_viewforum.php b/e107_plugins/forum/forum_viewforum.php index 7247aeb44..d1a7c659e 100644 --- a/e107_plugins/forum/forum_viewforum.php +++ b/e107_plugins/forum/forum_viewforum.php @@ -302,7 +302,7 @@ if (count($threadList) ) { $reg_threads ++; } - if ($reg_threads == '1' && !$unstuck && $stuck) + if ($reg_threads == '1') // Removed as not needed in new template. && !$unstuck && $stuck { if($FORUM_NORMAL_ROW) { diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index 352e462a0..bb871e2df 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -11,9 +11,11 @@ class plugin_forum_view_shortcodes extends e_shortcode $this->e107 = e107::getInstance(); } - function sc_top() + function sc_top($parm='') { - return "".LAN_10.''; + $text = ($parm == 'caret') ? "" : LAN_10; + + return "".$text.''; } function sc_joined() @@ -400,5 +402,75 @@ class plugin_forum_view_shortcodes extends e_shortcode } + function sc_postoptions() + { + + // {EMAILITEM} {PRINTITEM} {REPORTIMG}{EDITIMG}{QUOTEIMG} + + $text = '
+ + +
'; + + return $text; + + + } + + + } ?> \ No newline at end of file diff --git a/e107_plugins/forum/templates/forum_viewforum_template.php b/e107_plugins/forum/templates/forum_viewforum_template.php index 7631c25c1..373148190 100644 --- a/e107_plugins/forum/templates/forum_viewforum_template.php +++ b/e107_plugins/forum/templates/forum_viewforum_template.php @@ -14,6 +14,8 @@ if (!defined('e107_INIT')) { exit; } if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); } + +/* if (!$FORUM_VIEW_START) { $FORUM_VIEW_START = " @@ -178,13 +180,13 @@ if (!$FORUM_VIEW_END) {
"; - /* hardcoded deprecated rss links -
- ".LAN_431." - ".LAN_432." - ".LAN_433." -
- */ + // hardcoded deprecated rss links + //
+ // ".LAN_431." + // ".LAN_432." + // ".LAN_433." + //
+ // $FORUM_VIEW_END .= "
Powered by e107 Forum System
@@ -254,6 +256,12 @@ if (!$FORUM_NORMAL_ROW) { $FORUM_NORMAL_ROW = " ".LAN_412.""; } + +*/ + + + + $FORUM_CRUMB['sitename']['value'] = "{SITENAME}"; $FORUM_CRUMB['sitename']['sep'] = " :: "; diff --git a/e107_plugins/forum/templates/forum_viewtopic_template.php b/e107_plugins/forum/templates/forum_viewtopic_template.php index 1604bd8c0..dad5c8571 100644 --- a/e107_plugins/forum/templates/forum_viewtopic_template.php +++ b/e107_plugins/forum/templates/forum_viewtopic_template.php @@ -351,7 +351,7 @@ $FORUMTOPIC_TEMPLATE['thread'] =" {NEWFLAG} {USERCOMBO}{ANON_IP} {THREADDATESTAMP} - {EMAILITEM} {PRINTITEM} {REPORTIMG}{EDITIMG}{QUOTEIMG} + {POSTOPTIONS} @@ -365,28 +365,27 @@ $FORUMTOPIC_TEMPLATE['thread'] =" {POLL} {POST} - {ATTACHMENTS} - {LASTEDIT}{LASTEDITBY=link} - {SIGNATURE} + - + - - {TOP} - +
+ {TOP=caret} +
- - + {ATTACHMENTS} + {LASTEDIT}{LASTEDITBY=link} + {SIGNATURE} - {MODOPTIONS} +