PluginProbe
Advanced Ads – Ad Manager & AdSense / 2.0.21
Advanced Ads – Ad Manager & AdSense v2.0.21
2.0.26 2.0.25 2.0.24 2.0.23 2.0.22 2.0.21 1.38.0 1.39.0 1.39.1 1.39.2 1.39.3 1.39.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.40.0 1.40.1 1.40.2 All 348 releases
advanced-ads / views / admin / bulk-edit.php
bulk-edit.php
75 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Bulk edit fields
4 *
5 * @package AdvancedAds
6 * @author Advanced Ads <info@wpadvancedads.com>
7 * @since 2.0
8 *
9 * @var array $privacy_options privacy module options.
10 */
11
12 global $wp_locale;
13
14 use AdvancedAds\Options;
15 use AdvancedAds\Admin\Ads\Quick_Bulk_Edit;
16
17 ?>
18 <fieldset class="inline-edit-col-right advads-bulk-edit">
19 <div class="advads-bulk-edit-grid">
20 <label>
21 <span class="title"><?php esc_html_e( 'Debug mode', 'advanced-ads' ); ?></span>
22 <select name="debug_mode">
23 <option value=""> <?php esc_html_e( 'No Change', 'advanced-ads' ); ?> </option>
24 <option value="on"><?php esc_html_e( 'Enabled', 'advanced-ads' ); ?></option>
25 <option value="off"><?php esc_html_e( 'Disabled', 'advanced-ads' ); ?></option>
26 </select>
27 </label>
28
29 <label>
30 <span class="title"><?php esc_html_e( 'Expiry date', 'advanced-ads' ); ?></span>
31 <select name="expiry_date">
32 <option value=""> <?php esc_html_e( 'No Change', 'advanced-ads' ); ?> </option>
33 <option value="on"><?php esc_html_e( 'Set', 'advanced-ads' ); ?></option>
34 <option value="off"><?php esc_html_e( 'Unset', 'advanced-ads' ); ?></option>
35 </select>
36 </label>
37 <div class="expiry-inputs advads-datetime">
38 <?php Quick_Bulk_Edit::print_date_time_inputs(); ?>
39 </div>
40
41 <label>
42 <span class="title"><?php esc_html_e( 'Ad label', 'advanced-ads' ); ?></span>
43 <span>
44 <input type="text" name="ad_label" value="" placeholder="— <?php esc_html_e( 'No Change', 'advanced-ads' ); ?> —" <?php echo Options::instance()->get( 'advanced-ads.custom-label.enabled' ) ? '' : 'disabled'; ?>>
45 <?php if ( ! Options::instance()->get( 'advanced-ads.custom-label.enabled' ) ) : ?>
46 <span class="advads-help">
47 <span class="advads-tooltip">
48 <?php
49 printf(
50 /* Translators: %s is the URL to the settings page. */
51 esc_html__( 'Enable the Ad Label %1$s in the settings%2$s.', 'advanced-ads' ),
52 '<a href="' . esc_url( admin_url( 'admin.php?page=advanced-ads-settings' ) ) . '" target="_blank">',
53 '</a>'
54 );
55 ?>
56 </span>
57 </span>
58 <?php endif; ?>
59 </span>
60
61 </label>
62
63 <?php if ( isset( $privacy_options['enabled'] ) ) : ?>
64 <label>
65 <span><?php esc_html_e( 'Ignore privacy settings', 'advanced-ads' ); ?></span>
66 <select name="ignore_privacy">
67 <option value=""> <?php esc_html_e( 'No Change', 'advanced-ads' ); ?> </option>
68 <option value="on"><?php esc_html_e( 'Enabled', 'advanced-ads' ); ?></option>
69 <option value="off"><?php esc_html_e( 'Disabled', 'advanced-ads' ); ?></option>
70 </select>
71 </label>
72 <?php endif; ?>
73 </div>
74 </fieldset>
75