Changeset 14625 for trunk/wp-admin/theme-editor.php
- Timestamp:
- 05/14/2010 07:04:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r14313 r14625 155 155 $template_show = basename($template_file); 156 156 $filedesc = ( $description != $template_file ) ? "$description<br /><span class='nonessential'>($template_show)</span>" : "$description"; 157 $filedesc = ( $template_file == $file ) ? "< div class='highlight'>$description<br /><span class='nonessential'>($template_show)</span></div>" : $filedesc;157 $filedesc = ( $template_file == $file ) ? "<span class='highlight'>$description<br /><span class='nonessential'>($template_show)</span></span>" : $filedesc; 158 158 159 159 // If we have two files of the same name prefer the one in the Template Directory … … 182 182 $style_show = basename($style_file); 183 183 $filedesc = ( $description != $style_file ) ? "$description<br /><span class='nonessential'>($style_show)</span>" : "$description"; 184 $filedesc = ( $style_file == $file ) ? "< div class='highlight'>$description<br /><span class='nonessential'>($style_show)</span></div>" : $filedesc;184 $filedesc = ( $style_file == $file ) ? "<span class='highlight'>$description<br /><span class='nonessential'>($style_show)</span></span>" : $filedesc; 185 185 $template_mapping[ $description ] = array( _get_template_edit_filename($style_file, $stylesheet_dir), $filedesc ); 186 186 }
Note: See TracChangeset
for help on using the changeset viewer.