From 94b7dbbe7d849d8d9f5b1d5ef2f98cae613d896a Mon Sep 17 00:00:00 2001 From: ryuring Date: Fri, 23 Feb 2024 12:20:17 +0900 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E3=83=AD=E3=82=B0=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4=E3=81=99=E3=82=8B=E9=9A=9B=E3=80=81=E3=82=AD?= =?UTF-8?q?=E3=83=A3=E3=83=B3=E3=82=BB=E3=83=AB=E3=82=92=E3=82=AF=E3=83=AA?= =?UTF-8?q?=E3=83=83=E3=82=AF=E3=81=99=E3=82=8B=E3=81=A8=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=83=87=E3=82=A3=E3=83=B3=E3=82=B0=E3=81=8C=E6=AD=A2=E3=81=BE?= =?UTF-8?q?=E3=82=89=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E6=94=B9?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/bc-admin-third/templates/Admin/Utilities/index.php | 4 ++-- .../templates/Admin/element/Dblogs/index_list.php | 2 +- plugins/bc-admin-third/templates/element/toolbar.php | 2 +- .../plugin/BcCustomContent/Admin/CustomEntries/edit.php | 2 +- .../plugin/BcCustomContent/Admin/CustomFields/edit.php | 2 +- .../plugin/BcEditorTemplate/Admin/EditorTemplates/edit.php | 2 +- .../templates/plugin/BcThemeFile/Admin/ThemeFiles/view.php | 2 +- .../plugin/BcThemeFile/Admin/ThemeFiles/view_folder.php | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/bc-admin-third/templates/Admin/Utilities/index.php b/plugins/bc-admin-third/templates/Admin/Utilities/index.php index ea5476df28..2a90d272e5 100644 --- a/plugins/bc-admin-third/templates/Admin/Utilities/index.php +++ b/plugins/bc-admin-third/templates/Admin/Utilities/index.php @@ -27,7 +27,7 @@ これによりテンプレートを直接編集した際など、変更内容が反映されない場合がありますので、その際には、サーバーサイドのキャッシュを削除します。') ?>

