| 1 | <mt:setvarblock name="page_title"><__trans phrase="Your Profile"></mt:setvarblock> |
|---|
| 2 | <mt:include name="../cms/include/chromeless_header.tmpl"> |
|---|
| 3 | |
|---|
| 4 | <mt:if name="error"> |
|---|
| 5 | <mtapp:statusmsg |
|---|
| 6 | id="generic-error" |
|---|
| 7 | class="error"> |
|---|
| 8 | <mt:var name="error"> |
|---|
| 9 | </mtapp:statusmsg> |
|---|
| 10 | </mt:if> |
|---|
| 11 | |
|---|
| 12 | <mt:if name="saved"> |
|---|
| 13 | <mtapp:statusmsg |
|---|
| 14 | id="saved" |
|---|
| 15 | class="success"> |
|---|
| 16 | <mt:var name="saved"> |
|---|
| 17 | </mtapp:statusmsg> |
|---|
| 18 | </mt:if> |
|---|
| 19 | |
|---|
| 20 | <form method="post" action="<mt:var name="script_url">"> |
|---|
| 21 | |
|---|
| 22 | <input type="hidden" name="__mode" value="save_profile" /> |
|---|
| 23 | <input type="hidden" name="magic_token" value="<mt:var name="magic_token">" /> |
|---|
| 24 | <input type="hidden" name="id" value="<mt:var name="id" escape="html">" /> |
|---|
| 25 | <input type="hidden" name="entry_url" value="<mt:var name="entry_url" escape="html">" /> |
|---|
| 26 | <input type="hidden" name="return_url" value="<mt:var name="return_url" escape="html">" /> |
|---|
| 27 | |
|---|
| 28 | <mtapp:setting |
|---|
| 29 | id="name" |
|---|
| 30 | label="<__trans phrase="Username">" |
|---|
| 31 | hint="<__trans phrase="Your login name.">" |
|---|
| 32 | label_class="top-label"> |
|---|
| 33 | <span name="name" id="name"><mt:var name="name" escape="html"></span> |
|---|
| 34 | <input type="hidden" name="name" value="<mt:var name="name" escape="html">" /> |
|---|
| 35 | </mtapp:setting> |
|---|
| 36 | |
|---|
| 37 | <mtapp:setting |
|---|
| 38 | id="nickname" |
|---|
| 39 | label="<__trans phrase="Display Name">" |
|---|
| 40 | label_class="top-label" |
|---|
| 41 | hint="<__trans phrase="The name appears on your comment.">"> |
|---|
| 42 | <input type="text" name="nickname" id="nickname" class="ti" value="<mt:var name="nickname" escape="html">" /> |
|---|
| 43 | </mtapp:setting> |
|---|
| 44 | |
|---|
| 45 | <mtapp:setting |
|---|
| 46 | id="email" |
|---|
| 47 | label="<__trans phrase="Email Address">" |
|---|
| 48 | label_class="top-label" |
|---|
| 49 | required="$email_required" |
|---|
| 50 | hint="<__trans phrase="Your email address.">"> |
|---|
| 51 | <input type="text" name="email" id="email" class="ti" value="<mt:var name="email" escape="html">" /> |
|---|
| 52 | </mtapp:setting> |
|---|
| 53 | |
|---|
| 54 | <mt:if name="auth_mode_mt"> |
|---|
| 55 | <mtapp:setting |
|---|
| 56 | id="password" |
|---|
| 57 | label="<__trans phrase="New Password">" |
|---|
| 58 | label_class="top-label" |
|---|
| 59 | hint="<__trans phrase="Select a password for yourself.">"> |
|---|
| 60 | <input type="password" name="password" id="password" class="pw" value="" /> |
|---|
| 61 | </mtapp:setting> |
|---|
| 62 | |
|---|
| 63 | <mtapp:setting |
|---|
| 64 | id="pass_verify" |
|---|
| 65 | label="<__trans phrase="Confirm Password">" |
|---|
| 66 | label_class="top-label" |
|---|
| 67 | hint="<__trans phrase="Repeat the password for confirmation.">"> |
|---|
| 68 | <input type="password" name="pass_verify" id="pass_verify" class="pw" value="" /> |
|---|
| 69 | </mtapp:setting> |
|---|
| 70 | |
|---|
| 71 | <mtapp:setting |
|---|
| 72 | id="hint" |
|---|
| 73 | label="<__trans phrase="Password recovery">" |
|---|
| 74 | label_class="top-label" |
|---|
| 75 | required="1" |
|---|
| 76 | hint="<__trans phrase="This word or phrase will be required to recover the password if you forget it.">"> |
|---|
| 77 | <input type="text" name="hint" id="hint" class="ti" value="<mt:var name="hint" escape="html">" /> |
|---|
| 78 | </mtapp:setting> |
|---|
| 79 | <mt:else> |
|---|
| 80 | <input type="hidden" name="external_auth" value="1" /> |
|---|
| 81 | </mt:if> |
|---|
| 82 | |
|---|
| 83 | <mtapp:setting |
|---|
| 84 | id="url" |
|---|
| 85 | label="<__trans phrase="Website URL">" |
|---|
| 86 | label_class="top-label" |
|---|
| 87 | hint="<__trans phrase="The URL of your website. (Optional)">"> |
|---|
| 88 | <input type="text" name="url" id="url" class="ti" value="<mt:var name="url" escape="html">" /> |
|---|
| 89 | </mtapp:setting> |
|---|
| 90 | |
|---|
| 91 | <p><input type="submit" name="submit" id="save-button" class="ti" accesskey="s" value="<__trans phrase="Save">" /></p> |
|---|
| 92 | |
|---|
| 93 | </form> |
|---|
| 94 | |
|---|
| 95 | <mt:if name="entry_url"> |
|---|
| 96 | <p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<mt:var name="entry_url">#_login"></p> |
|---|
| 97 | <mt:else> |
|---|
| 98 | <p><__trans phrase="Return to the <a href="[_1]">original page</a>." params="<mt:var name="return_url">#_login"></p> |
|---|
| 99 | </mt:else></mt:if> |
|---|
| 100 | |
|---|
| 101 | <mt:include name="../cms/include/chromeless_footer.tmpl"> |
|---|
| 102 | |
|---|