- 0953054DF84F70FCBF637CC1E73EE1883C831889CEF2E626CDFFADCEBE360BDD0E3AC1EF058B5156447E471424B9CCED75BB7060334BE885EA5BB0AE6153B354
+ AA48E94B3B4B8EFC548628161409C2BB1ABDE5025797AD4645F5B43CBFE9F979BE3879427302F2F2593B050264413363AF383826B5D1CFE40D287205766FCE57
mp-wp/wp-admin/includes/media.php
(348 . 10)(348 . 10)
1446 $audio_title = __('Add Audio');
1447 $out = <<<EOF
1448
1449 <a href="{$image_upload_iframe_src}&TB_iframe=true" id="add_image" class="thickbox" title='$image_title'><img src='images/media-button-image.gif' alt='$image_title' /></a>
1450 <a href="{$video_upload_iframe_src}&TB_iframe=true" id="add_video" class="thickbox" title='$video_title'><img src='images/media-button-video.gif' alt='$video_title' /></a>
1451 <a href="{$audio_upload_iframe_src}&TB_iframe=true" id="add_audio" class="thickbox" title='$audio_title'><img src='images/media-button-music.gif' alt='$audio_title' /></a>
1452 <a href="{$media_upload_iframe_src}&TB_iframe=true" id="add_media" class="thickbox" title='$media_title'><img src='images/media-button-other.gif' alt='$media_title' /></a>
1453 <a href="{$image_upload_iframe_src}&TB_iframe=true" id="add_image" class="thickbox" title='$image_title'><img src='images/media-button-image.svg' alt='$image_title' /></a>
1454 <a href="{$video_upload_iframe_src}&TB_iframe=true" id="add_video" class="thickbox" title='$video_title'><img src='images/media-button-video.svg' alt='$video_title' /></a>
1455 <a href="{$audio_upload_iframe_src}&TB_iframe=true" id="add_audio" class="thickbox" title='$audio_title'><img src='images/media-button-music.svg' alt='$audio_title' /></a>
1456 <a href="{$media_upload_iframe_src}&TB_iframe=true" id="add_media" class="thickbox" title='$media_title'><img src='images/media-button-other.svg' alt='$media_title' /></a>
1457
1458 EOF;
1459 printf($context, $out);
(1261 . 7)(1261 . 7)
1461 button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; }',
1462 button_height: "24",
1463 button_width: "132",
1464 button_image_url: '<?php echo includes_url('images/upload.png'); ?>',
1465 button_image_url: '<?php echo includes_url('images/upload.svg'); ?>',
1466 button_placeholder_id: "flash-browse-button",
1467 upload_url : "<?php echo attribute_escape( $flash_action_url ); ?>",
1468 flash_url : "<?php echo includes_url('js/swfupload/swfupload.swf'); ?>",
(1449 . 8)(1449 . 8)
1470 t.width = t.height = '';
1471 document.getElementById('go_button').style.color = '#bbb';
1472 if ( ! document.forms[0].src.value )
1473 document.getElementById('status_img').src = 'images/required.gif';
1474 else document.getElementById('status_img').src = 'images/no.png';
1475 document.getElementById('status_img').src = 'images/required.svg';
1476 else document.getElementById('status_img').src = 'images/no.svg';
1477 },
1478
1479 updateImageData : function() {
(1459 . 7)(1459 . 7)
1481 t.width = t.preloadImg.width;
1482 t.height = t.preloadImg.height;
1483 document.getElementById('go_button').style.color = '#333';
1484 document.getElementById('status_img').src = 'images/yes.png';
1485 document.getElementById('status_img').src = 'images/yes.svg';
1486 },
1487
1488 getImageData : function() {
(1469 . 7)(1469 . 7)
1490 t.resetImageData();
1491 return false;
1492 }
1493 document.getElementById('status_img').src = 'images/loading.gif';
1494 document.getElementById('status_img').src = 'images/loading.svg';
1495 t.preloadImg = new Image();
1496 t.preloadImg.onload = t.updateImageData;
1497 t.preloadImg.onerror = t.resetImageData;
(1799 . 7)(1799 . 7)
1499 <tr>
1500 <th valign="top" scope="row" class="label" style="width:120px;">
1501 <span class="alignleft"><label for="src">' . __('Image URL') . '</label></span>
1502 <span class="alignright"><img id="status_img" src="images/required.gif" title="required" alt="required" /></span>
1503 <span class="alignright"><img id="status_img" src="images/required.svg" title="required" alt="required" /></span>
1504 </th>
1505 <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()" /></td>
1506 </tr>