Wordpress 3.2
[autoinstalls/wordpress.git] / wp-admin / admin-footer.php
1 <?php
2 /**
3  * WordPress Administration Template Footer
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 // don't load directly
10 if ( !defined('ABSPATH') )
11         die('-1');
12 ?>
13
14 <div class="clear"></div></div><!-- wpbody-content -->
15 <div class="clear"></div></div><!-- wpbody -->
16 <div class="clear"></div></div><!-- wpcontent -->
17
18 <div id="footer">
19 <?php do_action( 'in_admin_footer' ); ?>
20 <p id="footer-left" class="alignleft"><?php
21 $upgrade = apply_filters( 'update_footer', '' );
22 $footer_text = array(
23         '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>',
24         __( '<a href="http://codex.wordpress.org/">Documentation</a>' ),
25         sprintf( __( '<a href="%s">Freedoms</a>' ), admin_url( 'freedoms.php' ) ),
26         __('<a href="http://wordpress.org/support/forum/4">Feedback</a>'),
27         sprintf(__('<a href="%s">Credits</a>'), admin_url('credits.php') ),
28 );
29 echo apply_filters( 'admin_footer_text', implode( ' &bull; ', $footer_text ) );
30 unset( $footer_text );
31 ?></p>
32 <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
33 <div class="clear"></div>
34 </div>
35 <?php
36 do_action('admin_footer', '');
37 do_action('admin_print_footer_scripts');
38 do_action("admin_footer-" . $GLOBALS['hook_suffix']);
39
40 // get_site_option() won't exist when auto upgrading from <= 2.7
41 if ( function_exists('get_site_option') ) {
42         if ( false === get_site_option('can_compress_scripts') )
43                 compression_test();
44 }
45
46 ?>
47
48 <div class="clear"></div></div><!-- wpwrap -->
49 <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
50 </body>
51 </html>