Handle topic-menu headings that arent linked

This commit is contained in:
james 2010-09-23 17:07:19 +00:00
parent a6ec8ef874
commit ff3ab7151e

View File

@ -326,7 +326,16 @@ if(array_key_exists('users_id', $_SESSION)) {
$cl.=" selected";
}
$cl.="\"";
echo "<li $cl><a href=\"".$config['SFIABDIRECTORY']."$r->link\">".i18n($r->task)."</a></li>\n";
echo "<li $cl>";
if($r->link)
echo "<a href=\"".$config['SFIABDIRECTORY']."$r->link\">";
echo i18n($r->task);
if($r->link)
echo "</a>";
echo "</li>\n";
}
echo "</ul>\n";
?>