Subversion Repositories wimsdev

Rev

Rev 5787 | Rev 5895 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!!INDEX
!let module_author=XIAO, Gang
!let module_address=xiao@unice.fr
!let module_title=ÉèÖà WIMS µÄ¸öÈËϲºÃ
!let module_description =ÉèÖà WIMS µÄ¸öÈËϲºÃ
!let module_version =1.00
!let module_wims_version=0.13
!let module_language=cn
!let module_copyright=&copy; 1998 (<a href="COPYING">GNU GPL</a>)
!let module_category=adm
!let module_level=
!let module_domain=adm
!let module_keywords=wims
!!INDEXEND

!let tip='<ul><li>FireFox&nbsp;<a target=\'new\' href=\'http://www.mozilla-europe.org/$module_language/\'><img src=\'gifs/mathml/getFireFox.gif\' alt=\'get FireFox\'/></a></li><li>Windows<ul><li>Internet Explorer : <a target=\'new\' href=\'http://www.dessci.com/en/products/mathplayer/\'><img src=\'gifs/mathml/dessci_logo.gif\' alt=\'dessci\'/> DESSCI MathPlayer plugin</a><li>Opera : <a target=\'new\' href=\'http://xml-maiden.com/userjs/mathml/\'>UserJS MathML plugin</a></ul></li><li>Safari</li></ul>'


!let texsize=!char 1 of $useropts
!let texalign=!char 2 of $useropts
!let default=$[$wims_texbasesize-1]
!default texsize=$default
!let default=!char 1 of $default
!default texalign=$talign
!set arg=!nospace $texsize 1

!let useropt2=!char 3 to -1 of $useropts
!if $useropts!=$empty and $wims_realuser!=$empty
 !readproc adm/class/userdef classes,$wims_class,$wims_realuser
 !setdef !set user_opts=$useropts in $userdef
 !setdef wims_useropts=$useropts in wimshome/$wims_sesdir/var.stat
!endif

!set zoom=!char 3 of $useropts
    
!header
<script type="text/javascript" src="scripts/js/wz_tooltip.js"></script>
±¾Ò³ÊÇÓÃÓÚÐÞ¸ÄÄãÔÚ WIMS ×÷Òµ¹ý³ÌÖеĸöÈËϲºÃµÄ.

<ul>
!if $wims_user=$empty
 <li>ĬÈϵÄÓïÑÔ,
  !set wims_language_cnt=!wordcnt $wims_site_languages
  !for l=1 to $wims_language_cnt
   !let la=!word $l of $wims_site_languages
   !href cmd=resume&phtml=useropts.phtml.$la&lang=$la <img src="gifs/$la.gif" alt="$la.gif" border=1/>$(lang_name_$la)
   &nbsp;&nbsp;
  !next l
  </li>
!endif

<li>
Êýѧ¹«Ê½.

!if $texalign=2
  ·þÎñÆ÷ĿǰÉèÖÃΪ MathML ¼Ù¶¨ÄãʹÓúÏÓÐÊʵÄä¯ÀÀÆ÷. ÀýÈç,
    <p class="wimscenter">
    !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{2} - 4 a c}}{2a}
    </p>
    Èç¹û´Ë¹«Ê½²»ÄÜÕýÈ·ÏÔʾ, Äã¿ÉÒÔ»»ÓÃÆäËü
    <a onmouseover="return Tip($tip)"><font color="blue">ä¯ÀÀÆ÷</font>
    </a> 
    »òʹÓðÑÊýѧ¹«Ê½»¯ÎªÍ¼ÏñµÄ·þÎñÆ÷.
!set wims_ref_class=wims_button
<p class="wimscenter">
   !href cmd=resume&useropts=$arg ÒÔͼÏñÏÔʾÊýѧ¹«Ê½
</p> 
</li><li>
    !let ts1=!eval $texsize-1
    !let ts2=!eval $texsize+1
    !if $ts1<1
      !let ts1=1
    !endif
    !if $ts2>9
      !let ts2=9
    !endif
    ÉèÖÃÊýѧ¹«Ê½µÄ´óС.
