Subversion Repositories wimsdev

Rev

Rev 17878 | Blame | Compare with Previous | Last modification | View Log | RSS feed

Status: 450 WIMS User Error
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
Content-type: text/html; charset=gb2312
Cache-Control: no-cache
Pragma: no-cache

<!DOCTYPE html>
<html><head>
  <meta http-equiv=expires content="1 Jan 1990">
  <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
  <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
  <!-- Theme CSS style -->
  <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css">
  <style>
   input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;}
   .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;}
  </style>

  !if exam_ isin $wims_user_error
    <style><!--
    body {text-align: justify;
    padding-left: 3%; padding-right: 3%;}
    --></style>
    </head>
    <body onload="window.resizeTo(500,200);window.moveTo(250,300);">
      <h1 class="wimscenter">´íÎó</h1>
    !goto examerr
  !endif

</head><body class="user_error">

!if threshold iswordof $wims_user_error
  <h1>ĿǰÕýæ</h1>
  <hr style="width:50%">
  <p>
    ±¾ WIMS ·þÎñÆ÷ <font color="blue">$httpd_HTTP_HOST</font>
    ĿǰÓÉÓÚ´óÁ¿µÄÇëÇó¶ø³¬ÔØ,
    ²»ÄÜÔÙ½ÓÊÜеÄÓû§. ÇëÉÔºóÔÙÀ´,
    »ò·ÃÎÊÆäËû WIMS ¾µÏñÕ¾.
  </p><p>
    ÎÒÃǶÔÓÉ´Ë´øÀ´µÄ²»±ã±íʾǸÒâ,
    Ï£ÍûºÜ¿ì¾ÍÄܼÌÐøÎªÄú·þÎñ.
  </p>
  !read mirror.phtml.cn
  !goto end_html
!endif

!if overload iswordof $wims_user_error
  <hr width="1">
  <h1>±§Ç¸</h1>
  <p>
  ÄãµÄÇëÇóÒò³¬¹ýÁ¬½ÓÅä¶î¶ø±»·þÎñÆ÷×èÖ¹.
  </p>
  !goto end_html
!endif

!if ++++missing_ isin ++++$wims_user_error
  <hr width="1">
  <h1>±§Ç¸</h1>
  <hr style="width:50%">
  <p>
    WIMS ÐèÒªÈí¼þ
    !set miss=!upper $missing_software
    <span class="wims_warning">$miss</span>
    À´´¦ÀíÄãµÄÇëÇó, ¿ÉÊÇÔÚ±¾·þÎñÆ÷ÉÏ´ËÈí¼þ²»¿ÉÓÃ
    (»ò WIMS ¿´²»µ½).
  </p><p>
    Äã¿ÉÒÔ·¢µçÓÊ
    <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write
    ¸øÍøÕ¾¹ÜÀíÔ±</a>±¨¸æ´ËÎÊÌâ,
    »òÁíѡһ¸ö¾µÏñÕ¾</p>
  </p><p><a href="wims.cgi">WIMS Ö÷Ò³</a></p>
  !read mirror.phtml.cn
  !goto end_html
!endif

