Page MenuHomePhorge

No OneTemporary

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
@@ -1,30 +1,35 @@
<?php
// Help content iframe source
// %l will be replaced by the language code resolved using the 'help_language_map' option
$rcmail_config['help_source'] = 'http://roundcube.net/doc/help/0.9/%l/';
// Map task/action combinations to deep-links
// 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
// The '*' entry will be used as default
$rcmail_config['help_language_map'] = array('*' => 'en_US');
// Enter an absolute URL to a page displaying information about this webmail
// Alternatively, create a HTML file under <this-plugin-dir>/content/about.html
$rcmail_config['help_about_url'] = null;
// Enter an absolute URL to a page displaying information about this webmail
// Alternatively, put your license text to <this-plugin-dir>/content/license.html
$rcmail_config['help_license_url'] = null;
// Determine whether to open the help in a new window
$rcmail_config['help_open_extwin'] = false;
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
@@ -1,25 +1,25 @@
/*
* Help plugin client script
* @version 1.4
*/
// hook into switch-task event to open the help window
if (window.rcmail) {
rcmail.addEventListener('beforeswitch-task', function(prop) {
// catch clicks to help task button
if (prop == 'help') {
if (rcmail.task == 'help') // we're already there
return false;
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);
}
return false;
}
});
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Mar 1, 4:46 AM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
165840
Default Alt Text
(2 KB)

Event Timeline