PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.1.4.3
Pods – Custom Content Types and Fields v3.1.4.3
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 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 / fields / phone.php
pods / ui / fields Last commit date
_comment.php 2 days ago _db.php 2 days ago _hidden.php 2 days ago _label.php 2 days ago _row.php 2 days ago attachment.php 2 days ago checkbox.php 2 days ago cleditor.php 2 days ago codemirror.php 2 days ago color.php 2 days ago currency.php 2 days ago date.php 2 days ago datetime.php 2 days ago email.php 2 days ago link.php 2 days ago number.php 2 days ago oembed.php 2 days ago password.php 2 days ago phone.php 2 days ago radio.php 2 days ago select.php 2 days ago slider.php 2 days ago slug.php 2 days ago text.php 2 days ago textarea.php 2 days ago time.php 2 days ago tinymce.php 2 days ago website.php 2 days ago
phone.php
23 lines
1 <?php
2 // Don't load directly.
3 if ( ! defined( 'ABSPATH' ) ) {
4 die( '-1' );
5 }
6
7 $attributes = array();
8
9 $type = 'text';
10
11 if ( 1 == pods_var( 'phone_html5', $options ) ) {
12 $type = 'tel';
13 }
14
15 $attributes['type'] = $type;
16 $attributes['value'] = $value;
17 $attributes['tabindex'] = 2;
18 $attributes = PodsForm::merge_attributes( $attributes, $name, $form_field_type, $options );
19 ?>
20 <input<?php PodsForm::attributes( $attributes, $name, $form_field_type, $options ); ?> />
21 <?php
22 PodsForm::regex( $form_field_type, $options );
23