Changeset 8915
- Timestamp:
- 09/17/2008 02:10:01 AM (17 years ago)
- File:
-
- 1 edited
-
branches/2.6/wp-admin/includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-admin/includes/media.php
r8607 r8915 619 619 'html' => " 620 620 <input type='text' name='attachments[$post->ID][url]' value='" . attribute_escape($file) . "' /><br /> 621 <button type='button' class='button url-$post->ID' value=''>" . __('None') . "</button>622 <button type='button' class='button url-$post->ID' value='" . attribute_escape($file) . "'>" . __('File URL') . "</button>623 <button type='button' class='button url-$post->ID' value='" . attribute_escape($link) . "'>" . __('Post URL') . "</button>621 <button type='button' class='button url-$post->ID' title=''>" . __('None') . "</button> 622 <button type='button' class='button url-$post->ID' title='" . attribute_escape($file) . "'>" . __('File URL') . "</button> 623 <button type='button' class='button url-$post->ID' title='" . attribute_escape($link) . "'>" . __('Post URL') . "</button> 624 624 <script type='text/javascript'> 625 jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val( this.value);});625 jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val(jQuery(this).attr('title'));}); 626 626 </script>\n", 627 627 'helps' => __('Enter a link URL or click above for presets.'),
Note: See TracChangeset
for help on using the changeset viewer.