Changeset 15656 for trunk/wp-admin/themes.php
- Timestamp:
- 09/24/2010 06:50:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r15646 r15656 48 48 add_thickbox(); 49 49 wp_enqueue_script( 'theme-preview' ); 50 wp_enqueue_script( 'theme' ); 51 wp_enqueue_style( 'theme-install' ); 50 52 51 53 endif; … … 136 138 <input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 137 139 <input type="submit" value="<?php esc_attr_e('Search Themes'); ?>" class="button" /> 140 <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a> 138 141 </p> 142 143 <br class="clear"/> 144 145 <div id="filters" <?php if ( $tpage != 'filter' ) echo ' style="display: none"' ?>> 146 <?php $feature_list = get_theme_feature_list(); ?> 147 <div class="feature-filter"> 148 <p class="install-help"><?php _e('Theme filters') ?></p> 149 150 <?php foreach ( $feature_list as $feature_name => $features ) : ?> 151 <?php $feature_name = esc_html( $feature_name ); ?> 152 153 <div class="feature-container"> 154 <div class="feature-name"><?php echo $feature_name ?></div> 155 156 <ol style="float: left; width: 725px;" class="feature-group"> 157 <?php foreach ( $features as $key => $feature ) : ?> 158 <?php 159 $feature_name = $feature; 160 $feature_name = esc_html( $feature_name ); 161 $feature = esc_attr($feature); 162 ?> 163 <li> 164 <input type="checkbox" name="features[<?php echo $key; ?>]" id="feature-id-<?php echo $key; ?>" value="<?php echo $key; ?>" <?php if ( in_array( $key, $checked_features ) ) echo ' checked="checked"' ?>/> 165 <label for="feature-id-<?php echo $key; ?>"><?php echo $feature_name; ?></label> 166 </li> 167 <?php endforeach; ?> 168 </ol> 169 </div> 170 <?php endforeach; ?> 171 172 <div class="feature-container"> 173 <input style="margin-left: 120px" type="submit" class="button-secondary submitter" value="<?php _e( 'Apply Filters' ); ?>" /> 174 175 <small><a id="mini-filter-click" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Close filters' )?></a></small> 176 </div> 177 <br/> 178 </div> 179 <br class="clear"/> 180 </div> 181 139 182 </form> 140 183 <br class="clear" />
Note: See TracChangeset
for help on using the changeset viewer.