|
@@ 568-576 (lines=9) @@
|
| 565 |
|
</label> |
| 566 |
|
<?php endif; ?> |
| 567 |
|
<# if ( 'audio' === data.type ) { #> |
| 568 |
|
<?php foreach ( array( |
| 569 |
|
'artist' => __( 'Artist' ), |
| 570 |
|
'album' => __( 'Album' ), |
| 571 |
|
) as $key => $label ) : ?> |
| 572 |
|
<label class="setting" data-setting="<?php echo esc_attr( $key ) ?>"> |
| 573 |
|
<span class="name"><?php echo $label ?></span> |
| 574 |
|
<input type="text" value="{{ data.<?php echo $key ?> || data.meta.<?php echo $key ?> || '' }}" /> |
| 575 |
|
</label> |
| 576 |
|
<?php endforeach; ?> |
| 577 |
|
<# } #> |
| 578 |
|
<label class="setting" data-setting="caption"> |
| 579 |
|
<span class="name"><?php _e('Caption'); ?></span> |
|
@@ 387-395 (lines=9) @@
|
| 384 |
|
</label> |
| 385 |
|
<?php endif; ?> |
| 386 |
|
<# if ( 'audio' === data.type ) { #> |
| 387 |
|
<?php foreach ( array( |
| 388 |
|
'artist' => __( 'Artist' ), |
| 389 |
|
'album' => __( 'Album' ), |
| 390 |
|
) as $key => $label ) : ?> |
| 391 |
|
<label class="setting" data-setting="<?php echo esc_attr( $key ) ?>"> |
| 392 |
|
<span class="name"><?php echo $label ?></span> |
| 393 |
|
<input type="text" value="{{ data.<?php echo $key ?> || data.meta.<?php echo $key ?> || '' }}" /> |
| 394 |
|
</label> |
| 395 |
|
<?php endforeach; ?> |
| 396 |
|
<# } #> |
| 397 |
|
<label class="setting" data-setting="caption"> |
| 398 |
|
<span class="name"><?php _e( 'Caption' ); ?></span> |