David Carter
2014-06-06 4a9a0e1f0fc1977e067806e49b7ce5fa8c47dab5
refs
author David Carter <dpc22@cam.ac.uk>
Friday, June 6, 2014 06:29 -0400
committer David Carter <dpc22@cam.ac.uk>
Friday, June 6, 2014 06:29 -0400
commit4a9a0e1f0fc1977e067806e49b7ce5fa8c47dab5
tree 4106b5b44a80f4efddbf9c06d64d41ff81d8f717 tree | zip | gz
parent a5fe9a651f487891cda219d6fe7c62917908ab99 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