aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-05-05 09:58:44 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-05-05 09:58:44 +0000
commit80e96bd8e886c454d7a5422efb1b4ba65fd2d359 (patch)
tree492245ecf7d129b7db8daf945c097a897ea9e8f2 /templates
parentca0644e07be001b8ecec567bd3bdcbfdd4c91389 (diff)
downloadsemanticscuttle-80e96bd8e886c454d7a5422efb1b4ba65fd2d359.tar.gz
semanticscuttle-80e96bd8e886c454d7a5422efb1b4ba65fd2d359.tar.bz2
Interface change: put featured menu tags on every page.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@312 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r--templates/sidebar.block.menu2.php3
1 files changed, 1 insertions, 2 deletions
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'));