|
@@ 382-390 (lines=9) @@
|
| 379 |
|
</label> |
| 380 |
|
<?php endif; ?> |
| 381 |
|
<# if ( 'audio' === data.type ) { #> |
| 382 |
|
<?php foreach ( array( |
| 383 |
|
'artist' => __( 'Artist' ), |
| 384 |
|
'album' => __( 'Album' ), |
| 385 |
|
) as $key => $label ) : ?> |
| 386 |
|
<label class="setting" data-setting="<?php echo esc_attr( $key ) ?>"> |
| 387 |
|
<span class="name"><?php echo $label ?></span> |
| 388 |
|
<input type="text" value="{{ data.<?php echo $key ?> || data.meta.<?php echo $key ?> || '' }}" /> |
| 389 |
|
</label> |
| 390 |
|
<?php endforeach; ?> |
| 391 |
|
<# } #> |
| 392 |
|
<label class="setting" data-setting="caption"> |
| 393 |
|
<span class="name"><?php _e( 'Caption' ); ?></span> |
|
@@ 561-569 (lines=9) @@
|
| 558 |
|
</label> |
| 559 |
|
<?php endif; ?> |
| 560 |
|
<# if ( 'audio' === data.type ) { #> |
| 561 |
|
<?php foreach ( array( |
| 562 |
|
'artist' => __( 'Artist' ), |
| 563 |
|
'album' => __( 'Album' ), |
| 564 |
|
) as $key => $label ) : ?> |
| 565 |
|
<label class="setting" data-setting="<?php echo esc_attr( $key ) ?>"> |
| 566 |
|
<span class="name"><?php echo $label ?></span> |
| 567 |
|
<input type="text" value="{{ data.<?php echo $key ?> || data.meta.<?php echo $key ?> || '' }}" /> |
| 568 |
|
</label> |
| 569 |
|
<?php endforeach; ?> |
| 570 |
|
<# } #> |
| 571 |
|
<label class="setting" data-setting="caption"> |
| 572 |
|
<span class="name"><?php _e('Caption'); ?></span> |