PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.8.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.8.2
4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.5.2 All 199 releases
betterdocs / views / admin / customizer / controls / multidimension.php

multidimension.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.8.2, at views/admin/customizer/controls/multidimension.php

48 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @var object $control
4 */
5
6 if ( $hasLabel ):
7 ?>
8 <span class="customize-control-title">
9 <?php echo sanitize_text_field( $label ); ?>
10 <a
11 href="#"
12 title="<?php esc_attr_e( __( 'Reset', 'betterdocs' ) );?>"
13 class="<?php esc_attr_e( $control->type );?> betterdocs-customizer-reset">
14 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="20px"><path d="M 25 2 C 12.321124 2 2 12.321124 2 25 C 2 37.678876 12.321124 48 25 48 C 37.678876 48 48 37.678876 48 25 A 2.0002 2.0002 0 1 0 44 25 C 44 35.517124 35.517124 44 25 44 C 14.482876 44 6 35.517124 6 25 C 6 14.482876 14.482876 6 25 6 C 30.475799 6 35.391893 8.3080175 38.855469 12 L 35 12 A 2.0002 2.0002 0 1 0 35 16 L 46 16 L 46 5 A 2.0002 2.0002 0 0 0 43.970703 2.9726562 A 2.0002 2.0002 0 0 0 42 5 L 42 9.5253906 C 37.79052 4.9067015 31.727675 2 25 2 z"></path></svg>
15 </a>
16 </span>
17 <?php endif;?>
18
19 <?php if ( $hasDescription ): ?>
20 <span class="description customize-control-description">
21 <?php _e( $description );?>
22 </span>
23 <?php endif;?>
24
25 <input type="hidden" value="" class="betterdocs-dimension-control <?php echo esc_attr( $control->id ) ?>" data-customize-setting-link="<?php echo esc_attr( $control->id ); ?>">
26 <ul class="betterdocs-dimension-fields">
27 <li class="betterdocs-dimension-link">
28 <span class="dashicons dashicons-admin-links betterdocs-dimension-connected" data-element-connect="<?php echo esc_attr( $control->id ) ?>" title="Link Values Together"></span>
29 <span class="dashicons dashicons-editor-unlink betterdocs-dimension-disconnected" data-element-connect="<?php echo esc_attr( $control->id ) ?>" title="Link Values Together"></span>
30 </li>
31 <li class="dimension-field">
32 <input type="number" class="betterdocs-dimension-input betterdocs-dimension-input-1 disconnected" value="<?php echo esc_attr( $dimension_val['input1'] ); ?>" data-element-connect="<?php echo esc_attr( $control->id ) ?>" data-input="input1">
33 <span class="dimension-title"><?php echo $control->input_fields['input1'] ?></span>
34 </li>
35 <li class="dimension-field">
36 <input type="number" class="betterdocs-dimension-input betterdocs-dimension-input-2 disconnected" value="<?php echo esc_attr( $dimension_val['input2'] ); ?>" data-element-connect="<?php echo esc_attr( $control->id ) ?>" data-input="input2">
37 <span class="dimension-title"><?php echo $control->input_fields['input2'] ?></span>
38 </li>
39 <li class="dimension-field">
40 <input type="number" class="betterdocs-dimension-input betterdocs-dimension-input-3 disconnected" value="<?php echo esc_attr( $dimension_val['input3'] ); ?>" data-element-connect="<?php echo esc_attr( $control->id ) ?>" data-input="input3">
41 <span class="dimension-title"><?php echo $control->input_fields['input3'] ?></span>
42 </li>
43 <li class="dimension-field">
44 <input type="number" class="betterdocs-dimension-input betterdocs-dimension-input-4 disconnected" value="<?php echo esc_attr( $dimension_val['input4'] ); ?>" data-element-connect="<?php echo esc_attr( $control->id ) ?>" data-input="input4">
45 <span class="dimension-title"><?php echo $control->input_fields['input4'] ?></span>
46 </li>
47 </ul>
48