notices
9 years ago
ad-display-metabox.php
8 years ago
ad-group-edit.php
9 years ago
ad-group-list-ads.php
9 years ago
ad-group-list-form-row.php
9 years ago
ad-group-list-header.php
10 years ago
ad-group-list-row.php
10 years ago
ad-group.php
9 years ago
ad-info-after-textarea.php
9 years ago
ad-info-bottom.php
8 years ago
ad-info-top.php
8 years ago
ad-info.php
10 years ago
ad-list-details-column.php
10 years ago
ad-list-filters.php
9 years ago
ad-list-no-ads.php
8 years ago
ad-list-timing-column.php
8 years ago
ad-main-metabox.php
9 years ago
ad-output-metabox.php
9 years ago
ad-parameters-metabox.php
9 years ago
ad-parameters-size.php
9 years ago
ad-submitbox-meta.php
9 years ago
ad-visitor-metabox.php
8 years ago
checks.php
8 years ago
feedback-disable.php
8 years ago
index.php
12 years ago
overview-addons-line.php
9 years ago
overview-widget.php
9 years ago
overview.php
9 years ago
pitch-bundle.php
8 years ago
pitch-pro-tab.php
8 years ago
pitch-tracking.php
8 years ago
placement-injection-top.php
8 years ago
placements-ad-label-position.php
9 years ago
placements-ad-label.php
9 years ago
placements-content-index.php
9 years ago
placements-item.php
9 years ago
placements.php
8 years ago
post-ad-settings-metabox.php
9 years ago
setting-license.php
8 years ago
setting-target.php
8 years ago
settings-disable-ads.php
10 years ago
settings.php
8 years ago
support.php
8 years ago
placements-content-index.php
21 lines
| 1 | <?php $_positions = array('after' => __( 'after', 'advanced-ads' ), 'before' => __( 'before', 'advanced-ads' )); ?> |
| 2 | <select name="advads[placements][<?php echo $_placement_slug; ?>][options][position]"> |
| 3 | <?php foreach ( $_positions as $_pos_key => $_pos ) : ?> |
| 4 | <option value="<?php echo $_pos_key; ?>" <?php if ( isset($_placement['options']['position']) ) { selected( $_placement['options']['position'], $_pos_key ); } ?>><?php echo $_pos; ?></option> |
| 5 | <?php endforeach; ?> |
| 6 | </select> |
| 7 | |
| 8 | <input type="number" name="advads[placements][<?php echo $_placement_slug; ?>][options][index]" value="<?php |
| 9 | echo (isset($_placement['options']['index'])) ? $_placement['options']['index'] : 1; |
| 10 | ?>"/>. |
| 11 | |
| 12 | <?php $tags = Advanced_Ads_Placements::tags_for_content_injection(); ?> |
| 13 | <select name="advads[placements][<?php echo $_placement_slug; ?>][options][tag]"> |
| 14 | <?php foreach ( $tags as $_tag_key => $_tag ) : ?> |
| 15 | <option value="<?php echo $_tag_key; ?>" <?php if ( isset($_placement['options']['tag']) ) { selected( $_placement['options']['tag'], $_tag_key ); } ?>><?php echo $_tag; ?></option> |
| 16 | <?php endforeach; ?> |
| 17 | </select> |
| 18 | |
| 19 | <p><label><input type="checkbox" name="advads[placements][<?php echo $_placement_slug; ?>][options][start_from_bottom]" value="1" <?php |
| 20 | if (isset($_placement['options']['start_from_bottom'])) { checked( $_placement['options']['start_from_bottom'], 1); } |
| 21 | ?>/><?php _e( 'start counting from bottom', 'advanced-ads' ); ?></label></p> |