blob: 3b287120f0edab88837de34f7c12b73432f47c86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{* $Id$ *}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js" }
{known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js" }
<table class="doubleSelect">
<tr>
<td>
<h3>{$L_CAT_OPTIONS_TRUE}</h3>
<select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
{html_options options=$category_option_true selected=$category_option_true_selected}
</select>
<p><input class="submit" type="submit" value="»" name="falsify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
<td>
<h3>{$L_CAT_OPTIONS_FALSE}</h3>
<select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
{html_options options=$category_option_false selected=$category_option_false_selected}
</select>
<p><input class="submit" type="submit" value="«" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
{literal}
<script type="text/javascript">
jQuery().ready(function(){
jQuery(".doubleSelect SELECT.categoryList").resizable({
handles: "w,e",
knobHandles: false,
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,
preserveCursor: true,
autoHide: true,
ghost: true
});
});
</script>
{/literal}
|