| 1 | <mt:setvar name="edit_author" value="1"> |
|---|
| 2 | <$mt:setvar name="position_actions_bottom" value="1"$> |
|---|
| 3 | <mt:if name="new_object"> |
|---|
| 4 | <mt:setvar name="page_title" value="<__trans phrase="Create User">"> |
|---|
| 5 | <mt:else> |
|---|
| 6 | <mt:if name="nickname"> |
|---|
| 7 | <mt:setvarblock name="page_title_name"><mt:var name="nickname" escape="html"></mt:setvarblock> |
|---|
| 8 | <mt:else> |
|---|
| 9 | <mt:setvarblock name="page_title_name"><mt:var name="name" escape="html"></mt:setvarblock> |
|---|
| 10 | </mt:if> |
|---|
| 11 | <mt:setvarblock name="page_title"><__trans phrase="Edit Profile"></mt:setvarblock> |
|---|
| 12 | </mt:if> |
|---|
| 13 | <mt:setvarblock name="content_nav"> |
|---|
| 14 | <mt:include name="include/users_content_nav.tmpl"> |
|---|
| 15 | </mt:setvarblock> |
|---|
| 16 | <mt:setvarblock name="system_msg" id="system_msg"> |
|---|
| 17 | <mt:if name="saved"> |
|---|
| 18 | <mtapp:statusmsg |
|---|
| 19 | id="saved" |
|---|
| 20 | class="success"> |
|---|
| 21 | <__trans phrase="This profile has been updated."> |
|---|
| 22 | </mtapp:statusmsg> |
|---|
| 23 | </mt:if> |
|---|
| 24 | <mt:if name="recovered"> |
|---|
| 25 | <mtapp:statusmsg |
|---|
| 26 | id="recovered" |
|---|
| 27 | class="success"> |
|---|
| 28 | <__trans phrase="A new password has been generated and sent to the email address [_1]." params="<mt:var name="email" escape="html">"> |
|---|
| 29 | </mtapp:statusmsg> |
|---|
| 30 | </mt:if> |
|---|
| 31 | <mt:if name="error"> |
|---|
| 32 | <mtapp:statusmsg |
|---|
| 33 | id="generic-error" |
|---|
| 34 | class="error"> |
|---|
| 35 | <mt:var name="error"> |
|---|
| 36 | </mtapp:statusmsg> |
|---|
| 37 | </mt:if> |
|---|
| 38 | </mt:setvarblock> |
|---|
| 39 | |
|---|
| 40 | <mt:setvarblock name="html_head" append="1"> |
|---|
| 41 | <script type="text/javascript" src="<$mt:var name="static_uri"$>js/tc/client.js"></script> |
|---|
| 42 | </mt:setvarblock> |
|---|
| 43 | |
|---|
| 44 | <mt:include name="include/header.tmpl"> |
|---|
| 45 | |
|---|
| 46 | <script type="text/javascript"> |
|---|
| 47 | /* <![CDATA[ */ |
|---|
| 48 | function reveal_api_password() { |
|---|
| 49 | var pw = getByID("api_password"); |
|---|
| 50 | alert("<__trans phrase="Your Web services password is currently">: " + pw.value); |
|---|
| 51 | return false; |
|---|
| 52 | } |
|---|
| 53 | function tagDelimChoice(sel) { |
|---|
| 54 | if (sel.selectedIndex == 2) { |
|---|
| 55 | show("tag_delim_input"); |
|---|
| 56 | var el = getByID("tag_delim_input"); |
|---|
| 57 | if (el) el.focus(); |
|---|
| 58 | } else { |
|---|
| 59 | hide("tag_delim_input"); |
|---|
| 60 | } |
|---|
| 61 | } |
|---|
| 62 | |
|---|
| 63 | function togglePerms(c) { |
|---|
| 64 | var p = TC.getElementsByTagAndClassName("input", "subPerm", TC.elementOrId("permission-list")); |
|---|
| 65 | for (var i = 0; i < p.length; i++) { |
|---|
| 66 | var sc = p[i]; |
|---|
| 67 | if (c.checked) { |
|---|
| 68 | sc.checked = true; |
|---|
| 69 | sc.disabled = true; |
|---|
| 70 | } else { |
|---|
| 71 | sc.checked = false; |
|---|
| 72 | sc.disabled = false; |
|---|
| 73 | } |
|---|
| 74 | } |
|---|
| 75 | } |
|---|
| 76 | function passwordResetConfirm() { |
|---|
| 77 | if (confirm('<__trans phrase="_WARNING_PASSWORD_RESET_SINGLE" params="<mt:var name="name" escape="js">%%<mt:var name="email" escape="js">">')) { |
|---|
| 78 | document.forms['recover'].submit(); |
|---|
| 79 | } |
|---|
| 80 | } |
|---|
| 81 | function toggleDisabled( state ){ |
|---|
| 82 | if (state == 1) { |
|---|
| 83 | state = false; |
|---|
| 84 | } else if (state == 2) { |
|---|
| 85 | state = true; |
|---|
| 86 | } |
|---|
| 87 | var elements = TC.getElementsByClassName('state_change'); |
|---|
| 88 | for (var i=0; i < elements.length; i++) { |
|---|
| 89 | elements[i].disabled = state; |
|---|
| 90 | } |
|---|
| 91 | } |
|---|
| 92 | function togglePerms(c) { |
|---|
| 93 | var p = TC.getElementsByTagAndClassName("input", "subPerm", TC.elementOrId("permission-list")); |
|---|
| 94 | for (var i = 0; i < p.length; i++) { |
|---|
| 95 | var sc = p[i]; |
|---|
| 96 | if (c.checked) { |
|---|
| 97 | sc.checked = true; |
|---|
| 98 | sc.disabled = true; |
|---|
| 99 | } else { |
|---|
| 100 | sc.checked = false; |
|---|
| 101 | sc.disabled = false; |
|---|
| 102 | } |
|---|
| 103 | } |
|---|
| 104 | } |
|---|
| 105 | |
|---|
| 106 | function removeUserpic() { |
|---|
| 107 | var param = '__mode=remove_userpic' |
|---|
| 108 | + '&user_id=<mt:var name="id">' |
|---|
| 109 | + '&magic_token=<mt:var name="magic_token">'; |
|---|
| 110 | var params = { uri: '<mt:var name="script_url">', method: 'POST', arguments: param, load: removedUserpic }; |
|---|
| 111 | TC.Client.call(params); |
|---|
| 112 | } |
|---|
| 113 | |
|---|
| 114 | function removedUserpic(c) { |
|---|
| 115 | var res = c.responseText; |
|---|
| 116 | if (res != 'success') { |
|---|
| 117 | message = '<__trans phrase="Error occurred while removing userpic." escape="js">'; |
|---|
| 118 | showMsg(message, 'ajax-message', 'error'); |
|---|
| 119 | } |
|---|
| 120 | |
|---|
| 121 | getByID('userpic_asset_id').value = '0'; |
|---|
| 122 | if (!DOM.hasClassName('userpic-preview', 'hidden')) |
|---|
| 123 | toggleHidden('userpic-preview'); |
|---|
| 124 | if (!DOM.hasClassName('remove-userpic', 'hidden')) |
|---|
| 125 | toggleHidden('remove-userpic'); |
|---|
| 126 | return false |
|---|
| 127 | } |
|---|
| 128 | |
|---|
| 129 | function init() { |
|---|
| 130 | var c = document.forms['profile'].elements['is_superuser']; |
|---|
| 131 | if (c.checked) |
|---|
| 132 | togglePerms(document.forms['profile'].elements['is_superuser']); |
|---|
| 133 | } |
|---|
| 134 | |
|---|
| 135 | TC.attachLoadEvent(init); |
|---|
| 136 | /* ]]> */ |
|---|
| 137 | </script> |
|---|
| 138 | |
|---|
| 139 | <form name="profile" id="profile" method="post" action="<mt:var name="script_url">"> |
|---|
| 140 | <input type="hidden" name="__mode" value="save" /> |
|---|
| 141 | <input type="hidden" name="_type" value="author" /> |
|---|
| 142 | <input type="hidden" name="return_args" value="<mt:var name="return_args" escape="html">" /> |
|---|
| 143 | <input type="hidden" name="magic_token" value="<mt:var name="magic_token">" /> |
|---|
| 144 | <mt:if name="editing_other_profile"> |
|---|
| 145 | <input type="hidden" name="_type" value="author" /> |
|---|
| 146 | </mt:if> |
|---|
| 147 | <mt:if name="id"> |
|---|
| 148 | <input type="hidden" name="id" value="<mt:var name="id">" /> |
|---|
| 149 | </mt:if> |
|---|
| 150 | <mt:if name="new_object"> |
|---|
| 151 | <input type="hidden" id="status" name="status" value="1" /> |
|---|
| 152 | </mt:if> |
|---|
| 153 | |
|---|
| 154 | <fieldset> |
|---|
| 155 | <h3><__trans phrase="Profile"></h3> |
|---|
| 156 | <mt:if name="editing_other_profile"> |
|---|
| 157 | <mt:if name="editing_other_profile"> |
|---|
| 158 | <mt:if name="status_pending"> |
|---|
| 159 | <$mt:setvar name="user_status" value="user-status-pending"$> |
|---|
| 160 | <mt:else> |
|---|
| 161 | <mt:unless name="status_enabled"> |
|---|
| 162 | <$mt:setvar name="user_status" value="user-status-disabled"$> |
|---|
| 163 | </mt:unless> |
|---|
| 164 | </mt:if> |
|---|
| 165 | </mt:if> |
|---|
| 166 | <mtapp:setting |
|---|
| 167 | id="status" |
|---|
| 168 | label="<__trans phrase="_USER_STATUS_CAPTION">" |
|---|
| 169 | label_class="left-label <$mt:var name="user_status"$>" |
|---|
| 170 | hint="<__trans phrase="Status of user in the system. Disabling a user removes their access to the system but preserves their content and history.">"> |
|---|
| 171 | <select name="status" id="status" class="half-width" onchange="toggleDisabled(this.value);"> |
|---|
| 172 | <option <mt:if name="status_enabled">selected="selected"</mt:if> value="1"><__trans phrase="_USER_ENABLED"></option> |
|---|
| 173 | <mt:if name="status_pending"><option selected="selected" value="3"><__trans phrase="_USER_PENDING"></option></mt:if> |
|---|
| 174 | <option <mt:unless name="status_enabled"><mt:unless name="status_pending">selected="selected"</mt:unless></mt:unless> value="2"><__trans phrase="_USER_DISABLED"></option> |
|---|
| 175 | </select> |
|---|
| 176 | </mtapp:setting> |
|---|
| 177 | </mt:if> |
|---|
| 178 | |
|---|
| 179 | <mtapp:setting |
|---|
| 180 | id="name" |
|---|
| 181 | required="1" |
|---|
| 182 | label="<__trans phrase="Username">" |
|---|
| 183 | hint="<__trans phrase="The username used to login.">"> |
|---|
| 184 | <div class="textarea-wrapper"> |
|---|
| 185 | <input name="name" id="name" class="full-width" value="<mt:var name="name" escape="html">" <mt:unless name="auth_mode_mt"><mt:unless name="new_user_external_auth">disabled="disabled"</mt:unless></mt:unless> /><mt:unless name="auth_mode_mt"><mt:unless name="new_user_external_auth"><input name="name" type="hidden" value="<mt:var name="name" escape="html">" /></mt:unless></mt:unless> |
|---|
| 186 | </div> |
|---|
| 187 | </mtapp:setting> |
|---|
| 188 | |
|---|
| 189 | <mt:if name="external_id"><mt:if name="show_external_id"> |
|---|
| 190 | <mtapp:setting |
|---|
| 191 | id="external_id" |
|---|
| 192 | label="<__trans phrase="External user ID">" |
|---|
| 193 | content_class="field-content-text" |
|---|
| 194 | hint=""> |
|---|
| 195 | <mt:var name="external_id" escape="html"> |
|---|
| 196 | </mtapp:setting> |
|---|
| 197 | </mt:if></mt:if> |
|---|
| 198 | |
|---|
| 199 | <mt:unless name="new_user_external_auth"> |
|---|
| 200 | <mtapp:setting |
|---|
| 201 | id="nickname" |
|---|
| 202 | required="1" |
|---|
| 203 | label="<__trans phrase="Display Name">" |
|---|
| 204 | hint="<__trans phrase="The name used when published.">"> |
|---|
| 205 | <div class="textarea-wrapper"> |
|---|
| 206 | <input name="nickname" id="nickname" class="full-width" value="<mt:var name="nickname" escape="html">" /> |
|---|
| 207 | </div> |
|---|
| 208 | </mtapp:setting> |
|---|
| 209 | |
|---|
| 210 | <mtapp:setting |
|---|
| 211 | id="email" |
|---|
| 212 | required="$auth_mode_mt" |
|---|
| 213 | label="<__trans phrase="Email Address">" |
|---|
| 214 | hint="<__trans phrase="The email address associated with this user.">"> |
|---|
| 215 | <div class="textarea-wrapper"> |
|---|
| 216 | <input name="email" id="email" class="full-width" value="<mt:var name="email" escape="html">" /> |
|---|
| 217 | </div> |
|---|
| 218 | </mtapp:setting> |
|---|
| 219 | |
|---|
| 220 | <mtapp:setting |
|---|
| 221 | id="url" |
|---|
| 222 | label="<__trans phrase="Website URL">" |
|---|
| 223 | hint="<__trans phrase="The URL of the site associated with this user. eg. http://www.movabletype.com/">"> |
|---|
| 224 | <div class="textarea-wrapper"> |
|---|
| 225 | <input name="url" id="url" class="full-width" value="<mt:var name="url" escape="html">" /> |
|---|
| 226 | </div> |
|---|
| 227 | </mtapp:setting> |
|---|
| 228 | |
|---|
| 229 | <mt:if name="id"> |
|---|
| 230 | <mtapp:setting |
|---|
| 231 | id="userpic_asset_id" |
|---|
| 232 | label="<__trans phrase="Userpic">" |
|---|
| 233 | content_class="field-content-text" |
|---|
| 234 | hint="<__trans phrase="The image associated with this user.">"> |
|---|
| 235 | <span id="userpic-preview"<mt:unless name="userpic"> class="hidden"</mt:unless>> |
|---|
| 236 | <span id="userpic-preview-userpic"><mt:var name="userpic"></span> |
|---|
| 237 | <br /> |
|---|
| 238 | </span> |
|---|
| 239 | <a href="javascript:void(0)" onclick="return openDialog(false, 'list_assets', '_type=asset&edit_field=userpic_asset_id&blog_id=0&dialog_view=1&filter=userpic&filter_val=<mt:var name="id" escape="html">&next_mode=asset_userpic&upload_mode=upload_userpic')"><__trans phrase="Select Userpic"></a> |
|---|
| 240 | <input name="userpic_asset_id" id="userpic_asset_id" type="hidden" value="<mt:var name="userpic_asset_id" default="0" escape="html">" /> |
|---|
| 241 | <span id="remove-userpic"<mt:unless name="userpic"> class="hidden"</mt:unless>> |
|---|
| 242 | <br /> |
|---|
| 243 | <a href="javascript:void(0)" onclick="removeUserpic()"><__trans phrase="Remove Userpic"></a> |
|---|
| 244 | <span id="ajax-message"></span> |
|---|
| 245 | </span> |
|---|
| 246 | </mtapp:setting> |
|---|
| 247 | </mt:if> |
|---|
| 248 | |
|---|
| 249 | <mt:if name="can_modify_password"> |
|---|
| 250 | <mt:unless name="new_object"> |
|---|
| 251 | <mtapp:setting |
|---|
| 252 | id="show_password" |
|---|
| 253 | label="<__trans phrase="Password">" |
|---|
| 254 | content_class="field-content-text"> |
|---|
| 255 | <a href="javascript:void(0)" onclick="toggleHidden(getByID('password-fields')); DOM.addClassName(getByID('show_password-field'), 'hidden')"><__trans phrase="Change Password"></a> |
|---|
| 256 | </mtapp:setting> |
|---|
| 257 | </mt:unless> |
|---|
| 258 | |
|---|
| 259 | <div id="password-fields"<mt:unless name="new_object"> class="hidden"</mt:unless>> |
|---|
| 260 | <mt:unless name="new_object"> |
|---|
| 261 | <mt:if name="is_me"> |
|---|
| 262 | <mtapp:setting |
|---|
| 263 | id="old_pass" |
|---|
| 264 | label="<__trans phrase="Current Password">" |
|---|
| 265 | hint="<__trans phrase="Existing password required to create a new password.">"> |
|---|
| 266 | <div class="textarea-wrapper"> |
|---|
| 267 | <input type="password" name="old_pass" value="" id="old_pass" class="full-width" /> |
|---|
| 268 | </div> |
|---|
| 269 | </mtapp:setting> |
|---|
| 270 | </mt:if> |
|---|
| 271 | </mt:unless> |
|---|
| 272 | |
|---|
| 273 | <mt:if name="new_object"> |
|---|
| 274 | <mt:setvar name="password_required" value="1"> |
|---|
| 275 | <mt:setvar name="password_prompt" value="<__trans phrase="Initial Password">"> |
|---|
| 276 | <mt:setvar name="password_hint" value="<__trans phrase="Enter preferred password.">"> |
|---|
| 277 | <mt:else> |
|---|
| 278 | <mt:setvar name="password_required" value="0"> |
|---|
| 279 | <mt:setvar name="password_prompt" value="<__trans phrase="New Password">"> |
|---|
| 280 | <mt:setvar name="password_hint" value="<__trans phrase="Enter the new password.">"> |
|---|
| 281 | </mt:if> |
|---|
| 282 | <mtapp:setting |
|---|
| 283 | id="pass" |
|---|
| 284 | label="$password_prompt" |
|---|
| 285 | required="$password_required" |
|---|
| 286 | hint="$password_hint"> |
|---|
| 287 | <div class="textarea-wrapper"> |
|---|
| 288 | <input type="password" name="pass" id="pass" class="full-width" value="" /> |
|---|
| 289 | </div> |
|---|
| 290 | </mtapp:setting> |
|---|
| 291 | <mtapp:setting |
|---|
| 292 | id="pass_verify" |
|---|
| 293 | label="<__trans phrase="Confirm Password">" |
|---|
| 294 | required="$password_required" |
|---|
| 295 | hint="<__trans phrase="Repeat the password for confirmation.">"> |
|---|
| 296 | <div class="textarea-wrapper"> |
|---|
| 297 | <input type="password" name="pass_verify" id="pass_verify" class="full-width" value="" /> |
|---|
| 298 | </div> |
|---|
| 299 | </mtapp:setting> |
|---|
| 300 | <mtapp:setting |
|---|
| 301 | id="hint" |
|---|
| 302 | required="1" |
|---|
| 303 | label="<__trans phrase="Password recovery word/phrase">" |
|---|
| 304 | hint="<__trans phrase="This word or phrase will be required to recover a forgotten password.">"> |
|---|
| 305 | <div class="textarea-wrapper"> |
|---|
| 306 | <input name="hint" id="hint" class="full-width" value="<mt:var name="hint" escape="html">" /> |
|---|
| 307 | </div> |
|---|
| 308 | </mtapp:setting> |
|---|
| 309 | </div> |
|---|
| 310 | </mt:if> |
|---|
| 311 | |
|---|
| 312 | </fieldset> |
|---|
| 313 | <fieldset> |
|---|
| 314 | <h3><__trans phrase="Preferences"></h3> |
|---|
| 315 | |
|---|
| 316 | <mtapp:setting |
|---|
| 317 | id="preferred_language" |
|---|
| 318 | label="<__trans phrase="Language">" |
|---|
| 319 | hint="<__trans phrase="Preferred language of this user.">"> |
|---|
| 320 | <select name="preferred_language" id="preferred_language" class="se"><mt:loop name="languages"> |
|---|
| 321 | <option value="<mt:var name="l_tag">"<mt:if name="l_selected"> selected="selected"</mt:if>><mt:var name="l_name"></option></mt:loop> |
|---|
| 322 | </select> |
|---|
| 323 | </mtapp:setting> |
|---|
| 324 | |
|---|
| 325 | <mtapp:setting |
|---|
| 326 | id="text_format" |
|---|
| 327 | label="<__trans phrase="Text Format">" |
|---|
| 328 | hint="<__trans phrase="Preferred text format option.">"> |
|---|
| 329 | <select name="text_format" id="text_format" class="se"> |
|---|
| 330 | <mt:loop name="text_filters"> |
|---|
| 331 | <option value="<mt:var name="key">"<mt:if name="selected"> selected="selected"</mt:if>><mt:if name="key" eq="0"><__trans phrase="(Use Blog Default)"><mt:else><mt:var name="label"></mt:if></option> |
|---|
| 332 | </mt:loop> |
|---|
| 333 | </select> |
|---|
| 334 | </mtapp:setting> |
|---|
| 335 | |
|---|
| 336 | <mtapp:setting |
|---|
| 337 | id="tag_delim" |
|---|
| 338 | label="<__trans phrase="Tag Delimiter">" |
|---|
| 339 | hint="<__trans phrase="Preferred method of separating tags.">"> |
|---|
| 340 | <select name="tag_delim" id="tag_delim" class="se"> |
|---|
| 341 | <option value="comma"<mt:if name="auth_pref_tag_delim_comma"> selected="selected"</mt:if>><__trans phrase="Comma"></option> |
|---|
| 342 | <option value="space"<mt:if name="auth_pref_tag_delim_space"> selected="selected"</mt:if>><__trans phrase="Space"></option> |
|---|
| 343 | </select> |
|---|
| 344 | </mtapp:setting> |
|---|
| 345 | </mt:unless> |
|---|
| 346 | |
|---|
| 347 | <mt:if name="is_me"> |
|---|
| 348 | <mtapp:setting |
|---|
| 349 | id="api_password" |
|---|
| 350 | label="<__trans phrase="Web Services Password">" |
|---|
| 351 | hint="<__trans phrase="For use by Activity feeds and with XML-RPC and Atom-enabled clients.">"> |
|---|
| 352 | <div class="textarea-wrapper"> |
|---|
| 353 | <input type="password" name="api_password" id="api_password" class="full-width" value="<mt:var name="api_password" escape="html">" /> |
|---|
| 354 | </div> |
|---|
| 355 | <a href="javascript:void(0)" onclick="return reveal_api_password()"><__trans phrase="Reveal"></a> |
|---|
| 356 | </mtapp:setting> |
|---|
| 357 | </mt:if> |
|---|
| 358 | </fieldset> |
|---|
| 359 | |
|---|
| 360 | <fieldset> |
|---|
| 361 | <h3><__trans phrase="System Permissions"><a href="javascript:void(0)" onclick="return openManual('author_permissions', 'introduction')" class="help-link">?</a></h3> |
|---|
| 362 | <mtapp:setting |
|---|
| 363 | id="system_permissions" |
|---|
| 364 | label="<__trans phrase="Permissions">" |
|---|
| 365 | content_class="field-content-text" |
|---|
| 366 | show_label="0"> |
|---|
| 367 | <ul class="inline-list"> |
|---|
| 368 | <li><input name="is_superuser" id="is_superuser" type="checkbox" value="1"<mt:if name="perm_is_superuser"> checked="checked"</mt:if> <mt:unless name="new_object"><mt:unless name="editing_other_profile">disabled="disabled"</mt:unless></mt:unless> onclick="togglePerms(this)" /> <label for="is_superuser"><__trans phrase="System Administrator"></label></li> |
|---|
| 369 | <li><input name="can_create_blog" id="can_create_blog" class="subPerm" type="checkbox" value="1"<mt:if name="perm_can_create_blog"> checked="checked"</mt:if> <mt:unless name="new_object"><mt:unless name="editing_other_profile">disabled="disabled"</mt:unless></mt:unless> /> <label for="can_create_blog"><__trans phrase="Create Blogs"></label></li> |
|---|
| 370 | <li><input name="can_view_log" id="can_view_log" class="subPerm" type="checkbox" value="1"<mt:if name="perm_can_view_log"> checked="checked"</mt:if> <mt:unless name="new_object"><mt:unless name="editing_other_profile">disabled="disabled"</mt:unless></mt:unless> /> <label for="can_view_log"><__trans phrase="View Activity Log"></label></li> |
|---|
| 371 | <li><input name="can_edit_templates" id="can_edit_templates" class="subPerm" type="checkbox" value="1"<mt:if name="perm_can_edit_templates"> checked="checked"</mt:if> <mt:unless name="new_object"><mt:unless name="editing_other_profile">disabled="disabled"</mt:unless></mt:unless> /> <label for="can_edit_templates"><__trans phrase="Manage Templates"></label></li> |
|---|
| 372 | <li><input name="can_manage_plugins" id="can_manage_plugins" class="subPerm" type="checkbox" value="1"<mt:if name="perm_can_manage_plugins"> checked="checked"</mt:if> <mt:unless name="new_object"><mt:unless name="editing_other_profile">disabled="disabled"</mt:unless></mt:unless> /> <label for="can_manage_plugins"><__trans phrase="Manage Plugins"></label></li> |
|---|
| 373 | </ul> |
|---|
| 374 | </mtapp:setting> |
|---|
| 375 | </fieldset> |
|---|
| 376 | |
|---|
| 377 | <mt:if name="new_object"> |
|---|
| 378 | <fieldset> |
|---|
| 379 | <mtapp:setting |
|---|
| 380 | id="create_user_blog" |
|---|
| 381 | label="<__trans phrase="Options">" |
|---|
| 382 | content_label="field-content-text" |
|---|
| 383 | hint="<__trans phrase="Create personal blog for user">" |
|---|
| 384 | show_hint="0"> |
|---|
| 385 | <input type="checkbox" name="create_personal_weblog" <mt:if name="create_personal_weblog">checked="checked"</mt:if> /> |
|---|
| 386 | <span class="hint"><__trans phrase="Create personal blog for user"></span> |
|---|
| 387 | </mtapp:setting> |
|---|
| 388 | </fieldset> |
|---|
| 389 | </mt:if> |
|---|
| 390 | <mt:setvarblock name="action_buttons"> |
|---|
| 391 | <mt:if name="new_object"> |
|---|
| 392 | <button |
|---|
| 393 | type="submit" |
|---|
| 394 | accesskey="s" |
|---|
| 395 | title="<__trans phrase="Create User (s)">" |
|---|
| 396 | class="primary-button" |
|---|
| 397 | ><__trans phrase="Create User"></button> |
|---|
| 398 | <mt:else> |
|---|
| 399 | <button |
|---|
| 400 | type="submit" |
|---|
| 401 | accesskey="s" |
|---|
| 402 | title="<__trans phrase="Save changes to this author (s)">" |
|---|
| 403 | class="primary-button" |
|---|
| 404 | ><__trans phrase="Save Changes"></button> |
|---|
| 405 | </mt:if> |
|---|
| 406 | </mt:setvarblock> |
|---|
| 407 | <mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1"> |
|---|
| 408 | </form> |
|---|
| 409 | |
|---|
| 410 | <mt:if name="auth_mode_mt"> |
|---|
| 411 | <mt:unless name="can_modify_password"> |
|---|
| 412 | <mt:unless name="new_object"> |
|---|
| 413 | <form name="recover" method="post" action="<mt:var name="script_url">"> |
|---|
| 414 | <input type="hidden" name="__mode" value="recover_profile_password" /> |
|---|
| 415 | <input type="hidden" name="author_id" value="<mt:var name="id">" /> |
|---|
| 416 | <input type="hidden" name="return_args" value="<mt:var name="return_args" escape="html">" /> |
|---|
| 417 | <input type="hidden" name="magic_token" value="<mt:var name="magic_token">" /> |
|---|
| 418 | |
|---|
| 419 | <fieldset class="pkg"> |
|---|
| 420 | <h3><__trans phrase="Password Recovery"></h3> |
|---|
| 421 | <p><__trans phrase="_USAGE_PASSWORD_RESET" params="<mt:var name="email" escape="html">"></p> |
|---|
| 422 | <div style="text-align: center"> |
|---|
| 423 | <input class="state_change" onclick="passwordResetConfirm()" type="button" value="<__trans phrase="Initiate Password Recovery">" <mt:unless name="status_enabled">disabled</mt:unless> /> |
|---|
| 424 | </div> |
|---|
| 425 | </fieldset> |
|---|
| 426 | </form> |
|---|
| 427 | </mt:unless> |
|---|
| 428 | </mt:unless> |
|---|
| 429 | </mt:if> |
|---|
| 430 | |
|---|
| 431 | <mt:include name="include/footer.tmpl"> |
|---|