equal
deleted
inserted
replaced
52 'canInstall' => current_user_can( 'install_themes' ), |
52 'canInstall' => current_user_can( 'install_themes' ), |
53 'installURI' => current_user_can( 'install_themes' ) ? self_admin_url( 'theme-install.php' ) : null, |
53 'installURI' => current_user_can( 'install_themes' ) ? self_admin_url( 'theme-install.php' ) : null, |
54 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ), |
54 'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ), |
55 ), |
55 ), |
56 'l10n' => array( |
56 'l10n' => array( |
57 'addNew' => __( 'Add New Theme' ), |
57 'addNew' => __( 'Add Theme' ), |
58 'search' => __( 'Search Themes' ), |
58 'search' => __( 'Search Themes' ), |
59 'upload' => __( 'Upload Theme' ), |
59 'upload' => __( 'Upload Theme' ), |
60 'back' => __( 'Back' ), |
60 'back' => __( 'Back' ), |
61 'error' => sprintf( |
61 'error' => sprintf( |
62 /* translators: %s: Support forums URL. */ |
62 /* translators: %s: Support forums URL. */ |
228 $user = get_user_option( 'wporg_favorites' ); |
228 $user = get_user_option( 'wporg_favorites' ); |
229 } |
229 } |
230 ?> |
230 ?> |
231 <p class="install-help"><?php _e( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?></p> |
231 <p class="install-help"><?php _e( 'If you have marked themes as favorites on WordPress.org, you can browse them here.' ); ?></p> |
232 |
232 |
233 <p> |
233 <p class="favorites-username"> |
234 <label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label> |
234 <label for="wporg-username-input"><?php _e( 'Your WordPress.org username:' ); ?></label> |
235 <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> |
235 <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> |
236 <input type="search" id="wporg-username-input" value="<?php echo esc_attr( $user ); ?>" /> |
236 <input type="search" id="wporg-username-input" value="<?php echo esc_attr( $user ); ?>" /> |
237 <input type="button" class="button favorites-form-submit" value="<?php esc_attr_e( 'Get Favorites' ); ?>" /> |
237 <input type="button" class="button favorites-form-submit" value="<?php esc_attr_e( 'Get Favorites' ); ?>" /> |
238 </p> |
238 </p> |