Ejemplo n.º 1
0
    /** Build the HTML header. Includes doctype definition, <html> and <head>
     * sections, meta data and window title.
     *
     * @return str
     */
    function _htmlHeader($title)
    {
        $output = $this->_doctype();
        $output .= '<html lang="en">' . "\n";
        $output .= "<head>\n\n";
        $output .= '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' . "\n\n";
        $output .= '<meta name="generator" content="PHPDoctor ' . $this->_doclet->version() . ' (http://peej.github.com/phpdoctor/)">' . "\n";
        $output .= '<meta name="when" content="' . gmdate('r') . '">' . "\n\n";
        $output .= '<link rel="stylesheet" type="text/css" href="' . str_repeat('../', $this->_depth) . 'stylesheet.css">' . "\n";
        $output .= '<link rel="start" href="' . str_repeat('../', $this->_depth) . 'overview-summary.html">' . "\n\n";
        $output .= '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>' . "\n";
        $output .= '<script type="text/javascript">
			$(document).ready(function() {
				$(\'iframe\').load(function() {
				  this.style.height =
				  this.contentWindow.document.body.offsetHeight + \'px\';
				});
			});
		</script>' . "\n";
        $output .= '<title>';
        if ($title) {
            $output .= $title . ' (' . $this->_doclet->windowTitle() . ')';
        } else {
            $output .= $this->_doclet->windowTitle();
        }
        $output .= "</title>\n\n";
        $output .= "</head>\n";
        return $output;
    }
Ejemplo n.º 2
0
 /** Build the HTML header. Includes doctype definition, <html> and <head>
  * sections, meta data and window title.
  *
  * @return str
  */
 function _htmlHeader($title)
 {
     $output = $this->_doctype();
     $output .= '<html lang="en">' . "\n";
     $output .= "<head>\n\n";
     $output .= '<meta name="generator" content="PHPDoctor ' . $this->_doclet->version() . ' (http://phpdoctor.sourceforge.net/)">' . "\n";
     $output .= '<meta name="when" content="' . date('r') . '">' . "\n\n";
     $output .= '<link rel="stylesheet" type="text/css" href="' . str_repeat('../', $this->_depth) . 'stylesheet.css">' . "\n";
     $output .= '<link rel="start" href="' . str_repeat('../', $this->_depth) . 'overview-summary.html">' . "\n\n";
     $output .= '<title>';
     if ($title) {
         $output .= $title . ' (' . $this->_doclet->windowTitle() . ')';
     } else {
         $output .= $this->_doclet->windowTitle();
     }
     $output .= "</title>\n\n";
     $output .= "</head>\n";
     return $output;
 }
Ejemplo n.º 3
0
 /** Build the HTML header. Includes doctype definition, <html> and <head>
  * sections, meta data and window title.
  *
  * @return str
  */
 public function _htmlHeader($title)
 {
     $output = $this->_doctype();
     $output .= '<html lang="en">' . "\n";
     $output .= "<head>\n\n";
     $output .= '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' . "\n\n";
     $output .= '<meta name="generator" content="PHPDoctor ' . $this->_doclet->version() . ' (http://peej.github.com/phpdoctor/)">' . "\n";
     $output .= '<meta name="when" content="' . gmdate('r') . '">' . "\n\n";
     $output .= '<link rel="stylesheet" type="text/css" href="' . str_repeat('../', $this->_depth) . 'stylesheet.css">' . "\n";
     $output .= '<link rel="start" href="' . str_repeat('../', $this->_depth) . 'overview-summary.html">' . "\n\n";
     $output .= '<title>';
     if ($title) {
         $output .= $title . ' (' . $this->_doclet->windowTitle() . ')';
     } else {
         $output .= $this->_doclet->windowTitle();
     }
     $output .= "</title>\n\n";
     $output .= "</head>\n";
     return $output;
 }