Added last 60 minutes graph to index.php
authorDan
Sun, 04 Jan 2009 16:42:52 -0500
changeset 45 53a50ba4d690
parent 43 ce2e9caf2dfa
child 46 186507f67064
Added last 60 minutes graph to index.php
htdocs/index.php
htdocs/news.php
--- a/htdocs/index.php	Sun Jan 04 16:40:36 2009 -0500
+++ b/htdocs/index.php	Sun Jan 04 16:42:52 2009 -0500
@@ -82,6 +82,8 @@
       }
       ?>
     </ul>
+    <h1>Last 60 minutes</h1>
+    <img alt="Graph image" src="graph.php?mode=lasthour&amp;channel=<?php echo urlencode($channel); ?>" />
     <h1>Last 24 hours</h1>
     <img alt="Graph image" src="graph.php?mode=lastday&amp;channel=<?php echo urlencode($channel); ?>" />
     <h1>Last 2 weeks</h1>
--- a/htdocs/news.php	Sun Jan 04 16:40:36 2009 -0500
+++ b/htdocs/news.php	Sun Jan 04 16:42:52 2009 -0500
@@ -13,6 +13,8 @@
   </head>
   <body>
     <h1>Updates and changes</h1>
+    <h3>2009-01-04</h3>
+    <p>Added a last 60 minutes graph.</p>
     <h3>2008-12-24</h3>
     <p><?php echo $nick; ?> now has modular graph support and thus is able to show different graphs. Included now are options for the last
        24 hours as before, plus the last two weeks and the last 30 days. More, of course, can be added if needed.</p>