Include page titles in html title
[disclosr.git] / include / template.inc.php
blob:a/include/template.inc.php -> blob:b/include/template.inc.php
--- a/include/template.inc.php
+++ b/include/template.inc.php
@@ -1,6 +1,6 @@
 <?php
 
-function include_header() {
+function include_header($title) {
     global $basePath;
     ?>
     <!DOCTYPE html>
@@ -16,7 +16,7 @@
             <!-- Set the viewport width to device width for mobile -->
             <meta name="viewport" content="width=device-width" />
 
-            <title>Disclosr</title>
+            <title><?php echo $title; ?> - Disclosr</title>
 
             <!-- Included CSS Files -->
             <link rel="stylesheet" href="<?php echo $basePath ?>stylesheets/foundation.css">