Changeset 11204 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r11190 r11204 159 159 <option value="tag" <?php selected('tag', $type) ?>><?php _e('Tag'); ?></option> 160 160 </select> 161 <input type="text" name="s" size="30" value="<?php echo attr($term) ?>" />162 <input type="submit" name="search" value="<?php _ea('Search'); ?>" class="button" />161 <input type="text" name="s" size="30" value="<?php echo esc_attr($term) ?>" /> 162 <input type="submit" name="search" value="<?php esc_attr_e('Search'); ?>" class="button" /> 163 163 </form> 164 164 <?php … … 203 203 $feature_name = $trans[$feature]; 204 204 $feature_name = wp_specialchars( $feature_name ); 205 $feature = attr($feature);205 $feature = esc_attr($feature); 206 206 ?> 207 207 … … 219 219 </div> 220 220 <br class="clear" /> 221 <input type="submit" name="search" value="<?php _ea('Find Themes'); ?>" class="button" />221 <input type="submit" name="search" value="<?php esc_attr_e('Find Themes'); ?>" class="button" /> 222 222 </form> 223 223 <?php … … 282 282 <input type="file" name="themezip" /> 283 283 <input type="submit" 284 class="button" value="<?php _ea('Install Now') ?>" />284 class="button" value="<?php esc_attr_e('Install Now') ?>" /> 285 285 </form> 286 286 <?php … … 302 302 $actions = array(); 303 303 $actions[] = '<a href="' . admin_url('theme-install.php?tab=theme-information&theme=' . $theme->slug . 304 '&TB_iframe=true&tbWidth=500&tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install “%s”'), $name)) . '">' . __('Install') . '</a>';305 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview “%s”'), $name)) . '">' . __('Preview') . '</a>';304 '&TB_iframe=true&tbWidth=500&tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . esc_attr(sprintf(__('Install “%s”'), $name)) . '">' . __('Install') . '</a>'; 305 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . esc_attr(sprintf(__('Preview “%s”'), $name)) . '">' . __('Preview') . '</a>'; 306 306 $actions = apply_filters('theme_install_action_links', $actions, $theme); 307 307 } … … 311 311 <a class='thickbox thickbox-preview screenshot' 312 312 href='<? echo clean_url($preview_link); ?>' 313 title='<?php echo attr(sprintf(__('Preview “%s”'), $name)); ?>'>313 title='<?php echo esc_attr(sprintf(__('Preview “%s”'), $name)); ?>'> 314 314 <img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' /> 315 315 </a> … … 332 332 <?php endif; ?> 333 333 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $theme->num_ratings), number_format_i18n($theme->num_ratings)) ?>"> 334 <div class="star star-rating" style="width: <?php echo attr($theme->rating) ?>px"></div>334 <div class="star star-rating" style="width: <?php echo esc_attr($theme->rating) ?>px"></div> 335 335 <div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div> 336 336 <div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div>
Note: See TracChangeset
for help on using the changeset viewer.