From 4adcc2ef57d81510840c813c1a513e127bd7f540 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 11 Mar 2008 13:55:02 +0000
Subject: [PATCH] Removing some bad characters and indenting the HTML code

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@383 44740490-163a-0410-bde0-09ae8108e29a
---
 templates/default/en/error.php | 56 +++++++++++++++-------------------
 1 file changed, 24 insertions(+), 32 deletions(-)

diff --git a/templates/default/en/error.php b/templates/default/en/error.php
index afc4c0a90..08f27a37f 100644
--- a/templates/default/en/error.php
+++ b/templates/default/en/error.php
@@ -4,7 +4,6 @@
 	$this->includeAtTemplateBase('includes/header.php'); 
 ?>
 
-
 <div id="content">
 
 	<h2><?php 
@@ -21,11 +20,10 @@ if(array_key_exists('descr_'  . $this->data['errorcode'], $this->data)) {
 /* Print out the track id if it exists. */
 if(array_key_exists('trackid', $this->data)) {
 ?>
-		<div class="trackidtext">
-			If you report this error, please also report thisĘtracking ID which makes it possible to locate your session in the logs which are available to the system administrator: 
-				<span class="trackid"><?php echo $this->data['trackid']; ?><span>
-
-		</div>
+	<div class="trackidtext">
+		If you report this error, please also report this tracking ID which makes it possible to locate your session in the logs which are available to the system administrator: 
+			<span class="trackid"><?php echo $this->data['trackid']; ?><span>
+	</div>
 <?php
 }
 ?>
@@ -53,37 +51,31 @@ if (array_key_exists('showerrors', $this->data) && $this->data['showerrors']) {
 if (!empty($this->data['errorreportaddress'])) {
 ?>
 
-		<h2>Report errors</h2>		
-		<form action="<?php echo $this->data['errorreportaddress']; ?>" method="post">
+	<h2>Report errors</h2>		
+	<form action="<?php echo $this->data['errorreportaddress']; ?>" method="post">
 	
-			<p>Optionally enter your email address, for the administrators to be able contact you for further questions about your issue:			</p>
-				<p>E-mail address: <input type="text" size="25" name="email" value="" />
-
-			<p>
-			<textarea style="width: 300px; height: 100px" name="text">Explain what you did to get this error...</textarea>
-			</p></p>
-			<input type="hidden" name="action" value="error" />
-			<input type="hidden" name="techemail" value="<?php echo $this->data['email']; ?>" />
-			<input type="hidden" name="version" value="<?php echo $this->data['version']; ?>" />
-			<input type="hidden" name="trackid" value="<?php echo $this->data['trackid']; ?>" />
-			<input type="hidden" name="exceptionmsg" value="<?php echo urlencode(base64_encode($this->data['exceptionmsg'])); ?>" />
-			<input type="hidden" name="exceptiontrace" value="<?php echo urlencode(base64_encode($this->data['exceptiontrace'])); ?>" />
-			
-			<input type="submit" name="send" value="Send error report" />
-			</p>
-		</form>
+		<p>Optionally enter your email address, for the administrators to be able contact you for further questions about your issue:			</p>
+			<p>E-mail address: <input type="text" size="25" name="email" value="" />
+	
+		<p>
+		<textarea style="width: 300px; height: 100px" name="text">Explain what you did to get this error...</textarea>
+		</p></p>
+		<input type="hidden" name="action" value="error" />
+		<input type="hidden" name="techemail" value="<?php echo $this->data['email']; ?>" />
+		<input type="hidden" name="version" value="<?php echo $this->data['version']; ?>" />
+		<input type="hidden" name="trackid" value="<?php echo $this->data['trackid']; ?>" />
+		<input type="hidden" name="exceptionmsg" value="<?php echo urlencode(base64_encode($this->data['exceptionmsg'])); ?>" />
+		<input type="hidden" name="exceptiontrace" value="<?php echo urlencode(base64_encode($this->data['exceptiontrace'])); ?>" />
+		
+		<input type="submit" name="send" value="Send error report" />
+		</p>
+	</form>
 <?php
 }
 ?>
 
+<h2 style="clear: both">How to get help</h2>
 
-
-		
-	<h2 style="clear: both">How to get help</h2>
-	
-	
-	<p>This error probably is due to some unexpected behaviour or to misconfiguration of simpleSAMLphp. Contact the administrator of this login service, and send them the error message above.</p>
-		
-
+<p>This error probably is due to some unexpected behaviour or to misconfiguration of simpleSAMLphp. Contact the administrator of this login service, and send them the error message above.</p>
 
 <?php $this->includeAtTemplateBase('includes/footer.php'); ?>
\ No newline at end of file
-- 
GitLab