diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php
index 0f36a93e6..762d5fd89 100644
--- a/e107_handlers/e_parse_class.php
+++ b/e107_handlers/e_parse_class.php
@@ -2897,7 +2897,7 @@ class e_parser
$title = (ADMIN) ? $image : $tp->toAttribute($userData['user_name']);
- $text = "
";
+ $text = "
";
// return $img;
return $text;
diff --git a/e107_plugins/forum/forum.css b/e107_plugins/forum/forum.css
new file mode 100644
index 000000000..a803f7605
--- /dev/null
+++ b/e107_plugins/forum/forum.css
@@ -0,0 +1 @@
+.forum-viewforum-pagination { margin:0px }
\ No newline at end of file
diff --git a/e107_plugins/forum/forum.php b/e107_plugins/forum/forum.php
index e94fb5871..4247ae977 100644
--- a/e107_plugins/forum/forum.php
+++ b/e107_plugins/forum/forum.php
@@ -114,7 +114,7 @@ if(!defined('e_TRACKING_DISABLED'))
}
$fVars->STATLINK = "".LAN_FORUM_0017."\n";
$fVars->ICONKEY = "
-
\n
+\n
".IMAGE_new_small." |
".LAN_FORUM_0039." |
".IMAGE_nonew_small." |
diff --git a/e107_plugins/forum/forum_class.php b/e107_plugins/forum/forum_class.php
index ef613ada7..0071117e6 100644
--- a/e107_plugins/forum/forum_class.php
+++ b/e107_plugins/forum/forum_class.php
@@ -114,27 +114,30 @@ $(document).ready(function()
EON;
e107::js('inline',$jscode,'jquery');
+e107::css('forum','forum.css');
+
e107::lan('forum','English_front');
// include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum.php');
-
-if (file_exists(THEME.'templates/forum/forum_icons_template.php')) // Preferred v2.x location.
+if(!defined('IMAGE_new') && !defined('IMAGE_e'))
{
- require_once(THEME.'templates/forum/forum_icons_template.php');
+ if (file_exists(THEME.'templates/forum/forum_icons_template.php')) // Preferred v2.x location.
+ {
+ require_once(THEME.'templates/forum/forum_icons_template.php');
+ }
+ elseif (file_exists(THEME.'forum/forum_icons_template.php'))
+ {
+ require_once(THEME.'forum/forum_icons_template.php');
+ }
+ elseif (file_exists(THEME.'forum_icons_template.php'))
+ {
+ require_once(THEME.'forum_icons_template.php');
+ }
+ else
+ {
+ require_once(e_PLUGIN.'forum/templates/forum_icons_template.php');
+ }
}
-elseif (file_exists(THEME.'forum/forum_icons_template.php'))
-{
- require_once(THEME.'forum/forum_icons_template.php');
-}
-elseif (file_exists(THEME.'forum_icons_template.php'))
-{
- require_once(THEME.'forum_icons_template.php');
-}
-else
-{
- require_once(e_PLUGIN.'forum/templates/forum_icons_template.php');
-}
-
class e107forum
{
diff --git a/e107_plugins/forum/forum_viewforum.php b/e107_plugins/forum/forum_viewforum.php
index c27d53048..b20045552 100644
--- a/e107_plugins/forum/forum_viewforum.php
+++ b/e107_plugins/forum/forum_viewforum.php
@@ -224,8 +224,15 @@ if(varset($pref['track_online']))
}
-$fVars->ICONKEY = "
-
+
+if(defset('BOOTSTRAP')==3 && !empty($FORUM_VIEWFORUM_TEMPLATE['iconkey'])) // v2.x
+{
+ $fVars->ICONKEY = $tp->parseTemplate($FORUM_VIEWFORUM_TEMPLATE['iconkey'],true);
+}
+else // v1.x
+{
+ $fVars->ICONKEY = "
+
".IMAGE_new_small." |
".LAN_FORUM_0039." |
@@ -248,6 +255,10 @@ $fVars->ICONKEY = "
";
+}
+
+
+
$fVars->SEARCH = "