-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
daviddeutsch
commented
Aug 29, 2013
- /attachment_reminder
- /autologon
- /database_attachments
- /debug_logger
re-instancing of rcmail here. Checked the code and could find none.
rcmail.env.attachment_reminder = false; | ||
rcmail.show_popup_dialog(rcmail.gettext('attachment_reminder.forgotattachment'), '', buttons); | ||
}; | ||
function rcmail_get_compose_message() { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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)); |
There was a problem hiding this comment.
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.