Thomas Bruederli
2013-07-08 c795d528f9ec913d8a5bd304d2a1b4ebef78b606
Open help window in small mode; add more index links
2 files modified
13 ■■■■■ changed files
plugins/help/config.inc.php.dist 11 ●●●● patch | view | raw | blame | history
plugins/help/help.js 2 ●●● patch | view | raw | blame | history
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
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);