PluginProbe
Admin Columns / 4.3.2
Admin Columns v4.3.2
7.1.4 7.0.19 2.3.5 2.4 2.4.1 2.4.10 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.6.1 2.5.6.2 2.5.6.3 2.5.6.4 3.0 3.0.1 All 113 releases
codepress-admin-columns / templates / admin / edit-actions.php
edit-actions.php
46 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 /**
7 * @global string $label_main
8 * @global string $label_second
9 * @global string $list_screen_key
10 * @global string $list_screen_id
11 * @global string $delete_confirmation_message
12 */
13
14 ?>
15
16 <div class="sidebox form-actions">
17 <h3>
18 <span class="left"><?php echo esc_html( $this->label_main ); ?></span>
19 <?php echo $this->label_second; ?>
20 </h3>
21
22 <div class="form-update">
23 <a class="button-primary submit update"><?php _e( 'Update' ); ?></a>
24 <a class="button-primary submit save"><?php _e( 'Save' ); ?></a>
25 </div>
26
27 <form class="form-reset" method="post">
28 <input type="hidden" name="list_screen" value="<?php echo esc_attr( $this->list_screen_key ); ?>"/>
29 <input type="hidden" name="layout" value="<?php echo esc_attr( $this->list_screen_id ); ?>"/>
30 <input type="hidden" name="action" value="restore_by_type"/>
31 <input type="hidden" name="_ac_nonce" value="<?= wp_create_nonce( 'restore-type' ); ?>"/>
32
33 <?php if ( $this->delete_confirmation_message ) : ?>
34 <input class="reset-column-type" type="submit" value="<?php _e( 'Restore columns', 'codepress-admin-columns' ); ?>"
35 onclick="return confirm( '<?php echo esc_js( $this->delete_confirmation_message ); ?>'); ">
36 <?php else : ?>
37 <input class="reset-column-type" type="submit" value="<?php _e( 'Restore columns', 'codepress-admin-columns' ); ?>">
38 <?php endif; ?>
39
40 <small class="list-screen-type"><?= sprintf( '%s: %s', __( 'Key', 'codepress-admin-columns' ), $this->list_screen_key ); ?></small>
41 <small class="list-screen-id"><?= sprintf( '%s: %s', __( 'ID', 'codepress-admin-columns' ), $this->list_screen_id ); ?></small>
42
43 <span class="spinner"></span>
44 </form>
45
46 </div>