mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 07:19:31 -05:00
Merge pull request #1413 from Parthiv-M/navigate-after-delete
Fix: redirect to home page after a paste is deleted
This commit is contained in:
commit
b4e584c574
@ -5,6 +5,7 @@
|
|||||||
* CHANGED: Simpler PostgreSQL table lookup query (#1361)
|
* CHANGED: Simpler PostgreSQL table lookup query (#1361)
|
||||||
* CHANGED: SRI hashes are now configurable, no longer hardcoded in templates (#1365)
|
* CHANGED: SRI hashes are now configurable, no longer hardcoded in templates (#1365)
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 3.1.6
|
* CHANGED: Upgrading libraries to: DOMpurify 3.1.6
|
||||||
|
* ADDED: Show a button (that redirects to the `basepath` URL) inside the alert after a paste is deleted
|
||||||
|
|
||||||
## 1.7.4 (2024-07-09)
|
## 1.7.4 (2024-07-09)
|
||||||
* CHANGED: Saving markdown pastes uses `.md` extension instead of `.txt` (#1293)
|
* CHANGED: Saving markdown pastes uses `.md` extension instead of `.txt` (#1293)
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "نعم، حمله",
|
"Yes, see it": "نعم، حمله",
|
||||||
"Dark Mode": "الوضع الداكن",
|
"Dark Mode": "الوضع الداكن",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error de compressió de la nota, no hi ha suport de WebAssembly.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error de compressió de la nota, no hi ha suport de WebAssembly.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Iè, fighjallu",
|
"Yes, see it": "Iè, fighjallu",
|
||||||
"Dark Mode": "Modu scuru",
|
"Dark Mode": "Modu scuru",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Sbagliu durante a cumpressione di l’appiccicu, perchè WebAssembly ùn hè micca accettatu.",
|
"Error compressing paste, due to missing WebAssembly support.": "Sbagliu durante a cumpressione di l’appiccicu, perchè WebAssembly ùn hè micca accettatu.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Sbagliu durante a scumpressione di l’appiccicu, perchè u vostru navigatore ùn accetteghja micca WebAssembly. Ci vole à impiegà un altru navigatore per affissà st’appiccicu."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Sbagliu durante a scumpressione di l’appiccicu, perchè u vostru navigatore ùn accetteghja micca WebAssembly. Ci vole à impiegà un altru navigatore per affissà st’appiccicu.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Ano, zobrazit",
|
"Yes, see it": "Ano, zobrazit",
|
||||||
"Dark Mode": "Tmavý režim",
|
"Dark Mode": "Tmavý režim",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Chyba při komprimování příspěvku kvůli chybějící podpoře WebAssembly.",
|
"Error compressing paste, due to missing WebAssembly support.": "Chyba při komprimování příspěvku kvůli chybějící podpoře WebAssembly.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Chyba při dekomprimování příspěvku, váš prohlížeč nepodporuje WebAssembly. Pro zobrazení tohoto příspěvku prosím použijte jiný prohlížeč."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Chyba při dekomprimování příspěvku, váš prohlížeč nepodporuje WebAssembly. Pro zobrazení tohoto příspěvku prosím použijte jiný prohlížeč.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Ja, jetzt einsehen",
|
"Yes, see it": "Ja, jetzt einsehen",
|
||||||
"Dark Mode": "Nachtmodus",
|
"Dark Mode": "Nachtmodus",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Fehler beim Komprimieren des Textes, da WebAssembly-Unterstützung fehlt.",
|
"Error compressing paste, due to missing WebAssembly support.": "Fehler beim Komprimieren des Textes, da WebAssembly-Unterstützung fehlt.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Fehler beim Dekomprimieren des Textes. Dein Browser unterstützt WebAssembly nicht. Bitte verwende einen anderen Browser, um diesen Text anzuzeigen."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Fehler beim Dekomprimieren des Textes. Dein Browser unterstützt WebAssembly nicht. Bitte verwende einen anderen Browser, um diesen Text anzuzeigen.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Ναι, δείτε το",
|
"Yes, see it": "Ναι, δείτε το",
|
||||||
"Dark Mode": "Σκοτεινό Θέμα",
|
"Dark Mode": "Σκοτεινό Θέμα",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Σφάλμα συμπίεσης επικόλλησης, λόγω έλλειψης υποστήριξης WebAssembly.",
|
"Error compressing paste, due to missing WebAssembly support.": "Σφάλμα συμπίεσης επικόλλησης, λόγω έλλειψης υποστήριξης WebAssembly.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Σφάλμα αποσυμπίεσης της επικόλλησης, ο περιηγητής σας δεν υποστηρίζει WebAssembly. Παρακαλούμε χρησιμοποιήστε έναν άλλο περιηγητή για να δείτε αυτή την επικόλληση."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Σφάλμα αποσυμπίεσης της επικόλλησης, ο περιηγητής σας δεν υποστηρίζει WebAssembly. Παρακαλούμε χρησιμοποιήστε έναν άλλο περιηγητή για να δείτε αυτή την επικόλληση.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Sí, verlo",
|
"Yes, see it": "Sí, verlo",
|
||||||
"Dark Mode": "Modo nocturno",
|
"Dark Mode": "Modo nocturno",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Tume režiim",
|
"Dark Mode": "Tume režiim",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Kyllä, näet sen",
|
"Yes, see it": "Kyllä, näet sen",
|
||||||
"Dark Mode": "Tumma tila",
|
"Dark Mode": "Tumma tila",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Oui, le voir",
|
"Yes, see it": "Oui, le voir",
|
||||||
"Dark Mode": "Mode Sombre",
|
"Dark Mode": "Mode Sombre",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Erreur lors de la compression du paste, en raison du support de WebAssembly manquant.",
|
"Error compressing paste, due to missing WebAssembly support.": "Erreur lors de la compression du paste, en raison du support de WebAssembly manquant.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Erreur lors de la décompression du paste, votre navigateur ne supporte pas WebAssembly. Veuillez utiliser un autre navigateur pour voir ce paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Erreur lors de la décompression du paste, votre navigateur ne supporte pas WebAssembly. Veuillez utiliser un autre navigateur pour voir ce paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Sötét mód",
|
"Dark Mode": "Sötét mód",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Mode Gelap",
|
"Dark Mode": "Mode Gelap",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Sì, visualizzalo",
|
"Yes, see it": "Sì, visualizzalo",
|
||||||
"Dark Mode": "Tema Scuro",
|
"Dark Mode": "Tema Scuro",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Errore nella compressione dell messaggio, a causa del supporto WebAssembly mancante.",
|
"Error compressing paste, due to missing WebAssembly support.": "Errore nella compressione dell messaggio, a causa del supporto WebAssembly mancante.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Errore nella decompressione dell messaggio, il tuo browser non supporta WebAssembly. Utilizza un altro browser per visualizzare questo messaggio."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Errore nella decompressione dell messaggio, il tuo browser non supporta WebAssembly. Utilizza un altro browser per visualizzare questo messaggio.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "はい、使用します",
|
"Yes, see it": "はい、使用します",
|
||||||
"Dark Mode": "ダークモード",
|
"Dark Mode": "ダークモード",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "جۆری ڕەش",
|
"Dark Mode": "جۆری ڕەش",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Dark Mode",
|
"Dark Mode": "Dark Mode",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Taip, pamatyti",
|
"Yes, see it": "Taip, pamatyti",
|
||||||
"Dark Mode": "Tamsi veiksena",
|
"Dark Mode": "Tamsi veiksena",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Klaida glaudinant įdėjimą, nes trūksta WebAssembly palaikymo.",
|
"Error compressing paste, due to missing WebAssembly support.": "Klaida glaudinant įdėjimą, nes trūksta WebAssembly palaikymo.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Klaida išglaudinant įdėjimą, jūsų naršyklė nepalaiko WebAssembly. Norėdami peržiūrėti šį įdėjimą, naudokite kitą naršyklę."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Klaida išglaudinant įdėjimą, jūsų naršyklė nepalaiko WebAssembly. Norėdami peržiūrėti šį įdėjimą, naudokite kitą naršyklę.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Ja, tonen",
|
"Yes, see it": "Ja, tonen",
|
||||||
"Dark Mode": "Donkere modus",
|
"Dark Mode": "Donkere modus",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Fout bij het comprimeren van notitie door ontbrekende ondersteuning voor WebAssembly.",
|
"Error compressing paste, due to missing WebAssembly support.": "Fout bij het comprimeren van notitie door ontbrekende ondersteuning voor WebAssembly.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Fout bij het decomprimeren van de notitie, uw browser ondersteunt WebAssembly niet. Gebruik een andere browser om deze notitie te bekijken."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Fout bij het decomprimeren van de notitie, uw browser ondersteunt WebAssembly niet. Gebruik een andere browser om deze notitie te bekijken.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Ja, se det",
|
"Yes, see it": "Ja, se det",
|
||||||
"Dark Mode": "Mørk modus",
|
"Dark Mode": "Mørk modus",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Òc, afichatz-lo",
|
"Yes, see it": "Òc, afichatz-lo",
|
||||||
"Dark Mode": "Mòde escur",
|
"Dark Mode": "Mòde escur",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error al moment de la compression de l'empegatge, a causa de la manca de presa en carga de WebAssembly.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error al moment de la compression de l'empegatge, a causa de la manca de presa en carga de WebAssembly.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error al moment de descompresar l'empegatge, vòstre navegador pren pas en carga WebAssembly. Mercés d'utilizar un autre navigador per visualizar aquesta pega."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error al moment de descompresar l'empegatge, vòstre navegador pren pas en carga WebAssembly. Mercés d'utilizar un autre navigador per visualizar aquesta pega.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Ciemny motyw",
|
"Dark Mode": "Ciemny motyw",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Sim, veja",
|
"Yes, see it": "Sim, veja",
|
||||||
"Dark Mode": "Modo Noturno",
|
"Dark Mode": "Modo Noturno",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Da, vezi",
|
"Yes, see it": "Da, vezi",
|
||||||
"Dark Mode": "Mod întunecat",
|
"Dark Mode": "Mod întunecat",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Eroare la compresia paste-ului din cauza incompatibilității cu WebAssembly.",
|
"Error compressing paste, due to missing WebAssembly support.": "Eroare la compresia paste-ului din cauza incompatibilității cu WebAssembly.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Eroare la deschiderea paste-ului, browserul dvs. nu acceptă WebAssembly. Vă rugăm să utilizați un alt browser pentru a vedea acest paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Eroare la deschiderea paste-ului, browserul dvs. nu acceptă WebAssembly. Vă rugăm să utilizați un alt browser pentru a vedea acest paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Да, загрузить",
|
"Yes, see it": "Да, загрузить",
|
||||||
"Dark Mode": "Тёмная",
|
"Dark Mode": "Тёмная",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Tmavý Režim",
|
"Dark Mode": "Tmavý Režim",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Temni način",
|
"Dark Mode": "Temni način",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "Mörkt Läge",
|
"Dark Mode": "Mörkt Läge",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Yes, see it",
|
"Yes, see it": "Yes, see it",
|
||||||
"Dark Mode": "โหมดมืด",
|
"Dark Mode": "โหมดมืด",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Evet, görüyorum",
|
"Yes, see it": "Evet, görüyorum",
|
||||||
"Dark Mode": "Koyu Mod",
|
"Dark Mode": "Koyu Mod",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "Так, побачити",
|
"Yes, see it": "Так, побачити",
|
||||||
"Dark Mode": "Темний режим",
|
"Dark Mode": "Темний режим",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Помилка при стисканні допису, через відсутність підтримки WebAssembly сервера.",
|
"Error compressing paste, due to missing WebAssembly support.": "Помилка при стисканні допису, через відсутність підтримки WebAssembly сервера.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Помилка при розпакуванні допису, бо ваш браузер не підтримує WebAssembly. Будь ласка, відкрийте в іншому браузері для перегляду цього допису."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Помилка при розпакуванні допису, бо ваш браузер не підтримує WebAssembly. Будь ласка, відкрийте в іншому браузері для перегляду цього допису.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -219,5 +219,6 @@
|
|||||||
"Yes, see it": "是的,加载它",
|
"Yes, see it": "是的,加载它",
|
||||||
"Dark Mode": "暗黑模式",
|
"Dark Mode": "暗黑模式",
|
||||||
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
"Error compressing paste, due to missing WebAssembly support.": "Error compressing paste, due to missing WebAssembly support.",
|
||||||
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste."
|
"Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.": "Error decompressing paste, your browser does not support WebAssembly. Please use another browser to view this paste.",
|
||||||
|
"Start over": "Start over"
|
||||||
}
|
}
|
||||||
|
@ -5626,8 +5626,11 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
me.initZ();
|
me.initZ();
|
||||||
|
|
||||||
// if delete token is passed (i.e. paste has been deleted by this
|
// if delete token is passed (i.e. paste has been deleted by this
|
||||||
// access), there is nothing more to do
|
// access), add an event listener for the 'new' paste button in the alert
|
||||||
if (Model.hasDeleteToken()) {
|
if (Model.hasDeleteToken()) {
|
||||||
|
$("#new-from-alert").on("click", function () {
|
||||||
|
UiHelper.reloadHome();
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ class Configuration
|
|||||||
'js/kjua-0.9.0.js' => 'sha512-CVn7af+vTMBd9RjoS4QM5fpLFEOtBCoB0zPtaqIDC7sF4F8qgUSRFQQpIyEDGsr6yrjbuOLzdf20tkHHmpaqwQ==',
|
'js/kjua-0.9.0.js' => 'sha512-CVn7af+vTMBd9RjoS4QM5fpLFEOtBCoB0zPtaqIDC7sF4F8qgUSRFQQpIyEDGsr6yrjbuOLzdf20tkHHmpaqwQ==',
|
||||||
'js/legacy.js' => 'sha512-LYos+qXHIRqFf5ZPNphvtTB0cgzHUizu2wwcOwcwz/VIpRv9lpcBgPYz4uq6jx0INwCAj6Fbnl5HoKiLufS2jg==',
|
'js/legacy.js' => 'sha512-LYos+qXHIRqFf5ZPNphvtTB0cgzHUizu2wwcOwcwz/VIpRv9lpcBgPYz4uq6jx0INwCAj6Fbnl5HoKiLufS2jg==',
|
||||||
'js/prettify.js' => 'sha512-puO0Ogy++IoA2Pb9IjSxV1n4+kQkKXYAEUtVzfZpQepyDPyXk8hokiYDS7ybMogYlyyEIwMLpZqVhCkARQWLMg==',
|
'js/prettify.js' => 'sha512-puO0Ogy++IoA2Pb9IjSxV1n4+kQkKXYAEUtVzfZpQepyDPyXk8hokiYDS7ybMogYlyyEIwMLpZqVhCkARQWLMg==',
|
||||||
'js/privatebin.js' => 'sha512-Bkdx9h1TYuylNaUjrZ6hXIukQthmRgtvxNhnuGguiaVTEobkTKZ8hHYHp9aRUDNSi0s202CpaiUQO3ocMLqRuQ==',
|
'js/privatebin.js' => 'sha512-yVh3dygQDHGXCrSFP8OzfBr5Tv1/iJrcvvqOiwE18yD/MK9fD5ItDRD/cq+jJGqg67MoOeQq8q07hgAK1Jz+lg==',
|
||||||
'js/purify-3.1.6.js' => 'sha512-SDwfsqHZFhbcBo/6AN7Te4KoUkWHHw7TzyZCuRkkpl0o8oV4owT/lprznWWe9+qFtigb6MrF81K4CQRLN6be+A==',
|
'js/purify-3.1.6.js' => 'sha512-SDwfsqHZFhbcBo/6AN7Te4KoUkWHHw7TzyZCuRkkpl0o8oV4owT/lprznWWe9+qFtigb6MrF81K4CQRLN6be+A==',
|
||||||
'js/rawinflate-0.3.js' => 'sha512-g8uelGgJW9A/Z1tB6Izxab++oj5kdD7B4qC7DHwZkB6DGMXKyzx7v5mvap2HXueI2IIn08YlRYM56jwWdm2ucQ==',
|
'js/rawinflate-0.3.js' => 'sha512-g8uelGgJW9A/Z1tB6Izxab++oj5kdD7B4qC7DHwZkB6DGMXKyzx7v5mvap2HXueI2IIn08YlRYM56jwWdm2ucQ==',
|
||||||
'js/showdown-2.1.0.js' => 'sha512-WYXZgkTR0u/Y9SVIA4nTTOih0kXMEd8RRV6MLFdL6YU8ymhR528NLlYQt1nlJQbYz4EW+ZsS0fx1awhiQJme1Q==',
|
'js/showdown-2.1.0.js' => 'sha512-WYXZgkTR0u/Y9SVIA4nTTOih0kXMEd8RRV6MLFdL6YU8ymhR528NLlYQt1nlJQbYz4EW+ZsS0fx1awhiQJme1Q==',
|
||||||
|
@ -67,6 +67,14 @@ class Controller
|
|||||||
*/
|
*/
|
||||||
private $_status = '';
|
private $_status = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* status message
|
||||||
|
*
|
||||||
|
* @access private
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
private $_is_deleted = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JSON message
|
* JSON message
|
||||||
*
|
*
|
||||||
@ -308,7 +316,8 @@ class Controller
|
|||||||
if (hash_equals($paste->getDeleteToken(), $deletetoken)) {
|
if (hash_equals($paste->getDeleteToken(), $deletetoken)) {
|
||||||
// Paste exists and deletion token is valid: Delete the paste.
|
// Paste exists and deletion token is valid: Delete the paste.
|
||||||
$paste->delete();
|
$paste->delete();
|
||||||
$this->_status = 'Paste was properly deleted.';
|
$this->_status = 'Paste was properly deleted.';
|
||||||
|
$this->_is_deleted = true;
|
||||||
} else {
|
} else {
|
||||||
$this->_error = 'Wrong deletion token. Paste was not deleted.';
|
$this->_error = 'Wrong deletion token. Paste was not deleted.';
|
||||||
}
|
}
|
||||||
@ -412,6 +421,7 @@ class Controller
|
|||||||
}
|
}
|
||||||
$page->assign('BASEPATH', I18n::_($this->_conf->getKey('basepath')));
|
$page->assign('BASEPATH', I18n::_($this->_conf->getKey('basepath')));
|
||||||
$page->assign('STATUS', I18n::_($this->_status));
|
$page->assign('STATUS', I18n::_($this->_status));
|
||||||
|
$page->assign('ISDELETED', I18n::_(json_encode($this->_is_deleted)));
|
||||||
$page->assign('VERSION', self::VERSION);
|
$page->assign('VERSION', self::VERSION);
|
||||||
$page->assign('DISCUSSION', $this->_conf->getKey('discussion'));
|
$page->assign('DISCUSSION', $this->_conf->getKey('discussion'));
|
||||||
$page->assign('OPENDISCUSSION', $this->_conf->getKey('opendiscussion'));
|
$page->assign('OPENDISCUSSION', $this->_conf->getKey('opendiscussion'));
|
||||||
|
@ -489,10 +489,17 @@ if ($FILEUPLOAD) :
|
|||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<div id="status" role="alert" class="alert alert-info<?php echo empty($STATUS) ? ' hidden' : '' ?>">
|
<div id="status" role="alert" class="clearfix alert alert-<?php echo (bool)$ISDELETED ? 'success' : 'info'; echo empty($STATUS) ? ' hidden' : '' ?>">
|
||||||
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
|
||||||
<?php echo I18n::encode($STATUS), PHP_EOL; ?>
|
<?php echo I18n::encode($STATUS), PHP_EOL; ?>
|
||||||
|
<?php
|
||||||
|
if ((bool)$ISDELETED):
|
||||||
|
?>
|
||||||
|
<button type="button" class="btn btn-default pull-right" id="new-from-alert">
|
||||||
|
<span class="glyphicon glyphicon-repeat"></span> <?php echo I18n::_('Start over'), PHP_EOL; ?>
|
||||||
|
</button>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="errormessage" role="alert" class="<?php echo empty($ERROR) ? 'hidden' : '' ?> alert alert-danger">
|
<div id="errormessage" role="alert" class="<?php echo empty($ERROR) ? 'hidden' : '' ?> alert alert-danger">
|
||||||
<span class="glyphicon glyphicon-alert" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-alert" aria-hidden="true"></span>
|
||||||
|
@ -353,9 +353,18 @@ if ($FILEUPLOAD) :
|
|||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<div id="status" role="alert" class="alert alert-info<?php echo empty($STATUS) ? ' hidden' : '' ?>">
|
<div id="status" role="alert" class="d-flex justify-content-between align-items-center alert alert-<?php echo (bool)$ISDELETED ? 'success' : 'info'; echo empty($STATUS) ? ' hidden' : '' ?>">
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#info-circle" /></svg>
|
<div>
|
||||||
<?php echo I18n::encode($STATUS), PHP_EOL; ?>
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#info-circle" /></svg>
|
||||||
|
<?php echo I18n::encode($STATUS), PHP_EOL; ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
if ((bool)$ISDELETED):
|
||||||
|
?>
|
||||||
|
<button type="button" class="btn btn-secondary" id="new-from-alert">
|
||||||
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#repeat" /></svg> <?php echo I18n::_('Start over'), PHP_EOL; ?>
|
||||||
|
</button>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="errormessage" role="alert" class="<?php echo empty($ERROR) ? 'hidden' : '' ?> alert alert-danger">
|
<div id="errormessage" role="alert" class="<?php echo empty($ERROR) ? 'hidden' : '' ?> alert alert-danger">
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#exclamation-triangle" /></svg>
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#exclamation-triangle" /></svg>
|
||||||
|
@ -10,6 +10,8 @@ class ViewTest extends TestCase
|
|||||||
|
|
||||||
private static $status = '!*#@?$+';
|
private static $status = '!*#@?$+';
|
||||||
|
|
||||||
|
private static $is_deleted = false;
|
||||||
|
|
||||||
private static $formatters = array(
|
private static $formatters = array(
|
||||||
'plaintext' => 'Plain Text',
|
'plaintext' => 'Plain Text',
|
||||||
'syntaxhighlighting' => 'Source Code',
|
'syntaxhighlighting' => 'Source Code',
|
||||||
@ -38,6 +40,7 @@ class ViewTest extends TestCase
|
|||||||
$page->assign('BASEPATH', '');
|
$page->assign('BASEPATH', '');
|
||||||
$page->assign('ERROR', self::$error);
|
$page->assign('ERROR', self::$error);
|
||||||
$page->assign('STATUS', self::$status);
|
$page->assign('STATUS', self::$status);
|
||||||
|
$page->assign('ISDELETED', self::$is_deleted);
|
||||||
$page->assign('VERSION', self::$version);
|
$page->assign('VERSION', self::$version);
|
||||||
$page->assign('DISCUSSION', true);
|
$page->assign('DISCUSSION', true);
|
||||||
$page->assign('OPENDISCUSSION', true);
|
$page->assign('OPENDISCUSSION', true);
|
||||||
|
Loading…
Reference in New Issue
Block a user