web/wp-admin/admin-footer.php
changeset 194 32102edaa81b
parent 136 bde1974c263b
child 204 09a1c134465b
equal deleted inserted replaced
193:2f6f6f7551ca 194:32102edaa81b
    12 ?>
    12 ?>
    13 
    13 
    14 <div class="clear"></div></div><!-- wpbody-content -->
    14 <div class="clear"></div></div><!-- wpbody-content -->
    15 <div class="clear"></div></div><!-- wpbody -->
    15 <div class="clear"></div></div><!-- wpbody -->
    16 <div class="clear"></div></div><!-- wpcontent -->
    16 <div class="clear"></div></div><!-- wpcontent -->
    17 </div><!-- wpwrap -->
       
    18 
    17 
    19 <div id="footer">
    18 <div id="footer">
       
    19 <?php do_action( 'in_admin_footer' ); ?>
    20 <p id="footer-left" class="alignleft"><?php
    20 <p id="footer-left" class="alignleft"><?php
    21 do_action( 'in_admin_footer' );
       
    22 $upgrade = apply_filters( 'update_footer', '' );
    21 $upgrade = apply_filters( 'update_footer', '' );
    23 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>') ); ?>
    22 $footer_text = array(
    24 </p>
    23 	'<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>',
    25 <?php // if ( $is_IE ) browse_happy(); ?>
    24 );
       
    25 echo apply_filters( 'admin_footer_text', implode( ' &bull; ', $footer_text ) );
       
    26 unset( $footer_text );
       
    27 ?></p>
    26 <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
    28 <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
    27 <div class="clear"></div>
    29 <div class="clear"></div>
    28 </div>
    30 </div>
    29 <?php
    31 <?php
    30 do_action('admin_footer', '');
    32 do_action('admin_footer', '');
    31 do_action('admin_print_footer_scripts');
    33 do_action('admin_print_footer_scripts');
    32 do_action("admin_footer-$hook_suffix");
    34 do_action("admin_footer-" . $GLOBALS['hook_suffix']);
    33 
    35 
    34 // get_site_option() won't exist when auto upgrading from <= 2.7
    36 // get_site_option() won't exist when auto upgrading from <= 2.7
    35 if ( function_exists('get_site_option') ) {
    37 if ( function_exists('get_site_option') ) {
    36 	if ( false === get_site_option('can_compress_scripts') )
    38 	if ( false === get_site_option('can_compress_scripts') )
    37 		compression_test();
    39 		compression_test();
    38 }
    40 }
    39 
    41 
    40 ?>
    42 ?>
    41 
    43 
       
    44 <div class="clear"></div></div><!-- wpwrap -->
    42 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    45 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    43 </body>
    46 </body>
    44 </html>
    47 </html>