forked from science-ation/science-ation
Handle topic-menu headings that arent linked
This commit is contained in:
parent
a6ec8ef874
commit
ff3ab7151e
@ -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";
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user