- Display progress message for folders create/delete/rename operations (#1485357)
| | |
| | | - Allow and use spellcheck attribute for input/textarea fields (#1485060) |
| | | - Added icons for forwarded/forwarded+replied messages (#1485257) |
| | | - Added Reply-To to forwarded emails (#1485315) |
| | | - Display progress message for folders create/delete/rename (#1485357) |
| | | |
| | | 2008/09/15 (thomasb) |
| | | ---------- |
| | |
| | | if (this.env.folder && name != '') |
| | | name = this.env.folder+this.env.delimiter+name; |
| | | |
| | | this.set_busy(true, 'foldercreating'); |
| | | this.http_post('create-folder', '_name='+urlencode(name), true); |
| | | } |
| | | else if (form.elements['_folder_name']) |
| | |
| | | if (this.name_input.__parent) |
| | | newname = this.name_input.__parent + this.env.delimiter + newname; |
| | | |
| | | this.set_busy(true, 'folderrenaming'); |
| | | this.http_post('rename-folder', '_folder_oldname='+urlencode(this.env.subscriptionrows[this.edit_folder][0])+'&_folder_newname='+urlencode(newname), true); |
| | | } |
| | | } |
| | |
| | | |
| | | if (folder && confirm(this.get_label('deletefolderconfirm'))) |
| | | { |
| | | this.http_post('delete-folder', '_mboxes='+urlencode(folder)); |
| | | this.set_busy(true, 'folderdeleting'); |
| | | this.http_post('delete-folder', '_mboxes='+urlencode(folder), true); |
| | | this.set_env('folder', null); |
| | | |
| | | if (this.gui_objects.createfolderhint) |
| | |
| | | $messages['deletemessagesconfirm'] = 'Do you really want to delete the selected message(s)?'; |
| | | $messages['deletefolderconfirm'] = 'Do you really want to delete this folder?'; |
| | | $messages['purgefolderconfirm'] = 'Do you really want to delete all messages in this folder?'; |
| | | $messages['foldercreating'] = 'Folder creating...'; |
| | | $messages['folderdeleting'] = 'Folder deleting...'; |
| | | $messages['folderrenaming'] = 'Folder renaming...'; |
| | | $messages['formincomplete'] = 'The form was not completely filled out'; |
| | | $messages['noemailwarning'] = 'Please enter a valid email address'; |
| | | $messages['nonamewarning'] = 'Please enter a name'; |
| | |
| | | $messages['deletemessagesconfirm'] = 'Do you really want to delete the selected message(s)?'; |
| | | $messages['deletefolderconfirm'] = 'Do you really want to delete this folder?'; |
| | | $messages['purgefolderconfirm'] = 'Do you really want to delete all messages in this folder?'; |
| | | $messages['foldercreating'] = 'Folder creating...'; |
| | | $messages['folderdeleting'] = 'Folder deleting...'; |
| | | $messages['folderrenaming'] = 'Folder renaming...'; |
| | | $messages['formincomplete'] = 'The form was not completely filled out'; |
| | | $messages['noemailwarning'] = 'Please enter a valid email address'; |
| | | $messages['nonamewarning'] = 'Please enter a name'; |
| | |
| | | $messages['deletemessagesconfirm'] = 'Czy na pewno chcesz usunąć wybrane wiadomości?'; |
| | | $messages['deletefolderconfirm'] = 'Czy na pewno chcesz usunąć wybrany folder?'; |
| | | $messages['purgefolderconfirm'] = 'Czy na pewno chcesz usunąć wszystkie wiadomości w tym folderze?'; |
| | | $messages['foldercreating'] = 'Dodawanie folderu...'; |
| | | $messages['folderdeleting'] = 'Usuwanie folderu...'; |
| | | $messages['folderrenaming'] = 'Zmiana nazwy folderu...'; |
| | | $messages['formincomplete'] = 'Uzupełnij formularz!'; |
| | | $messages['noemailwarning'] = 'Podaj poprawny adres e-mail!'; |
| | | $messages['nonamewarning'] = 'Podaj nazwę!'; |
| | |
| | | )); |
| | | |
| | | // add some labels to client |
| | | rcube_add_label('deletefolderconfirm','addsubfolderhint','forbiddencharacter'); |
| | | $OUTPUT->add_label('deletefolderconfirm','addsubfolderhint','forbiddencharacter','folderdeleting','folderrenaming','foldercreating'); |
| | | |
| | | $OUTPUT->send('managefolders'); |
| | | ?> |