BcAdminForm->postLink(__d('baser_core', 'サーバーキャッシュを削除する'), ['controller' => 'utilities', 'action' => 'clear_cache'], [ - 'class' => 'bca-submit-token bca-btn', + 'class' => 'bca-btn', 'data-bca-btn-type' => 'clear', 'confirm' => __d('baser_core', 'サーバーキャッシュを削除します。いいですか?') ]) ?> @@ -61,7 +61,7 @@ 'action' => 'assets_symlink' ], [ - 'class' => 'bca-submit-token bca-btn', + 'class' => 'bca-btn', 'data-bca-btn-type' => 'clear', 'confirm' => __d('baser_core', 'テーマ・プラグインへのシンボリックリンクを再作成します。本当によろしいですか?') ]) ?> diff --git a/plugins/bc-admin-third/templates/Admin/element/Dblogs/index_list.php b/plugins/bc-admin-third/templates/Admin/element/Dblogs/index_list.php index 896104cc5b..07ad1b80b5 100644 --- a/plugins/bc-admin-third/templates/Admin/element/Dblogs/index_list.php +++ b/plugins/bc-admin-third/templates/Admin/element/Dblogs/index_list.php @@ -23,7 +23,7 @@ BcBaser->isAdminUser() && $dblogs->count()): ?>
BcAdminForm->postLink(__d('baser_core', 'ログを全て削除'), ['action' => 'delete_all'], [ - 'class' => 'bca-btn bca-loading', + 'class' => 'bca-btn', 'data-bca-btn-type' => 'delete', 'confirm' => __d('baser_core', '最近の動きのログを削除します。いいですか?') ]) ?> diff --git a/plugins/bc-admin-third/templates/element/toolbar.php b/plugins/bc-admin-third/templates/element/toolbar.php index f3f0d17e6d..92eacc6911 100755 --- a/plugins/bc-admin-third/templates/element/toolbar.php +++ b/plugins/bc-admin-third/templates/element/toolbar.php @@ -167,7 +167,7 @@ BcToolbar->isAvailableClearCache()): ?>
  • - BcBaser->link( + BcAdminForm->postLink( __d('baser_core', 'キャッシュクリア'), ['prefix' => 'Admin', 'plugin' => 'BaserCore', 'controller' => 'Utilities', 'action' => 'clear_cache'], ['confirm' => __d('baser_core', 'キャッシュクリアします。いいですか?')] diff --git a/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomEntries/edit.php b/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomEntries/edit.php index 0ebdc98848..d4de35e821 100644 --- a/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomEntries/edit.php +++ b/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomEntries/edit.php @@ -94,7 +94,7 @@ class="bca-text-url" target="_blank" data-toggle="tooltip" data-placement="top" ['action' => 'delete', $tableId, $entity->id], [ 'block' => true, 'confirm' => __d('baser_core', '{0} を本当に削除してもいいですか?', $entity->{$entity->custom_table->display_field}), - 'class' => 'bca-submit-token button bca-btn bca-actions__item', + 'class' => 'bca-btn bca-actions__item', 'data-bca-btn-type' => 'delete', 'data-bca-btn-size' => 'sm', 'data-bca-btn-color' => 'danger' diff --git a/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomFields/edit.php b/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomFields/edit.php index e5bbee0703..7798b60946 100644 --- a/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomFields/edit.php +++ b/plugins/bc-admin-third/templates/plugin/BcCustomContent/Admin/CustomFields/edit.php @@ -52,7 +52,7 @@ ['action' => 'delete', $entity->id], [ 'block' => true, 'confirm' => __d('baser_core', "{0} を本当に削除してもいいですか?\n\n利用しているテーブルのフィールドもデータごと削除されてしまいますのでご注意ください。", $entity->title), - 'class' => 'bca-submit-token button bca-btn bca-actions__item', + 'class' => 'bca-btn bca-actions__item', 'data-bca-btn-type' => 'delete', 'data-bca-btn-size' => 'sm', 'data-bca-btn-color' => 'danger' diff --git a/plugins/bc-admin-third/templates/plugin/BcEditorTemplate/Admin/EditorTemplates/edit.php b/plugins/bc-admin-third/templates/plugin/BcEditorTemplate/Admin/EditorTemplates/edit.php index 2f9acaf5b6..aa7ba2ff04 100644 --- a/plugins/bc-admin-third/templates/plugin/BcEditorTemplate/Admin/EditorTemplates/edit.php +++ b/plugins/bc-admin-third/templates/plugin/BcEditorTemplate/Admin/EditorTemplates/edit.php @@ -61,7 +61,7 @@ BcAdminForm->postLink(__d('baser_core', '削除'), ['action' => 'delete', $editorTemplate->id], [ 'block' => true, 'confirm' => __d('baser_core', '{0} を本当に削除してもいいですか?', $editorTemplate->name), - 'class' => 'bca-submit-token button bca-btn bca-actions__item', + 'class' => 'bca-btn bca-actions__item', 'data-bca-btn-type' => 'delete', 'data-bca-btn-size' => 'sm', 'data-bca-btn-color' => 'danger' diff --git a/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view.php b/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view.php index 0f4e88bd09..5744f34b33 100644 --- a/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view.php +++ b/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view.php @@ -66,7 +66,7 @@ "本当に現在のテーマ「{0}」にコピーしてもいいですか?\n既に存在するファイルは上書きされます。", Cake\Utility\Inflector::camelize(\BaserCore\Utility\BcUtil::getCurrentTheme()) ), - 'class' => 'bca-submit-token bca-btn', + 'class' => 'bca-btn', 'data-bca-btn-type' => 'save', 'data-bca-btn-size' => 'lg', 'data-bca-btn-width' => 'lg', diff --git a/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view_folder.php b/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view_folder.php index 6042243faa..78f61f9f3a 100755 --- a/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view_folder.php +++ b/plugins/bc-admin-third/templates/plugin/BcThemeFile/Admin/ThemeFiles/view_folder.php @@ -68,7 +68,7 @@ 'confirm' => __d('baser_core', "本当に現在のテーマ「{0}」にコピーしてもいいですか?\n既に存在するファイルは上書きされます。", Cake\Utility\Inflector::camelize(\BaserCore\Utility\BcUtil::getCurrentTheme())), - 'class' => 'bca-submit-token bca-btn', + 'class' => 'bca-btn', 'data-bca-btn-type' => 'save', 'data-bca-btn-size' => 'lg', 'data-bca-btn-width' => 'lg',