Permalink
Browse files

add <title> and links to index page

  • Loading branch information...
1 parent 52ff0e8 commit dd1b2a0dd07e7e79a4789a1e9cd45e72d5255977 @pommi committed Mar 22, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 index.php
View
@@ -8,6 +8,7 @@
if (!isset($_GET['t']) || empty($_GET['t'])) {
echo <<<EOT
+<!DOCTYPE html>
<html>
<head><title>Bonnie to Google Chart</title></head>
<body>
@@ -31,6 +32,8 @@
echo <<<EOT
<html>
<head>
+ <title>bonnie2gchart - {$types[$_GET['t']]['name']}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
@@ -60,6 +63,7 @@ function drawChart() {
</script>
</head>
<body>
+ <a href=".">« index</a>
<div id="chart_div" style="width: 900px; height: 500px;"></div>
</body>
</html>

0 comments on commit dd1b2a0

Please sign in to comment.