| 1 | <mt:setvarblock name="page_title"><__trans phrase="Temporary Directory Configuration"></mt:setvarblock> |
|---|
| 2 | |
|---|
| 3 | <mt:include name="../cms/include/chromeless_header.tmpl"> |
|---|
| 4 | |
|---|
| 5 | <form method="post"> |
|---|
| 6 | <input type="hidden" name="__mode" value="" /> |
|---|
| 7 | <input type="hidden" name="step" value="cfg_dir" /> |
|---|
| 8 | <input type="hidden" name="set_static_uri_to" id="set_static_uri_to" value="<mt:var name="static_uri">"> |
|---|
| 9 | <input type="hidden" name="config" value="<mt:var name="config" escape="html">" /> |
|---|
| 10 | |
|---|
| 11 | <script type="text/javascript"> |
|---|
| 12 | /* <![CDATA[ */ |
|---|
| 13 | function go(mode) { |
|---|
| 14 | var f = document.forms[0]; |
|---|
| 15 | f['__mode'].value = mode; |
|---|
| 16 | } |
|---|
| 17 | /* ]]> */ |
|---|
| 18 | </script> |
|---|
| 19 | |
|---|
| 20 | <mt:unless name="success"> |
|---|
| 21 | <p> |
|---|
| 22 | <__trans phrase="You should configure you temporary directory settings."> |
|---|
| 23 | </p> |
|---|
| 24 | <mt:else> |
|---|
| 25 | <div><__trans phrase="Your TempDir has been successfully configured. Click 'Continue' below to continue configuration."></div> |
|---|
| 26 | </mt:unless> |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | <mt:if name="not_found_error"> |
|---|
| 30 | <mtapp:statusmsg |
|---|
| 31 | id="not_found_error" |
|---|
| 32 | class="error"> |
|---|
| 33 | <__trans phrase="[_1] could not be found." params="<mt:var name="temp_dir" escape="html">"> |
|---|
| 34 | </mtapp:statusmsg> |
|---|
| 35 | </mt:if> |
|---|
| 36 | |
|---|
| 37 | <mt:if name="not_write_error"> |
|---|
| 38 | <mtapp:statusmsg |
|---|
| 39 | id="not_write_error" |
|---|
| 40 | class="error"> |
|---|
| 41 | <__trans phrase="[_1] is not writable." params="<mt:var name="temp_dir" escape="html">"> |
|---|
| 42 | </mtapp:statusmsg> |
|---|
| 43 | </mt:if> |
|---|
| 44 | |
|---|
| 45 | <mt:if name="invalid_error"> |
|---|
| 46 | <mtapp:statusmsg |
|---|
| 47 | id="invalid_error" |
|---|
| 48 | class="error"> |
|---|
| 49 | <__trans phrase="TempDir is required."> |
|---|
| 50 | </mtapp:statusmsg> |
|---|
| 51 | </mt:if> |
|---|
| 52 | |
|---|
| 53 | <fieldset> |
|---|
| 54 | |
|---|
| 55 | <!-- TempDir --> |
|---|
| 56 | |
|---|
| 57 | <mtapp:setting |
|---|
| 58 | id="temp_dir" |
|---|
| 59 | label="<__trans phrase="TempDir">" |
|---|
| 60 | label_class="top-label" |
|---|
| 61 | hint="<__trans phrase="The physical path for temporary directory.">"> |
|---|
| 62 | <input type="text" id="temp_dir" class="ti" name="temp_dir" value="<mt:if name="temp_dir"><mt:var name="temp_dir" escape="html"></mt:if>" /><br /> |
|---|
| 63 | </mtapp:setting> |
|---|
| 64 | |
|---|
| 65 | <div id="goback" <mt:unless name="success">style="display: none"</mt:unless>> |
|---|
| 66 | <div class="left"> |
|---|
| 67 | <input name="back" type="submit" class="sb" value="<__trans phrase="Back">" onclick="this.form.reset(); go('previous_step');" /> |
|---|
| 68 | </div> |
|---|
| 69 | |
|---|
| 70 | <div class="right"> |
|---|
| 71 | <input name="continue" type="submit" class="sb" value="<__trans phrase="Continue">" name="continue" onclick="go('next_step')" /> |
|---|
| 72 | </div> |
|---|
| 73 | |
|---|
| 74 | <div class="right"> |
|---|
| 75 | <input name="test" type="submit" class="sb" value="<__trans phrase="Test">" onclick="go('test')" /> |
|---|
| 76 | </div> |
|---|
| 77 | |
|---|
| 78 | </div> |
|---|
| 79 | |
|---|
| 80 | <div id="submit" class="action-buttons" <mt:if name="success">style="display: none"</mt:if>> |
|---|
| 81 | <div class="left"> |
|---|
| 82 | <input name="back" type="submit" class="sb" value="<__trans phrase="Back">" onclick="this.form.reset(); go('previous_step')" /> |
|---|
| 83 | </div> |
|---|
| 84 | <div class="right"> |
|---|
| 85 | <input name="test" type="submit" class="sb" value="<__trans phrase="Test">" onclick="go('test')" /> |
|---|
| 86 | </div> |
|---|
| 87 | </div> |
|---|
| 88 | |
|---|
| 89 | |
|---|
| 90 | </fieldset> |
|---|
| 91 | </form> |
|---|
| 92 | |
|---|
| 93 | <mt:include name="../cms/include/chromeless_footer.tmpl"> |
|---|