Rev 13716 | Blame | Compare with Previous | Last modification | View Log | RSS feed
type=select
textarea="data pre post"
iEdit="pre post"
:±ê³öÎÄ×ÖÖеĴíÎó.
Á·Ï°¸ø³öÒ»¶ÎÎÄ×Ö, ÆäÖÐijЩ´ÊÊÇ"¿É±ê¼ÇµÄ".
ÄãÓ¦¸Ã°´ÕÕÁ·Ï°µÄÒªÇó°ÑËüÃDZê³öÀ´.
<p>Ϊ¹¹Ôì´ËÀàÁ·Ï°, Ö»ÒªÊäÈë¶ÔÏóµÄ±í²¢Ð޸ĽâÊÍ.</p>
<p class="wims_credits">Ä£¿é×÷Õß: <a href="mailto:qualite@wimsedu.info">Gang Xiao</a>
:%%%%%%%%%%%%%%%%% ×¢ Òâ %%%%%%%%%%%%%%%%%%%%
Èç¹ûÄãɾȥÁ˱¾·¶ÀýÖеıêÇ© (¼´¸úËæÔÚðºÅ ':' ºóÃæµÄÄǼ¸ÐÐ),
ÄÇôҲÇëɾȥÕâ¸öÍ·²¿, ·ñÔòÓпÉÄܻز»µ½ Createxo.
:%%%%%%%%%%%%%%%%% ±»ÖØÐ¶¨ÒåµÄ²ÎÊýʾÀý %%%%%%%%%%%%%%%%%%
:\title{±ê¼ÇÒ»¶ÎÎÄ×Ö}
:\author{XIAO Gang}
:\email{qualite@wimsedu.info}
:Á·Ï°ÖÐÓ¦±»±ê¼ÇµÄ´ÊµÄ×îÉÙ¸öÊý, ÖÁÉÙÊÇ 1.
\integer{minmark=1}
:Ó¦±»±ê¼ÇµÄ´ÊµÄ×î´ó¸öÊý.
\integer{maxmark=8}
:Ö÷ÒªÊý¾Ý.
Ò»Ðж¨ÒåÒ»¸öÎÊÌâ, ÐÐÓëÐÐÓ÷ֺŷָô.
(Òò´ËÎÄ×ÖÖм䲻Ӧ³öÏÖ·ÖºÅ.) <p>
Ó¦±»±ê¼ÇµÄ´ÊÓÃÒ»¶ÔË«ÎʺŠ"??" À¨ÆðÀ´.
ÿ¸öÀ¸ÖÐÓ¦¸Ã°üÀ¨¼¸¸öÓöººÅ·Ö¸ôµÄ´Ê.
×îºóÏÔʾµÄÎÄ×Ö½«´ÓÕâ¸ö´Ê±íÖÐËæ»úÑ¡ÔñÒ»¸ö.
Èç¹û³öÏÖµÄÊDZíÖеĵÚÒ»¸ö´Ê, ¾ÍÊÇÓ¦¸Ã±ê×¢µÄ´Ê.
·ñÔò¾Í²»Ðè±ê×¢.</p>
<p>ÿ¸ö¾ä×ÓÖпɲåÈëÒ»°Ù¸ö±ê×¢´Ê.</p>
$embraced_randitem
\text{data=
{Jack,Jean,Louis,Michel,Pierre} ??et,est?? forain, il
??{tien,tiens},tient?? ??un,une?? baraque de tir ??a,\`a?? la noix de coco.
??Ont,On?? ??trouvent,trouve?? des ??Baraque,Baraques?? Noix de Coco dans
??tous,toutes?? les foires. Les ??,gens?? ??arrive,arrivent??,
??donne,donnent?? des ??,sous??
??est,et?? ??envoie,envoient?? des ??,boules?? sur une noix de coco
??{poser,pos\'e},pos\'ee?? en haut d'une ??,colonne??.
Ceux qui ??fait,font??
??{d\'egringol\'e,deegringol\'ee},d\'egringoler?? une noix de coco
??{peu,peut,peux},peuvent?? ??{le,les},la??
??{gard\'ee,gard\'e},garder??.
;
??{Quel,Quels,Quelles},Quelle??
id\'ee ??est-je,ai-je??
??{d'achet\'e,d'achet\'ee,d'achet\'es},d'acheter?? ??{cept,cette,ces,ce},cet??
oiseau ? L'oiselier me dit : "??{S'est,Cet},C'est?? un ??{mal,malle},m\^ale??.
??Attender,Attendez?? une ??,semaine?? qu'il
??{s'abitue,s'abituent,s'habituent},s'habitue??, ??est,et?? il chantera".
??Hors,Or??, l'oiseau ??sobstine,s'obstine?? ??a,\`a?? ??ce,se??
??tait,taire?? et il ??fais,fait?? ??tous,tout?? de ??{traver,travert},travers??.
;
Les ??d\'esert,d\'eserts?? de ??sables,sable?? ??occupe,occupent?? de
??large,larges?? parties {de la plan\`ete,du monde,de la Terre}.
Il n'y ??{pleu,pleus,pleuvent},pleut??
presque ??,pas??. Trees ??peut,peu?? de plantes et ??,d'animaux?? y
??vit,vivent??. Les ??,dunes?? ??son,sont?? des collines de
??,sable?? que le vent ??\`a,a??
??{construit,construits,construite},construites??. Les
??grains,graines?? de ??{certain,certaine,certains},certaines??
plantes ??reste,restent?? sous le ??sole,sol?? du d\'esert pendant
des ann\'ees. ??{Ils,Elle},Elles?? ??ce,se?? ??met,mettent??
??a,aa?? ??{pouss\'ees,pouss\'ee,pouss\'es},pousser?? d\`es qu'il y a
??une,un?? orage.
;
}
:´ý±êÎÄ×ÖÇ°ÃæµÄ˵Ã÷. ¿ÉÒÔʹÓà html ±ê×¢.
$embraced_randitem
\text{pre=<p>Çë°ÑÏÂÃæÒ»¶Î·¨ÎÄÖеĴí´Ê±ê¼Ç³öÀ´.</p>
}
:´ý±êÎÄ×ÖºóÃæµÄ˵Ã÷. ¿ÉÒÔʹÓà html ±ê×¢.
\text{post=}
:Ñ¡Ïî
Èç¹ûѧÉúֻѡȡÁËÆäÖÐÒ»²¿·ÖÕýÈ·´ð°¸Ò²Äܸø·ÖµÄ»°, Çë¼ÓÉÏÑ¡Ïî "split".
\text{option=split}
:%%%%%%%%%%%%%% ²»Òª¸Ä¶¯ÏÂÃæÕâ¶ÎÃüÁî %%%%%%%%%%%%%%%%
\text{data=wims(singlespace \data)}
\text{data=wims(nonempty rows \data)}
\text{data=randomrow(\data)}
\text{data=wims(embraced randitem \data)}
\text{data=slib(text/cutchoice2 \data)}
\integer{qs=floor(rows(\data)/2)}
\text{list=}
\text{ind=}
\for{i=1 to \qs}{
\text{d=\data[2*\i;]}
\text{list=\list \d;}
\if{\d[1] issametext }{\text{ind=\ind[]2,}}{\text{ind=\ind[]1,}}
}
\text{can=positionof(1,\ind)}
\text{cancnt=items(\can)}
\integer{tomark=randint(min(\minmark,\cancnt)..min(\maxmark,\cancnt))}
\text{can=\cancnt>1?shuffle(\can)}
\text{good=item(1..\tomark,\can)}
\text{good=wims(sort numeric items \good)}
\text{show=}
\for{i=1 to \qs}{
\text{d=\i isitemof \good?\list[\i;1]:\list[\i;2]}
\text{show=\show[]\d,}
}
\text{pre=wims(embraced randitem \pre)}
:%%%%%%%%%%%%% ÏÖÔÚ¿ÉÒÔÓà html ¸ñʽÌîÈëÎÊÌâµÄ³ÂÊö %%%%%%%%%%%%%%%%%%%%%%%%%
::Ò»°ãÇé¿öÏÂûÓбØÒª¸Ä¶¯Ëü
\statement{\pre
\data[1;]
\for{k=1 to \qs}{
\embed{r1,\k} \data[2*\k+1;]
}
\post
}
:%%%%%%%%%%%%% ²»Òª¸Ä¶¯ÒÔϵÄÃüÁî %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\answer{Field 1}{\good;\show}{type=mark}{option=\option}