Revision: 2138
Author: olavmrk
Date: Wed Jan 27 01:26:03 2010
Log: templates: Embeddable header&footer
http://code.google.com/p/simplesamlphp/source/detail?r=2138

Added:
 /trunk/templates/includes/footer-embed.php
 /trunk/templates/includes/header-embed.php

=======================================
--- /dev/null
+++ /trunk/templates/includes/footer-embed.php  Wed Jan 27 01:26:03 2010
@@ -0,0 +1,2 @@
+</body>
+</html>
=======================================
--- /dev/null
+++ /trunk/templates/includes/header-embed.php  Wed Jan 27 01:26:03 2010
@@ -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>
+

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to