| | |
| | | }); |
| | | } |
| | | |
| | | function fm_pack_folder() { |
| | | //var liste = fm_gewaehlte_dateien(); |
| | | var m = '?c=de.uhilger.filecms.api.FileMgr&m=packFolder&p=' + pfad; |
| | | var u = '../svc' + m; |
| | | fm_get(u, "text", function(resp) { |
| | | // console.log('deleteFiles gab folgendes zurueck: ' + resp); |
| | | fm_get_list(pfad); |
| | | }); |
| | | } |
| | | |
| | | function fm_rename_file(fn, p, neuerName) { |
| | | var m = '?c=de.uhilger.filecms.api.FileMgr&m=renameFile'; |
| | | m = m + '&p=' + p; |
| | |
| | | }); |
| | | } |
| | | |
| | | function fm_menu_rotate() { |
| | | var gewaehlte = $('.datei-gewaehlt'); |
| | | var fname = $(gewaehlte[0]).text(); |
| | | var m = '?c=de.uhilger.filecms.api.FileMgr&m=bildRotieren'; |
| | | m = m + '&p=' + pfad; |
| | | m = m + '&p=' + fname; |
| | | var u = '../svc' + m; |
| | | fm_get(u, "text", function(resp) { |
| | | fm_get_list(pfad); |
| | | }); |
| | | } |
| | | |
| | | /* -------- upload ----------- */ |
| | | |
| | | function sendFile(datei) { |