[ Root ] [ Search ] [ Index ]

PHP Cross Reference of WordPress MU 2.9.2

Provided by Yoast

title

Body

[close]

/wp-admin/ -> admin-footer.php (source)

   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  </div><!-- wpwrap -->
  18  
  19  <div id="footer">
  20  <p id="footer-left" class="alignleft"><?php
  21  do_action( 'in_admin_footer' );
  22  $upgrade = '';
  23  $footer_text = __('Thank you for creating with <a href="http://mu.wordpress.org/">WordPress MU</a>');
  24  if( is_site_admin() ) {
  25      $upgrade = apply_filters( 'update_footer', '' );
  26      $footer_text .= ' ' . $wpmu_version;
  27  }
  28  $footer_text .= ' | ' . __('<a href="http://mu.wordpress.org/docs/">Documentation</a>');
  29  echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $footer_text . '</span>' );
  30  ?></p>
  31  <p id="footer-upgrade" class="alignright"><?php echo $upgrade; ?></p>
  32  <div class="clear"></div>
  33  </div>
  34  <?php
  35  do_action('admin_footer', '');
  36  do_action('admin_print_footer_scripts');
  37  do_action("admin_footer-$hook_suffix");
  38  
  39  // get_site_option() won't exist when auto upgrading from <= 2.7
  40  if ( function_exists('get_site_option') ) {
  41      if ( false === get_site_option('can_compress_scripts') )
  42          compression_test();
  43  }
  44  
  45  ?>
  46  
  47  <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
  48  </body>
  49  </html>


Generated: Mon May 3 12:25:32 2010 Cross-referenced by PHPXref 0.7