Ticket #4058: viewclass.patch
| File viewclass.patch, 2.1 KB (added by rgovostes, 6 years ago) |
|---|
-
wp-admin/admin-functions.php
831 831 </td> 832 832 <td><?php the_author() ?></td> 833 833 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else echo mysql2date( __('Y-m-d g:i a'), $post->post_modified ); ?></td> 834 <td><a href= "<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e( 'View' ); ?></a></td>834 <td><a href='<?php the_permalink(); ?>' rel='permalink' class='view'><?php _e( 'View' ); ?></a></td> 835 835 <td><?php if ( current_user_can( 'edit_page', $id ) ) { echo "<a href='page.php?action=edit&post=$id' class='edit'>" . __( 'Edit' ) . "</a>"; } ?></td> 836 836 <td><?php if ( current_user_can( 'delete_page', $id ) ) { echo "<a href='" . wp_nonce_url( "page.php?action=delete&post=$id", 'delete-page_' . $id ) . "' class='delete' onclick=\"return deleteSomething( 'page', " . $id . ", '" . js_escape(sprintf( __("You are about to delete the '%s' page.\n'OK' to delete, 'Cancel' to stop." ), get_the_title() ) ) . "' );\">" . __( 'Delete' ) . "</a>"; } ?></td> 837 837 </tr> -
wp-admin/edit.php
209 209 210 210 case 'control_view': 211 211 ?> 212 <td><a href= "<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td>212 <td><a href='<?php the_permalink(); ?>' rel='permalink' class='view'><?php _e('View'); ?></a></td> 213 213 <?php 214 214 break; 215 215 -
wp-admin/wp-admin.css
103 103 padding: 1em; 104 104 } 105 105 106 a. edit, a.delete, a.edit:hover, a.delete:hover {106 a.view, a.edit, a.delete, a.view:hover, a.edit:hover, a.delete:hover { 107 107 border-bottom: none; 108 108 display: block; 109 109 padding: 5px 0; 110 110 text-align: center; 111 111 } 112 112 113 a. edit:hover {113 a.view:hover, a.edit:hover { 114 114 background: #ccc; 115 115 color: #036; 116 116 }
