diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index 150647657..8efea4d95 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -172,9 +172,9 @@ class admin_shortcodes if(strpos(e_SELF, e_ADMIN_ABS) !== false) { - if (is_readable(e_LANGUAGEDIR.e_LANGUAGE.'/admin/help/'.e_PAGE)) + if (is_readable(e_LANGUAGEDIR.'/'.$pref['adminlanguage'].'/admin/help/'.e_PAGE)) { - $helpfile = e_LANGUAGEDIR.e_LANGUAGE.'/admin/help/'.e_PAGE; + $helpfile = e_LANGUAGEDIR.'/'.$pref['adminlanguage'].'/admin/help/'.e_PAGE; } elseif (is_readable(e_LANGUAGEDIR.'English/admin/help/'.e_PAGE)) { diff --git a/e107_plugins/forum/forum_viewforum.php b/e107_plugins/forum/forum_viewforum.php index 5e5dc75ca..620948413 100644 --- a/e107_plugins/forum/forum_viewforum.php +++ b/e107_plugins/forum/forum_viewforum.php @@ -1011,11 +1011,11 @@ function fadminoptions($thread_info) - $text .= "
  • ".LAN_DELETE." ".$tp->toGlyph('trash')."
  • "; - $text .= "
  • ".$lan[$stickUnstick]." ".$icon[$stickUnstick]."
  • "; - $text .= "
  • ".$lan[$lockUnlock]." ".$icon[$lockUnlock]."
  • "; + $text .= "
  • ".LAN_DELETE." ".$tp->toGlyph('trash')."
  • "; + $text .= "
  • ".$lan[$stickUnstick]." ".$icon[$stickUnstick]."
  • "; + $text .= "
  • ".$lan[$lockUnlock]." ".$icon[$lockUnlock]."
  • "; - $text .= "
  • ".LAN_FORUM_2042." ".$tp->toGlyph('move')."
  • "; + $text .= "
  • ".LAN_FORUM_2042." ".$tp->toGlyph('move')."
  • "; if(e_DEVELOPER) { diff --git a/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php index e869e3b22..2da5a6338 100644 --- a/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/viewforum_shortcodes.php @@ -111,7 +111,7 @@ //-- foreach($jumpList as $key => $val) foreach($jumpList as $val) { - $text .= '
  • ' . LAN_FORUM_1017 . ': ' . $val['forum_name'] . '
  • '; + $text .= '
  • ' . LAN_FORUM_1017 . ': ' . $val['forum_name'] . '
  • '; } $text .= '