Subversion Repositories wimsdev

Rev

Rev 14009 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14009 Rev 17176
Line 20... Line 20...
20
!set parm2=!row 2 to -1 of $parm
20
!set parm2=!row 2 to -1 of $parm
21
!set parm2=!nonempty rows $parm2
21
!set parm2=!nonempty rows $parm2
22
!set icnt=!rowcnt $parm2
22
!set icnt=!rowcnt $parm2
23
 
23
 
24
!if $printing=yes or $cmd=hint
24
!if $printing=yes or $cmd=hint
25
  <img src="$imgurl" alt="$imgurl" style="width:$(bigsizex)px;height:$(bigsizey)px;vertical-align:text-top" />
25
  <img src="$imgurl" alt="$imgurl" style="width:$(bigsizex)px;height:$(bigsizey)px;vertical-align:text-top">
26
  !set t__=!column 1 of $parm2
26
  !set t__=!column 1 of $parm2
27
  !set t__=!text select 0123456789, in $t__
27
  !set t__=!text select 0123456789, in $t__
28
  !set tmp=!lines2items $(Rg$iii)
28
  !set tmp=!lines2items $(Rg$iii)
29
  !set t__=!itemcnt $t__
29
  !set t__=!itemcnt $t__
30
  !set t__=!shuffle $t__
30
  !set t__=!shuffle $t__
Line 56... Line 56...
56
    !set embedded=!append item r$n_ to $embedded
56
    !set embedded=!append item r$n_ to $embedded
57
    !set flist=!append item $n_ to $flist
57
    !set flist=!append item $n_ to $flist
58
    !set i=$n_
58
    !set i=$n_
59
    !set inputsize=$smallsize $sizei
59
    !set inputsize=$smallsize $sizei
60
    !read anstype/fill.inc noshow
60
    !read anstype/fill.inc noshow
61
    !set hlist=$hlist<input type="hidden" name="reply$n_" value="" />
61
    !set hlist=$hlist<input type="hidden" name="reply$n_" value="">
62
    !set fill_namelist=!append item $oldfillcnt to $fill_namelist
62
    !set fill_namelist=!append item $oldfillcnt to $fill_namelist
63
    !increase fillcnt
63
    !increase fillcnt
64
    !set serial_$fillcnt=$i
64
    !set serial_$fillcnt=$i
65
    !set reposition_$fillcnt=$x_,$y_
65
    !set reposition_$fillcnt=$x_,$y_
66
  !endif
66
  !endif
67
!next t
67
!next t
68
 
68
 
69
<a id="fill$oldfillcnt"><img src="gifs/transparent.gif" alt="transparent"
69
<a id="fill$oldfillcnt"><img src="gifs/transparent.gif" alt="transparent"
70
style="width:$(bigsizex)px; height:$(bigsizey)px;vertical-align:text-top" /></a>
70
style="width:$(bigsizex)px; height:$(bigsizey)px;vertical-align:text-top"></a>
71
!set thisjs=var f_bigimage$oldfillcnt=new DynLayer();\
71
!set thisjs=var f_bigimage$oldfillcnt=new DynLayer();\
72
f_bigimage$oldfillcnt.setAnchor({topA:'fill$oldfillcnt',leftA:'fill$oldfillcnt',\
72
f_bigimage$oldfillcnt.setAnchor({topA:'fill$oldfillcnt',leftA:'fill$oldfillcnt',\
73
stretchH:$bigsizex,stretchV:$bigsizey});\
73
stretchH:$bigsizex,stretchV:$bigsizey});\
74
dynapi.document.addChild(f_bigimage$oldfillcnt);\
74
dynapi.document.addChild(f_bigimage$oldfillcnt);\
75
f_bigimage$oldfillcnt.setHTML('<img src="$imgurl" style="width:$(bigsizex)px; height:$(bigsizey)px" alt="" />');
75
f_bigimage$oldfillcnt.setHTML('<img src="$imgurl" style="width:$(bigsizex)px; height:$(bigsizey)px" alt="">');
76
!if $q_form=yes
76
!if $q_form=yes
77
  $hlist
77
  $hlist
78
  !set fillafter_js=$fillafter_js\
78
  !set fillafter_js=$fillafter_js\
79
$thisjs
79
$thisjs
80
!else
80
!else