';
foreach ( $medias as $key => $default_value ) {
switch ( $key ) {
case 'Desktop':
$class = 'required';
$data_id = strtolower( ( preg_replace( '/\s+/', '_', $key ) ) );
$dashicon = "
";
$icons = 'simplify-icon dashicons dashicons-arrow-right-alt2';
if ( is_rtl() ) {
$icons = 'simplify-icon dashicons dashicons-arrow-left-alt2';
}
$html .= $this->ultimate_responsive_param_media( $class, $dashicon, $key, $default_value, $unit, $data_id );
$html .= "
" . __( 'Responsive Options', 'ultimate_vc' ) . "
";
break;
case 'Tablet':
$class = 'optional';
$data_id = strtolower( ( preg_replace( '/\s+/', '_', $key ) ) );
$dashicon = "
";
$html .= $this->ultimate_responsive_param_media( $class, $dashicon, $key, $default_value, $unit, $data_id );
break;
case 'Tablet Portrait':
$class = 'optional';
$data_id = strtolower( ( preg_replace( '/\s+/', '_', $key ) ) );
$dashicon = "
";
$html .= $this->ultimate_responsive_param_media( $class, $dashicon, $key, $default_value, $unit, $data_id );
break;
case 'Mobile Landscape':
$class = 'optional';
$data_id = strtolower( ( preg_replace( '/\s+/', '_', $key ) ) );
$dashicon = "
";
$html .= $this->ultimate_responsive_param_media( $class, $dashicon, $key, $default_value, $unit, $data_id );
break;
case 'Mobile':
$class = 'optional';
$data_id = strtolower( ( preg_replace( '/\s+/', '_', $key ) ) );
$dashicon = "
";
$html .= $this->ultimate_responsive_param_media( $class, $dashicon, $key, $default_value, $unit, $data_id );
break;
}
}
$html .= '