for cropping images (and thumbnails) www.domain.com/dir/file.jpg/imgcrop -- crop an image www.domain.com/dir/file.jpg/imgcrop/thumb -- crop an image's thumbnail www.domain.com/dir/file.jpg/imgcrop/newthumb -- crop and create a new thumbnail (from an original image) www.domain.com/dir/imgcrop -- show images' list with above options added: to Image class: some methods for cropping git-svn-id: svn://ttmath.org/publicrep/winix/trunk@919 e52654a7-88a9-db11-a3e9-0013d4bc506e
55 lines
1.3 KiB
HTML
Executable File
55 lines
1.3 KiB
HTML
Executable File
<div class="winix">
|
|
|
|
<h1>{sort_header}</h1>
|
|
|
|
|
|
[if item_is]
|
|
|
|
|
|
|
|
<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}">
|
|
|
|
[if winix_function_param_is "postredirect"]
|
|
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
|
[end]
|
|
|
|
</form>
|
|
|
|
[else]
|
|
|
|
<p>{sort_info_multi}</p>
|
|
|
|
[if item_tab]
|
|
<form class="winix_sortable_form" action="[doc_base_url][dir]sort" method="post">
|
|
<ul id="winix_sort_items">
|
|
[for item_tab]
|
|
<li id="winix_sort_item_[item_tab_index]">
|
|
<input type="text" name="sort[item_tab_id]" value="[item_tab_sort]">
|
|
|
|
[# is it correct? may give this 'if' only to /-/thumb param? ]
|
|
[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 type="submit" value="{change}">
|
|
</form>
|
|
[end]
|
|
|
|
[end]
|
|
|
|
</div>
|