PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.2.0
Independent Analytics – WordPress Analytics Plugin v2.2.0
2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 1.19.1 1.2 1.20.0 1.21.0 1.22.0 1.22.1 1.23.0 1.23.1 1.24.0 1.24.1 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.28.1 1.28.2 1.28.3 1.29.0 1.3 1.30.0 1.30.1 1.4 1.5 1.6 1.7 1.8 1.9 2.0.0 2.0.1 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.10 2.11.2 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.12.0 2.12.1 2.12.2 2.13.1 2.13.2 2.13.5 2.13.6 2.14.0 2.14.1 2.14.2 2.14.4 2.14.6 2.14.7 2.14.8 2.14.9 2.2.0 2.2.1 2.3.1 2.3.2 2.4.2 2.4.3 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.1 2.7.2 2.7.3 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7
independent-analytics / views / settings / email-reports.blade.php
independent-analytics / views / settings Last commit date
view-counter 2 years ago block-by-role.blade.php 2 years ago block-ips.blade.php 2 years ago capabilities.blade.php 2 years ago dark-mode.blade.php 2 years ago delete.blade.php 2 years ago disable-admin-toolbar-analytics.blade.php 2 years ago disable-widget.blade.php 2 years ago email-reports.blade.php 2 years ago export-data.blade.php 2 years ago export-reports.blade.php 2 years ago first-day-of-week.blade.php 2 years ago index.blade.php 2 years ago notice.blade.php 2 years ago refresh-salt.blade.php 2 years ago track-authenticated-users.blade.php 2 years ago view-counter.blade.php 2 years ago
email-reports.blade.php
99 lines
1 <div class="email-reports settings-container">
2 <div class="heading">
3 <h2><?php esc_html_e('Email Report', 'independent-analytics'); ?></h2>
4 <a class="tutorial-link" href="https://independentwp.com/knowledgebase/pro/email-reports/" target="_blank">
5 <?php esc_html_e('Read Tutorial', 'independent-analytics'); ?>
6 </a>
7 <div class="pro-tag"><?php esc_html_e('Pro', 'independent-analytics'); ?></div>
8 </div>
9 <p><?php esc_html_e('The HTML email report is automatically scheduled for the 1st of every month.', 'independent-analytics'); ?></p>
10 <form method='post' action='options.php' id="email-reports-form" class="email-reports-form">
11 <input type='hidden' name='option_page' value='iawp_email_report_settings'/>
12 <input type="hidden" name="action" value="update"/>
13 <input type="hidden" name="_wp_http_referer"
14 value="/wp-admin/admin.php?page=independent-analytics-settings">
15 <?php wp_nonce_field('iawp_email_report_settings-options'); ?>
16 <div class="inner">
17 <div class="delivery-time iawp-section">
18 <h3><?php esc_html_e('Delivery Time', 'independent-analytics'); ?></h3>
19 <select id="iawp_email_report_time" name="iawp_email_report_time">
20 <?php for ($i = 0; $i < 24; $i++) {
21 $readable_time = new DateTime(date('Y-m-d') . ' ' . $i . ':00:00');
22 $readable_time = $readable_time->format(get_option('time_format')); ?>
23 <option value="<?php esc_attr_e($i); ?>" <?php selected($time, $i, true); ?>><?php esc_html_e($readable_time); ?></option>
24 <?php
25 } ?>
26 </select>
27 </div>
28 <div class="custom-colors iawp-section">
29 <h3><?php esc_html_e('Customize the colors', 'independent-analytics'); ?></h3>
30 <div class="custom-colors-list">
31 <div class="custom-color">
32 <p class="element-name"><?php esc_html_e('Header background', 'independent-analytics'); ?></p>
33 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($saved_colors[0]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[0]); ?>" />
34 </div>
35 <div class="custom-color">
36 <p class="element-name"><?php esc_html_e('Header text', 'independent-analytics'); ?></p>
37 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($saved_colors[1]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[1]); ?>" />
38 </div>
39 <div class="custom-color">
40 <p class="element-name"><?php esc_html_e('Sub-header background', 'independent-analytics'); ?></p>
41 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($saved_colors[2]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[2]); ?>" />
42 </div>
43 <div class="custom-color">
44 <p class="element-name"><?php esc_html_e('Sub-header text', 'independent-analytics'); ?></p>
45 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($saved_colors[3]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[3]); ?>" />
46 </div>
47 <div class="custom-color">
48 <p class="element-name"><?php esc_html_e('Bar chart', 'independent-analytics'); ?></p>
49 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($saved_colors[4]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[4]); ?>" />
50 </div>
51 <div class="custom-color">
52 <p class="element-name"><?php esc_html_e('Bar chart accent', 'independent-analytics'); ?></p>
53 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($saved_colors[5]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[5]); ?>" />
54 </div>
55 </div>
56 <input type="hidden" id="iawp_email_report_colors" name="iawp_email_report_colors" value="<?php echo implode(',', $saved_colors); ?>" />
57 </div>
58 <div class="email-addresses iawp-section">
59 <h3><?php esc_html_e('Add new email addresses', 'independent-analytics'); ?></h3>
60 <div class="new-address duplicator">
61 <div class="entry">
62 <input class="new-field" type="email" placeholder="name@email.com" value="" />
63 <button class="iawp-button purple duplicate-button"><?php esc_html_e('Add email', 'independent-analytics'); ?></button>
64 </div>
65 <div class="blueprint">
66 <div class="entry">
67 <input type="text" readonly
68 name="iawp_email_report_email_addresses[]"
69 id="iawp_email_report_email_addresses[]"
70 data-option="iawp_email_report_email_addresses"
71 value="">
72 <button class="remove iawp-button ghost-purple"><?php esc_html_e('Remove email', 'independent-analytics'); ?></button>
73 </div>
74 </div>
75 <p class="error-message empty"><?php esc_html_e('Input is empty', 'independent-analytics'); ?></p>
76 <p class="error-message exists"><?php esc_html_e('This email already exists', 'independent-analytics'); ?></p>
77 </div>
78 <div class="saved">
79 <h3><?php esc_html_e('Sending to these addresses', 'independent-analytics'); ?></h3>
80 <?php for ($i = 0; $i < count($emails); $i++) : ?>
81 <div class="entry">
82 <input type="email" readonly
83 id="iawp_email_report_email_addresses[<?php esc_attr_e($i); ?>]"
84 name="iawp_email_report_email_addresses[<?php esc_attr_e($i); ?>]"
85 data-option="iawp_email_report_email_addresses"
86 value="<?php esc_attr_e($emails[$i]); ?>" />
87 <button class="remove iawp-button ghost-purple"><?php esc_html_e('Remove email', 'independent-analytics'); ?></button>
88 </div>
89 <?php endfor; ?>
90 </div>
91 </div>
92 <div class="save-button-container">
93 <?php submit_button(esc_html__('Save settings', 'independent-analytics'), 'iawp-button purple', 'save-email-report-settings', false); ?>
94 <button id="test-email" class="test-email iawp-button ghost-purple"><?php esc_html_e('Send test email', 'independent-analytics'); ?></button>
95 <p class="warning-message"><span class="dashicons dashicons-warning"></span> <?php esc_html_e('Unsaved changes', 'independent-analytics'); ?></p>
96 </div>
97 </div>
98 </form>
99 </div>