diff --git a/composer.json b/composer.json index 076134f..1aa26e3 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^7.3", + "php": ">=8.0.0", "laket/laket-admin": "1.2.*" }, "autoload": { diff --git a/resources/view/config/index.html b/resources/view/config/index.html index 1ba7844..ffa5fb9 100644 --- a/resources/view/config/index.html +++ b/resources/view/config/index.html @@ -24,18 +24,26 @@ {/block} {block name="script"} + +{php} +$addSug = ['get:admin.settings.add', 'post:admin.settings.add-post']; +$editSug = ['get:admin.settings.edit', 'post:admin.settings.edit-post']; +$delSug = 'post:admin.settings.del-post'; +{/php} +