From e8f344c13f2297b5b3cc6be899b5e66172c3ed01 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 22 Oct 2009 22:54:01 -0600 Subject: [PATCH] Clean up dimp javascript defs page --- imp/templates/javascript_defs_dimp.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imp/templates/javascript_defs_dimp.php b/imp/templates/javascript_defs_dimp.php index 9716151d8..cf083cca1 100644 --- a/imp/templates/javascript_defs_dimp.php +++ b/imp/templates/javascript_defs_dimp.php @@ -9,7 +9,6 @@ */ $compose_mode = (strstr($_SERVER['PHP_SELF'], 'compose-dimp.php') || strstr($_SERVER['PHP_SELF'], 'message-dimp.php')); -$horde_webroot = $GLOBALS['registry']->get('webroot', 'horde'); $app_urls = $code = $flags = array(); @@ -50,7 +49,6 @@ $code['conf'] = array_filter(array( 'URI_MESSAGE' => Horde::applicationUrl('message-dimp.php'), 'URI_PREFS' => Horde::getServiceLink('prefsapi', 'imp'), 'URI_PREFS_IMP' => str_replace('&', '&', Horde::getServiceLink('options', 'imp')), - 'URI_SEARCH_BASIC' => Horde::applicationUrl('search-basic.php'), 'URI_SEARCH' => Horde::applicationUrl('search.php'), 'URI_VIEW' => Horde::applicationUrl('view.php'), @@ -77,7 +75,7 @@ $code['conf'] = array_filter(array( 'qsearchfield' => $GLOBALS['prefs']->getValue('dimp_qsearch_field'), 'refresh_time' => intval($GLOBALS['prefs']->getValue('refresh_time')), 'searchprefix' => IMP_Search::MBOX_PREFIX, - 'sidebar_width' => max((int)$GLOBALS['prefs']->getValue('sidebar_width') - 50, 150) . 'px', + 'sidebar_width' => max((int)$GLOBALS['prefs']->getValue('sidebar_width'), 150) . 'px', 'sortdate' => Horde_Imap_Client::SORT_DATE, 'sortthread' => Horde_Imap_Client::SORT_THREAD, 'spam_mbox' => IMP::folderPref($GLOBALS['prefs']->getValue('spam_folder'), true), -- 2.11.0