From c795d528f9ec913d8a5bd304d2a1b4ebef78b606 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 8 Jul 2013 19:41:06 +0200 Subject: 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(-) (limited to 'plugins/help') diff --git a/plugins/help/config.inc.php.dist b/plugins/help/config.inc.php.dist index 0fd321eca..1dbc21753 100644 --- a/plugins/help/config.inc.php.dist +++ b/plugins/help/config.inc.php.dist @@ -8,9 +8,14 @@ $rcmail_config['help_source'] = 'http://roundcube.net/doc/help/0.9/%l/'; // Use '/' or only '' 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 0fb36bd00..e53e96755 100644 --- a/plugins/help/help.js +++ b/plugins/help/help.js @@ -13,7 +13,7 @@ if (window.rcmail) { 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); -- cgit v1.2.3