equal
deleted
inserted
replaced
40 |
40 |
41 sender = StringField(widget=TextInput({'disabled': 'disabled'}), label=_('From:')) |
41 sender = StringField(widget=TextInput({'disabled': 'disabled'}), label=_('From:')) |
42 recipient = StringField(widget=CheckBox(), label=_('Recipients:')) |
42 recipient = StringField(widget=CheckBox(), label=_('Recipients:')) |
43 subject = StringField(label=_('Subject:')) |
43 subject = StringField(label=_('Subject:')) |
44 mailbody = StringField(widget=AjaxWidget(wdgtype='TemplateTextField', |
44 mailbody = StringField(widget=AjaxWidget(wdgtype='TemplateTextField', |
45 inputid='mailarea')) |
45 inputid='mailbody')) |
46 form_buttons = [ImgButton('sendbutton', "javascript: $('#sendmail').submit()", |
46 form_buttons = [ImgButton('sendbutton', "javascript: $('#sendmail').submit()", |
47 _('send email'), 'SEND_EMAIL_ICON'), |
47 _('send email'), 'SEND_EMAIL_ICON'), |
48 ImgButton('cancelbutton', "javascript: history.back()", |
48 ImgButton('cancelbutton', "javascript: history.back()", |
49 stdmsgs.BUTTON_CANCEL, 'CANCEL_EMAIL_ICON')] |
49 stdmsgs.BUTTON_CANCEL, 'CANCEL_EMAIL_ICON')] |
50 |
50 |