includeTemplate($GLOBALS['top_include']);
?>
0) {
echo T_("Existing links:");
foreach($links as $link) {
echo '';
if($link['tag1'] == $tag1 || $link['tag1'] == $tag2) {
$textTag1 = ''.$tag1.'';
} else {
$textTag1 = $link['tag1'];
}
if($link['tag2'] == $tag1 || $link['tag2'] == $tag2) {
$textTag2 = ''.$tag2.'';
} else {
$textTag2 = $link['tag2'];
}
echo $textTag1.' '.$link['relationType'].' '.$textTag2;
echo " ";
}
} else {
echo T_('No links');
}
$this->includeTemplate($GLOBALS['bottom_include']);
?>