Merge branch '5.2' into 5.3
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / userException.tpl
CommitLineData
58f35d42
MW
1{if !$title|empty}
2 {capture assign='pageTitle'}{$title}{/capture}
3 {capture assign='contentTitle'}{$title}{/capture}
4{else}
5 {capture assign='pageTitle'}{lang}wcf.global.error.title{/lang}{/capture}
6 {capture assign='contentTitle'}{lang}wcf.global.error.title{/lang}{/capture}
7{/if}
8
9{include file='header' __disableAds=true}
10
11<div class="section">
70c4c8e5
MW
12 <div class="box64 userException">
13 <span class="icon icon64 fa-exclamation-circle userExceptionIcon"></span>
14 <p id="errorMessage" class="fullPageErrorMessage userExceptionMessage" data-exception-class-name="{$exceptionClassName}">
a96c8e7c
MW
15 {@$message}
16 </p>
17 </div>
58f35d42 18</div>
35cc365e 19
9543d9fe 20<script data-relocate="true">
718d827d 21 if (document.referrer) {
c5dd767e 22 $('#errorMessage').append('<br><br><a href="' + document.referrer + '">{lang}wcf.page.error.backward{/lang}</a>');
718d827d 23 }
718d827d 24</script>
158bd3ca 25
0c07c50c 26{if ENABLE_DEBUG_MODE}
4aca5252
AE
27 <!--
28 {$name} thrown in {$file} ({@$line})
b897276c 29 Stacktrace:
4aca5252
AE
30 {$stacktrace}
31 -->
e4a1113f
AE
32 <script>
33 console.debug('{$name|encodeJS} thrown in {$file|encodeJS} ({@$line})');
34 console.debug('Stacktrace:\n{@$stacktrace|encodeJS}');
35 </script>
4aca5252 36{/if}
158bd3ca 37
c893138d 38{include file='footer' __disableAds=true}