Changeset 29020
- Timestamp:
- 07/08/2014 12:29:47 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/install.css
r28983 r29020 338 338 } 339 339 340 /* TODO:add focus style via JS */341 340 .language-chooser fieldset.focus { 342 341 border-color: #5b9dd9; … … 356 355 .language-chooser input:checked + label{ 357 356 color:white; 357 background: #777; 358 } 359 360 .language-chooser .focus input:checked + label{ 358 361 background: #0074A2; 362 } 363 364 .language-chooser label:hover { 365 background: #eee; 359 366 } 360 367 … … 374 381 border: 0; 375 382 } 383 384 } -
trunk/src/wp-admin/includes/upgrade.php
r29018 r29020 2163 2163 echo "<fieldset>\n"; 2164 2164 echo "<legend class='screen-reader-text'>Select a default language</legend>\n"; 2165 echo '<input type="radio" checked="checked" class="screen-reader-input " name="language" id="language_default" value="">';2165 echo '<input type="radio" checked="checked" class="screen-reader-input language-chooser-input" name="language" id="language_default" value="">'; 2166 2166 echo '<label for="language_default">English (United States)</label>'; 2167 2167 echo "\n"; … … 2176 2176 2177 2177 foreach ( $languages as $language ) { 2178 echo '<input type="radio" name="language" class="' . esc_attr( $language['language'] ) . ' screen-reader-input " id="language_'. esc_attr( $language['language'] ) .'" value="' . esc_attr( $language['language'] ) . '">';2178 echo '<input type="radio" name="language" class="' . esc_attr( $language['language'] ) . ' screen-reader-input language-chooser-input" id="language_'. esc_attr( $language['language'] ) .'" value="' . esc_attr( $language['language'] ) . '">'; 2179 2179 echo '<label for="language_' . esc_attr( $language['language'] ) . '">' . esc_html( $language['native_name'] ) . "</label>\n"; 2180 2180 } -
trunk/src/wp-admin/install.php
r29018 r29020 282 282 <?php } ?> 283 283 <?php wp_print_scripts( 'user-profile' ); ?> 284 <?php wp_print_scripts( 'language-chooser' ); ?> 284 285 </body> 285 286 </html> -
trunk/src/wp-admin/setup-config.php
r29018 r29020 320 320 } 321 321 ?> 322 <?php wp_print_scripts( 'language-chooser' ); ?> 322 323 </body> 323 324 </html> -
trunk/src/wp-includes/script-loader.php
r28992 r29020 346 346 347 347 $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), false, 1 ); 348 $scripts->add( 'language-chooser', "/wp-admin/js/language-chooser$suffix.js", array( 'jquery' ), false, 1 ); 348 349 349 350 $scripts->add( 'user-suggest', "/wp-admin/js/user-suggest$suffix.js", array( 'jquery-ui-autocomplete' ), false, 1 );
Note: See TracChangeset
for help on using the changeset viewer.