Ad_Repository.php
1 year ago
Group_Repository.php
1 year ago
ad-ajax.php
1 year ago
ad-debug.php
1 year ago
ad-expiration.php
1 year ago
ad-model.php
1 week ago
ad-select.php
1 year ago
ad.php
1 year ago
ad_group.php
1 year ago
ad_placements.php
1 year ago
ad_type_abstract.php
1 year ago
ad_type_content.php
1 year ago
ad_type_dummy.php
1 year ago
ad_type_group.php
1 year ago
ad_type_image.php
1 year ago
ad_type_plain.php
1 year ago
class-admin.php
1 year ago
class-advanced-ads-plugin.php
1 year ago
gadsense-dummy.php
1 year ago
in-content-injector.php
2 months ago
placements-ad-label-position.php
1 year ago
placements-ad-label-position.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Render ad label position option for placements. |
| 4 | * |
| 5 | * @deprecated 1.52.1 |
| 6 | * |
| 7 | * @var string $_placement_slug slug of the current placement. |
| 8 | * @var string $_position value of the position option. |
| 9 | * @var bool $_clearfix value of the position clearfix option. |
| 10 | */ |
| 11 | ?> |
| 12 | <label title="<?php esc_html_e( 'default', 'advanced-ads' ); ?>"> |
| 13 | <input type="radio" name="advads[placements][<?php echo esc_attr( $_placement_slug ); ?>][options][placement_position]" value="" <?php checked( $_position, 'default' ); ?>/> |
| 14 | <?php esc_html_e( 'default', 'advanced-ads' ); ?> |
| 15 | </label> |
| 16 | <label title="<?php esc_html_e( 'left', 'advanced-ads' ); ?>"> |
| 17 | <input type="radio" name="advads[placements][<?php echo esc_attr( $_placement_slug ); ?>][options][placement_position]" value="left" <?php checked( $_position, 'left' ); ?>/> |
| 18 | <?php esc_html_e( 'left', 'advanced-ads' ); ?></label> |
| 19 | <label title="<?php esc_html_e( 'center', 'advanced-ads' ); ?>"> |
| 20 | <input type="radio" name="advads[placements][<?php echo esc_attr( $_placement_slug ); ?>][options][placement_position]" value="center" <?php checked( $_position, 'center' ); ?>/> |
| 21 | <?php esc_html_e( 'center', 'advanced-ads' ); ?></label> |
| 22 | <label title="<?php esc_html_e( 'right', 'advanced-ads' ); ?>"> |
| 23 | <input type="radio" name="advads[placements][<?php echo esc_attr( $_placement_slug ); ?>][options][placement_position]" value="right" <?php checked( $_position, 'right' ); ?>/> |
| 24 | <?php esc_html_e( 'right', 'advanced-ads' ); ?></label> |
| 25 | <p><label> |
| 26 | <input type="checkbox" name="advads[placements][<?php echo esc_attr( $_placement_slug ); ?>][options][placement_clearfix]" value="1" <?php checked( $_clearfix, 1 ); ?>/> |
| 27 | <?php |
| 28 | esc_html_e( 'Check this if you don’t want the following elements to float around the ad. (adds a placement_clearfix)', 'advanced-ads' ); |
| 29 | ?> |
| 30 | </label></p> |
| 31 |