From 581c2bc8eb691539415ddc22de488156655c25a8 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 3 Jul 2010 18:39:01 -0400 Subject: [PATCH] fix link generation for admin and options links --- horde/services/portal/sidebar.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/horde/services/portal/sidebar.php b/horde/services/portal/sidebar.php index d4d7e9c2f..34c49aa54 100644 --- a/horde/services/portal/sidebar.php +++ b/horde/services/portal/sidebar.php @@ -132,7 +132,7 @@ function buildMenu() 'icon' => (string)$icon, 'status' => 'active', 'menu_parent' => 'administration', - 'url' => Horde::url($registry->applicationWebPath($vals['link'])), + 'url' => Horde::url($registry->applicationWebPath($vals['link']), 'horde'), ); } } catch (Horde_Exception $e) {} @@ -174,7 +174,7 @@ function buildMenu() 'status' => 'active', 'menu_parent' => 'options', 'icon' => (string)$registry->get('icon', 'horde'), - 'url' => Horde::applicationUrl('services/prefs.php?app=horde')); + 'url' => Horde::url($registry->get('webroot', 'horde') . '/services/prefs.php?app=horde')); unset($prefs_apps['horde']); } @@ -184,7 +184,7 @@ function buildMenu() 'status' => 'active', 'menu_parent' => 'options', 'icon' => (string)$registry->get('icon', $app), - 'url' => Horde::applicationUrl('services/prefs.php?app=' . $app)); + 'url' => Horde::url($registry->get('webroot', 'horde') . '/services/prefs.php?app=' . $app)); } } -- 2.11.0