static function head($title, $bodyClass = null, $inscript = null, $onLoad = null, $meta = null) { // Media="All" is used to hide the styles from Netscape 4.x header('Content-Type: ' . CONTENT_TYPE); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html401/loose.dtd"> <html> <head> <title>:: <?php echo SB_Page::title(); ?> :: <?php echo SB_T($title); ?> </title> <meta http-equiv="Content-Type" content="<?php echo CONTENT_TYPE; ?> "> <meta name="keywords" content="bookmark manager, online bookmark manager, online bookmarks, favorites manager, online favorites, bookmark organizer, firefox bookmark manager, bookmark server"> <meta name="description" content="Open Source Freeware Bookmark Server for Personal and Team Use."> <?php echo $meta; ?> <link rel="shortcut Icon" href="<?php echo SB_Skin::webPath(); ?> /root_transparent.png"> <link rel="author" href="http://brablc.com/"> <link rel="bookmark" href="http://sitebar.org/" title="online bookmark manager"> <link rel="help" href="http://sitebar.org/userguide.php"> <?php /* // This can only be enabled when caching is implemented FF fetches the links when page is visitied. $sortModes = array ( 'added' => 'Recently Added', 'changed' => 'Recently Modified', 'visited' => 'Recently Visited', 'hits' => 'Most Popular', 'waiting' => 'Waiting for Visit', ); foreach( $sortModes as $mode => $sortLabel) { ?> <link rel="alternate" type="application/rss+xml" title="SiteBar Bookmarks [<?php echo $sortLabel?>]" href="<?php echo SB_Page::absBaseUrl()?>index.php?w=rss&sort=<?php echo $mode?>&max=20"> <?php } */ SB_Page::headerContent($inscript); ?> </head> <body class="siteBar siteBarBaseFont siteBarPageBackground <?php echo $bodyClass; ?> " <?php echo $onLoad ? ' onLoad="' . $onLoad . '"' : ''; ?> onmouseup="SB_cancelDragging();"> <?php }