mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 11:37:25 +02:00
Removed redundant admin settings for page deletion. It will now always ask for confirming deletion (fixes #1970)
This commit is contained in:
@@ -23,9 +23,6 @@ pages:
|
||||
show_modular: true
|
||||
session:
|
||||
timeout: 1800
|
||||
warnings:
|
||||
delete_page: true
|
||||
secure_delete: false
|
||||
edit_mode: normal
|
||||
frontend_preview_target: inline
|
||||
show_github_msg: true
|
||||
|
||||
@@ -231,30 +231,6 @@ form:
|
||||
type: number
|
||||
min: 1
|
||||
|
||||
warnings.delete_page:
|
||||
type: toggle
|
||||
label: Warn on page delete
|
||||
highlight: 1
|
||||
default: 1
|
||||
options:
|
||||
1: PLUGIN_ADMIN.ENABLED
|
||||
0: PLUGIN_ADMIN.DISABLED
|
||||
validate:
|
||||
type: bool
|
||||
help: Ask the user confirmation when deleting a page
|
||||
|
||||
warnings.secure_delete:
|
||||
type: toggle
|
||||
label: Secure Delete
|
||||
highlight: 1
|
||||
default: 1
|
||||
options:
|
||||
1: PLUGIN_ADMIN.ENABLED
|
||||
0: PLUGIN_ADMIN.DISABLED
|
||||
validate:
|
||||
type: bool
|
||||
help: Shows the user a field to enter the word DELETE and enable the confirm delete button.
|
||||
|
||||
hide_page_types:
|
||||
type: select
|
||||
size: large
|
||||
|
||||
@@ -43,7 +43,6 @@ PLUGIN_ADMIN:
|
||||
EXPERT: "Expert"
|
||||
EXPAND_ALL: "Expand All"
|
||||
COLLAPSE_ALL: "Collapse All"
|
||||
SECURE_DELETE_DESC: "Type DELETE and confirm"
|
||||
ERROR: "Error"
|
||||
CLOSE: "Close"
|
||||
CANCEL: "Cancel"
|
||||
|
||||
@@ -43,7 +43,6 @@ PLUGIN_ADMIN:
|
||||
EXPERT: "Esperto"
|
||||
EXPAND_ALL: "Expandir Tudo"
|
||||
COLLAPSE_ALL: "Recolher Tudo"
|
||||
SECURE_DELETE_DESC: "Digite DELETE e confirme"
|
||||
ERROR: "Erro"
|
||||
CLOSE: "Fechar"
|
||||
CANCEL: "Cancelar"
|
||||
|
||||
544
themes/grav/js/vendor.min.js
vendored
544
themes/grav/js/vendor.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user