diff --git a/templates/includes/footer-embed.php b/templates/includes/footer-embed.php new file mode 100644 index 0000000000000000000000000000000000000000..308b1d01b6ca1e7ab1b1fa896e6a8497bbcd1a37 --- /dev/null +++ b/templates/includes/footer-embed.php @@ -0,0 +1,2 @@ +</body> +</html> diff --git a/templates/includes/header-embed.php b/templates/includes/header-embed.php new file mode 100644 index 0000000000000000000000000000000000000000..dce6cba61c39f8133765b977f234ee1cd849a5c5 --- /dev/null +++ b/templates/includes/header-embed.php @@ -0,0 +1,23 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<title><?php +if(array_key_exists('header', $this->data)) { + echo $this->data['header']; +} else { + echo 'simpleSAMLphp'; +} +?></title> + + <link rel="stylesheet" type="text/css" href="/<?php echo $this->data['baseurlpath']; ?>resources/default.css" /> + <meta name="robots" content="noindex, nofollow" /> + +<?php +if(array_key_exists('head', $this->data)) { + echo '<!-- head -->' . $this->data['head'] . '<!-- /head -->'; +} +?> +</head> +<body> +