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
25 lines
646 B
HTML
Executable File
25 lines
646 B
HTML
Executable File
<h1>{default_header}</h1>
|
|
|
|
[include "error.html"]
|
|
|
|
<form id="additem" method="post" action="[doc_base_url][dir]default">
|
|
<fieldset>
|
|
<legend>{form_default_legend}</legend>
|
|
{url}:<br>
|
|
<input class="edit" type="text" name="linkto" value="[dir_last_link_to]">
|
|
|
|
<p>
|
|
<label><input class="" type="checkbox" name="makeredirect"[if dir_last_is_link_redirect] checked="checked"[end]>{default_make_redirect}</label>
|
|
</p>
|
|
|
|
[if winix_function_param_is "postredirect"]
|
|
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
|
[end]
|
|
|
|
<input class="submit" type="submit" value="{change}">
|
|
</fieldset>
|
|
</form>
|
|
|
|
|
|
|