From: Jan Schneider Date: Tue, 29 Jun 2010 15:44:36 +0000 (+0200) Subject: Drop moz_sidebar. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=844e3051a3fe4c8576c2f37e38a00e61e19b6079;p=horde.git Drop moz_sidebar. --- 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,