public function getHead() { $output = ""; $output .= "<link rel='stylesheet' type='text/css' href='" . href("css/bibliography.css") . "'>"; $output .= printMathJax(); return $output; }
public function getHead() { $output = ""; $output .= printMathJax(); return $output; }
<head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <script src="<?php print $config["D3"]; ?> "></script> <script src="<?php print href("js/graphs.js"); ?> "></script> <script src="<?php print $config["jQuery"]; ?> "></script> <?php print printMathJax(); ?> <link rel='stylesheet' type='text/css' href='<?php print href("css/graphs.css"); ?> '> <link rel='stylesheet' type='text/css' href='<?php print href("css/tag.css"); ?> '> <title>Stacks Project — Cluster graph for tag <?php print htmlentities($_GET["tag"]); ?> </title> <link rel='icon' type='image/vnd.microsoft.icon' href='<?php print href("stacks.ico");
public function getHead() { global $config; $value = ""; $value .= "<script type='text/javascript' src='" . $config["jQuery"] . "'></script>"; $value .= "<script type='text/javascript' src='" . href("js/tag.js") . "'></script>"; $value .= "<link rel='stylesheet' type='text/css' href='" . href("css/tag.css") . "'>"; if ($this->tag["type"] == "chapter") { $value .= "<script type='text/javascript' src='" . $config["jQuery"] . "'></script>"; $value .= "<script type='text/javascript' src='" . href('js/jquery-treeview/jquery.treeview.js') . "'></script>"; $value .= "<link rel='stylesheet' href='" . href('js/jquery-treeview/jquery.treeview.css') . "' />"; } else { $value .= "<script type='text/javascript' src='" . href("js/sfm.js") . "'></script>"; $value .= "<script type='text/javascript' src='" . href("js/EpicEditor/epiceditor/js/epiceditor.js") . "'></script>"; $value .= "<script type='text/javascript'>"; $value .= " var options = {"; $value .= " basePath: '" . href("js/EpicEditor/epiceditor") . "',"; $value .= " file: {"; $value .= " name: '" . $this->tag["tag"] . "',"; $value .= " defaultContent: 'You can type your comment here, use the preview option to see what it will look like.',"; $value .= " },"; $value .= " theme: {"; $value .= " editor: '/themes/editor/stacks-editor.css',"; $value .= " preview: '/themes/preview/stacks-preview.css',"; $value .= " },"; $value .= " parser : sfm,"; $value .= " shortcut : {"; $value .= " modifier : 0,"; $value .= " } "; $value .= " }"; $value .= "</script>"; $value .= printMathJax(); } return $value; }