function newsopts($info, $sep, $class = "") { global $locale; $res = ""; $link_class = $class ? " class='$class' " : ""; if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "".$locale['global_072']." ".$sep." "; if ($info['news_allow_comments']) $res .= "".$info['news_comments'].($info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])." ".$sep." "; if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['global_074']."\n"; $res .= $sep." ".$locale[\\n"; return "".$res; }