Skip to content

Commit

Permalink
issue #64 do not use $rcmail_config
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-kfed committed Jul 22, 2022
1 parent 6491f54 commit 0336bec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#### manual:

1. unpack to plugins directory
1. add `, 'thunderbird_labels'` to `$rcmail_config['plugins']` in roundcubes `config/config.inc.php`
1. add `, 'thunderbird_labels'` to `$config['plugins']` in roundcubes `config/config.inc.php`
1. rename `config.inc.php.dist` to `config.inc.php`
1. if you run a custom skin, e.g. `silver` then you should also symlink or copy the skins folder
of the plugin to the corresponding skins name, for the example given:
Expand Down
12 changes: 6 additions & 6 deletions config.inc.php.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
// whether to globally enable thunderbird labels
$rcmail_config['tb_label_enable'] = true;
$config['tb_label_enable'] = true;
// add labels to contextmenu (if contextmenu plugin is present)
$rcmail_config['tb_label_enable_contextmenu'] = true;
$config['tb_label_enable_contextmenu'] = true;
// enable kb shortcuts (1-5)
$rcmail_config['tb_label_enable_shortcuts'] = true;
$config['tb_label_enable_shortcuts'] = true;
// users can modify labels
$rcmail_config['tb_label_modify_labels'] = true;
$config['tb_label_modify_labels'] = true;
// style for UI: 'bullets' or 'thunderbird'
$rcmail_config['tb_label_style'] = "bullets";
$config['tb_label_style'] = "bullets";
// custom hidden flags
$rcmail_config['tb_label_hidden_flags'] = array();
$config['tb_label_hidden_flags'] = array();

0 comments on commit 0336bec

Please sign in to comment.