diff --git a/templates/channel-edit-page.php b/templates/channel-edit-page.php new file mode 100644 index 0000000..cf2ec50 --- /dev/null +++ b/templates/channel-edit-page.php @@ -0,0 +1,201 @@ + + + +
+ + + + + + '> + +

+ ' . esc_html__( '%1$s', 'lbrypress' ) . ' +

Claim ID: ' . esc_html__( '%2$s', 'lbrypress' ) . '

', + $lbry_url, + $claim_id, + ); + } ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+
+ items[0]->amount; ?> - name, 'lbrypress' ); ?> + name, 'lbrypress' ); ?> @@ -91,7 +91,8 @@ if ( current_user_can( 'manage_options' ) ) { -

+

+

Create a Channel that can be edited later to add details or set-up a complete Channel now.

diff --git a/templates/options-page.php b/templates/options-page.php index 2224e06..0a800aa 100644 --- a/templates/options-page.php +++ b/templates/options-page.php @@ -26,16 +26,25 @@ $lbry_active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'general'; '' . esc_html__( 'Supports', 'lbrypress') . '', $admin_url, ); + } + if ( $lbry_active_tab == 'channel-edit' ) { + $admin_url = admin_url( 'admin.php?page=lbrypress&tab=channel-edit' ); + printf( + '' . esc_html__( 'Channel', 'lbrypress' ) . '', + $admin_url, + ); } ?> -