Changeset 3f97120 in github
- Timestamp:
- Oct 4, 2009 4:16:20 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 757d2bb
- Parents:
- a23497f
- Files:
-
- 6 edited
-
program/js/app.js (modified) (4 diffs)
-
program/localization/en_US/messages.inc (modified) (1 diff)
-
program/localization/pt_BR/messages.inc (modified) (2 diffs)
-
program/steps/mail/compose.inc (modified) (2 diffs)
-
skins/default/images/display/loading_blue.gif (modified) (previous)
-
skins/default/templates/compose.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
re737a50 r3f97120 1632 1632 1633 1633 // set page=1 if changeing to another mailbox 1634 if (!page && this.env.mailbox != mbox)1634 if (!page && this.env.mailbox != mbox) 1635 1635 { 1636 1636 page = 1; … … 2177 2177 for (i=0;i<list.length;i++) 2178 2178 if (!String(list[i].id).match(/^rcmfile/)) 2179 { 2180 alert(this.get_label('notuploadedwarning')); 2179 2181 return false; 2182 } 2180 2183 } 2181 2184 … … 2485 2488 // hide upload form 2486 2489 this.show_attachment_form(false); 2487 // display upload indicator 2490 // display upload indicator and cancel button 2488 2491 var content = this.get_label('uploading'); 2489 2492 if (this.env.loadingicon) 2490 2493 content = '<img src="'+this.env.loadingicon+'" alt="" />'+content; 2494 if (this.env.cancelicon) 2495 content = '<a title="'+this.get_label('cancel')+'" onclick="return rcmail.cancel_attachment_upload(\''+ts+'\', \''+frame_name+'\');" href="#cancelupload"><img src="'+this.env.cancelicon+'" alt="" /></a>'+content; 2491 2496 this.add2attachment_list(ts, content); 2492 2497 } … … 2534 2539 2535 2540 return true; 2541 }; 2542 2543 this.cancel_attachment_upload = function(name, frame_name) 2544 { 2545 if (!name || !frame_name) 2546 return false; 2547 2548 this.remove_from_attachment_list(name); 2549 $("iframe[name='"+frame_name+"']").remove(); 2550 return false; 2536 2551 }; 2537 2552 -
program/localization/en_US/messages.inc
rebf8726 r3f97120 70 70 $messages['nocontactsreturned'] = 'No contacts were found'; 71 71 $messages['nosearchname'] = 'Please enter a contact name or email address'; 72 $messages['notuploadedwarning'] = 'Not all attachments have been uploaded yet. Please wait or cancel the upload.'; 72 73 $messages['searchsuccessful'] = '$nr messages found'; 73 74 $messages['searchnomatch'] = 'Search returned no matches'; -
program/localization/pt_BR/messages.inc
r28f15eb r3f97120 33 33 $messages['mailboxempty'] = 'A caixa de mensagens está vazia'; 34 34 $messages['loading'] = 'Carregando...'; 35 $messages['uploading'] = 'Enviando anexo...'; 35 36 $messages['loadingdata'] = 'Carregando informações...'; 36 37 $messages['checkingmail'] = 'Verificando se há novas mensagens...'; … … 73 74 $messages['nocontactsreturned'] = 'Nenhum contato foi encontrado'; 74 75 $messages['nosearchname'] = 'Por favor, informe o nome do contado ou seu endereço de e-mail'; 76 $messages['notuploadedwarning'] = 'Há anexos ainda não enviados. Aguarde ou cancele o envio.'; 75 77 $messages['searchsuccessful'] = '$nr mensagens encontradas'; 76 78 $messages['searchnomatch'] = 'A pesquisa não encontrou resultados'; -
program/steps/mail/compose.inc
rebf8726 r3f97120 93 93 94 94 // add some labels to client 95 $OUTPUT->add_label('nosubject', 'nosenderwarning', 'norecipientwarning', 'nosubjectwarning', 96 'nobodywarning', 'notsentwarning', ' savingmessage', 'sendingmessage', 'messagesaved',97 ' converting', 'editorwarning', 'searching', 'uploading', 'fileuploaderror');95 $OUTPUT->add_label('nosubject', 'nosenderwarning', 'norecipientwarning', 'nosubjectwarning', 'cancel', 96 'nobodywarning', 'notsentwarning', 'notuploadedwarning', 'savingmessage', 'sendingmessage', 97 'messagesaved', 'converting', 'editorwarning', 'searching', 'uploading', 'fileuploaderror'); 98 98 99 99 // add config parameters to client script … … 810 810 if ($attrib['deleteicon']) 811 811 $_SESSION['compose']['deleteicon'] = $CONFIG['skin_path'] . $attrib['deleteicon']; 812 if ($attrib['cancelicon']) 813 $OUTPUT->set_env('cancelicon', $CONFIG['skin_path'] . $attrib['cancelicon']); 812 814 if ($attrib['loadingicon']) 813 815 $OUTPUT->set_env('loadingicon', $CONFIG['skin_path'] . $attrib['loadingicon']); -
skins/default/templates/compose.html
rebf8726 r3f97120 94 94 <div id="compose-attachments"> 95 95 <div id="attachment-title"><roundcube:label name="attachments" /></div> 96 <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/delete.png" loadingIcon="/images/display/loading_blue.gif" />96 <roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/delete.png" cancelIcon="/images/icons/delete.png" loadingIcon="/images/display/loading_blue.gif" /> 97 97 <p><roundcube:button command="add-attachment" imagePas="/images/buttons/add_pas.png" imageSel="/images/buttons/add_sel.png" imageAct="/images/buttons/add_act.png" width="23" height="18" title="addattachment" /></p> 98 98 </div>
Note: See TracChangeset
for help on using the changeset viewer.
