Changeset 11173 for trunk/wp-admin/includes/media.php
- Timestamp:
- 05/04/2009 05:54:08 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/media.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r11152 r11173 752 752 $out = array(); 753 753 foreach ($alignments as $name => $label) { 754 754 $name = attr($name); 755 755 $out[] = "<input type='radio' name='attachments[{$post->ID}][align]' id='image-align-{$name}-{$post->ID}' value='$name'". 756 756 ( $checked == $name ? " checked='checked'" : "" ) . … … 1157 1157 $delete_href = wp_nonce_url("post.php?action=delete-post&post=$attachment_id", 'delete-post_' . $attachment_id); 1158 1158 if ( $send ) 1159 $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . attr( __( 'Insert into Post' )) . "' />";1159 $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . _a( 'Insert into Post' ) . "' />"; 1160 1160 if ( $delete ) 1161 1161 $delete = "<a href=\"#\" class=\"del-link\" onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __('Delete') . "</a>"; … … 1414 1414 ?> 1415 1415 </div> 1416 <input type="submit" class="button savebutton" name="save" value="<?php echo attr( __( 'Save all changes' )); ?>" />1416 <input type="submit" class="button savebutton" name="save" value="<?php _ea( 'Save all changes' ); ?>" /> 1417 1417 <?php 1418 1418 } … … 1587 1587 1588 1588 <p class="ml-submit"> 1589 <input type="submit" class="button savebutton" style="display:none;" name="save" id="save-all" value="<?php echo attr( __( 'Save all changes' )); ?>" />1589 <input type="submit" class="button savebutton" style="display:none;" name="save" id="save-all" value="<?php _ea( 'Save all changes' ); ?>" /> 1590 1590 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1591 1591 <input type="hidden" name="type" value="<?php echo attr( $GLOBALS['type'] ); ?>" /> … … 1664 1664 1665 1665 <p class="ml-submit"> 1666 <input type="button" class="button" style="display:none;" onmousedown="wpgallery.update();" name="insert-gallery" id="insert-gallery" value="<?php echo attr( __( 'Insert gallery' )); ?>" />1667 <input type="button" class="button" style="display:none;" onmousedown="wpgallery.update();" name="update-gallery" id="update-gallery" value="<?php echo attr( __( 'Update gallery settings' )); ?>" />1666 <input type="button" class="button" style="display:none;" onmousedown="wpgallery.update();" name="insert-gallery" id="insert-gallery" value="<?php _ea( 'Insert gallery' ); ?>" /> 1667 <input type="button" class="button" style="display:none;" onmousedown="wpgallery.update();" name="update-gallery" id="update-gallery" value="<?php _ea( 'Update gallery settings' ); ?>" /> 1668 1668 </p> 1669 1669 </div> … … 1709 1709 <label class="hidden" for="media-search-input"><?php _e('Search Media');?>:</label> 1710 1710 <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 1711 <input type="submit" value="<?php echo attr( __( 'Search Media' )); ?>" class="button" />1711 <input type="submit" value="<?php _ea( 'Search Media' ); ?>" class="button" /> 1712 1712 </p> 1713 1713 … … 1826 1826 </div> 1827 1827 <p class="ml-submit"> 1828 <input type="submit" class="button savebutton" name="save" value="<?php echo attr( __( 'Save all changes' )); ?>" />1828 <input type="submit" class="button savebutton" name="save" value="<?php _ea( 'Save all changes' ); ?>" /> 1829 1829 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1830 1830 </p> … … 1908 1908 <td></td> 1909 1909 <td> 1910 <input type="button" class="button" id="go_button" style="color:#bbb;" onclick="addExtImage.insert()" value="' . attr(__('Insert into Post')) . '" />1910 <input type="button" class="button" id="go_button" style="color:#bbb;" onclick="addExtImage.insert()" value="' . _a('Insert into Post') . '" /> 1911 1911 </td> 1912 1912 </tr> … … 1944 1944 <td></td> 1945 1945 <td> 1946 <input type="submit" class="button" name="insertonlybutton" value="' . attr(__('Insert into Post')) . '" />1946 <input type="submit" class="button" name="insertonlybutton" value="' . _a('Insert into Post') . '" /> 1947 1947 </td> 1948 1948 </tr> … … 1979 1979 <td></td> 1980 1980 <td> 1981 <input type="submit" class="button" name="insertonlybutton" value="' . attr(__('Insert into Post')) . '" />1981 <input type="submit" class="button" name="insertonlybutton" value="' . _a('Insert into Post') . '" /> 1982 1982 </td> 1983 1983 </tr> … … 2014 2014 <td></td> 2015 2015 <td> 2016 <input type="submit" class="button" name="insertonlybutton" value="' . attr(__('Insert into Post')) . '" />2016 <input type="submit" class="button" name="insertonlybutton" value="' . _a('Insert into Post') . '" /> 2017 2017 </td> 2018 2018 </tr>
Note: See TracChangeset
for help on using the changeset viewer.