Changeset 3084
- Timestamp:
- 11/14/2005 10:26:39 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/theme-editor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/theme-editor.php
r3082 r3084 41 41 $file = validate_file_to_edit($file, $allowed_files); 42 42 $real_file = get_real_file_to_edit($file); 43 44 $file_show = basename( $file ); 43 45 44 46 switch($action) { … … 105 107 <div class="wrap"> 106 108 <?php 107 if ( is_writeable($real_file)) {108 echo '<h2>' . sprintf(__('Editing <code>%s</code>'), $file ) . '</h2>';109 if ( is_writeable($real_file) ) { 110 echo '<h2>' . sprintf(__('Editing <code>%s</code>'), $file_show) . '</h2>'; 109 111 } else { 110 echo '<h2>' . sprintf(__('Browsing <code>%s</code>'), $file ) . '</h2>';112 echo '<h2>' . sprintf(__('Browsing <code>%s</code>'), $file_show) . '</h2>'; 111 113 } 112 114 ?>
Note: See TracChangeset
for help on using the changeset viewer.