Skip to content
Snippets Groups Projects
Commit 8f59fcf9 authored by Olav Morken's avatar Olav Morken
Browse files

Remove extra <div id="content"> in many templates.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1471 44740490-163a-0410-bde0-09ae8108e29a
parent d3012cbd
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@
$this->data['header'] = $this->t('{aggregator:dict:aggregator_header}');
$this->includeAtTemplateBase('includes/header.php');
echo('<div id="content">');
echo('<h1>'. $this->data['header'] . '</h1>');
if (count($this->data['sources']) === 0) {
......
......@@ -6,7 +6,6 @@ $this->data['autofocus'] = 'otp';
$this->includeAtTemplateBase('includes/header.php');
?>
<div id="content">
<?php
if ($this->data['errorcode'] !== NULL) {
......
......@@ -53,7 +53,6 @@ span.showhide {
}
</style>
<div id="content">
<!-- <h2><?php if (isset($this->data['header'])) { echo $this->t($this->data['header']); } else { echo "Some error occured"; } ?></h2> -->
<h2><?php echo $this->t('consentadmin_header') ?></h2>
......
......@@ -10,7 +10,6 @@ if (strlen($this->data['username']) > 0) {
$this->includeAtTemplateBase('includes/header.php');
?>
<div id="content">
<?php
if ($this->data['errorcode'] !== NULL) {
......
......@@ -4,7 +4,6 @@ $this->data['header'] = 'Cron information page';
$this->includeAtTemplateBase('includes/header.php');
?>
<div id="content">
<p>Cron is a way to run things regularly on unix systems.</p>
......
......@@ -4,7 +4,6 @@ $this->includeAtTemplateBase('includes/header.php');
?>
<div id="content">
<h2>SimpleSAMLphp logs (admin utility)</h2>
......
......@@ -7,7 +7,6 @@ $this->includeAtTemplateBase('includes/header.php');
#$icon_disabled = '<img src="/' . $this->data['baseurlpath'] . 'resources/icons/delete.png" alt="disabled" />';
?>
<div id="content">
<h2><?php echo($this->data['header']); ?></h2>
......
......@@ -38,7 +38,6 @@ div.error {
border: 1px solid #600;
}
</style>
<div id="content">
<?php if (isset($this->data['error'])) { print "<div class=\"error\">" . $this->data['error'] . "</div>"; } ?>
......
......@@ -3,7 +3,6 @@ $this->data['header'] = 'Sanity check';
$this->includeAtTemplateBase('includes/header.php');
?>
<div id="content">
<h2><?php echo($this->data['header']); ?></h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment