From 122cf8f3ac3dc3440075fea2ca382dba0b40b6e5 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 21 Jan 2021 08:01:06 +0000
Subject: [PATCH] Entpacken hinzugefuegt, Reuckmeldungs-Umbau noch erforderlich

---
 web/ui2/js/data.js |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/web/ui2/js/data.js b/web/ui2/js/data.js
index 821ba31..6652ff2 100644
--- a/web/ui2/js/data.js
+++ b/web/ui2/js/data.js
@@ -50,17 +50,17 @@
   this.fext = '';
 
   this.typeClass = function () {
-    if (modus == 'kacheln') {
+    if (app.modus == 'kacheln') {
       if (self.fr.isDirectory) {
-        return 'fa-folder ordner';
+        return 'icon-folder ordner';
       } else {
-        return 'fa-file datei';
+        return 'icon-doc-text-inv datei';
       }
     } else {
       if (self.fr.isDirectory) {
-        return 'fa-folder ordner';
+        return 'icon-folder ordner';
       } else {
-        return 'fa-file-o datei';
+        return 'icon-doc-text-inv datei';
       }
     }
   };
@@ -81,7 +81,7 @@
   };
 
   this.dia = function () {
-    return fm_slideshow;
+    return app.fm_slideshow;
   };
 
   this.miniurl = function () {
@@ -95,8 +95,8 @@
         self.fext = fny.substr(dotpos);
       }
     }
-    var path = fm_get_path(app.userid);
-    var imgurl = loc + path + '/' + self.fnx + '_tn' + self.fext;
+    var path = app.fm_get_path(app.userid);
+    var imgurl = app.loc + path + '/' + self.fnx + '_tn' + self.fext;
     return imgurl;
 
   };
@@ -112,8 +112,8 @@
         self.fext = fny.substr(dotpos);
       }
     }
-    var path = fm_get_path(app.userid);
-    var imgurl = loc + path + '/' + self.fnx + self.fext;
+    var path = app.fm_get_path(app.userid);
+    var imgurl = app.loc + path + '/' + self.fnx + self.fext;
     return imgurl;
   };
 

--
Gitblit v1.9.3