diff --git a/data/y-web/Y_Filemgr.yhtm b/data/y-web/Y_Filemgr.yhtm index 856079339..b6da493f0 100644 --- a/data/y-web/Y_Filemgr.yhtm +++ b/data/y-web/Y_Filemgr.yhtm @@ -46,19 +46,40 @@ CyExplorer.prototype = { var mycurrent_row = new Element( 'tr', {'class': ((this.line_number % 2) ==0)?"a":"b"} ); $(this.el).insert(mycurrent_row); /* icon */ - var __img ="/images/ftype_file.png"; - switch (fp.get('type')){ - case "folder": __img = "/images/ftype_folder.png"; break; - case "link": __img = "/images/ftype_link.png"; break; - case "file": __img = "/images/ftype_file.png"; - switch (fp.get('ext')){ - case "ts": case "ps": case "pes": case "avi": - __img = "/images/film.png"; break; - case "jpg": case "jpeg": case "bmp": case "gif": case "ico": case "png": - __img = "/images/picture.png"; break; - case "file": case "tar": case "zip": case "tar.gz": + var __img = "/images/ftype_file.png"; + switch (fp.get('type')) { + case "folder": + __img = "/images/ftype_folder.png"; + break; + case "link": + __img = "/images/ftype_link.png"; + break; + case "file": + __img = "/images/ftype_file.png"; + switch (fp.get('ext')) { + case "ts": + case "ps": + case "pes": + case "avi": + __img = "/images/film.png"; + break; + case "jpg": + case "jpeg": + case "bmp": + case "gif": + case "ico": + case "png": + __img = "/images/picture.png"; + break; + case "tar": + case "tar.gz": + case "zip": __img = "/images/package.png"; - case "file": case "txt": case "ini": case "conf": + break; + case "file": + case "txt": + case "ini": + case "conf": __img = "/images/text.png"; break; } @@ -426,10 +447,11 @@ function do_prop(prop){ } break; case "jpg": - case "png": + case "jpeg": case "bmp": case "gif": case "ico": + case "png": prop_plugin_img(fullfname); break; case "ts": diff --git a/data/y-web/Y_Version.txt b/data/y-web/Y_Version.txt index 363687777..15d38b82d 100644 --- a/data/y-web/Y_Version.txt +++ b/data/y-web/Y_Version.txt @@ -1,3 +1,3 @@ -version=2.9.1.10 +version=2.9.1.11 date=06.09.2022 info=NI-Neutrino