--- a/config.php +++ b/config.php @@ -18,6 +18,10 @@ // Print PDOException message echo $e->getMessage(); } +function local_url() +{ + return "http://" . $_SERVER['HTTP_HOST'] . rtrim(dirname($_SERVER['PHP_SELF']), '/\\') . "/"; +} function includeHeader($title) { @@ -32,14 +36,22 @@ <meta name="author" content=""> <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png"> - <title>Starter Template for Bootstrap</title> + <title><?= $title ?></title> <!-- Bootstrap core CSS --> <link href="js/dynatable/jquery.dynatable.css" rel="stylesheet"> <link href="lib/tag-cloud/css/tagcloud.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="stylesheet"> - + <style> + th a { + color: #428bca; + } + th a:hover { + color: #428bca; + text-decoration: underline; + } + </style> <!-- Custom styles for this template <link href="starter-template.css" rel="stylesheet">--> @@ -55,7 +67,13 @@ <![endif]--> </head> - <body> + <body xmlns="http://www.w3.org/1999/xhtml" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#" + xmlns:gr="http://purl.org/goodrelations/v1#" + xmlns:foaf="http://xmlns.com/foaf/0.1/" + xmlns:vcard="http://www.w3.org/2006/vcard/ns#" > <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container">