Rev 2217 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2217 | Rev 4224 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | - | ||
2 | teacherlist=!record 0 of $classdir1/.teacherlist |
- | |
3 | teachercnt=!linecnt $teacherlist |
- | |
4 | - | ||
5 | !if $teachercnt<=0 |
- | |
6 | !exit |
- | |
7 | !endif |
- | |
8 | - | ||
9 | tcsv=login,lastname,firstname,password,email,supervisable\ |
- | |
10 | - | ||
11 | !for i=1 to $teachercnt |
- | |
12 | l=!line $i of $teacherlist |
- | |
13 | !distribute items $l into ln,fn,li |
- | |
14 | pw=!defof user_password in $classdir1/.users/$li |
- | |
15 | pw=!word 1 of $pw |
- | |
16 | em=!defof user_email in $classdir1/.users/$li |
- | |
17 | tcsv=$tcsv\ |
- | |
18 | "$li","$ln","$fn","$pw","$em","yes" |
- | |
19 | !next i |
- | |
20 | - | ||
21 | !writefile getfile/teachers.csv $tcsv |
- | |
22 | ttsv=!translate , to $ $ in $tcsv |
- | |
23 |
|
1 | !read adm/class/teacherlist $classdir1 |