Skip to content
Snippets Groups Projects
Commit 4adcc2ef authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Removing some bad characters and indenting the HTML code

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@383 44740490-163a-0410-bde0-09ae8108e29a
parent c7c63c27
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
$this->includeAtTemplateBase('includes/header.php'); $this->includeAtTemplateBase('includes/header.php');
?> ?>
<div id="content"> <div id="content">
<h2><?php <h2><?php
...@@ -21,11 +20,10 @@ if(array_key_exists('descr_' . $this->data['errorcode'], $this->data)) { ...@@ -21,11 +20,10 @@ if(array_key_exists('descr_' . $this->data['errorcode'], $this->data)) {
/* Print out the track id if it exists. */ /* Print out the track id if it exists. */
if(array_key_exists('trackid', $this->data)) { if(array_key_exists('trackid', $this->data)) {
?> ?>
<div class="trackidtext"> <div class="trackidtext">
If you report this error, please also report thistracking ID which makes it possible to locate your session in the logs which are available to the system administrator: 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> <span class="trackid"><?php echo $this->data['trackid']; ?><span>
</div>
</div>
<?php <?php
} }
?> ?>
...@@ -53,37 +51,31 @@ if (array_key_exists('showerrors', $this->data) && $this->data['showerrors']) { ...@@ -53,37 +51,31 @@ if (array_key_exists('showerrors', $this->data) && $this->data['showerrors']) {
if (!empty($this->data['errorreportaddress'])) { if (!empty($this->data['errorreportaddress'])) {
?> ?>
<h2>Report errors</h2> <h2>Report errors</h2>
<form action="<?php echo $this->data['errorreportaddress']; ?>" method="post"> <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>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>E-mail address: <input type="text" size="25" name="email" value="" />
<p> <p>
<textarea style="width: 300px; height: 100px" name="text">Explain what you did to get this error...</textarea> <textarea style="width: 300px; height: 100px" name="text">Explain what you did to get this error...</textarea>
</p></p> </p></p>
<input type="hidden" name="action" value="error" /> <input type="hidden" name="action" value="error" />
<input type="hidden" name="techemail" value="<?php echo $this->data['email']; ?>" /> <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="version" value="<?php echo $this->data['version']; ?>" />
<input type="hidden" name="trackid" value="<?php echo $this->data['trackid']; ?>" /> <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="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="hidden" name="exceptiontrace" value="<?php echo urlencode(base64_encode($this->data['exceptiontrace'])); ?>" />
<input type="submit" name="send" value="Send error report" /> <input type="submit" name="send" value="Send error report" />
</p> </p>
</form> </form>
<?php <?php
} }
?> ?>
<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>
<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>
<?php $this->includeAtTemplateBase('includes/footer.php'); ?> <?php $this->includeAtTemplateBase('includes/footer.php'); ?>
\ No newline at end of file
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