From 21f7c82a95130625b5565d3dc9ed92e847a31ab2 Mon Sep 17 00:00:00 2001 From: BNoiZe Date: Fri, 29 Nov 2013 13:44:57 +0100 Subject: [PATCH] Updated language definitions for the new error reporting system, added templates to "Froxlor" theme --- lng/english.lng.php | 3 ++ lng/german.lng.php | 3 ++ .../Froxlor/admin/index/send_error_report.tpl | 43 ++++++++++++++++++ templates/Froxlor/assets/css/main.css | 1 + .../customer/index/send_error_report.tpl | 43 ++++++++++++++++++ templates/Froxlor/misc/dberrornice.tpl | 14 ++++-- .../Sparkle/admin/index/send_error_report.tpl | 13 +++--- .../assets/img/icons/error_report_big.png | Bin 0 -> 4137 bytes .../customer/index/send_error_report.tpl | 13 +++--- 9 files changed, 115 insertions(+), 18 deletions(-) create mode 100644 templates/Froxlor/admin/index/send_error_report.tpl create mode 100644 templates/Froxlor/customer/index/send_error_report.tpl create mode 100644 templates/Sparkle/assets/img/icons/error_report_big.png diff --git a/lng/english.lng.php b/lng/english.lng.php index 17b5dd66..9122d13e 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -1979,3 +1979,6 @@ $lng['serversettings']['phpfpm_settings']['ipcdir']['description'] = 'The direct $lng['panel']['news'] = 'News'; $lng['error']['sslredirectonlypossiblewithsslipport'] = 'Using the SSL redirect is only possible when the domain has at least one ssl-enabled IP/port combination assigned.'; $lng['error']['fcgidstillenableddeadlock'] = 'FCGID is currently active.
Please deactivate it before switching to another webserver than Apache2'; +$lng['error']['send_report_title'] = 'Send error report'; +$lng['error']['send_report_desc'] = 'Thank you for reporting this error and helping us to froxlor improve froxlor.
This is the email which will be sent to the froxlor developer team:'; +$lng['error']['send_report'] = 'Send report'; \ No newline at end of file diff --git a/lng/german.lng.php b/lng/german.lng.php index 796fcf6f..81577091 100644 --- a/lng/german.lng.php +++ b/lng/german.lng.php @@ -1705,3 +1705,6 @@ $lng['serversettings']['phpfpm_settings']['ipcdir']['description'] = 'In dieses $lng['panel']['news'] = 'Neuigkeiten'; $lng['error']['sslredirectonlypossiblewithsslipport'] = 'Eine SSL-Weiterleitung ist nur möglich, wenn der Domain mindestens eine IP/Port Kombination zugewiesen wurde, bei der SSL aktiviert ist.'; $lng['error']['fcgidstillenableddeadlock'] = 'FCGID ist derzeit aktiviert.
Bitte deaktiviere es, um einen anderen Webserver als Apache2 auswählen zu können.'; +$lng['error']['send_report_title'] = 'Fehler melden'; +$lng['error']['send_report_desc'] = 'Danke, dass Sie uns diesen Fehler melden und damit helfen Froxlor zu verbessern.
Folgender Bericht wird per Mail an das Froxlor Entwickler Team gesendet.'; +$lng['error']['send_report'] = 'Fehlerbericht senden'; \ No newline at end of file diff --git a/templates/Froxlor/admin/index/send_error_report.tpl b/templates/Froxlor/admin/index/send_error_report.tpl new file mode 100644 index 00000000..76c49e7d --- /dev/null +++ b/templates/Froxlor/admin/index/send_error_report.tpl @@ -0,0 +1,43 @@ +$header +
+
+

+   + {$lng['error']['send_report_title']} +

+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + +
+

{$lng['error']['send_report_desc']}

