Rev 8978 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8978 | Rev 9164 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | !endif |
4 | !endif |
5 | !read js/edit_area.phtml wimsshow wimsoef |
5 | !read js/edit_area.phtml wimsshow wimsoef |
6 | 6 | ||
7 | !set t_=!translate $ $ to $\ |
7 | !set t_=!translate $ $ to $\ |
8 | $ in $wims_read_parm |
8 | $ in $wims_read_parm |
9 | ! |
9 | !set td_=0 |
10 | !set tr_=!rowcnt $t_ |
10 | !set tr_=!rowcnt $t_ |
11 | !for j=1 to $tr_ |
11 | !for j=1 to $tr_ |
12 | !set l_= !line $j of $t_ |
12 | !set l_= !line $j of $t_ |
13 | !set td__=!charcnt $l_ |
13 | !set td__=!charcnt $l_ |
14 | !set td_=$[max($td__, |
14 | !set td_=$[max($td__,$td_)] |
15 | !next |
15 | !next |
- | 16 | ||
16 | <textarea id="wims_show" cols="$[$td_+20]" rows="$tr_" readonly="readonly">$t_</textarea> |
17 | <textarea id="wims_show" cols="$[$td_+20]" rows="$tr_" readonly="readonly">$t_</textarea> |
17 | 18 |