mirror of https://github.com/arendst/Tasmota.git
FSMan: add file deletion confirmation
This commit is contained in:
parent
52d31f2250
commit
8523b50d4e
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "versterking:"
|
||||
|
|
|
@ -938,6 +938,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "усилване:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "neue-datei.txt"
|
||||
#define D_CREATE_NEW_FILE "Neue Datei erstellen und bearbeiten"
|
||||
#define D_EDIT_FILE "Datei bearbeiten"
|
||||
#define D_CONFIRM_FILE_DEL "Löschen der Datei bestätigen"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "Umgebung:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "nuevo.txt"
|
||||
#define D_CREATE_NEW_FILE "Crear y editar un archivo nuevo"
|
||||
#define D_EDIT_FILE "Editar Archivo"
|
||||
#define D_CONFIRM_FILE_DEL "Confirmar la eliminación del archivo"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "Ganancia:"
|
||||
|
|
|
@ -938,6 +938,7 @@
|
|||
#define D_NEW_FILE "nouveau-fichier.txt"
|
||||
#define D_CREATE_NEW_FILE "Créer and modifier un nouveau fichier"
|
||||
#define D_EDIT_FILE "Modification de fichier"
|
||||
#define D_CONFIRM_FILE_DEL "Confirmez la suppression du fichier"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "nyereség:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "nuovofile.txt"
|
||||
#define D_CREATE_NEW_FILE "Crea e modifica nuovo file"
|
||||
#define D_EDIT_FILE "Modifica file"
|
||||
#define D_CONFIRM_FILE_DEL "Conferma eliminazione file"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "guadagno:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "nowyplik.txt"
|
||||
#define D_CREATE_NEW_FILE "Utwórz i edytuj nowy plik"
|
||||
#define D_EDIT_FILE "Edytuj Plik"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "wejście:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "khuếch đại:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -577,7 +577,7 @@ const char UFS_FORM_SDC_HREF[] PROGMEM =
|
|||
#ifdef GUI_TRASH_FILE
|
||||
const char UFS_FORM_SDC_HREFdel[] PROGMEM =
|
||||
//"<a href=ufsd?delete=%s/%s>🗑</a>"; // 🗑️
|
||||
"<a href=ufsd?delete=%s/%s>🔥</a>"; // 🔥
|
||||
"<a href=ufsd?delete=%s/%s onclick=\"return confirm('" D_CONFIRM_FILE_DEL "')\">🔥</a>"; // 🔥
|
||||
#endif // GUI_TRASH_FILE
|
||||
|
||||
#ifdef GUI_EDIT_FILE
|
||||
|
|
Loading…
Reference in New Issue