David Carter
2014-06-06 94d8fb5a42899377804e42a3084845d034563167
refs
author David Carter <dpc22@cam.ac.uk>
Friday, June 6, 2014 06:29 -0400
committer Aleksander Machniak <alec@alec.pl>
Sunday, November 16, 2014 08:41 -0500
commit94d8fb5a42899377804e42a3084845d034563167
tree 4f35494ebc4ab9417c1f2b83fa2a30bee96ed170 tree | zip | gz
parent 7e34e4c5b5dac037435d0fc2c6db1f71199006e0 view | diff
The following:
program/steps/mail/compose.inc :: rcmail_store_target_selection()
program/steps/settings/edit_folder.inc :: rcmail_folder_form()

both try to localise mailbox names.

Push the logic down into the folder_selector() method which can use:

$this->config->get('show_real_foldernames')

to decide the correct default behaviour.

Clients functions and methods can still override by adding 'realnames'
named parameter to the folder_selector() call. The obvious example is
the Settings -> Preferences -> Special Folders screen.
2 files modified
4 ■■■■ changed files
program/include/rcmail.php 3 ●●●● diff | view | raw | blame | history
program/steps/settings/edit_folder.inc 1 ●●●● diff | view | raw | blame | history