~canonical-sysadmins/wordpress/4.5.3

« back to all changes in this revision

Viewing changes to wp-admin/themes.php

  • Committer: Nick Moffitt
  • Date: 2016-04-14 10:44:19 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: nick.moffitt@canonical.com-20160414104419-w6lxcr3ru4enc2w5
Merge WP4.5 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
<div id="message1" class="updated notice is-dismissible"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>
163
163
<?php elseif ( isset($_GET['activated']) ) :
164
164
                if ( isset( $_GET['previewed'] ) ) { ?>
165
 
                <div id="message2" class="updated notice is-dismissible"><p><?php printf( __( 'Settings saved and theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div>
 
165
                <div id="message2" class="updated notice is-dismissible"><p><?php _e( 'Settings saved and theme activated.' ); ?> <a href="<?php echo home_url( '/' ); ?>"><?php _e( 'Visit site' ); ?></a></p></div>
166
166
                <?php } else { ?>
167
 
<div id="message2" class="updated notice is-dismissible"><p><?php printf( __( 'New theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div><?php
 
167
<div id="message2" class="updated notice is-dismissible"><p><?php _e( 'New theme activated.' ); ?> <a href="<?php echo home_url( '/' ); ?>"><?php _e( 'Visit site' ); ?></a></p></div><?php
168
168
                }
169
169
        elseif ( isset($_GET['deleted']) ) : ?>
170
170
<div id="message3" class="updated notice is-dismissible"><p><?php _e('Theme deleted.') ?></p></div>
229
229
?>
230
230
 
231
231
<div class="theme-browser">
232
 
        <div class="themes">
 
232
        <div class="themes wp-clearfix">
233
233
 
234
234
<?php
235
235
/*
282
282
        <?php } ?>
283
283
</div>
284
284
<?php endforeach; ?>
285
 
        <br class="clear" />
286
285
        </div>
287
286
</div>
288
287
<div class="theme-overlay"></div>
296
295
 
297
296
<div class="broken-themes">
298
297
<h3><?php _e('Broken Themes'); ?></h3>
299
 
<p><?php _e('The following themes are installed but incomplete. Themes must have a stylesheet and a template.'); ?></p>
 
298
<p><?php _e( 'The following themes are installed but incomplete.' ); ?></p>
300
299
 
301
300
<?php
302
301
$can_delete = current_user_can( 'delete_themes' );
403
402
 
404
403
<script id="tmpl-theme-single" type="text/template">
405
404
        <div class="theme-backdrop"></div>
406
 
        <div class="theme-wrap">
 
405
        <div class="theme-wrap wp-clearfix">
407
406
                <div class="theme-header">
408
407
                        <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
409
408
                        <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
410
409
                        <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button>
411
410
                </div>
412
 
                <div class="theme-about">
 
411
                <div class="theme-about wp-clearfix">
413
412
                        <div class="theme-screenshots">
414
413
                        <# if ( data.screenshot[0] ) { #>
415
414
                                <div class="screenshot"><img src="{{ data.screenshot[0] }}" alt="" /></div>