diff --git a/e107_files/shortcode/custom.sc b/e107_files/shortcode/custom.sc index 633421a44..a68b700f0 100644 --- a/e107_files/shortcode/custom.sc +++ b/e107_files/shortcode/custom.sc @@ -5,21 +5,22 @@ switch($custom_query[0]) { case "login": case "login noprofile": - @include_once(e_PLUGIN."login_menu/languages/".e_LANGUAGE.".php"); - @include_once(e_PLUGIN."login_menu/languages/English.php"); + include_lan(e_PLUGIN."login_menu/languages/".e_LANGUAGE.".php"); + + $sep = (defined("LOGINC_SEP")) ? LOGINC_SEP : ".:."; if (USER == TRUE){ - $ret .= "".LOGIN_MENU_L5." ".USERNAME."   .:. "; + $ret .= "".LOGIN_MENU_L5." ".USERNAME."   ".$sep." "; if(ADMIN == TRUE){ - $ret .= "".LOGIN_MENU_L11." .:. "; + $ret .= "".LOGIN_MENU_L11." ".$sep." "; } - $ret .= ($custom_query[0] != "login noprofile") ? "".LOGIN_MENU_L13."\n.:. ":""; - $ret .= "".LOGIN_MENU_L12." .:. ".LOGIN_MENU_L8." .:."; + $ret .= ($custom_query[0] != "login noprofile") ? "".LOGIN_MENU_L13."\n".$sep." ":""; + $ret .= "".LOGIN_MENU_L12." ".$sep." ".LOGIN_MENU_L8." ".$sep.""; } else { $ret .= "
\n
\n".LOGIN_MENU_L1."  \n".LOGIN_MENU_L2."  \n".LOGIN_MENU_L6."  \n"; if($pref['user_reg']) { - $ret .= "  ".LOGIN_MENU_L3.""; + $ret .= "  "; } $ret .= "
\n
"; }