!if trapped iswordof $wims_user_error
  <h1>ֹͣ!</h1>
  <hr>
  <a href="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a>
  µÄÄÚÈÝÓë×Ô¶¯Ò³ÃæÊÕ¼¯³ÌÐò¼°
  `web ¼ÓËÙÆ÷' ²»ÏàÈÝ.
  <p>
    ΪÀûÓñ¾Õ¾µÄ WIMS ·þÎñ,
    ÇëʹÓò»°²×°¼ÓËÙ³ÌÐòµÄ³£¹æä¯ÀÀÆ÷.
  </p><p>
    Çë¼Çס, WIMS Ò³ÃæÊǶ¯Ì¬Éú³ÉµÄ.
    ²»ÄÜÀëÏßʹÓÃ.
  </p>
  !goto end_html
!endif

!if no_access notwordof $wims_user_error and no_access_class notwordof $wims_user_error
  <h1>WIMS ´íÎó</h1>
  <p>
    Äã¶Ô±¾ WIMS ·þÎñÆ÷·¢³öµÄÇëÇóÀïÓдí.
  </p>
!endif
!if module_change iswordof $wims_user_error
  !if $wims_human_access=yes
    <p>
      Çë±ÜÃâʹÓÃä¯ÀÀÆ÷µÄ `·µ»Ø' ¼ü,
      ÒòΪÄãÃæ¶ÔµÄÊÇ»¥¶¯µÄ·þÎñÆ÷.
    </p>
    <div class="wimscenter">
    !set tit=!module title $module
    !default tit=$module
    !href module=$module $tit
    &nbsp;
    !set wims_ref_class=wims_button
    !href $ WIMS home
    !if $httpd_HTTP_REFERER!=$empty
      &nbsp;<a href="$httpd_HTTP_REFERER">Í˳ö WIMS</a>
    !else
      <p class="small">
        Èç¹ûÄãÏëÍ˳ö±¾Õ¾, ÇëºöÂÔ´ËÐÅÏ¢²¢¼ÌÐø°´ `·µ»Ø'.
      </p>
    !endif
    </div>
    !goto end_html
  !endif
  <p>
    ÄãÇëÇóµÄÊÇ·Ç·¨µÄÄ£¿é¸Ä±ä.
    ÄãÊÇ·ñÔÚʹÓÃ×Ô¶¯³ÌÐò½øÈë±¾Õ¾?
  </p>
  :unblock
  !form new
    <input type="hidden" name="module" value="home">
    <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]">
    Èç¹ûÄãÖ»Êǵã»÷ÁËä¯ÀÀÆ÷µÄ `·µ»Ø' ¼ü,
    ÇëÔÚÕâÀïÊäÈë `wims':
    <input size="8" name="special_parm"> È»ºó
    <input type="submit" value="·¢Ë͵½·þÎñÆ÷">.
  !formend
  <p>
  Çë¼Çס, ±¾Õ¾µÄÒ³Ãæ¶¼ÊǶ¯Ì¬Éú³ÉµÄ.
  Òò´ËÖ»ÄÜͨ¹ý³£¹æä¯ÀÀÆ÷ÔÚÏßʹÓÃ.
  ÏëÀûÓÃ×Ô¶¯»¯³ÌÐòÀ´ÊÕ¼¯ÍøÒ³ÊÇûÓÐÒâÒåµÄ.
  !if robot_doubt iswordof $wims_user_error
    <p class="small">
      Èç¹ûºÚ¿ÍÏë´³Èë´ËÍøÕ¾,
      ½«»á±»¾Ü¾ø.
    </p>
  !endif
  !goto end_html
!endif

!if robot_doubt iswordof $wims_user_error
  <p>
   ÎÒÃǽ«²»ÈÃÄã¼ÌÐø½øÈë´ËÍøÕ¾,
    ÒòΪ»³ÒÉÄãʹÓÃÁË×Ô¶¯ÊÕ¼¯ÍøÒ³µÄ³ÌÐò.
  </p>
  !goto unblock
!endif

!if allow_violation iswordof $wims_user_error
  <p>
    ÄãûÓÐȨÀûÓÃÃüÁî ``$cmd'' À´¶¨Òå±äÁ¿
  ``$wims_error_data''.
  </p>
!endif

!if bad_command iswordof $wims_user_error
  <p>
  ÃüÁî ``$cmd'' ÎÞЧ.
  </p><p>
    ÓÐЧµÄÃüÁîÊÇ:
  </p>
  <pre>new, renew, reply, help, hint, config</pre>
!endif

!if bad_host iswordof $wims_user_error
  <p>
    ÄãÏë´ÓÆäËüÕ¾µã½¨Á¢»á»°.
    ÕâÔÚÄãµÄÐéÄâ°àÊǽûÖ¹µÄ.
  </p><p>
  ¿ÉÄÜijЩÒòÌØÍø½ÓÈëµÄÌṩÕ߸øÄãµÄÊǶ¯Ì¬µØÖ·,
  ¼´Ê¹ÔÚͬһ¸öÁ¬½ÓÖÐÒ²»á±ä»¯. Èç¹ûÓöµ½ÕâÖÖÇéÐÎ,
  ÇëÓë°à¼¶µÄÖ¸µ¼½ÌʦÁªÏµ,
  ÇëËû¸Ä±ä½ÓÈëµÄËø¶¨²ßÂÔ.
  </p>
!endif

!if need_https iswordof $wims_user_error
  ÄãÓ¦¸Ãͨ¹ý https ÇëÇóÁ¬½Óµ½ÄãµÄ°à¼¶.
  !set refname=!replace http:// by https:// in $wims_ref_name
  <a href="$refname?session=$wims_session&module=home&cmd=new">ÊÔÊÔ¿´</a>.
  !goto end_html
!endif

!if bad_insnum iswordof $wims_user_error
  <p>
  !if $cmd=getfile
    ÄãÇëÇóµÄÎļþ²»´æÔÚ.
  !else
    ¶¯Ì¬²åÈëµÄÎļþÃûÎÞЧ.
  !endif
  </p>
!endif

!if cmd_output_too_long iswordof $wims_user_error
  <p>
    ¼ÆËãµÄÖмä½á¹û³¬³öÁ˳¤¶ÈÏÞÖÆ.
    ÄãµÄÇëÇó´ó¸Å¹ý·Ö¸´ÔÓÁË.
    Çë¼ÓÒÔ¼ò»¯.
  </p>
!endif

!if double_click iswordof $wims_user_error
  <p>
    ´ËÇëÇóÀ´µ½Ê±ÄãµÄÁíÒ»¸öÇëÇóÕýÔÚ´¦ÀíÖÐ.
  </p><p>
    Èç¹ûÄãµã»÷ÁËÁ½´Î, ÇëµÈ´ý
    <span class="wims_warning">$wims_cpu_limit Ãë</span>
    ʹµÃÄãÔ­À´µÄÇëÇó±»´¦ÀíÍê, È»ºó
    !href cmd=resume µã»÷ÕâÀï
    ÒԻص½ÄãµÄ¹¤×÷.
    (ÒÔºóµ±ÄãÒªÇó WIMS ×öÈß³¤µÄ¼ÆËãʱ, Çë¸ü¶àÒ»µãÄÍÐÄ.)
  </p><p>
    Èç¹ûÄã°´ÁËä¯ÀÀÆ÷µÄ ``·µ»Ø'' °´Å¥ÒÔÍ˳ö wims,
    ÄÇô¿ÉÒÔºöÂÔÕâ¸öÐÅÏ¢.
  </p>
  !goto end_html
!endif

!if invalid_char_in_query_string iswordof $wims_user_error
  <p>
    ÔÚ²ÎÊýÐòÁÐÀïÌæ»» ``$wims_error_data'' ÊÇ·Ç·¨µÄ.
  </p>
!endif

!if name_conflict iswordof $wims_user_error
  <p>
  ``$wims_error_data'' ÊDZ» wims ±£ÁôµÄÃû³Æ.
  </p>
!endif

!if no_command iswordof $wims_user_error
  <p>
    ûÓÐÃüÁî.
  </p>
!endif

!if no_insnum iswordof $wims_user_error
  <p>
  !if $cmd=getfile
    ÄãûÓиø³öÇëÇóµÄÎļþÃû.
  !else
    ÄãÇëÇóµÄ¶¯Ì¬²åÈëûÓиø³öºÅÂë.
  !endif
  </p>
!endif

!if no_module_name iswordof $wims_user_error
  <p>
    ÄãÇëÇóµÄ»á»°Ã»Óиø³öÄ£¿éÃû.
  </p>
!endif

!if no_session iswordof $wims_user_error
  <p>
    ȱÉٻỰ±àºÅ.
  </p>
!endif

!if parm_too_long iswordof $wims_user_error
  <p>
    ÄãµÄ²ÎÊý´®³¬¹ý³¤¶È¼«ÏÞ.
    ³öÓÚ°²È«µÄÔ­Òò±»¾Ü¾ø.
  </p>
!endif

!if string_too_long iswordof $wims_user_error
  <p>
    ±äÁ¿¶¨ÒåµÄ³¤¶È³¬³ö¼«ÏÞ.
  </p>
!endif

!if too_many_variables iswordof $wims_user_error
  <p>
    Äã´«Ë͵IJÎÊý¸öÊý³¬ÏÞ.
  </p>
!endif

!if unmatched_parentheses iswordof $wims_user_error
  <p>
    ÄãµÄÇëÇóÀïÓв»Æ¥ÅäµÄÀ¨ºÅ.
    Äã¿ÉÒÔÔÚÕâÀï¸ÄÕý:
  </p>
  !form $cmd
  !for i in module,special_parm,worksheet
    !if $($i)!=$empty
      !set value=!translate " to $ $ in $($i)
      <input type="hidden" name="$i" value="$value">
    !endif
  !next i
  !for i=0 to $user_var_no-1
    !if $i!=$bad_parentheses
      !set value=!translate " to $ $ in $(value$i)
      <input type="hidden" name="$(name$i)" value="$value">
    !endif
  !next i
  !set value=!translate " to $ $ in $(value$bad_parentheses)
  !set len=!charcnt $value
  !if $len<55
    !set len=$[$len+3]
  !else
    !set len=59
  !endif
  !set input_id=$(name$bad_parentheses)
  <div class="field box">
    <label for="$input_id">$input_id =</label>
    !set n=!linecnt $value
    !if $n<=1
      <input size="$len" name="$input_id" id="$input_id" value="$value">
    !else
      <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea>
    !endif
  </div>
  <p class="actions">
    Puis
    <input type="submit" value="envoyer la requête corrigée.">
  </p>
  !formend
  <hr>
  <p class="wimscenter">
    !href cmd=resume Cancel the last request
    |
    !href $ wims home
  </p>
  !goto end_html
!endif

!if wrong_module iswordof $wims_user_error
  !set tmp=!translate "!/<>;': to $         $ in $module
  <p>
    ±¾Õ¾²»´æÔÚÄãÇëÇóµÄÄ£¿é <code>$tmp</code>.
  </p>
!endif

!if wrong_session iswordof $wims_user_error
  <p>
    »á»°ºÅ ``$session'' ÎÞЧ (»òÒÑʧЧ).
    <a href="wims.cgi">´´½¨Ð»Ự</a>.
  </p>
!endif

!if rafale iswordof $wims_user_error
  <p>Çë²»ÒªÓëÁ·Ï°¿ªÍæÐ¦!</p>
  <p>
    ÄãÓ¦¸Ã»¨Ê±¼ä×Ðϸ˼¿¼²¢³¢ÊÔÕýÈ·½â´ðÁ·Ï°,
    ¶ø²»ÊDz»¶ÏµÄÒªÇóеÄÁ·Ï°.
  </p>
  !set wims_ref_class=wims_button
  !href cmd=resume È¡ÏûÉÏÒ»´ÎÇëÇó
.
  !if $wims_user!=$empty and $wims_user!=supervisor
    <p>
      <span class="wims_warning">×¢Òâ</span>! ²»ÒªÖظ´Õâ¸ö´íÎó!
      ¼´Ê¹¼Ç·ÖÆ÷¹Ø±Õʱ,
      ²»ºÏ¹æÔòµÄ»î¶¯Ò²»áÔì³Éʧ·Ö.
    </p>
  !endif
  !goto end2
!endif

:examerr

!if exam_dep iswordof $wims_user_error
  <p>±¾Á·Ï°±ØÐëÔÚÄã³É¹¦Íê³ÉÁË
  !if , isin $dep_list
    Á·Ï° $dep_list ºó²ÅÄÜ×ö.
  !else
    Á·Ï° $dep_list ºó²ÅÄÜ×ö.
  !endif
  </p><p>
  ÇëÏȰÑËüÃÇ×öºÃ.
  </p>
  !goto examend
!endif

!if bad_exam iswordof $wims_user_error
  <p>ÄãÔÚ¿¼ÊÔʱ·¢³öÁË·Ç·¨µÄÇëÇó.</p>
  !goto examend
!endif

!if exam_exo_finished iswordof $wims_user_error
  ÄãÒѾ­×öÁË´ËÁ·Ï°, µÃ·ÖÊÇ $wims_exo_lastscore.
  ×÷Ϊ¿¼ÊÔ, Äã²»ÄÜÖØ×öÁË.
  !goto examend
!endif

!if expired_exam iswordof $wims_user_error
  <p>Õâ´Î¿¼ÊÔµÄʱ¼äÒÑÓÃÍê.</p>
  :examend
  !set pses=!translate _ to , in $wims_session
  !set pses=!item 1 of $pses
  !set pser=!randint 1,999
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
  <p class="wimscenter">
    <a href="#" onclick="window.close();$wims_opener">Çë¹Ø±Õ´Ë´°¿Ú</a>.
  </p>
  !goto end_html
!endif

!if exam_closed iswordof $wims_user_error
  <p>
  ´ÓÄãµÄÁ¬½ÓĿǰ²»ÄܽøÈ뿼ÊÔ.
  ÇëÓë°à¼¶µÄÖ¸µ¼ÀÏʦÁªÏµ.
  </p>
  !goto examend
!endif

!if bad_ident iswordof $wims_user_error
  <p>ÄãµÄÇëÇóµÄÓû§ÈÏÖ¤Óдí.</p>
  <p>ÄãÊDz»ÊÇÏë½øÈëËûÈ˵ĻỰ?
  </p><p>
    Çë
    <a href="$refname?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">½¨Á¢Ð»Ự</a>.
  </p>
  !goto end_html
!endif

!if no_access iswordof $wims_user_error
  ¸ù¾Ý±¾Õ¾µÄ½ÓÈë²ßÂÔ, ÄãµÄÇëÇ󱻾ܾø. ±§Ç¸.
  !goto end2
!endif

!if no_access_class iswordof $wims_user_error
  !distribute items exercices, outils, documents, freeworks into name_exo,name_tool,name_doc,name_freework
  !set tt=!word 2 of $wims_user_error
  !set tt2=!word 3 of $wims_user_error
  <h2>Fermeture des activités de la classe</h2>
  !reset name_non
  !if $tt2=non
    !set name_non=autres que
  !endif
  !set tmp=!trim $name_non $(name_$tt)
  <div class="wims_msg warning">
    L'accès à certaines activités ($tmp) de cette classe virtuelle est provisoirement fermé
    par l'enseignant. Revenez plus tard.
  </div>
  !goto end2
!endif

!if class_closed iswordof $wims_user_error
  <h2>Sorry.</h2>
  <p>
  Ö¸µ¼½ÌʦÔÝʱ¹Ø±ÕÁËÕâ¸öÐéÄâ°à.
  ÇëÒÔºóÔÙÀ´!
  </p><p class="wimscenter">
  !href cmd=close&module=home WIMS
  </p>
  !goto end_html
!endif

!if other_exam_session iswordof $wims_user_error
  <p>Vous avez déjà commencé une session d'examen. Vous ne pouvez pas en commencer une autre.</p>
  <p>Si vous avez fermé le navigateur par erreur pendant votre session d'examen revenez à la page d'accueil de la classe et vous pourrez récupérer votre session.</p>
  <p class="wimscenter">
    <a href="#" onclick="window.close();$wims_opener">Fermer cette fenêtre</a>.
  </p>
  !goto end_html
!endif

:end
<p>
  Èç¹ûÄãµã»÷ÁËÄ³Ò³ÃæµÄÁ´½Ó¶ø³öÏÖÁËĿǰµÄÐÅÏ¢,
  ÄÇôºÜ¿ÉÄÜÊÇÒòΪ´ËÁ´½ÓûÓÐ×¼±¸ºÃ.
  ÇëÄãÁªÏµÄǸöÒ³ÃæµÄ×÷Õ߸æËßËûÕâ¸ö´íÎó.
</p><p>
  Ò²¿ÉÒÔ·¢µçÓʸø
<a href="mailto:$wims_site_manager?subject=wims.cgi">ÍøÕ¾¹ÜÀíÔ±</a>,
  ¸æËßËû´íÎó·¢ÉúµÄϸ½Ú.
</p>

:end2

<div class="wimscenter">
  !set wims_ref_class=wims_button home
  !href module=home&cmd=new Ö÷Ò³
</div>

:end_html
</body></html>