| | |
| | | }); |
| | | } |
| | | |
| | | 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_compile(modeStr, callback) { |
| | | var liste = fm_gewaehlte_dateien(); |
| | | var m = '?c=de.uhilger.filecms.api.CompileService&m=compile&p=' + pfad + '&p=' + encodeURIComponent(liste) + |
| | | '&p=' + modeStr; |
| | | var m = '?c=de.uhilger.filecms.api.CompileService&m=compile';//&p=' + pfad + '&p=' + encodeURIComponent(liste) + |
| | | //'&p=' + modeStr; |
| | | var u = '../svc' + m; |
| | | var data = 'p=' + pfad + '&p=' + encodeURIComponent(liste) + |
| | | '&p=' + modeStr; |
| | | fm_post(u, data, "json", function(resp) { |
| | | callback(resp); |
| | | }); |
| | | /* |
| | | fm_get(u, "json", function(resp) { |
| | | callback(resp); |
| | | }); |
| | | */ |
| | | } |
| | | |
| | | /* --------------- Bilder ------------------------- */ |