Open help window in small mode; add more index links

pull/89/head
Thomas Bruederli 11 years ago
parent 3b944edb02
commit c795d528f9

@ -8,9 +8,14 @@ $rcmail_config['help_source'] = 'http://roundcube.net/doc/help/0.9/%l/';
// 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

@ -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);

Loading…
Cancel
Save