示例#1
0
文件: page.php 项目: rjv/Project-Pier
 /**
 * Render page head...
 *
 * @access public
 * @param string $title
 * @return string
 */
 function render_page_head() {
   $page = PageDescription::instance();
   
   $head = render_page_links() . "\n" .
     render_page_meta() . "\n" .
     render_page_javascript() . "\n" .
     render_page_inline_js() . "\n" .
     render_page_inline_css();
     
   return trim($head) . "\n";
 } // render_page_head
示例#2
0
<!DOCTYPE html>
<html>
<head>
  <title><?php 
echo get_page_title();
?>
 | <?php 
echo $site_name;
?>
</title>

  <?php 
echo meta_tag('content-type', 'text/html; charset=utf-8', true);
?>
  <?php 
echo render_page_meta();
?>
 
  
  <?php 
echo link_tag(ROOT_URL . 'favicon.ico', 'rel', 'shortcut icon', array("type" => "image/x-icon"));
?>
 
  <?php 
echo link_tag(ROOT_URL . 'favicon.ico', 'rel', 'icon', array("type" => "image/x-icon"));
?>
  <?php 
echo render_page_links();
?>
 
示例#3
0
/**
 * Render page head...
 *
 * @access public
 * @param string $title
 * @return string
 */
function render_page_head()
{
    $head = render_page_links() . "\n" . render_page_meta() . "\n" . render_page_javascript() . "\n" . render_page_inline_js() . "\n" . render_page_inline_css();
    return trim($head) . "\n";
}