fix minor errors
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -351,10 +351,11 @@ if ($page == 'overview') {
|
|||||||
$mail_body = "Dear froxlor-team,\n\n";
|
$mail_body = "Dear froxlor-team,\n\n";
|
||||||
$mail_body .= "the following error has been reported by a user:\n\n";
|
$mail_body .= "the following error has been reported by a user:\n\n";
|
||||||
$mail_body .= "-------------------------------------------------------------\n";
|
$mail_body .= "-------------------------------------------------------------\n";
|
||||||
$mail_body .= $_error['code'].' '.$_error['message']."\n";
|
$mail_body .= $_error['code'].' '.$_error['message']."\n\n";
|
||||||
$mail_body .= $_error['file'].':'.$_error['line']."\n\n";
|
$mail_body .= "File: ".$_error['file'].':'.$_error['line']."\n\n";
|
||||||
$mail_body .= "Trace:\n".$_error['trace']."\n\n";
|
$mail_body .= "Trace:\n".trim($_error['trace'])."\n\n";
|
||||||
$mail_body .= "-------------------------------------------------------------\n";
|
$mail_body .= "-------------------------------------------------------------\n\n";
|
||||||
|
$mail_body .= "Froxlor-version: ".$version."\n\n";
|
||||||
$mail_body .= "End of report";
|
$mail_body .= "End of report";
|
||||||
$mail_html = str_replace("\n", "<br />", $mail_body);
|
$mail_html = str_replace("\n", "<br />", $mail_body);
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ $header
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
|
<form method="post" action="{$linker->getLink(array('section' => 'index', 'errorid' => $errid))}" enctype="application/x-www-form-urlencoded">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
@@ -16,10 +16,10 @@ $header
|
|||||||
<table class="bradius">
|
<table class="bradius">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<th>
|
||||||
<p>Thank you for reporting this error and helping us to make froxlor better.</p>
|
<p>Thank you for reporting this error and helping us to make froxlor better.</p>
|
||||||
<p>This is the e-mail that will be sent to the froxlor developer team:</p>
|
<p>This is the e-mail that will be sent to the froxlor developer team:</p>
|
||||||
</td>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ $header
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
|
<form method="post" action="{$linker->getLink(array('section' => 'index', 'errorid' => $errid))}" enctype="application/x-www-form-urlencoded">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input type="hidden" name="s" value="$s" />
|
<input type="hidden" name="s" value="$s" />
|
||||||
<input type="hidden" name="page" value="$page" />
|
<input type="hidden" name="page" value="$page" />
|
||||||
@@ -16,10 +16,10 @@ $header
|
|||||||
<table class="bradius">
|
<table class="bradius">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<th>
|
||||||
<p>Thank you for reporting this error and helping us to make froxlor better.</p>
|
<p>Thank you for reporting this error and helping us to make froxlor better.</p>
|
||||||
<p>This is the e-mail that will be sent to the froxlor developer team:</p>
|
<p>This is the e-mail that will be sent to the froxlor developer team:</p>
|
||||||
</td>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user