Make WordPress Core


Ignore:
Timestamp:
03/20/2009 12:14:57 AM (17 years ago)
Author:
azaozz
Message:

More theme install styling, see #8652

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r10810 r10823  
    32443244<?php
    32453245wp_enqueue_style( 'global' );
    3246 wp_enqueue_style( 'colors' );
    32473246if ( ! $limit_styles )
    32483247    wp_enqueue_style( 'wp-admin' );
     3248wp_enqueue_style( 'colors' );
    32493249?>
    32503250<script type="text/javascript">
    32513251//<![CDATA[
    3252 function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}
     3252addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
     3253function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();}
    32533254//]]>
    32543255</script>
     
    32713272function iframe_footer() {
    32723273    echo '
     3274    <script type="text/javascript">if(typeof wpOnload=="function")wpOnload();</script>
    32733275    </body>
    32743276</html>';
Note: See TracChangeset for help on using the changeset viewer.