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
ad-info-top.php
28 lines
| 1 | <?php // display ad wizard controls |
| 2 | ?><button type="button" id="advads-start-wizard" class="dashicons-before dashicons-controls-play page-title-action"><?php _e('Start Wizard', 'advanced-ads'); ?></button> |
| 3 | <button type="button" id="advads-stop-wizard" class="advads-stop-wizard dashicons-before dashicons-no page-title-action hidden"><?php _e('Stop Wizard', 'advanced-ads'); ?></button> |
| 4 | <script> |
| 5 | // move wizard button to head |
| 6 | jQuery('#advads-start-wizard').appendTo('h1'); |
| 7 | jQuery('.advads-stop-wizard').insertAfter('h1'); |
| 8 | </script> |
| 9 | <?php // show wizard welcome message |
| 10 | if( $this->show_wizard_welcome() || ! Advanced_Ads::get_number_of_ads() ) : ?> |
| 11 | <div class="advads-ad-metabox postbox"> |
| 12 | <?php if( ! Advanced_Ads::get_number_of_ads() ){ |
| 13 | include ADVADS_BASE_PATH . 'admin/views/ad-list-no-ads.php'; |
| 14 | } if( $this->show_wizard_welcome() ) : ?> |
| 15 | <div id="advads-wizard-welcome"> |
| 16 | <br/><?php /* |
| 17 | <h2><?php _e( 'Welcome to the Wizard', 'advanced-ads' ); ?></h2> |
| 18 | <p><?php _e( 'The Wizard helps you to quickly create and publish an ad. Therefore, only the most common options are visible.', 'advanced-ads' ); ?></p>*/ |
| 19 | ?><a class="advads-stop-wizard dashicons-before dashicons-no" style="line-height: 1.6em; cursor: pointer;"><?php _e('Stop Wizard and show all options', 'advanced-ads'); ?></a> |
| 20 | </div> |
| 21 | <script> |
| 22 | // move wizard button to head |
| 23 | jQuery('#advads-hide-wizard-welcome').click( function(){ jQuery( '#advads-wizard-welcome' ).remove(); }); |
| 24 | jQuery('#advads-end-wizard').insertBefore('h1'); |
| 25 | </script> |
| 26 | <?php endif; |
| 27 | ?></div><?php |
| 28 | endif; |