update links and .htaccess for SSL
[dylansserver.git] / view / note.php
index 8053918..36a3dd2 100644 (file)
@@ -22,8 +22,9 @@
       SyntaxHighlighter.all();
     }
   </script>
-  <script type='text/javascript' src='http://www.google.com/recaptcha/api/js/recaptcha_ajax.js'></script>
+  <script type='text/javascript' src='https://www.google.com/recaptcha/api/js/recaptcha_ajax.js'></script>
   <script type='text/javascript' src='/includes/comment.js'></script>
+  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
 </head>
 
 <body onload="return typeof highlight == 'function' ? highlight() : true">
             </span><?php echo $this->title ?></h1>
             <?php echo $this->text ?>
         </div>
-      <div id="contact_me"><h1><a href=
-      "mailto:dylan@psu.edu">dylan</a></h1><a href=
-      "mailto:dylan@psu.edu">@psu.edu</a>
+        <br><br><br><br>
+        <div id='navigation'>
+          <?php if ($this->comments_enabled) {
+            $this->display_comments();
+            $this->display_comment_form();
+          } ?>
+          <h1>
+          <?php if (!$this->comments_enabled) $this->display_comment_link(); ?>
+          <a href="/notes/">back to notes/</a>
+          </h1>
+        </div>
+        <div id="contact_me"><h1><a href=
+        "mailto:dylan@psu.edu">dylan</a></h1><a href=
+        "mailto:dylan@psu.edu">@psu.edu</a>
+        </div>
       </div>
-    </div>
     <br>
     <br>
   </div>