aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.linked.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-11 10:25:56 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-11 10:25:56 +0000
commitfe83f9ea0eb58b7f5b2e034bf7ba9f855a73cb23 (patch)
tree03c8624ac4c93a626269c6820bd4e68e6124d27d /templates/sidebar.block.linked.php
parent3020eb164d9380ba63fdbe5bf6f3cb993ab28bbf (diff)
downloadsemanticscuttle-fe83f9ea0eb58b7f5b2e034bf7ba9f855a73cb23.tar.gz
semanticscuttle-fe83f9ea0eb58b7f5b2e034bf7ba9f855a73cb23.tar.bz2
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@272 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.block.linked.php')
-rw-r--r--templates/sidebar.block.linked.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/sidebar.block.linked.php b/templates/sidebar.block.linked.php
index 87000a0..0fa36c9 100644
--- a/templates/sidebar.block.linked.php
+++ b/templates/sidebar.block.linked.php
@@ -56,14 +56,12 @@ $cUser = $userservice->getUser($userid);
?></h2>
<?php //endif?>
-<div id="related"><!-- table--> <?php
+<div id="related"> <?php
if($editingMode) {
- //echo '<tr><td></td><td>';
echo '<p style="margin-bottom: 13px;text-align:center;">';
echo ' (<a href="'. createURL('tag2tagadd','') .'" rel="tag">'.T_('Add new link').'</a>) ';
echo ' (<a href="'. createURL('tag2tagdelete','') .'" rel="tag">'.T_('Delete link').'</a>)';
echo '</p>';
- //echo '</td></tr>';
}
if(strlen($user)==0) {
@@ -80,9 +78,7 @@ foreach($explodedTags as $explodedTag) {
$fatherTags = $tag2tagservice->getLinkedTags($explodedTag, '>', $userid, true);
if(count($fatherTags)>0) {
foreach($fatherTags as $fatherTag) {
- //echo '<tr><td></td><td>';
echo '<a href="'. sprintf($cat_url, filter($user, 'url'), filter($fatherTag, 'url')) .'" rel="tag">('. filter($fatherTag) .')</a> ';
- //echo '</td></tr>';
}
}
/*
@@ -91,7 +87,7 @@ foreach($explodedTags as $explodedTag) {
if(is_array($displayLinkedTags['stopList'])) {
$stopList = array_merge($stopList, $displayLinkedTags['stopList']);
}*/
- echo '<div dojoType="dojo.data.ItemFileReadStore" url="'.ROOT.'ajax/getlinkedtags.php?tag='.filter($explodedTag, 'url').'&uId='.$userid.'" jsid="linkedTagStore" ></div>';
+ echo '<div dojoType="dojo.data.ItemFileReadStore" url="'.ROOT.'ajax/getlinkedtags.php?tag='.filter($explodedTag, 'url').'&amp;uId='.$userid.'" jsid="linkedTagStore" ></div>';
echo '<div dojoType="dijit.Tree" store="linkedTagStore" labelAttr="name" >';
echo '<script type="dojo/method" event="onClick" args="item">';
$returnUrl = sprintf($cat_url, filter($user, 'url'), filter('', 'url'));
@@ -104,6 +100,6 @@ foreach($explodedTags as $explodedTag) {
}
}
-?> <!-- /table--></div>
+?> </div>
<?php endif?>