Changeset 8339 for branches/crazyhorse/wp-admin/edit-attachment-rows.php
- Timestamp:
- 07/15/2008 03:41:00 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/edit-attachment-rows.php
r8338 r8339 66 66 <td><strong><a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 67 67 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 68 <p> 69 <a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php _e('Edit'); ?></a> | 70 <a href="<?php the_permalink(); ?>"><?php _e('Get permalink'); ?></a> | 71 <a href="#" class="delete"><?php _e('Delete'); ?></a> 72 </p> 68 73 <?php do_action('manage_media_media_column', $post->ID); ?> 69 74 </td> 75 <?php 76 break; 77 78 case 'tags': 79 ?> 80 <td><?php 81 $tags = get_the_tags(); 82 if ( !empty( $tags ) ) { 83 $out = array(); 84 foreach ( $tags as $c ) 85 $out[] = "<a href='edit.php?tag=$c->slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . "</a>"; 86 echo join( ', ', $out ); 87 } else { 88 _e('No Tags'); 89 } 90 ?></td> 70 91 <?php 71 92 break;
Note: See TracChangeset
for help on using the changeset viewer.