first implementation of error-reporting
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
44
templates/Sparkle/admin/index/send_error_report.tpl
vendored
Normal file
44
templates/Sparkle/admin/index/send_error_report.tpl
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/display_big.png" alt="" />
|
||||
Send error report
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
<table class="bradius">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<code>{$mail_html}</code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="bottom" type="submit" value="Send report" />
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
44
templates/Sparkle/customer/index/send_error_report.tpl
vendored
Normal file
44
templates/Sparkle/customer/index/send_error_report.tpl
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/display_big.png" alt="" />
|
||||
Send error report
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'index'))}" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
<table class="bradius">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<code>{$mail_html}</code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<input class="bottom" type="submit" value="Send report" />
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
10
templates/Sparkle/misc/dberrornice.tpl
vendored
10
templates/Sparkle/misc/dberrornice.tpl
vendored
@@ -34,8 +34,14 @@
|
||||
<p> </p>
|
||||
</div>
|
||||
</div>
|
||||
<aside class="right">
|
||||
<a href="#" title="Click here to go back" id="historyback">Go back</a>
|
||||
<aside>
|
||||
<div style="float:left;">
|
||||
<a href="#" title="Click here to go back" id="historyback">Go back</a>
|
||||
</div>
|
||||
<div style="float:right;">
|
||||
<a href="<LINK>" title="Click here to report error">Report error</a>
|
||||
</div>
|
||||
<div style="clear:both;"></div>
|
||||
</aside>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user