summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bookmarks.php1
-rw-r--r--templates/sidebar.block.menu2.php3
2 files changed, 2 insertions, 2 deletions
diff --git a/bookmarks.php b/bookmarks.php
index 11a7be9..8a09e0a 100644
--- a/bookmarks.php
+++ b/bookmarks.php
@@ -229,6 +229,7 @@ if ($templatename == 'editbookmark.tpl') {
$tplVars['sidebar_blocks'][] = 'related';
/*$tplVars['sidebar_blocks'][] = 'menu';*/
}
+ $tplVars['sidebar_blocks'][] = 'menu2';
$tplVars['popCount'] = 30;
//$tplVars['sidebar_blocks'][] = 'popular';
diff --git a/templates/sidebar.block.menu2.php b/templates/sidebar.block.menu2.php
index 35d83de..f95d59e 100644
--- a/templates/sidebar.block.menu2.php
+++ b/templates/sidebar.block.menu2.php
@@ -18,7 +18,6 @@ if ($logged_on_userid === false) {
$cat_url = createURL('tags', '%2$s');
$menu2Tags = $GLOBALS['menu2Tags'];
-
if (sizeOf($menu2Tags) > 0) {
$this->includeTemplate("dojo.inc");
?>
@@ -29,7 +28,7 @@ if (sizeOf($menu2Tags) > 0) {
<div id="related"><?php
foreach($menu2Tags as $menu2Tag) {
- echo '<div dojoType="dojo.data.ItemFileReadStore" url="ajax/getadminlinkedtags.php?tag='.filter($menu2Tag, 'url').'" jsid="linkedTagStore" ></div>';
+ echo '<div dojoType="dojo.data.ItemFileReadStore" url="'.ROOT.'ajax/getadminlinkedtags.php?tag='.filter($menu2Tag, 'url').'" 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'));