help-tab
5 years ago
page
5 years ago
edit-actions.php
5 years ago
edit-addon.php
5 years ago
edit-column.php
5 years ago
edit-columns.php
5 years ago
edit-menu.php
5 years ago
edit-submenu.php
5 years ago
edit-tabmenu.php
5 years ago
loading-message.php
5 years ago
menu.php
5 years ago
mini-tooltip.php
5 years ago
modal-pro.php
5 years ago
side-banner.php
5 years ago
side-feedback.php
5 years ago
side-support.php
5 years ago
table.php
5 years ago
tooltip-body.php
5 years ago
tooltip-label.php
5 years ago
wrap.php
5 years ago
edit-columns.php
48 lines
| 1 | <?php |
| 2 | |
| 3 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | ?> |
| 8 | |
| 9 | <div class="ac-boxes <?= esc_attr( $this->class ); ?>"> |
| 10 | <div class="ac-columns"> |
| 11 | <?php wp_nonce_field( 'update-type', '_ac_nonce', false ); ?> |
| 12 | <input type="hidden" name="list_screen" value="<?= esc_attr( $this->list_screen ); ?>"/> |
| 13 | <input type="hidden" name="list_screen_id" value="<?= esc_attr( $this->list_screen_id ); ?>"> |
| 14 | |
| 15 | |
| 16 | <?php |
| 17 | foreach ( $this->columns as $column ) { |
| 18 | $view = new \AC\View( array( |
| 19 | 'column' => $column, |
| 20 | ) ); |
| 21 | |
| 22 | echo $view->set_template( 'admin/edit-column' ); |
| 23 | } |
| 24 | ?> |
| 25 | </div> |
| 26 | |
| 27 | <div class="column-footer"> |
| 28 | |
| 29 | <?php if ( $this->show_actions ) : ?> |
| 30 | |
| 31 | <div class="button-container"> |
| 32 | |
| 33 | <?php if ( $this->show_clear_all ) : ?> |
| 34 | <a class="clear-columns" data-clear-columns><?php _e( 'Clear all columns ', 'codepress-admin-columns' ) ?></a> |
| 35 | <?php endif; ?> |
| 36 | |
| 37 | <span class="spinner"></span> |
| 38 | <a class="button-primary submit update"><?php _e( 'Update' ); ?></a> |
| 39 | <a class="button-primary submit save"><?php _e( 'Save' ); ?></a> |
| 40 | <a class="add_column button">+ <?php _e( 'Add Column', 'codepress-admin-columns' ); ?></a> |
| 41 | </div> |
| 42 | |
| 43 | <?php endif; ?> |
| 44 | |
| 45 | </div> |
| 46 | |
| 47 | |
| 48 | </div> |