Changeset 14425
- Timestamp:
- 05/03/2010 11:25:14 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
ms-themes.php (modified) (4 diffs)
-
themes.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-themes.php
r14374 r14425 30 30 <?php screen_icon(); ?> 31 31 <h2><?php _e( 'Network Themes' ) ?></h2> 32 <p><?php _e( 'Disable themes network-wide. You can enable themes on a site-by-site basis.' ) ?></p> 32 <p><?php _e( 'Themes must be enabled for your network before they will be available to individual sites.' ) ?></p> 33 <p class="submit"> 34 <input type="submit" value="<?php _e( 'Apply Changes' ) ?>" /></p> 33 35 <table class="widefat"> 34 36 <thead> 35 37 <tr> 36 <th style="width:15%; text-align:center;"><?php _e( 'Active' ) ?></th>38 <th style="width:15%;"><?php _e( 'Enable' ) ?></th> 37 39 <th style="width:25%;"><?php _e( 'Theme' ) ?></th> 38 40 <th style="width:10%;"><?php _e( 'Version' ) ?></th> … … 60 62 ?> 61 63 <tr valign="top" class="<?php echo $class, $class1; ?>"> 62 <td style="text-align:center;">64 <td> 63 65 <label><input name="theme[<?php echo $theme_key ?>]" type="radio" id="enabled_<?php echo $theme_key ?>" value="enabled" <?php checked( $enabled ) ?> /> <?php _e( 'Yes' ) ?></label> 64 66 … … 74 76 75 77 <p class="submit"> 76 <input type="submit" value="<?php _e( ' Update Themes' ) ?>" /></p>78 <input type="submit" value="<?php _e( 'Apply Changes' ) ?>" /></p> 77 79 </form> 78 80 … … 81 83 <?php printf( __( 'Themes Installed: %d' ), $total_theme_count); ?> 82 84 <br /> 83 <?php printf( __( 'Themes Activated: %d' ), $activated_themes_count); ?>85 <?php printf( __( 'Themes Enabled: %d' ), $activated_themes_count); ?> 84 86 </p> 85 87 </div> -
trunk/wp-admin/themes.php
r14411 r14425 35 35 if ( current_user_can('install_themes') ) { 36 36 $help .= '<p>' . sprintf(__('You can find additional themes for your site by using the new <a href="%1$s">Theme Browser/Installer</a> functionality or by browsing the <a href="http://wordpress.org/extend/themes/">WordPress Theme Directory</a> directly and installing manually. To install a theme <em>manually</em>, <a href="%2$s">upload its ZIP archive with the new uploader</a> or copy its folder via FTP into your <code>wp-content/themes</code> directory.'), 'theme-install.php', 'theme-install.php?tab=upload' ) . '</p>'; 37 $help .= '<p>' . __('Once a theme is uploaded, you should see it on this page.') . '</p>' ;37 $help .= '<p>' . __('Once a theme is uploaded, you should see it on this screen.') . '</p>' ; 38 38 } 39 39 … … 45 45 require_once('./admin-header.php'); 46 46 if ( is_multisite() && current_user_can('edit_themes') ) { 47 ?><div id="message0" class="updated"><p><?php _e('Administrator: new themes must be activated in the <a href="ms-themes.php">Themes Admin</a> page before they appear here.'); ?></p></div><?php47 ?><div id="message0" class="updated"><p><?php printf( __('Administrator: new themes must be activated in the <a href="%s">Network Themes</a> screen before they appear here.'), admin_url( 'ms-themes.php') ); ?></p></div><?php 48 48 } 49 49 ?> … … 53 53 <?php elseif ( isset($_GET['activated']) ) : 54 54 if ( isset($wp_registered_sidebars) && count( (array) $wp_registered_sidebars ) ) { ?> 55 <div id="message2" class="updated"><p><?php printf( __('New theme activated. This theme supports widgets, please visit the <a href="%s">widgets settings page</a> to configure them.'), admin_url('widgets.php') ); ?></p></div><?php55 <div id="message2" class="updated"><p><?php printf( __('New theme activated. This theme supports widgets, please visit the <a href="%s">widgets settings</a> screen to configure them.'), admin_url( 'widgets.php' ) ); ?></p></div><?php 56 56 } else { ?> 57 <div id="message2" class="updated"><p><?php printf( __('New theme activated. <a href="%s">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div><?php57 <div id="message2" class="updated"><p><?php printf( __('New theme activated. <a href="%s">Visit site</a>'), home_url( '/ ' ) ); ?></p></div><?php 58 58 } 59 59 elseif ( isset($_GET['deleted']) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.