Open help window in small mode; add more index 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 |
| | |
| | | |
| | | 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); |