Files
winix/html/fun_passwd.html
Tomasz Sowa 0c6ddc2218 added: 'subject' winix function is using WINIX_FILE_CHANGED message now (when changing a file's subject)
added: 'postredirect' global parameter (it can be a param or post value)
       you can use this parameter in a html POST form
       after processing the POST request winix will make a redirect to the value



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@881 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-09-04 20:24:42 +00:00

32 lines
968 B
HTML
Executable File

<h1>{passwd_header}</h1>
<form id="additem" method="post" action="[doc_base_url][dir]passwd">
<fieldset>
<legend>{passwd_form_legend}</legend>
[if user_super_user]
<p class="withnext">{passwd_login}:</p>
<select name="login" class="users">
[for user_tab]
<option [if user_tab_is_current]selected[end]>[user_tab_name]</option>
[end]
</select>
[else]
<p class="withnext">{passwd_current_password}:</p>
<input class="edit" type="password" name="passwordcur" value="">
[end]
<p class="withnext">{passwd_new_password}:</p>
<input class="edit" type="password" name="passwordnew" value="">
<p class="withnext">{passwd_confirm_new_password}:</p>
<input class="edit" type="password" name="passwordconfirm" value="">
[if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end]
<input class="submit" type="submit" value="{passwd_submit}">
</fieldset>
</form>