+
+ {$mail_html} +
+ +
+
+
+
+
+$footer diff --git a/templates/Froxlor/assets/css/main.css b/templates/Froxlor/assets/css/main.css index 6d610246..49a64048 100644 --- a/templates/Froxlor/assets/css/main.css +++ b/templates/Froxlor/assets/css/main.css @@ -266,6 +266,7 @@ p.submit { text-align: left; padding-top: 10px; padding-left: 10px; + padding-right: 10px; } .messagewrapper { diff --git a/templates/Froxlor/customer/index/send_error_report.tpl b/templates/Froxlor/customer/index/send_error_report.tpl new file mode 100644 index 00000000..76c49e7d --- /dev/null +++ b/templates/Froxlor/customer/index/send_error_report.tpl @@ -0,0 +1,43 @@ +$header +
+
+

+   + {$lng['error']['send_report_title']} +

+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + +
+

{$lng['error']['send_report_desc']}

+
+ {$mail_html} +
+ +
+
+
+
+
+$footer diff --git a/templates/Froxlor/misc/dberrornice.tpl b/templates/Froxlor/misc/dberrornice.tpl index 84b00ee8..80c14961 100644 --- a/templates/Froxlor/misc/dberrornice.tpl +++ b/templates/Froxlor/misc/dberrornice.tpl @@ -31,9 +31,15 @@
-

- Go back -

+ @@ -44,4 +50,4 @@ - + \ No newline at end of file diff --git a/templates/Sparkle/admin/index/send_error_report.tpl b/templates/Sparkle/admin/index/send_error_report.tpl index 6da355dd..7ddda746 100644 --- a/templates/Sparkle/admin/index/send_error_report.tpl +++ b/templates/Sparkle/admin/index/send_error_report.tpl @@ -2,23 +2,22 @@ $header

-   - Send error report +   + {$lng['error']['send_report_title']}

-
+
- +
@@ -32,7 +31,7 @@ $header diff --git a/templates/Sparkle/assets/img/icons/error_report_big.png b/templates/Sparkle/assets/img/icons/error_report_big.png new file mode 100644 index 0000000000000000000000000000000000000000..e3f1fbf5df7cf062d01e0deeae8f14993af2c2f0 GIT binary patch literal 4137 zcmV+^5Z3RBP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1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T9<; zP)b!$YHNgz3!4Rw<3I?3OeXXA09smF7M1DcMsaEwMi<~U?F#2i>E`MHTt<5PK}`Sg z!`jMmCX=b4emUPykNu2XX&Cj5&w`8B09L43*MjwR62J9i4gu&{l@yPRj6h0>a=8p4 z1f-NLjV{byzL^9$fKco&vOH(_8i{%X5Z&40ssJ`qoXj!Jd*44 zH9qVC*eHw-97X%yV=#q_U^RofhPJtjs2P~zHKe!h!}NInX9K799^bkDf_9dYNqfuY z=H{>!ivqCgN+|%q0NwjTLXxpe@3X{+eZ$nKFVPosl z5KiLLOW(h^$(c7uH8nLPgpf+9ShO12{?7BfCEYYOZ~~26-T>Xd0R7+wSj_-noIQIN z0C3=yxx0}w3({xN)czL6ul5{vYHMo+Gdo1&F|$WRH2@yz=a$SAE@SdYVgTg)BZx>aGugq+R0W1l9$oi-Ym+<>_t3r))|fF;3b>mV2tcZ0dB5487pUKQ@0B8V)h?Lg41fW1q;_vyN-&U6E-S6cn nB2x5ULe0(n{&iDm^xpvhNWoXf%$;9600000NkvXXu0mjf%P_D- literal 0 HcmV?d00001 diff --git a/templates/Sparkle/customer/index/send_error_report.tpl b/templates/Sparkle/customer/index/send_error_report.tpl index 6da355dd..7ddda746 100644 --- a/templates/Sparkle/customer/index/send_error_report.tpl +++ b/templates/Sparkle/customer/index/send_error_report.tpl @@ -2,23 +2,22 @@ $header

-   - Send error report +   + {$lng['error']['send_report_title']}

-
+
-
-

Thank you for reporting this error and helping us to make froxlor better.

-

This is the e-mail that will be sent to the froxlor developer team:

+

{$lng['error']['send_report_desc']}

- +
+
@@ -32,7 +31,7 @@ $header
-

Thank you for reporting this error and helping us to make froxlor better.

-

This is the e-mail that will be sent to the froxlor developer team:

+

{$lng['error']['send_report_desc']}

- +