| @@ 287-293 (lines=7) @@ | ||
| 284 | $field_type = 'tinymce'; |
|
| 285 | elseif ( 'cleditor' == pods_var( self::$type . '_editor', $options ) ) |
|
| 286 | $field_type = 'cleditor'; |
|
| 287 | else { |
|
| 288 | // Support custom WYSIWYG integration |
|
| 289 | do_action( 'pods_form_ui_field_wysiwyg_' . pods_var( self::$type . '_editor', $options ), $name, $value, $options, $pod, $id ); |
|
| 290 | do_action( 'pods_form_ui_field_wysiwyg', pods_var( self::$type . '_editor', $options ), $name, $value, $options, $pod, $id ); |
|
| 291 | ||
| 292 | return; |
|
| 293 | } |
|
| 294 | ||
| 295 | pods_view( PODS_DIR . 'ui/fields/' . $field_type . '.php', compact( array_keys( get_defined_vars() ) ) ); |
|
| 296 | } |
|
| @@ 356-361 (lines=6) @@ | ||
| 353 | else |
|
| 354 | $field_type = 'media'; |
|
| 355 | } |
|
| 356 | else { |
|
| 357 | // Support custom File Uploader integration |
|
| 358 | do_action( 'pods_form_ui_field_file_uploader_' . pods_var( self::$type . '_uploader', $options ), $name, $value, $options, $pod, $id ); |
|
| 359 | do_action( 'pods_form_ui_field_file_uploader', pods_var( self::$type . '_uploader', $options ), $name, $value, $options, $pod, $id ); |
|
| 360 | return; |
|
| 361 | } |
|
| 362 | ||
| 363 | pods_view( PODS_DIR . 'ui/fields/' . $field_type . '.php', compact( array_keys( get_defined_vars() ) ) ); |
|
| 364 | } |
|