- 70E37396B6D1248880F83859C3639DF7EA4E8C863BB1760466D73F86C8230C079EDFCE08C8A4D2DE557AF801965A5E0E1AFCA46B2EE28992D201201F84C94925
+ 80B10F66B9830ED00F992CC3A0C18F082463FBCBD7CDE1ED50B6508282D041AF97515C6A42190C54A13D9CCA54692B7D0C5CC478436A0CC241175693C01D094F
mp-wp/wp-admin/themes.php
(22 . 9)(22 . 6)
30808 $title = __('Manage Themes');
30809 $parent_file = 'themes.php';
30810
30811 add_thickbox();
30812 wp_enqueue_script( 'theme-preview' );
30813
30814 require_once('admin-header.php');
30815 ?>
30816
(137 . 16)(134 . 15)
30818 $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true', 'width' => 600, 'height' => 400 ), $preview_link ) );
30819 $preview_text = attribute_escape( sprintf( __('Preview of "%s"'), $title ) );
30820 $tags = $themes[$theme_name]['Tags'];
30821 $thickbox_class = 'thickbox';
30822 $activate_link = wp_nonce_url("themes.php?action=activate&template=".urlencode($template)."&stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template);
30823 $activate_text = attribute_escape( sprintf( __('Activate "%s"'), $title ) );
30824 ?>
30825 <a href="<?php echo $activate_link; ?>" class="<?php echo $thickbox_class; ?> screenshot">
30826 <a href="<?php echo $activate_link; ?>" class="screenshot">
30827 <?php if ( $screenshot ) : ?>
30828 <img src="<?php echo WP_CONTENT_URL . $stylesheet_dir . '/' . $screenshot; ?>" alt="" />
30829 <?php endif; ?>
30830 </a>
30831 <h3><a class="<?php echo $thickbox_class; ?>" href="<?php echo $activate_link; ?>"><?php echo $title; ?></a></h3>
30832 <h3><a href="<?php echo $activate_link; ?>"><?php echo $title; ?></a></h3>
30833 <p><?php echo $description; ?></p>
30834 <?php if ( $tags ) : ?>
30835 <p><?php _e('Tags:'); ?> <?php echo join(', ', $tags); ?></p>
(209 . 9)(205 . 6)
30837 }
30838 ?>
30839
30840 <h2><?php _e('Get More Themes'); ?></h2>
30841 <p><?php _e('You can find additional themes for your site in the <a href="http://wordpress.org/extend/themes/">WordPress theme directory</a>. To install a theme you generally just need to upload the theme folder into your <code>wp-content/themes</code> directory. Once a theme is uploaded, you should see it on this page.'); ?></p>
30842
30843 </div>
30844
30845 <?php require('admin-footer.php'); ?>