README update use local images #62

Merged
lemsmyth merged 22 commits from lbry-publish into master 2022-02-14 18:47:01 +01:00
Showing only changes of commit 558cf08965 - Show all commits

View file

@ -33,7 +33,7 @@ usort( $channels, array( 'LBRYPress', 'channel_name_comp' ) );
if ( $channels ) { if ( $channels ) {
foreach ( $channels as $index=>$channel ) { foreach ( $channels as $index=>$channel ) {
$options .= '<option class="lbry-meta-bx-option lbry-meta-option-channel" value="' . esc_attr( $channel->claim_id ) . '"'; $options .= '<option class="lbry-meta-bx-option lbry-meta-option-channel" value="' . esc_attr( $channel->claim_id ) . '"';
if ( ( $cur_channel ) ? $cur_channel : $cur_channel = $default_channel ) { if ( isset( $cur_channel ) ? $cur_channel : $cur_channel = $default_channel ) {
$options .= selected( $cur_channel, $channel->claim_id, false ); $options .= selected( $cur_channel, $channel->claim_id, false );
} }
$options .= '>' . esc_html__( $channel->name, 'lbrypress' ) . '</option>'; $options .= '>' . esc_html__( $channel->name, 'lbrypress' ) . '</option>';
@ -54,7 +54,7 @@ usort( $channels, array( 'LBRYPress', 'channel_name_comp' ) );
if ( $licenses ) { if ( $licenses ) {
foreach ( $licenses as $value => $name ) { foreach ( $licenses as $value => $name ) {
$options .= '<option class="lbry-meta-bx-option lbry-meta-bx-option-last lbry-meta-option-license" value="' . esc_attr( $value ) . '"'; $options .= '<option class="lbry-meta-bx-option lbry-meta-bx-option-last lbry-meta-option-license" value="' . esc_attr( $value ) . '"';
if ( ( $cur_license ) ? $cur_license : $cur_license = $default_license ) { if ( isset( $cur_license ) ? $cur_license : $cur_license = $default_license ) {
$options .= selected( $cur_license, $value, false ); $options .= selected( $cur_license, $value, false );
} }
$options .= '>'. esc_html__( $name, 'lbrypress' ) . '</option>'; $options .= '>'. esc_html__( $name, 'lbrypress' ) . '</option>';