Commit | Line | Data |
---|---|---|
dfef03a8 AE |
1 | <!DOCTYPE html> |
2 | <html dir="{@$__wcf->getLanguage()->getPageDirection()}" lang="{@$__wcf->getLanguage()->getFixedLanguageCode()}"> | |
3 | <head> | |
e5f9b56c MW |
4 | <meta charset="utf-8"> |
5 | <meta name="robots" content="noindex"> | |
dfef03a8 AE |
6 | <title>{lang}wcf.acp.rescueMode{/lang} - {lang}wcf.global.acp{/lang}{if PACKAGE_ID} - {PAGE_TITLE|language}{/if}</title> |
7 | ||
8 | <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600"> | |
d38697d0 | 9 | <link rel="stylesheet" href="{$pageURL}&proxy=css"> |
dfef03a8 AE |
10 | </head> |
11 | ||
12 | <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}" class="wcfAcp"> | |
13 | <a id="top"></a> | |
14 | ||
6e4aa12f | 15 | <div id="pageContainer" class="pageContainer acpPageHiddenMenu"> |
dfef03a8 | 16 | <div class="pageHeaderContainer"> |
98b7ef64 AE |
17 | <header id="pageHeaderFacade" class="pageHeaderFacade"> |
18 | <div class="layoutBoundary"> | |
19 | <div id="pageHeaderLogo" class="pageHeaderLogo"> | |
20 | <a href="{$pageURL}"> | |
21 | <img src="{$pageURL}&proxy=logo" alt="" class="pageHeaderLogoLarge" style="width: 281px;height: 40px;display: inline !important;"> | |
22 | </a> | |
dfef03a8 AE |
23 | </div> |
24 | </div> | |
25 | </header> | |
26 | </div> | |
27 | ||
2b382dc0 AE |
28 | <div id="acpPageContentContainer" class="acpPageContentContainer"> |
29 | <section id="main" class="main" role="main"> | |
30 | <div class="layoutBoundary"> | |
31 | <div id="content" class="content"> | |
dfef03a8 AE |
32 | |
33 | {* content above was taken from 'header.tpl' *} | |
95961bdf MW |
34 | |
35 | <header class="contentHeader"> | |
36 | <h1 class="contentTitle">{lang}wcf.acp.rescueMode{/lang}</h1> | |
dfef03a8 AE |
37 | </header> |
38 | ||
39 | <p class="info">{lang}wcf.acp.rescueMode.description{/lang}</p> | |
40 | ||
41 | {include file='formError'} | |
42 | ||
43 | <form method="post" action="{$pageURL}"> | |
44 | <section class="section"> | |
45 | <header class="sectionHeader"> | |
46 | <h2 class="sectionTitle">{lang}wcf.acp.rescueMode.credentials{/lang}</h2> | |
114b5320 | 47 | <p class="sectionDescription">{lang}wcf.acp.rescueMode.credentials.description{/lang}</p> |
dfef03a8 AE |
48 | </header> |
49 | ||
50 | <dl{if $errorField == 'username'} class="formError"{/if}> | |
51 | <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt> | |
52 | <dd> | |
e5f9b56c | 53 | <input type="text" id="username" name="username" value="{$username}" class="long"> |
dfef03a8 AE |
54 | {if $errorField == 'username'} |
55 | <small class="innerError"> | |
56 | {if $errorType == 'empty'} | |
57 | {lang}wcf.global.form.error.empty{/lang} | |
58 | {elseif $errorType == 'notAuthorized'} | |
59 | {lang}wcf.acp.rescueMode.username.notAuthorized{/lang} | |
60 | {else} | |
61 | {lang}wcf.user.username.error.{@$errorType}{/lang} | |
62 | {/if} | |
63 | </small> | |
64 | {/if} | |
65 | </dd> | |
66 | </dl> | |
67 | ||
68 | <dl{if $errorField == 'password'} class="formError"{/if}> | |
69 | <dt><label for="password">{lang}wcf.user.password{/lang}</label></dt> | |
70 | <dd> | |
e5f9b56c | 71 | <input type="password" id="password" name="password" value="" class="long"> |
dfef03a8 AE |
72 | {if $errorField == 'password'} |
73 | <small class="innerError"> | |
74 | {if $errorType == 'empty'} | |
75 | {lang}wcf.global.form.error.empty{/lang} | |
76 | {else} | |
77 | {lang}wcf.user.password.error.{@$errorType}{/lang} | |
78 | {/if} | |
79 | </small> | |
80 | {/if} | |
81 | </dd> | |
82 | </dl> | |
83 | </section> | |
84 | ||
6b3d5c38 | 85 | {include file='captcha' supportsAsyncCaptcha=true} |
dfef03a8 AE |
86 | |
87 | <section class="section"> | |
88 | <header class="sectionHeader"> | |
89 | <h2 class="sectionTitle">{lang}wcf.acp.rescueMode.application{/lang}</h2> | |
114b5320 | 90 | <p class="sectionDescription">{lang}wcf.acp.rescueMode.application.description{/lang}</p> |
dfef03a8 AE |
91 | </header> |
92 | ||
93 | {foreach from=$applications item=application} | |
94 | {capture assign=applicationSectionDomain}application_{@$application->packageID}_domainName{/capture} | |
95 | {capture assign=applicationSectionPath}application_{@$application->packageID}_domainPath{/capture} | |
96 | ||
97 | <dl{if $errorField == $applicationSectionDomain || $errorField == $applicationSectionPath} class="formError"{/if}> | |
98 | <dt><label for="application{@$application->packageID}">{$application->getPackage()}</label></dt> | |
99 | <dd> | |
100 | <div class="inputAddon"> | |
101 | <span class="inputPrefix">{lang}wcf.acp.application.domainName{/lang}</span> | |
102 | <input type="text" name="applicationValues[{@$application->packageID}][domainName]" id="application{@$application->packageID}" value="{$applicationValues[$application->packageID][domainName]}" class="long"> | |
103 | </div> | |
104 | {if $errorField == $applicationSectionDomain} | |
105 | <small class="innerError"> | |
106 | {if $errorType == 'empty'} | |
107 | {lang}wcf.global.form.error.empty{/lang} | |
108 | {else} | |
109 | {lang}wcf.acp.application.domainName.error.{@$errorType}{/lang} | |
110 | {/if} | |
111 | </small> | |
112 | {/if} | |
113 | </dd> | |
114 | <dd> | |
115 | <div class="inputAddon"> | |
116 | <span class="inputPrefix">{lang}wcf.acp.application.domainPath{/lang}</span> | |
117 | <input type="text" name="applicationValues[{@$application->packageID}][domainPath]" value="{$applicationValues[$application->packageID][domainPath]}" class="long"> | |
118 | </div> | |
119 | {if $errorField == $applicationSectionPath} | |
120 | <small class="innerError"> | |
121 | {if $errorType == 'empty'} | |
122 | {lang}wcf.global.form.error.empty{/lang} | |
123 | {else} | |
124 | {lang}wcf.acp.application.domainPath.error.{@$errorType}{/lang} | |
125 | {/if} | |
126 | </small> | |
127 | {/if} | |
128 | </dd> | |
129 | </dl> | |
130 | {/foreach} | |
131 | </section> | |
132 | ||
133 | <div class="formSubmit"> | |
134 | <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s"> | |
135 | ||
136 | {* do not use the security token here because we cannot rely on working cookies *} | |
137 | </div> | |
138 | </form> | |
139 | ||
2b382dc0 | 140 | {include file='footer' __isRescueMode=true} |