Changeset 11372 for trunk/wp-admin/includes/media.php
- Timestamp:
- 05/17/2009 12:29:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r11312 r11372 328 328 $args = array_slice($args, 1); 329 329 call_user_func_array($content_func, $args); 330 331 do_action('admin_print_footer_scripts'); 330 332 ?> 331 333 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script> … … 1300 1302 <script type="text/javascript"> 1301 1303 //<![CDATA[ 1304 var swfu; 1302 1305 SWFUpload.onload = function() { 1303 swfu = new SWFUpload({1306 var settings = { 1304 1307 button_text: '<span class="button"><?php _e('Select Files'); ?></span>', 1305 1308 button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; }', 1306 1309 button_height: "24", 1307 1310 button_width: "132", 1311 button_text_top_padding: 1, 1308 1312 button_image_url: '<?php echo includes_url('images/upload.png'); ?>', 1309 1313 button_placeholder_id: "flash-browse-button", … … 1337 1341 }, 1338 1342 debug: false 1339 }); 1343 }; 1344 swfu = new SWFUpload(settings); 1340 1345 }; 1341 1346 //]]> … … 1345 1350 <?php do_action('pre-flash-upload-ui'); ?> 1346 1351 1347 <div><?php _e( 'Choose files to upload' ); ?> <div id="flash-browse-button"></div></div> 1352 <div> 1353 <?php _e( 'Choose files to upload' ); ?> 1354 <div id="flash-browse-button"></div> 1355 <span><input id="cancel-upload" disabled="disabled" onclick="cancelUpload()" type="button" value="<?php esc_attr_e('Cancel Upload'); ?>" class="button" /></span> 1356 </div> 1348 1357 <?php do_action('post-flash-upload-ui'); ?> 1349 1358 <p class="howto"><?php _e('After a file has been uploaded, you can add titles and descriptions.'); ?></p> 1350 1359 </div> 1351 1352 1360 <?php endif; // $flash ?> 1353 1361 … … 1395 1403 1396 1404 <script type="text/javascript"> 1397 <!-- 1405 //<![CDATA[ 1398 1406 jQuery(function($){ 1399 1407 var preloaded = $(".media-item.preloaded"); … … 1403 1411 updateMediaForm(); 1404 1412 }); 1405 -->1413 //]]> 1406 1414 </script> 1407 1415 <div id="media-items"> … … 1418 1426 ?> 1419 1427 </div> 1420 <input type="submit" class="button savebutton" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" /> 1428 <p class="savebutton ml-submit"> 1429 <input type="submit" class="button" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" /> 1430 </p> 1421 1431 <?php 1422 1432 } … … 1568 1578 <span> 1569 1579 <?php _e('All Tabs:'); ?> 1570 <a href="#" id="showall" class="toggle"><?php _e('Show'); ?></a>1571 <a href="#" id="hideall" class="toggle"style="display:none;"><?php _e('Hide'); ?></a>1580 <a href="#" id="showall"><?php _e('Show'); ?></a> 1581 <a href="#" id="hideall" style="display:none;"><?php _e('Hide'); ?></a> 1572 1582 </span> 1573 1583 <?php _e('Sort Order:'); ?>
Note: See TracChangeset
for help on using the changeset viewer.