Created
December 22, 2017 12:36
-
-
Save danyj/c1425abdadfddd948ddcf2027722b55c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined( 'FW' ) ) { die( 'Forbidden' ); } | |
/** | |
* @var string $id | |
* @var array $option | |
* @var array $data | |
* @var array $inner_option | |
*/ | |
{ | |
$div_attr = $option['attr']; | |
unset( | |
$div_attr['value'], | |
$div_attr['name'] | |
); | |
} | |
?> | |
<div <?php echo fw_attr_to_html($div_attr) ?>> | |
<?php | |
echo fw()->backend->option_type( 'multi-picker' )->render( | |
$id, | |
$inner_option, | |
array( | |
'value' => array( | |
'picked' => fw_akg('value/animate',$data,'inactive'), | |
'active' => array( | |
'effect' => fw_akg('value/effect',$data,'thz-anim-fadeIn'), | |
'duration' => fw_akg('value/duration',$data,1000), | |
'delay' => fw_akg('value/delay',$data,0), | |
), | |
), | |
'id_prefix' => $data['id_prefix'] .'inner-', | |
'name_prefix' => $data['name_prefix'], | |
) | |
); | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment