PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.7.2
Independent Analytics – WordPress Analytics Plugin v2.7.2
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 1 year ago block-by-role.blade.php 1 year ago block-ips.blade.php 1 year ago capabilities.blade.php 1 year ago dark-mode.blade.php 2 years ago delete.blade.php 1 year ago disable-admin-toolbar-analytics.blade.php 2 years ago disable-views-column.blade.php 1 year ago disable-widget.blade.php 2 years ago email-reports.blade.php 1 year 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 pruner.blade.php 1 year 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
135 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 <form method='post' action='options.php' id="email-reports-form" class="email-reports-form">
10 <input type='hidden' name='option_page' value='iawp_email_report_settings'/>
11 <input type="hidden" name="action" value="update"/>
12 <input type="hidden" name="_wp_http_referer"
13 value="/wp-admin/admin.php?page=independent-analytics-settings">
14 <?php wp_nonce_field('iawp_email_report_settings-options'); ?>
15 <div class="inner">
16 <p id="next-email" class="schedule-notification <?php echo $is_scheduled ? 'is-scheduled' : 'is-not-scheduled'; ?>"
17 data-timestamp="<?php echo absint($timestamp); ?>">
18 <span class="dashicons dashicons-yes-alt"></span><span class="dashicons dashicons-dismiss"></span>
19 <?php echo wp_kses_post($scheduled_date); ?>
20 </p>
21 <div class="delivery-interval iawp-section">
22 <h3><?php esc_html_e('Delivery Interval', 'independent-analytics'); ?></h3>
23 <select id="iawp_email_report_interval" name="iawp_email_report_interval">
24 <option value="monthly" <?php selected($interval, 'monthly', true); ?>><?php esc_html_e('Monthly', 'independent-analytics'); ?></option>
25 <option value="weekly" <?php selected($interval, 'weekly', true); ?>><?php esc_html_e('Weekly', 'independent-analytics'); ?></option>
26 <option value="daily" <?php selected($interval, 'daily', true); ?>><?php esc_html_e('Daily', 'independent-analytics'); ?></option>
27 </select>
28 <p id="monthly-interval-note" class="interval-note"><?php esc_html_e('The email will be delivered on the 1st of every month.', 'independent-analytics'); ?></p>
29 <p id="weekly-interval-note" class="interval-note"><?php esc_html_e('The email will be delivered on the first day of the week (selected in the settings above).', 'independent-analytics'); ?></p>
30 <p id="daily-interval-note" class="interval-note"><?php esc_html_e('The email will be delivered every day.', 'independent-analytics'); ?></p>
31 </div>
32 <div class="delivery-time iawp-section">
33 <h3><?php esc_html_e('Delivery Time', 'independent-analytics'); ?></h3>
34 <select id="iawp_email_report_time" name="iawp_email_report_time">
35 <?php for ($i = 0; $i < 24; $i++) {
36 $readable_time = new DateTime(date('Y-m-d') . ' ' . $i . ':00:00');
37 $readable_time = $readable_time->format(get_option('time_format')); ?>
38 <option value="<?php echo esc_attr($i); ?>" <?php selected($time, $i, true); ?>><?php echo esc_html($readable_time); ?></option>
39 <?php
40 } ?>
41 </select>
42 </div>
43 <div class="custom-colors iawp-section">
44 <h3><?php esc_html_e('Customize the colors', 'independent-analytics'); ?></h3>
45 <div class="custom-colors-list">
46 <div class="custom-color">
47 <p class="element-name"><?php esc_html_e('Header background', 'independent-analytics'); ?></p>
48 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[0]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[0]); ?>" />
49 </div>
50 <div class="custom-color">
51 <p class="element-name"><?php esc_html_e('Header text', 'independent-analytics'); ?></p>
52 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[1]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[1]); ?>" />
53 </div>
54 <div class="custom-color">
55 <p class="element-name"><?php esc_html_e('Sub-header background', 'independent-analytics'); ?></p>
56 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[2]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[2]); ?>" />
57 </div>
58 <div class="custom-color">
59 <p class="element-name"><?php esc_html_e('Sub-header text', 'independent-analytics'); ?></p>
60 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[3]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[3]); ?>" />
61 </div>
62 <div class="custom-color">
63 <p class="element-name"><?php esc_html_e('Bar chart', 'independent-analytics'); ?></p>
64 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[4]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[4]); ?>" />
65 </div>
66 <div class="custom-color">
67 <p class="element-name"><?php esc_html_e('Bar chart accent', 'independent-analytics'); ?></p>
68 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[5]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[5]); ?>" />
69 </div>
70 <div class="custom-color">
71 <p class="element-name"><?php esc_html_e('Borders', 'independent-analytics'); ?></p>
72 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[6]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[6]); ?>" />
73 </div>
74 <div class="custom-color">
75 <p class="element-name"><?php esc_html_e('Metric background', 'independent-analytics'); ?></p>
76 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[7]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[7]); ?>" />
77 </div>
78 <div class="custom-color">
79 <p class="element-name"><?php esc_html_e('Outer background', 'independent-analytics'); ?></p>
80 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[8]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[8]); ?>" />
81 </div>
82 <div class="custom-color">
83 <p class="element-name"><?php esc_html_e('Footer background', 'independent-analytics'); ?></p>
84 <input type="text" class="iawp-color-picker" value="<?php echo sanitize_hex_color($input_default[9]); ?>" data-default-color="<?php echo sanitize_hex_color($default_colors[9]); ?>" />
85 </div>
86 </div>
87 <input type="hidden" id="iawp_email_report_colors" name="iawp_email_report_colors" value="<?php echo implode(',', $input_default); ?>" />
88 </div>
89 <div class="email-addresses iawp-section">
90 <h3><?php esc_html_e('Add new email addresses', 'independent-analytics'); ?></h3>
91 <div class="new-address duplicator">
92 <div class="entry">
93 <input class="new-field" type="email" placeholder="name@email.com" value="" />
94 <button class="iawp-button purple duplicate-button"><?php esc_html_e('Add email', 'independent-analytics'); ?></button>
95 </div>
96 <div class="blueprint">
97 <div class="entry">
98 <input type="text" readonly
99 name="iawp_email_report_email_addresses[]"
100 id="iawp_email_report_email_addresses[]"
101 data-option="iawp_email_report_email_addresses"
102 value="">
103 <button class="remove iawp-button ghost-purple"><?php esc_html_e('Remove email', 'independent-analytics'); ?></button>
104 </div>
105 </div>
106 <p class="error-message empty"><?php esc_html_e('Input is empty', 'independent-analytics'); ?></p>
107 <p class="error-message exists"><?php esc_html_e('This email already exists', 'independent-analytics'); ?></p>
108 </div>
109 <div class="saved">
110 <h3><?php esc_html_e('Sending to these addresses', 'independent-analytics'); ?></h3>
111 <?php for ($i = 0; $i < count($emails); $i++) : ?>
112 <div class="entry">
113 <input type="email" readonly
114 id="iawp_email_report_email_addresses[<?php echo esc_attr($i); ?>]"
115 name="iawp_email_report_email_addresses[<?php echo esc_attr($i); ?>]"
116 data-option="iawp_email_report_email_addresses"
117 value="<?php echo esc_attr($emails[$i]); ?>" />
118 <button class="remove iawp-button ghost-purple"><?php esc_html_e('Remove email', 'independent-analytics'); ?></button>
119 </div>
120 <?php endfor; ?>
121 </div>
122 </div>
123 <div class="save-button-container">
124 <?php submit_button(esc_html__('Save settings', 'independent-analytics'), 'save-email iawp-button purple', 'save-email-report-settings', false); ?>
125 <button id="preview-email" class="preview-email iawp-button ghost-purple"><span class="dashicons dashicons-visibility"></span> <?php esc_html_e('Preview email', 'independent-analytics'); ?></button>
126 <button id="test-email" class="test-email iawp-button ghost-purple"><span class="dashicons dashicons-email-alt2"></span> <?php esc_html_e('Send test email', 'independent-analytics'); ?></button>
127 <p class="warning-message"><span class="dashicons dashicons-warning"></span> <?php esc_html_e('Unsaved changes', 'independent-analytics'); ?></p>
128 </div>
129 </div>
130 </form>
131 </div>
132 <div id="email-preview-container" class="email-preview-container">
133 <div id="email-preview" class="email-preview"></div>
134 <button id="close-email-preview" class="close-email-preview"><span class="dashicons dashicons-dismiss"></span></button>
135 </div>