From 844e3051a3fe4c8576c2f37e38a00e61e19b6079 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 29 Jun 2010 17:44:36 +0200 Subject: [PATCH] Drop moz_sidebar. --- horde/config/prefs.php.dist | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/horde/config/prefs.php.dist b/horde/config/prefs.php.dist index ed0e8fde6..0ca76c182 100644 --- a/horde/config/prefs.php.dist +++ b/horde/config/prefs.php.dist @@ -427,7 +427,7 @@ $prefGroups['display'] = array( 'members' => array( 'initial_application', 'show_last_login', 'theme', 'summary_refresh_time', 'show_sidebar', 'sidebar_width', - 'moz_sidebar', 'menu_view', 'menu_refresh_time', 'widget_accesskey' + 'menu_view', 'menu_refresh_time', 'widget_accesskey' ) ); @@ -493,16 +493,6 @@ $_prefs['sidebar_width'] = array( 'desc' => sprintf(_("Width of the %s menu on the left:"), $GLOBALS['registry']->get('name', 'horde')) ); -$_prefs['moz_sidebar'] = array( - 'type' => 'link', - 'xurl' => sprintf('javascript:if (window.sidebar && window.sidebar.addPanel) window.sidebar.addPanel(\'%s\', \'%s\', \'%s\'); else alert(\'%s\');', - $GLOBALS['registry']->get('name', 'horde'), - Horde_Util::addParameter(Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/services/portal/sidebar.php', true, -1), 'mozbar', '1'), - Horde::url($GLOBALS['registry']->get('webroot', 'horde') . '/prefs.php', true, -1), - addslashes(_("Couldn't find the Mozilla Sidebar. Make sure the sidebar is open."))), - 'desc' => sprintf(_("Add the %s Menu as a Mozilla Sidebar"), $GLOBALS['registry']->get('name', 'horde')) -); - $_prefs['menu_view'] = array( 'value' => 'both', 'shared' => true, -- 2.11.0