winix/html/fun_sort.html

45 lines
1.1 KiB
HTML
Executable File

<h1>{sort_header}</h1>
<p>{sort_info1}</p>
[if item_is]
<form id="additem" action="[doc_base_url][dir][item_url]/sort" method="post">
<div>
<p class="withnext">{sort_current_sortindex}:</p>
<input class="editshort" type="text" name="sortindex" value="[item_sort]">
<input class="submit" type="submit" value="{change}">
[if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end]
</div>
</form>
[else]
[if item_tab]
<form id="additem" action="[doc_base_url][dir]sort" method="post">
<div>
<ul id="sortable">
[for item_tab]
<li id="li[item_tab_index]">
<input type="text" name="sort[item_tab_id]" value="[item_tab_sort]">
[if item_tab_has_thumb]<img src="[item_tab_link]/-/thumb" alt="[item_tab_subject]">[end]
[item_tab_url]
</li>
[end]
</ul>
[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}">
</div>
</form>
[end]
[end]