Changeset 11190 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 05/05/2009 04:28:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r11173 r11190 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="' . 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>'; 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 attr(sprintf(__('Preview “%s”'), $name)); ?>'> 314 314 <img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' /> 315 315 </a>
Note: See TracChangeset
for help on using the changeset viewer.