diff --git a/e107_files/shortcode/custom.sc b/e107_files/shortcode/custom.sc index a68b700f0..579b3048a 100644 --- a/e107_files/shortcode/custom.sc +++ b/e107_files/shortcode/custom.sc @@ -1,4 +1,4 @@ -global $tp; +global $tp,$pref; $ret = ""; $custom_query = explode('+', $parm); switch($custom_query[0]) @@ -17,7 +17,9 @@ switch($custom_query[0]) $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"; + $ret .= "\n
\n".LOGIN_MENU_L1."  \n".LOGIN_MENU_L2."  \n"; + $ret .= ($pref['user_tracking'] == "cookie") ? "".LOGIN_MENU_L6."  \n" : ""; + $ret .= ""; if($pref['user_reg']) { $ret .= "  ";