| | |
| | | $('.breadcrumb-item').click(fm_bc_click); |
| | | $('#ansicht').click(fm_ansicht_umschalten); |
| | | fm_set_modus(); |
| | | |
| | | if(fm_slideshow) { |
| | | $("[data-fancybox]").fancybox({ |
| | | loop: true, |
| | | idleTime: 2 |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function fm_del_files() { |
| | | var liste = fm_gewaehlte_dateien(); |
| | | var m = '?c=de.uhilger.filecms.api.FileMgr&m=deleteFiles&p=' + pfad + '&p=' + encodeURIComponent(liste); |
| | | var u = '../svc' + m; |
| | | fm_get(u, "text", function(resp) { |
| | | // console.log('deleteFiles gab folgendes zurueck: ' + resp); |
| | | fm_get_list(pfad); |
| | | }); |
| | | } |
| | | |
| | | 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); |
| | |
| | | $('.system-out').append('Rueckmeldung vom Entpacken: ' + resp); |
| | | fm_fusszeile_zeigen(); |
| | | fm_get_list(pfad); |
| | | }); |
| | | } |
| | | |
| | | function fm_export_html() { |
| | | var m = '?c=de.uhilger.filecms.api.HtmlExportService&m=exportHtml'; |
| | | m = m + '&p=' + pfad; |
| | | var u = '../svc' + m; |
| | | fm_get(u, "text", function(resp) { |
| | | $('.system-out').empty(); |
| | | $('.system-out').append('Rueckmeldung vom HTML-Export: ' + resp); |
| | | fm_fusszeile_zeigen(); |
| | | }); |
| | | } |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | 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) { |