| 1 | {capture assign='pageTitle'}{lang}wcf.page.error.permissionDenied.title{/lang}{/capture} |
| 2 | {capture assign='contentTitle'}{lang}wcf.page.error.permissionDenied.title{/lang}{/capture} |
| 3 | {if !$isFirstVisit} |
| 4 | {capture assign='contentHeaderNavigation'} |
| 5 | <li id="backToReferrer" style="display: none"><a href="#" class="button" rel="noopener">{icon name='arrow-left'} {lang}wcf.page.error.backward{/lang}</a></li> |
| 6 | {/capture} |
| 7 | |
| 8 | <script data-relocate="true"> |
| 9 | (function() { |
| 10 | if (document.referrer) { |
| 11 | var backToReferrer = elById('backToReferrer'); |
| 12 | elShow(backToReferrer); |
| 13 | backToReferrer.children[0].href = document.referrer; |
| 14 | } |
| 15 | })(); |
| 16 | </script> |
| 17 | {/if} |
| 18 | |
| 19 | {include file='header' __disableAds=true} |
| 20 | |
| 21 | <section class="section"> |
| 22 | <h2 class="sectionTitle">{lang}wcf.page.error.insufficientPermissions{/lang}</h2> |
| 23 | |
| 24 | <p id="errorMessage" class="fullPageErrorMessage" data-exception-class-name="{$exceptionClassName}"> |
| 25 | {if $message|isset} |
| 26 | {@$message} |
| 27 | {else} |
| 28 | {lang}wcf.page.error.permissionDenied{/lang} |
| 29 | {/if} |
| 30 | </p> |
| 31 | </section> |
| 32 | |
| 33 | {if !$__wcf->user->userID} |
| 34 | <section class="section"> |
| 35 | <h2 class="sectionTitle">{lang}wcf.user.login{/lang}</h2> |
| 36 | |
| 37 | <p>{lang}wcf.page.error.loginAvailable{/lang}</p> |
| 38 | <p style="margin-top: 20px"> |
| 39 | <a |
| 40 | href="{link controller='Login' url=$__wcf->getRequestURI()}{/link}" |
| 41 | class="button" |
| 42 | rel="nofollow" |
| 43 | >{icon name='key'} {lang}wcf.user.button.login{/lang}</a> |
| 44 | </p> |
| 45 | </section> |
| 46 | {/if} |
| 47 | |
| 48 | {event name='content'} |
| 49 | |
| 50 | {if ENABLE_DEBUG_MODE} |
| 51 | <!-- |
| 52 | {$name} thrown in {$file} ({@$line}) |
| 53 | Stacktrace: |
| 54 | {$stacktrace} |
| 55 | --> |
| 56 | {/if} |
| 57 | |
| 58 | {include file='footer' __disableAds=true} |