diff --git a/plugins/cipf_plugin/html/menu/cipf_menu.html b/plugins/cipf_plugin/html/menu/cipf_menu.html index 967060d..91fae4a 100644 --- a/plugins/cipf_plugin/html/menu/cipf_menu.html +++ b/plugins/cipf_plugin/html/menu/cipf_menu.html @@ -15,7 +15,7 @@ width: 100%; } - form .vertical_wrapper { + form .vertical_wrapper_cipf { display: flex; flex-direction: column; } @@ -23,17 +23,55 @@ resize: vertical; height: 120px; } + + /* + * form emails + * + */ + form.emails_form_cipf { + margin: 0px; + border: none; + padding: 0px; + details.set_email_options_cipf { + margin: 15px; + padding: 0px 20px; + border: 1px solid black; + summary { + padding: 20px 0px; + cursor: grab; + h2 { + display: inline; + } + } + .email_type_wrapper_cipf { + margin-bottom: 50px; + .send_or_not_cipf { + margin-bottom: 20px; + } + .send_or_not_cipf:has(input:not(:checked)) + .email_options_cipf { + display: none; + } + .email_options_cipf { + padding-left: 20px; + border-left: 1px solid black; + label { + margin: 10px 0px; + } + } + } + } + }

paypal credentials

-
+
-
+
@@ -57,17 +95,17 @@ -->

messages apres paiement, avant redirection

-
+
-
+
-
+
@@ -91,22 +129,60 @@ 'confirmation_message'=>"donne l'argent", -->

emails :

- + $email_options) { ?> -
+
+

:

+ +
diff --git a/plugins/cipf_plugin/plgntls_class.php b/plugins/cipf_plugin/plgntls_class.php index d79121e..a9c7672 100644 --- a/plugins/cipf_plugin/plgntls_class.php +++ b/plugins/cipf_plugin/plgntls_class.php @@ -1134,13 +1134,13 @@ class Plgntls { * and add 3 hidden inputs fields for form action and nonce * */ - public static function open_form_option($option_name, $method = "post") { + public static function open_form_option($option_name, $method = "post", $class = '') { $option_data = self::_get_option_data($option_name); if (false === $option_data) { return null; } ob_start(); - echo '
'; + echo ''; echo ''; echo ''; wp_nonce_field($option_data["_nonce_action"], $option_data["_nonce_name"], true, true);