Updated language definitions for the new error reporting system, added templates to "Froxlor" theme

This commit is contained in:
BNoiZe
2013-11-29 13:44:57 +01:00
parent 88ec1a15f1
commit 21f7c82a95
9 changed files with 115 additions and 18 deletions

View File

@@ -0,0 +1,43 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/display.png" alt="" />&nbsp;
{$lng['error']['send_report_title']}
</h2>
</header>
<section>
<form method="post" action="{$linker->getLink(array('section' => 'index', 'errorid' => $errid))}" 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="bradiusodd">
<thead>
<tr>
<th>
<p>{$lng['error']['send_report_desc']}</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>{$mail_html}</code>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td align="center">
<input class="bottom" type="submit" value="{$lng['error']['send_report']}" />
</td>
</tr>
</tfoot>
</table>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -266,6 +266,7 @@ p.submit {
text-align: left;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
.messagewrapper {

View File

@@ -0,0 +1,43 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/display.png" alt="" />&nbsp;
{$lng['error']['send_report_title']}
</h2>
</header>
<section>
<form method="post" action="{$linker->getLink(array('section' => 'index', 'errorid' => $errid))}" 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="bradiusodd">
<thead>
<tr>
<th>
<p>{$lng['error']['send_report_desc']}</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>{$mail_html}</code>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td align="center">
<input class="bottom" type="submit" value="{$lng['error']['send_report']}" />
</td>
</tr>
</tfoot>
</table>
</fieldset>
</form>
</section>
</article>
$footer

View File

@@ -31,9 +31,15 @@
<pre style="overflow:auto;"><DEBUG></pre>
</div>
</div>
<p class="submit">
<a href="#" title="Click here to go back" id="historyback">Go back</a>
</p>
<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>
</article>
@@ -44,4 +50,4 @@
</span>
</footer>
</body>
</html>
</html>

View File

@@ -2,23 +2,22 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/display_big.png" alt="" />&nbsp;
Send error report
<img src="templates/{$theme}/assets/img/icons/error_report_big.png" alt="" />&nbsp;
{$lng['error']['send_report_title']}
</h2>
</header>
<section>
<section class="fullform bradius">
<form method="post" action="{$linker->getLink(array('section' => 'index', 'errorid' => $errid))}" 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">
<table class="formtable">
<thead>
<tr>
<th>
<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>{$lng['error']['send_report_desc']}</p>
</th>
</tr>
</thead>
@@ -32,7 +31,7 @@ $header
<tfoot>
<tr>
<td align="center">
<input class="bottom" type="submit" value="Send report" />
<input class="bottom" type="submit" value="{$lng['error']['send_report']}" />
</td>
</tr>
</tfoot>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -2,23 +2,22 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/display_big.png" alt="" />&nbsp;
Send error report
<img src="templates/{$theme}/assets/img/icons/error_report_big.png" alt="" />&nbsp;
{$lng['error']['send_report_title']}
</h2>
</header>
<section>
<section class="fullform bradius">
<form method="post" action="{$linker->getLink(array('section' => 'index', 'errorid' => $errid))}" 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">
<table class="formtable">
<thead>
<tr>
<th>
<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>{$lng['error']['send_report_desc']}</p>
</th>
</tr>
</thead>
@@ -32,7 +31,7 @@ $header
<tfoot>
<tr>
<td align="center">
<input class="bottom" type="submit" value="Send report" />
<input class="bottom" type="submit" value="{$lng['error']['send_report']}" />
</td>
</tr>
</tfoot>