diff options
| -rw-r--r-- | individual.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/individual.php b/individual.php index 27f209d065..d9bfbfc354 100644 --- a/individual.php +++ b/individual.php @@ -220,15 +220,16 @@ foreach ($controller->tabs as $tab) { $greyed_out = ''; } if ($tab->hasTabContent()) { - echo '<li class="' . $greyed_out . '"><a href="'; + echo '<li class="' . $greyed_out . '"><a'; if ($tab->canLoadAjax()) { // AJAX tabs load only when selected - echo $controller->record->getHtmlUrl(), '&action=ajax&module=', $tab->getName(); + echo ' href="' . $controller->record->getHtmlUrl(), '&action=ajax&module=', $tab->getName() . '"'; + echo ' rel="nofollow"'; } else { // Non-AJAX tabs load immediately - echo '#', $tab->getName(); + echo ' href="#', $tab->getName() . '"'; } - echo '" title="', $tab->getDescription(), '">', $tab->getTitle(), '</a></li>'; + echo ' title="', $tab->getDescription(), '">', $tab->getTitle(), '</a></li>'; } } echo '</ul>'; |
