From 3e78366de678bf5a76f824dca3374f8a0b324e72 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Jun 2021 10:51:16 +0900 Subject: [PATCH] WP PLUGIN CNV_PROTECTION_TXT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ファイル分割 --- .gitignore | 1 + class/class.cnv_protection_txt.php | 80 ++++++++++++++++ class/cnv_protection_txt_settings.php | 18 ++++ convert-protection-text.php | 128 +------------------------- template/cnv_protection_txt_form.php | 57 ++++++++++++ template/success.php | 1 + 6 files changed, 160 insertions(+), 125 deletions(-) create mode 100644 .gitignore create mode 100644 class/class.cnv_protection_txt.php create mode 100644 class/cnv_protection_txt_settings.php create mode 100644 template/cnv_protection_txt_form.php create mode 100644 template/success.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/class/class.cnv_protection_txt.php b/class/class.cnv_protection_txt.php new file mode 100644 index 0000000..1dbcc83 --- /dev/null +++ b/class/class.cnv_protection_txt.php @@ -0,0 +1,80 @@ + +

' . nl2br( esc_html( $alert_text ) ) . '

+

+ + +

+ '; + } + } + +} \ No newline at end of file diff --git a/class/cnv_protection_txt_settings.php b/class/cnv_protection_txt_settings.php new file mode 100644 index 0000000..7aa4309 --- /dev/null +++ b/class/cnv_protection_txt_settings.php @@ -0,0 +1,18 @@ + -
-

設定を保存しました

-
-
-

-

アクセス権限ページ設定

-
- - - - - - - - - - - - - - - - - - -
- - - - - - - -
メッセージ - -
ボタンラベル - -
ボタン名 - -
-

-
-
- -

' . nl2br( esc_html( $alert_text ) ) . '

-

'; - } -} - -new CNV_Protection_Text; \ No newline at end of file +new cnv_protection_txt; \ No newline at end of file diff --git a/template/cnv_protection_txt_form.php b/template/cnv_protection_txt_form.php new file mode 100644 index 0000000..01e27d7 --- /dev/null +++ b/template/cnv_protection_txt_form.php @@ -0,0 +1,57 @@ +
+

アクセス権限ページ設定

+
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + +
メッセージ + +
ボタンラベル + +
ボタン名 + +
+

+
+
\ No newline at end of file diff --git a/template/success.php b/template/success.php new file mode 100644 index 0000000..c91135f --- /dev/null +++ b/template/success.php @@ -0,0 +1 @@ +

設定を保存しました