Changeset 7294
- Timestamp:
- 03/14/2008 06:22:19 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/install.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r7199 r7294 48 48 <table class="form-table"> 49 49 <tr> 50 <th scope="row">< ?php _e('Blog Title'); ?></th>50 <th scope="row"><label for="weblog_title"><?php _e('Blog Title'); ?></label></th> 51 51 <td><input name="weblog_title" type="text" id="weblog_title" size="25" /></td> 52 52 </tr> 53 53 <tr> 54 <th ><?php _e('Your E-mail'); ?></th>54 <th scope="row"><label for="admin_email"><?php _e('Your E-mail'); ?></label></th> 55 55 <td><input name="admin_email" type="text" id="admin_email" size="25" /><br /> 56 56 <?php _e('Double-check your email address before continuing.'); ?> … … 77 77 if (empty($admin_email)) { 78 78 // TODO: poka-yoke 79 die( __("<p><strong>ERROR</strong>: you must provide an e-mail address.</p>"));79 die('<p>'.__("<strong>ERROR</strong>: you must provide an e-mail address.").'</p>'); 80 80 } else if (!is_email($admin_email)) { 81 81 // TODO: poka-yoke 82 die( __('<strong>ERROR</strong>: that isn\'t a valid e-mail address. E-mail addresses look like: <code>username@example.com</code>'));82 die('<p>'.__('<strong>ERROR</strong>: that isn’t a valid e-mail address. E-mail addresses look like: <code>username@example.com</code>').'</p>'); 83 83 } 84 84 … … 100 100 <th><?php _e('Password'); ?></th> 101 101 <td><code><?php echo $password; ?></code><br /> 102 <?php _e('<p><strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.</p>'); ?></td>102 <?php echo '<p>'.__('<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.').'</p>'; ?></td> 103 103 </tr> 104 104 </table> … … 110 110 } 111 111 ?> 112 <script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script> 112 113 </body> 113 114 </html>
Note: See TracChangeset
for help on using the changeset viewer.