I'am sorry, I missed the post.
The code looks fine, just the following if section seems to be wrong:
if ($global_config['mail']['mailbox_show_custom_rules_tab'] === 'y') {
if($_SESSION["s"]["user"]["typ"] == 'admin') {
I guess it should be:
if($_SESSION["s"]["user"]["typ"] == 'admin' || $global_config['mail']['mailbox_show_custom_rules_tab'] === 'y') {
Quote:
|
1. I've tried setting the checkbox to checked by default, but it doesn't appear to work.
|
The defaults for these fields get applied during installation and are stored in the file install/tpl/system.ini
Quote:
|
2. I'd like to commit the code. What's the best way to do that?
|
Do you have a svn account for the ispconfig svn server? If not, please send a email to dev [at] ispconfig [dot] org with your forum username and if available your sourceforge.net username and request a svn login.