From 73e20c2ff50d197105f3efbc8940c498de4d2f47 Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 5 Feb 2008 13:30:33 +0000 Subject: fix interface: make easier the management of tag links git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@33 b3834d28-1941-0410-a4f8-b48e95affb8f --- templates/tag2tagadd.tpl.php | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'templates/tag2tagadd.tpl.php') diff --git a/templates/tag2tagadd.tpl.php b/templates/tag2tagadd.tpl.php index 109eea7..cb86a37 100644 --- a/templates/tag2tagadd.tpl.php +++ b/templates/tag2tagadd.tpl.php @@ -3,9 +3,12 @@ $this->includeTemplate($GLOBALS['top_include']); ?>
-

-

>

+

+ + + +

@@ -19,5 +22,27 @@ $this->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']); ?> -- cgit v1.2.3-54-g00ecf