From e3cec295db825d2f0a1c465a159161c541eb5b5a Mon Sep 17 00:00:00 2001 From: ulrich Date: Thu, 21 Jan 2021 09:14:59 +0000 Subject: [PATCH] Rueckmeldung ueber Fusszeile nue gemacht. --- web/ui2/js/data.js | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/web/ui2/js/data.js b/web/ui2/js/data.js index 821ba31..e3517bc 100644 --- a/web/ui2/js/data.js +++ b/web/ui2/js/data.js @@ -27,6 +27,10 @@ /* ----- Objekte ----- */ +function Meldung(tx) { + this.mtext = tx; +} + function IssueList(il) { this.issues = il; } @@ -50,17 +54,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 +85,7 @@ }; this.dia = function () { - return fm_slideshow; + return app.fm_slideshow; }; this.miniurl = function () { @@ -95,8 +99,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 +116,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