From 8c3e9b00bbeb0a3493d5b0e9b6cc4c68d413a4b0 Mon Sep 17 00:00:00 2001 From: danix Date: Wed, 4 Nov 2020 12:10:15 +0100 Subject: Linted files modificato: danixland-contact-form.php modificato: include/dnxcf_helper.php modificato: include/dnxcf_mail_template_danixland.php modificato: include/dnxcf_options-display.php modificato: include/dnxcf_options-register.php modificato: include/dnxcf_settings.php modificato: include/index.php modificato: index.php modificato: uninstall.php --- include/dnxcf_options-display.php | 207 ++++++++++++++++++++++---------------- 1 file changed, 120 insertions(+), 87 deletions(-) (limited to 'include/dnxcf_options-display.php') diff --git a/include/dnxcf_options-display.php b/include/dnxcf_options-display.php index 28618e5..4eb93de 100644 --- a/include/dnxcf_options-display.php +++ b/include/dnxcf_options-display.php @@ -1,145 +1,178 @@

- +function dnxcf_settings_email_address_section_text() { + ?>

- +function dnxcf_settings_subject_section_text() { + ?>

- +function dnxcf_settings_mailfrom_section_text() { + ?>

-
-%s < %s >', 'dnxcf' ), - $dnxcf_options['dnxcf_from_name'], - $dnxcf_options['dnxcf_from_email'] - ); -?>
- +
+ %1$s < %2$s >', 'dnxcf' ), + $dnxcf_options['dnxcf_from_name'], + $dnxcf_options['dnxcf_from_email'] + ); + ?> +
+

- +function dnxcf_settings_privacy_section_text() { + ?>

- +function dnxcf_settings_googlemap_section_text() { + ?>

Note: if the API Key value is missing the map will be disabled.', 'dnxcf' ); ?>

- - value='1' />
- value='2' />
- - + value='1' />
+ value='2' />
+ + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
- - + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
- - + -
- - +
+ + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
- - + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
- - + -
- - +
+ + + $dnxcf_options = get_option( 'dnxcf_options' ); + $dev_links = 'https://developers.google.com/maps/documentation/javascript/get-api-key'; + ?>
-
-documentation on the google developers platform.', 'dnxcf'), $dev_links ); ?>
- -
+documentation on the google developers platform.', 'dnxcf' ), $dev_links ); ?>
+ + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
- - + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
-
- -
+ + + $dnxcf_options = get_option( 'dnxcf_options' ); + ?>
-
- -
+ +