Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup: Plugins #2 - Various #110

Closed
wants to merge 19 commits into from
Closed

Cleanup: Plugins #2 - Various #110

wants to merge 19 commits into from

Conversation

daviddeutsch
Copy link

  • /attachment_reminder
  • /autologon
  • /database_attachments
  • /debug_logger

rcmail.env.attachment_reminder = false;
rcmail.show_popup_dialog(rcmail.gettext('attachment_reminder.forgotattachment'), '', buttons);
};
function rcmail_get_compose_message() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like a newline before { here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, these should be analogous to the style in PHP code.

@daviddeutsch
Copy link
Author

There you go 😉 (Breakfast time now, but keep em coming!)


$field_id = 'rcmfd_attachment_reminder';

$checkbox = new html_checkbox(array('name' => '_attachment_reminder', 'id' => $field_id, 'value' => 1));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really loose much vertical space this way. If there are no comments, do not add empty lines. Here, I'd add only one new line, after $this->add_texts() call.

@daviddeutsch daviddeutsch deleted the cleanup-2 branch September 18, 2013 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants