wp/wp-admin/includes/theme-install.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   181 	?>
   181 	?>
   182 <p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install or update it by uploading it here.' ); ?></p>
   182 <p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install or update it by uploading it here.' ); ?></p>
   183 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url( 'update.php?action=upload-theme' ); ?>">
   183 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url( 'update.php?action=upload-theme' ); ?>">
   184 	<?php wp_nonce_field( 'theme-upload' ); ?>
   184 	<?php wp_nonce_field( 'theme-upload' ); ?>
   185 	<label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label>
   185 	<label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label>
   186 	<input type="file" id="themezip" name="themezip" accept=".zip"/>
   186 	<input type="file" id="themezip" name="themezip" accept=".zip" />
   187 	<?php submit_button( __( 'Install Now' ), '', 'install-theme-submit', false ); ?>
   187 	<?php submit_button( __( 'Install Now' ), '', 'install-theme-submit', false ); ?>
   188 </form>
   188 </form>
   189 	<?php
   189 	<?php
   190 }
   190 }
   191 
   191