[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-forums/bbpress/bb-admin/ -> admin-header.php (source)

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
   2  <html xmlns="http://www.w3.org/1999/xhtml"<?php bb_language_attributes( '1.1' ); ?>>
   3  <head>
   4      <meta http-equiv="X-UA-Compatible" content="IE=8" />
   5      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   6      <title><?php bb_admin_title() ?></title>
   7      <link rel="stylesheet" href="<?php bb_uri('bb-admin/style.css', null, BB_URI_CONTEXT_LINK_STYLESHEET_HREF + BB_URI_CONTEXT_BB_ADMIN); ?>" type="text/css" />
   8  <?php if ( 'rtl' == bb_get_option( 'text_direction' ) ) : ?>
   9      <link rel="stylesheet" href="<?php bb_uri('bb-admin/style-rtl.css', null, BB_URI_CONTEXT_LINK_STYLESHEET_HREF + BB_URI_CONTEXT_BB_ADMIN); ?>" type="text/css" />
  10  <?php endif; do_action('bb_admin_print_scripts'); ?>
  11      <!--[if IE 6]>
  12      <style type="text/css">
  13      ul#bbAdminMenu{ margin: 15px 5px 15px -85px; } body.bb-menu-folded div#bbBody{ margin-left: 110px; }
  14      </style>
  15      <![endif]-->
  16      <link rel="shortcut icon" type="image/ico" href="<?php bb_uri('bb-admin/images/favicon.ico', null, BB_URI_CONTEXT_BB_ADMIN); ?>" />
  17      <script type="text/javascript">
  18          //<![CDATA[
  19          addLoadEvent = 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();}}};
  20          var userSettings = {'url':'<?php echo $bb->cookie_path; ?>','uid':'<?php if ( ! isset($bb_current_user) ) $bb_current_user = bb_get_current_user(); echo $bb_current_user->ID; ?>','time':'<?php echo time(); ?>'};
  21          //]]>
  22      </script>
  23  <?php do_action( 'bb_admin_head' ); ?>
  24  </head>
  25  
  26  <?php
  27  global $bb_admin_body_class;
  28  if ( 'f' == bb_get_user_setting( 'fm' ) ) {
  29      $bb_admin_body_class .= ' bb-menu-folded';
  30  }
  31  ?>
  32  
  33  <body class="bb-admin no-js <?php echo trim( $bb_admin_body_class ); ?>">
  34      <script type="text/javascript">
  35          //<![CDATA[
  36          (function(){
  37              var c = document.body.className;
  38              c = c.replace(/no-js/, 'js');
  39              document.body.className = c;
  40          })();
  41          //]]>
  42      </script>
  43      <div id="bbWrap">
  44          <div id="bbContent">
  45              <div id="bbHead">
  46                  <h1><a href="<?php bb_uri(); ?>"><span><?php bb_option('name'); ?></span> <em><?php _e('Visit Site'); ?></em></a></h1>
  47                  <div id="bbUserInfo">
  48                      <p>
  49                          <?php printf( __('Howdy, %1$s'), bb_get_profile_link( array( 'text' => bb_get_current_user_info( 'name' ) ) ) );?>
  50                          | <?php bb_logout_link( array( 'redirect' => bb_get_uri( null, null, BB_URI_CONTEXT_HEADER ) ) ); ?>
  51                      </p>
  52                  </div>
  53              </div>
  54  
  55              <div id="bbBody">
  56  
  57  <?php bb_admin_menu(); ?>


Generated: Thu Dec 7 01:01:35 2017 Cross-referenced by PHPXref 0.7.1