2012-10-17 08:00:00 +02:00
|
|
|
<div class="winix">
|
|
|
|
|
2011-08-02 02:10:45 +02:00
|
|
|
<h1>{sort_header}</h1>
|
|
|
|
|
2011-09-13 08:08:34 +02:00
|
|
|
|
2011-08-02 02:10:45 +02:00
|
|
|
[if item_is]
|
|
|
|
|
2012-10-17 08:00:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
<form class="winix_sortable_form" action="[doc_base_url][dir][item_url]/sort" method="post">
|
|
|
|
|
|
|
|
<div class="winix_input_b">
|
|
|
|
<label for="">{sort_current_sortindex}:</p>
|
|
|
|
<input type="text" name="sortindex" value="[item_sort]">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="submit" value="{change}">
|
2012-09-04 22:24:42 +02:00
|
|
|
|
|
|
|
[if winix_function_param_is "postredirect"]
|
|
|
|
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
|
|
|
[end]
|
|
|
|
|
2011-08-02 02:10:45 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
[else]
|
|
|
|
|
2012-10-17 08:00:00 +02:00
|
|
|
<p>{sort_info_multi}</p>
|
|
|
|
|
2011-08-02 02:10:45 +02:00
|
|
|
[if item_tab]
|
2012-10-17 08:00:00 +02:00
|
|
|
<form class="winix_sortable_form" action="[doc_base_url][dir]sort" method="post">
|
|
|
|
<ul id="winix_sort_items">
|
2011-08-02 02:10:45 +02:00
|
|
|
[for item_tab]
|
2012-10-17 08:00:00 +02:00
|
|
|
<li id="winix_sort_item_[item_tab_index]">
|
2011-08-02 02:10:45 +02:00
|
|
|
<input type="text" name="sort[item_tab_id]" value="[item_tab_sort]">
|
2013-03-29 23:03:28 +01:00
|
|
|
|
|
|
|
[# is it correct? may give this 'if' only to /-/thumb param? ]
|
2011-08-02 02:10:45 +02:00
|
|
|
[if item_tab_has_thumb]<img src="[item_tab_link]/-/thumb" alt="[item_tab_subject]">[end]
|
2013-03-29 23:03:28 +01:00
|
|
|
|
updated: to the new Ezc API
removed statements: [if-index ...] [is ...] [is-no ...]
added: generic ezc functions:
and, any (the same as and), or, one (the same as or), not, cmp, trim
to_lower, to_upper, index
changed: in misc:
added treat_new_line_as_white flag to IsWhite() SkipWhite() and TrimWhite()
TrimWhite(), TrimFirst(), TrimLast(), Trim() are using only wide characters now
(they were templates before)
added: IsInt(), IsSize(), IsFloat()
changed: version to 0.6.4
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@989 e52654a7-88a9-db11-a3e9-0013d4bc506e
2014-11-02 18:47:34 +01:00
|
|
|
[item_tab_url] [if not [cmp [item_tab_subject] [str ""]]]<span class="winix_sort_item_title">({sort_item_subject}: [item_tab_subject])</span>[end]
|
2011-08-02 02:10:45 +02:00
|
|
|
</li>
|
|
|
|
[end]
|
|
|
|
</ul>
|
|
|
|
|
2012-09-04 22:24:42 +02:00
|
|
|
[if winix_function_param_is "postredirect"]
|
|
|
|
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
|
|
|
[end]
|
|
|
|
|
2012-10-17 08:00:00 +02:00
|
|
|
<input type="submit" value="{change}">
|
2011-08-02 02:10:45 +02:00
|
|
|
</form>
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[end]
|
2012-10-17 08:00:00 +02:00
|
|
|
|
|
|
|
</div>
|