Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16479 | guerimand | 1 | |
2 | !readproc adm/vfilter/listvarfilter.proc |
||
3 | !readproc adm/vfilter/varfilter proc |
||
4 | |||
5 | !! --- preparing data for js/chooselist |
||
6 | !! --- maybe problem if too many user in a class (variable data too long) to be solved |
||
7 | !for lu =1 to $nb_user |
||
8 | us_=!record $lu of wimshome/sessions/$wims_session/.userlist_mail |
||
9 | !if $lu notitemof $select_user |
||
10 | option=!append line <option value="$lu">$(us_[1]) $(us_[2]) ($(us_[3]))</option> to $option |
||
11 | !else |
||
12 | option_select=!append line <option value="$lu">$(us_[1]) $(us_[2]) ($(us_[3]))</option> to $option_select |
||
13 | !endif |
||
14 | !next lu |
||
15 | !if $option=$empty |
||
16 | option=<option value=""></option> |
||
17 | !endif |
||
18 | !if $option_select=$empty |
||
19 | option_select=<option value=""></option> |
||
20 | !endif |
||
21 | |||
22 | local_js=<script src="scripts/js/chooselist.js"></script> |