!set wims_ref_class=wims_button
    !href cmd=resume&useropts=$ts1$texalign <img src="gifs/doc/dgauche.gif" width="20px"/>
    &nbsp;
!set wims_ref_class=wims_button
    !href cmd=resume&useropts=$default ĬÈÏ
    &nbsp;
!set wims_ref_class=wims_button
    !href cmd=resume&useropts=$ts2$texalign <img src="gifs/doc/ddroite.gif" width="20px"/>
 </li><li>
!set zoom=1
  ͨ¹ýÊó±êµã»÷¶Ô¹«Ê½Ëõ·Å.
!set wims_ref_class=wims_button
!href cmd=resume&useropts=$texsize$texalign$zoom $wims_name_yes
!set zoom=0 
   &nbsp;
!set wims_ref_class=wims_button
!href cmd=resume&useropts=$texsize$texalign$zoom $wims_name_no
!else
    ĿǰÄãʹÓõÄÊǰÑÊýѧ¹«Ê½±í³ÉͼÏñµÄ·þÎñÆ÷. Èç¹ûÄãÓкÏÊ浀 
    <a onmouseover="return Tip($tip)"><font color="blue">ä¯ÀÀÆ÷</font></a>, Äã¿ÉÒÔʹÓà MathML.
<p class="wimscenter">
!set arg=!nospace $texsize 2
!set wims_ref_class=wims_button
!href cmd=resume&useropts=$arg MathML
</p>

</li><li>
 Êýѧ·ûºÅÓ빫ʽµÄ×ÖÌå´óС. ÀûÓÃÒÔϵÄÐбȽϷûºÅÓëÎÄ×ֵĴóС.
!let ts1=!eval $texsize-1
!let ts2=!eval $texsize+1
!if $ts1<1
    !let ts1=1
  !endif
!if $ts2>9
    !let ts2=9
!endif
!set wims_ref_class=wims_button
    !href cmd=resume&useropts=$ts1$texalign$useropt2 <img src="gifs/doc/dgauche.gif" width="20px"/>
    &nbsp;
!set wims_ref_class=wims_button
    !href cmd=resume&useropts=$ts2$texalign$useropt2 <img src="gifs/doc/ddroite.gif" width="20px"/>
  <p>
Ï£À°×Öĸ $m_alpha, $m_pi. Êýѧ¹«Ê½ 
  !let ins_align=middle
!! ÄãÐèÒªÇ¿ÖÆ¶¯Ì¬²åÈë
  !set pw=2
  !insmath x_{1,2} = \frac{-b \pm \sqrt{b^{$pw} - 4ac}}{2a}
  »ìºÏµÄ²»µÈʽ
  </p><p class="wimscenter">| $m_a + $m_b | $m_le $m_varepsilon + 123.45.</p>
</li><li>
¹«Ê½µÄλÖÃ. Èç¹û¹«Ê½
  !insmath (x+y)/(x^$pw + y^2)
  ÓëÎÄ×ÖÏà±È
  !if $texalign=1
   Ì«¸ß,
   !href cmd=resume&useropts=$(texsize)0$useropt2 µã»÷ÕâÀï
   ʹÆä½µµÍ.
  !else
   Ì«µÍ,
   !href cmd=resume&useropts=$(texsize)1$useropt2 µã»÷ÕâÀï
   ʹÆäÉý¸ß.
  !endif
!set zoom=$empty
!endif
</li>
</ul>

!if $wims_user=$empty
µ±Ò»Çоù·ûºÏÄãµÄÐÄÒâʱ, °Ñ
 <a href="$wims_ref_name?lang=$lang&+useropts=$texsize$texalign$useropt2$zoom"
 title="WIMS">´ËÁ´½Ó</a>
ÊÕÈëÄãµÄÊéÇ©, ¹©ÒÔºóÁ¬½ÓÖ®ÓÃ.
!else
ÄãµÄϲºÃ½«±»±£´æµ½ÄãÒÔºóµÇ¼µ½´Ë°à¼¶Ê±.
!endif

:end
!tail