| @@ 286-292 (lines=7) @@ | ||
| 283 | $field_type = 'tinymce'; | |
| 284 | elseif ( 'cleditor' == pods_var( self::$type . '_editor', $options ) ) | |
| 285 | $field_type = 'cleditor'; | |
| 286 |         else { | |
| 287 | // Support custom WYSIWYG integration | |
| 288 | do_action( 'pods_form_ui_field_wysiwyg_' . pods_var( self::$type . '_editor', $options ), $name, $value, $options, $pod, $id ); | |
| 289 | do_action( 'pods_form_ui_field_wysiwyg', pods_var( self::$type . '_editor', $options ), $name, $value, $options, $pod, $id ); | |
| 290 | ||
| 291 | return; | |
| 292 | } | |
| 293 | ||
| 294 | pods_view( PODS_DIR . 'ui/fields/' . $field_type . '.php', compact( array_keys( get_defined_vars() ) ) ); | |
| 295 | } | |
| @@ 304-309 (lines=6) @@ | ||
| 301 | else | |
| 302 | $field_type = 'media'; | |
| 303 | } | |
| 304 |         else { | |
| 305 | // Support custom File Uploader integration | |
| 306 | do_action( 'pods_form_ui_field_file_uploader_' . pods_var( self::$type . '_uploader', $options ), $name, $value, $options, $pod, $id ); | |
| 307 | do_action( 'pods_form_ui_field_file_uploader', pods_var( self::$type . '_uploader', $options ), $name, $value, $options, $pod, $id ); | |
| 308 | return; | |
| 309 | } | |
| 310 | ||
| 311 | pods_view( PODS_DIR . 'ui/fields/' . $field_type . '.php', compact( array_keys( get_defined_vars() ) ) ); | |
| 312 | } | |