WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/15/2009 11:04:34 AM (12 years ago)
Author:
azaozz
Message:

Theme install style tweaks, see #8652

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme-install.php

    r10675 r10788  
    143143<p><?php _e('Search for themes by keyword, author, or tag.') ?></p>
    144144
    145     <?php install_theme_search_form('<a href="' . add_query_arg('show-help', !isset($_REQUEST['show-help'])) .'" onclick="jQuery(\'#search-help\').toggle(); return false;">' . __('[need help?]') . '</a>') ?>
    146 <div id="search-help" style="display: <?php echo isset($_REQUEST['show-help']) ? 'block' : 'none'; ?>;">
    147 <p><?php _e('You may search based on 3 criteria:') ?><br />
    148     <?php _e('<strong>Term:</strong> Searches theme names and descriptions for the specified term') ?><br />
    149     <?php _e('<strong>Tag:</strong> Searches for themes tagged as such') ?><br />
    150     <?php _e('<strong>Author:</strong> Searches for themes created by the Author, or which the Author contributed to.') ?></p>
    151 </div>
     145    <?php install_theme_search_form(); ?>
    152146
    153147<h4><?php _e('Advanced Search') ?></h4>
     
    169163                                'count' => $tag['count'] );
    170164    }
    171     echo '<p>';
     165    echo '<p class="popular-tags">';
    172166    echo wp_generate_tag_cloud($tags, array( 'single_text' => __('%d theme'), 'multiple_text' => __('%d themes') ) );
    173167    echo '</p><br class="clear" />';
     
    306300<?php if ( $show_details ) { ?>
    307301<a href="#theme_detail" class="theme-detail hide-if-no-js" tabindex='4'><?php _e('Details') ?></a>
    308 <div id="themedetaildiv" class="hide-if-js">
     302<div class="themedetaildiv hide-if-js">
    309303<p><strong><?php _e('Version:') ?></strong> <?php echo wp_kses($theme->version, $themes_allowedtags) ?></p>
    310304<p><strong><?php _e('Author:') ?></strong> <?php echo wp_kses($theme->author, $themes_allowedtags) ?></p>
Note: See TracChangeset for help on using the changeset viewer.