From 51848f58888b8fa78ad2dd8c295f31d8dfe8d8dd Mon Sep 17 00:00:00 2001
From: Anders Lund <anders.lund@uninett.no>
Date: Fri, 19 Dec 2008 15:55:52 +0000
Subject: [PATCH] div with id consent is already in header.php
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1070 44740490-163a-0410-bde0-09ae8108e29a
---
modules/consent/templates/default/consentform.php | 3 +--
modules/consent/templates/default/noconsent.php | 4 +---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/modules/consent/templates/default/consentform.php b/modules/consent/templates/default/consentform.php
index f3e67337d..d07690d1c 100644
--- a/modules/consent/templates/default/consentform.php
+++ b/modules/consent/templates/default/consentform.php
@@ -97,7 +97,6 @@ $(document).ready(function() {
$this->includeAtTemplateBase('includes/header.php');
?>
-<div id="content">
<p>
<?php echo $this->t('{consent:consent_accept}', array(
@@ -205,4 +204,4 @@ foreach ($this->data['noData'] as $name => $value) {
<?php
$this->includeAtTemplateBase('includes/footer.php');
-?>
\ No newline at end of file
+?>
diff --git a/modules/consent/templates/default/noconsent.php b/modules/consent/templates/default/noconsent.php
index b865cbef1..66f5cac99 100644
--- a/modules/consent/templates/default/noconsent.php
+++ b/modules/consent/templates/default/noconsent.php
@@ -5,8 +5,6 @@
?>
-<div id="content">
-
<h2><?php echo($this->data['header']); ?></h2>
<p><?php echo($this->t('{consent:noconsent_text}')); ?></p>
@@ -18,4 +16,4 @@
}
?>
-<?php $this->includeAtTemplateBase('includes/footer.php'); ?>
\ No newline at end of file
+<?php $this->includeAtTemplateBase('includes/footer.php'); ?>
--
GitLab