wp/wp-admin/setup-config.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   103 	header( 'Content-Type: text/html; charset=utf-8' );
   103 	header( 'Content-Type: text/html; charset=utf-8' );
   104 	?>
   104 	?>
   105 <!DOCTYPE html>
   105 <!DOCTYPE html>
   106 <html<?php echo $dir_attr; ?>>
   106 <html<?php echo $dir_attr; ?>>
   107 <head>
   107 <head>
   108 	<meta name="viewport" content="width=device-width" />
   108 	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
   109 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   109 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   110 	<meta name="robots" content="noindex,nofollow" />
   110 	<meta name="robots" content="noindex,nofollow" />
   111 	<title><?php _e( 'WordPress &rsaquo; Setup Configuration File' ); ?></title>
   111 	<title><?php _e( 'WordPress &rsaquo; Setup Configuration File' ); ?></title>
   112 	<?php wp_admin_css( 'install', true ); ?>
   112 	<?php wp_admin_css( 'install', true ); ?>
   113 </head>
   113 </head>
   225 <form method="post" action="setup-config.php?step=2">
   225 <form method="post" action="setup-config.php?step=2">
   226 	<p><?php _e( 'Below you should enter your database connection details. If you are not sure about these, contact your host.' ); ?></p>
   226 	<p><?php _e( 'Below you should enter your database connection details. If you are not sure about these, contact your host.' ); ?></p>
   227 	<table class="form-table" role="presentation">
   227 	<table class="form-table" role="presentation">
   228 		<tr>
   228 		<tr>
   229 			<th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
   229 			<th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
   230 			<td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" placeholder="wordpress"<?php echo $autofocus; ?>/>
   230 			<td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" placeholder="wordpress"<?php echo $autofocus; ?> />
   231 			<p id="dbname-desc"><?php _e( 'The name of the database you want to use with WordPress.' ); ?></p></td>
   231 			<p id="dbname-desc"><?php _e( 'The name of the database you want to use with WordPress.' ); ?></p></td>
   232 		</tr>
   232 		</tr>
   233 		<tr>
   233 		<tr>
   234 			<th scope="row"><label for="uname"><?php _e( 'Username' ); ?></label></th>
   234 			<th scope="row"><label for="uname"><?php _e( 'Username' ); ?></label></th>
   235 			<td><input name="uname" id="uname" type="text" aria-describedby="uname-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" />
   235 			<td><input name="uname" id="uname" type="text" aria-describedby="uname-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" />