%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/plugins/profile-builder/assets/lib/wck-api/fields/ |
Current File : /home/tradesc/www/relax/wp-content/plugins/profile-builder/assets/lib/wck-api/fields/datepicker.php |
<?php /* @param string $meta Meta name. * @param array $details Contains the details for the field. * @param string $value Contains input value; * @param string $context Context where the function is used. Depending on it some actions are preformed.; * @return string $element input element html string. */ $element .= '<input type="text" name="'. $single_prefix . esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'" id="'; if( !empty( $frontend_prefix ) ) $element .= $frontend_prefix; $element .= esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'" value="'. esc_attr( $value ) .'" class="mb-datepicker mb-field"/>'; $element .= '<script type="text/javascript">jQuery( function(){jQuery(".mb-datepicker").datepicker({'. apply_filters('wck-datepicker-args', 'dateFormat : "dd-mm-yy",changeMonth: true,changeYear: true') .'})});</script>'; ?>