source: trunk/admin/template/goto/double_select.tpl @ 2682

Last change on this file since 2682 was 2614, checked in by patdenice, 16 years ago

Put resizable and growfield scripts on each page where is needed.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1{* $Id: double_select.tpl 2614 2008-09-27 21:00:12Z patdenice $ *}
2{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
3{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
4
5<script type="text/javascript">
6  jQuery().ready(function(){ldelim}
7    jQuery(".doubleSelect select.categoryList").resizable({ldelim}
8    handles: "w,e",
9    animate: true,
10    animateDuration: "slow",
11    animateEasing: "swing",
12    preventDefault: true,
13    preserveCursor: true,
14    autoHide: true,
15    ghost: true
16    });
17  });
18</script>
19
20<table class="doubleSelect">
21  <tr>
22    <td>
23      <h3>{$L_CAT_OPTIONS_TRUE}</h3>
24      <select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
25        {html_options options=$category_option_true selected=$category_option_true_selected}
26      </select>
27      <p><input class="submit" type="submit" value="&raquo;" name="falsify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
28    </td>
29
30    <td>
31      <h3>{$L_CAT_OPTIONS_FALSE}</h3>
32      <select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
33        {html_options options=$category_option_false selected=$category_option_false_selected}
34      </select>
35      <p><input class="submit" type="submit" value="&laquo;" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
36    </td>
37  </tr>
38</table>
Note: See TracBrowser for help on using the repository browser.