PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.7
Pods – Custom Content Types and Fields v3.2.7
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / ui / admin / postbox-header.php
pods / ui / admin Last commit date
callouts 2 years ago upgrade 2 years ago widgets 2 years ago components-admin.php 2 years ago help-addons-row.php 2 years ago help-addons.php 2 years ago help.php 2 years ago postbox-header.php 2 years ago settings-reset.php 2 years ago settings-settings.php 2 years ago settings-tools.php 2 years ago settings.php 2 years ago setup-add.php 2 years ago setup-edit.php 2 years ago shortcode.php 2 years ago view.php 2 years ago
postbox-header.php
47 lines
1 <?php
2 // Don't load directly.
3 if ( ! defined( 'ABSPATH' ) ) {
4 die( '-1' );
5 }
6
7 /**
8 * @var string $title The header title.
9 */
10
11 $box_id = 'pods-ui-postbox-header-' . sanitize_title( $title );
12 ?>
13
14 <?php if ( version_compare( $GLOBALS['wp_version'], '5.5', '>=' ) ) : ?>
15 <div class="postbox-header">
16 <h2 class="hndle">
17 <span><?php echo esc_html( $title ); ?></span>
18 </h2>
19 <div class="handle-actions hide-if-no-js">
20 <?php
21 /* We need to build support for this later.
22 <button type="button" class="handle-order-higher" aria-disabled="false" aria-describedby="<?php echo esc_attr( $box_id ); ?>-handle-order-higher-description">
23 <span class="screen-reader-text"><?php esc_html_e( 'Move up', 'pods' ); ?></span>
24 <span class="order-higher-indicator" aria-hidden="true"></span>
25 </button>
26 <span class="hidden" id="<?php echo esc_attr( $box_id ); ?>-handle-order-higher-description"><?php esc_html_e( 'Move box up', 'pods' ); ?></span>
27 <button type="button" class="handle-order-lower" aria-disabled="false" aria-describedby="<?php echo esc_attr( $box_id ); ?>-handle-order-lower-description">
28 <span class="screen-reader-text"><?php esc_html_e( 'Move down', 'pods' ); ?></span>
29 <span class="order-lower-indicator" aria-hidden="true"></span>
30 </button>
31 */
32 ?>
33 <span class="hidden" id="<?php echo esc_attr( $box_id ); ?>-handle-order-lower-description"><?php esc_html_e( 'Move box down', 'pods' ); ?></span>
34 <button type="button" class="handlediv" aria-expanded="true">
35 <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel', 'pods' ); ?></span>
36 <span class="toggle-indicator" aria-hidden="true"></span>
37 </button>
38 </div>
39 </div>
40 <?php else : ?>
41 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'pods' ); ?>"><br></div>
42 <h3 class="hndle">
43 <span><?php echo esc_html( $title ); ?></span>
44 </h3>
45 <?php endif; ?>
46
47