← All changes
|
classes/views/frm-fields/back-end/input-mask-info.php
+26
-16
6.5
→
trunk
View file →
| @@ -1,31 +1,41 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Input mask info panel content. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + */ | |
| 7 | + | |
| 2 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 9 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 10 | } |
| 5 | 11 | ?> |
| 6 | -<p class="howto"> | |
| 12 | +<p class="howto frm-mt-sm frm-italic"> | |
| 7 | 13 | <?php esc_html_e( 'To create a custom input mask, you’ll need to use this specific set of symbols:', 'formidable' ); ?> |
| 8 | 14 | </p> |
| 9 | -<p> | |
| 10 | - 9 - <?php esc_html_e( 'Numeric', 'formidable' ); ?> (0-9)<br/> | |
| 11 | - a - <?php esc_html_e( 'Alphabetical', 'formidable' ); ?> (a-z, A-Z)<br/> | |
| 12 | - * - <?php esc_html_e( 'Alphanumeric', 'formidable' ); ?> (0-9, a-z, A-Z)<br/> | |
| 15 | +<p class="frm-mt-0 frm-text-md"> | |
| 16 | + <span class="frm-block frm-mb-2xs">9 - <?php esc_html_e( 'Numeric', 'formidable' ); ?> (0-9)</span> | |
| 17 | + <span class="frm-block frm-mb-2xs">a - <?php esc_html_e( 'Alphabetical', 'formidable' ); ?> (a-z, A-Z)</span> | |
| 18 | + <span class="frm-block frm-mb-2xs">* - <?php esc_html_e( 'Alphanumeric', 'formidable' ); ?> (0-9, a-z, A-Z)</span> | |
| 13 | 19 | </p> |
| 14 | -<p> | |
| 15 | - <?php esc_html_e( 'Example:', 'formidable' ); ?> 1 (999)-999-9999 | |
| 16 | -</p> | |
| 17 | -<p> | |
| 18 | - <a href="<?php | |
| 19 | - echo esc_url( | |
| 20 | +<span class="frm-hr"></span> | |
| 21 | +<p class="frm-h-stack-xs"> | |
| 22 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_file_text2_icon frm_svg24' ); ?> | |
| 23 | + <span> | |
| 24 | + <?php | |
| 25 | + printf( | |
| 26 | + // translators: %1s: open anchor tag, %2s: close anchor tag | |
| 27 | + esc_html__( 'More examples on our %1$sdocs page%2$s.', 'formidable' ), | |
| 28 | + '<a class="frm-link-secondary" href="' . esc_url( | |
| 20 | 29 | FrmAppHelper::admin_upgrade_link( |
| 21 | 30 | array( |
| 22 | - 'medium' => 'builder', | |
| 31 | + 'medium' => 'builder', | |
| 23 | 32 | 'content' => 'inputmask', |
| 24 | 33 | ), |
| 25 | 34 | 'knowledgebase/format/' |
| 26 | 35 | ) |
| 27 | - ); | |
| 28 | - ?>" target="_blank" rel="noopener"> | |
| 29 | - <?php esc_html_e( 'See more examples and docs', 'formidable' ); ?> | |
| 30 | - </a> | |
| 36 | + ) . '" target="_blank" rel="noopener">', | |
| 37 | + '</a>' | |
| 38 | + ); | |
| 39 | + ?> | |
| 40 | + </span> | |
| 31 | 41 | </p> |