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