Interface Fix: add father tags into linked tags box
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@222 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
6f95a6af53
commit
d68d3dc525
1 changed files with 14 additions and 19 deletions
|
@ -56,10 +56,7 @@ $cUser = $userservice->getUser($userid);
|
||||||
?></h2>
|
?></h2>
|
||||||
<?php //endif?>
|
<?php //endif?>
|
||||||
|
|
||||||
<div id="related">
|
<div id="related"><!-- table--> <?php
|
||||||
|
|
||||||
<!-- table-->
|
|
||||||
<?php
|
|
||||||
if($editingMode) {
|
if($editingMode) {
|
||||||
//echo '<tr><td></td><td>';
|
//echo '<tr><td></td><td>';
|
||||||
echo '<p style="margin-bottom: 13px;text-align:center;">';
|
echo '<p style="margin-bottom: 13px;text-align:center;">';
|
||||||
|
@ -80,15 +77,15 @@ foreach($explodedTags as $explodedTag) {
|
||||||
|
|
||||||
|
|
||||||
// fathers tag
|
// fathers tag
|
||||||
/*$fatherTags = $tag2tagservice->getLinkedTags($explodedTag, '>', $userid, true);
|
$fatherTags = $tag2tagservice->getLinkedTags($explodedTag, '>', $userid, true);
|
||||||
if(count($fatherTags)>0) {
|
if(count($fatherTags)>0) {
|
||||||
foreach($fatherTags as $fatherTag) {
|
foreach($fatherTags as $fatherTag) {
|
||||||
echo '<tr><td></td><td>';
|
//echo '<tr><td></td><td>';
|
||||||
echo '<a href="'. sprintf($cat_url, filter($user, 'url'), filter($fatherTag, 'url')) .'" rel="tag">('. filter($fatherTag) .')</a>';
|
echo '<a href="'. sprintf($cat_url, filter($user, 'url'), filter($fatherTag, 'url')) .'" rel="tag">('. filter($fatherTag) .')</a> ';
|
||||||
echo '</td></tr>';
|
//echo '</td></tr>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
$displayLinkedTags = displayLinkedTags($explodedTag, '>', $userid, $cat_url, $user, $editingMode, null, 1);
|
$displayLinkedTags = displayLinkedTags($explodedTag, '>', $userid, $cat_url, $user, $editingMode, null, 1);
|
||||||
echo $displayLinkedTags['output'];
|
echo $displayLinkedTags['output'];
|
||||||
if(is_array($displayLinkedTags['stopList'])) {
|
if(is_array($displayLinkedTags['stopList'])) {
|
||||||
|
@ -107,8 +104,6 @@ foreach($explodedTags as $explodedTag) {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?> <!-- /table--></div>
|
||||||
<!-- /table-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php endif?>
|
<?php endif?>
|
||||||
|
|
Loading…
Reference in a new issue