From c795d528f9ec913d8a5bd304d2a1b4ebef78b606 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 08 Jul 2013 13:41:06 -0400 Subject: [PATCH] Open help window in small mode; add more index links --- plugins/help/config.inc.php.dist | 11 ++++++++--- plugins/help/help.js | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/plugins/help/config.inc.php.dist b/plugins/help/config.inc.php.dist index 0fd321e..1dbc217 100644 --- a/plugins/help/config.inc.php.dist +++ b/plugins/help/config.inc.php.dist @@ -8,9 +8,14 @@ // Use '<task>/<action>' or only '<task>' strings as keys // The values will be appended to the 'help_source' URL $rcmail_config['help_index_map'] = array( - 'login' => 'login.html', - 'mail' => 'mail/index.html', - 'mail/compose' => 'mail/compose.html', + 'login' => 'login.html', + 'mail' => 'mail/index.html', + 'mail/compose' => 'mail/compose.html', + 'addressbook' => 'addressbook/index.html', + 'settings' => 'settings/index.html', + 'settings/preferences' => 'settings/preferences.html', + 'settings/folders' => 'settings/folders.html', + 'settings/identities' => 'settings/identities.html', ); // Map to translate Roundcube language codes into help document languages diff --git a/plugins/help/help.js b/plugins/help/help.js index 0fb36bd..e53e967 100644 --- a/plugins/help/help.js +++ b/plugins/help/help.js @@ -13,7 +13,7 @@ var url = rcmail.url('help/index', { _rel: rcmail.task + (rcmail.env.action ? '/'+rcmail.env.action : '') }); if (rcmail.env.help_open_extwin) { - rcmail.open_window(url, false, false); + rcmail.open_window(url, true, false); } else { rcmail.redirect(url, false); -- Gitblit v1.9.1