Rev 15946 | Rev 16195 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !set wims_module_log=error: $error |
2 | |||
3 | !if not_supervisor=$error |
||
4 | 抱歉, 只有班级的主持教师才有权准备或修改作业页. |
||
5 | !exit |
||
6 | !endif |
||
7 | |||
2071 | zjchen | 8 | !if bad_series=$error |
9 | 奇怪, 我找不到要修改的练习系列 !! |
||
10 | !exit |
||
11 | !endif |
||
12 | |||
1755 | bpr | 13 | !if bad_source=$error |
2071 | zjchen | 14 | 你提交的源码的第 $bad_source 项是无效的. |
1755 | bpr | 15 | !href cmd=reply&job=prep_putsource&source=$source $name_correctsource |
16 | . |
||
23 | reyssat | 17 | !exit |
18 | !endif |
||
19 | |||
2071 | zjchen | 20 | !if active_sheet=$error |
21 | 此页已激活. 其内容不能修改. |
||
22 | !exit |
||
23 | !endif |
||
24 | |||
1755 | bpr | 25 | !if bad_sheet=$error |
26 | 你的页码不正确. 是软件的漏洞? |
||
23 | reyssat | 27 | !exit |
28 | !endif |
||
29 | |||
3062 | bpr | 30 | !if bad_maxsheet=$error |
8255 | bpr | 31 | 页数不能超过 $max_sheets. 你不能再创建新页. |
3062 | bpr | 32 | !exit |
33 | !endif |
||
34 | |||
23 | reyssat | 35 | !if no_title=$error |
4553 | zjchen | 36 | 你想注册一个没有标题的页面, 我们不希望你这样做. 是忘记了吗? |
23 | reyssat | 37 | !exit |
38 | !endif |
||
39 | |||
1755 | bpr | 40 | !if $error=not_secure |
41 | 本操作必须来自安全主机. |
||
42 | !if $sec=$empty |
||
43 | 你没有定义安全主机, 不能存取. 你可以要求网站管理员为你设置. |
||
44 | !else |
||
45 | 禁止进入. |
||
46 | !endif |
||
47 | !exit |
||
48 | !endif |
||
49 | |||
50 | !if $error=sharing_sheet |
||
51 | 你在与其它班级共享页面! |
||
52 | !if $wims_ismanager<2 |
||
53 | 你应该要求网站管理员取消激活此页面. |
||
54 | !exit |
||
55 | !endif |
||
56 | 取消激活此页后有可能使相邻班陷入混乱. 因此<b>强烈劝告</b>你不要做此操作. |
||
14102 | obado | 57 | <p> |
1755 | bpr | 58 | 你是否仍要取消激活此页? |
5850 | bpr | 59 | </p> |
5764 | bpr | 60 | <div class="wimscenter"> |
3245 | guerimand | 61 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3]) |
1755 | bpr | 62 | . |
63 | !href cmd=resume $wims_name_no; $wims_name_giveup |
||
5764 | bpr | 64 | . </div> |
1755 | bpr | 65 | <b>在继续此操作前, 至少应该通知相邻班的主持教师保存他们的班级!</b> |
66 | !exit |
||
67 | !endif |
||
68 | |||
14395 | bpr | 69 | !if sheet_in_exam iswordof $error |
70 | !set exa=!word 2 of $error |
||
71 | 此页不能取消激活, 因为你的考试要用到它的内容 (for example, the exam $exa). |
||
72 | !exit |
||
1755 | bpr | 73 | !endif |
74 | |||
75 | !if $error=non_empty_activities |
||
14099 | obado | 76 | <p class="wims_msg warning">你想要取消激活页面 $sheet, 但是参加者已经开始在这个页面上工作了!</p> |
1755 | bpr | 77 | !if share iswordof $confirmed |
78 | 此外, 此页是与其它班级共享的, 那里也可能有作业或分数. |
||
79 | 因此不允许取消激活. |
||
80 | !exit |
||
81 | !endif |
||
82 | 如果你取消激活, 此页的所有得分都将删除. 确实要这样做吗? |
||
5764 | bpr | 83 | <div class="wimscenter"> |
3245 | guerimand | 84 | !href cmd=reply&job=deactivate&confirm=yes $wims_name_yes; $(wims_name_actionlist[3]) |
1755 | bpr | 85 | . |
86 | !href cmd=resume $wims_name_no; $wims_name_giveup |
||
5764 | bpr | 87 | . </div> |
1755 | bpr | 88 | 在此页作作业的帐户表: |
14099 | obado | 89 | <p class="tt">$worktest</p> |
90 | <div class="wims_msg info"><b>注意</b>. 如果是测试用的班级, 则仅仅取消激活.</div> |
||
1755 | bpr | 91 | !exit |
92 | !endif |
||
93 | |||
23 | reyssat | 94 | !if prep_activate=$error |
7801 | bpr | 95 | 你想要激活页面 $sheet. |
96 | 激活页面后, 它就能被班级的所有参加者看到. 一旦被激活, |
||
97 | 你就不再能修改了, 除非你先取消激活, 而这样做有可能删除所有的分数. |
||
98 | !if $test_expire!=$empty |
||
99 | <div class="wims_warning"> |
||
7980 | zjchen | 100 | 本页的失效日期已过, |
101 | 它将在此班级的失效日被更新. |
||
7801 | bpr | 102 | </div> |
103 | !endif |
||
23 | reyssat | 104 | <p> |
105 | 要继续吗? |
||
5850 | bpr | 106 | </p> |
5764 | bpr | 107 | <div class="wimscenter"> |
3245 | guerimand | 108 | !href cmd=reply&job=activate $wims_name_yes; $(wims_name_actionlist[1]) |
23 | reyssat | 109 | . |
1755 | bpr | 110 | !href cmd=resume $wims_name_no; $wims_name_giveup |
5764 | bpr | 111 | . </div> |
23 | reyssat | 112 | !exit |
113 | !endif |
||
114 | |||
115 | !if prep_erase=$error |
||
2071 | zjchen | 116 | 你真的要删除第 $sheet 页 ($title)? |
5764 | bpr | 117 | <div class="wimscenter"> |
7973 | bpr | 118 | !set wims_ref_class=wims_button wims_warning |
1755 | bpr | 119 | !href cmd=reply&job=erase $wims_name_yes; $wims_name_erase |
7973 | bpr | 120 | !set wims_ref_class=wims_button |
1755 | bpr | 121 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
7973 | bpr | 122 | </div> |
23 | reyssat | 123 | !exit |
124 | !endif |
||
1755 | bpr | 125 | |
23 | reyssat | 126 | !if prep_expire=$error |
2071 | zjchen | 127 | 第 $sheet 页 ($title) 正常的失效日期是 $expyear, |
23 | reyssat | 128 | !item $expmon of $months |
129 | $expday. 你要使他在现在失效吗? |
||
5764 | bpr | 130 | <div class="wimscenter"> |
3245 | guerimand | 131 | !href cmd=reply&job=expire $wims_name_yes ; $(wims_name_actionlist[2]) |
23 | reyssat | 132 | . |
1755 | bpr | 133 | !href cmd=resume $wims_name_no ; $wims_name_giveup |
5764 | bpr | 134 | . </div><b>注意.</b> 你的学生不能在已失效的页上做作业. |
23 | reyssat | 135 | 但他们以前的成绩仍被保存(而且在统计时被计入), 你总是能查看这些成绩. |
136 | !exit |
||
137 | !endif |
||
138 | |||
139 | !if prep_putsource=$error |
||
140 | 如果你有已保存的源码, 你可将这段源码插入当前页, 只需将这段源码复制入以下窗口, |
||
7801 | bpr | 141 | 再点击按钮 <span class="wims_button disabled">$wims_name_send</span>. |
4553 | zjchen | 142 | 这个表也允许你用切割-复制的形式插入公开作业页的源码. |
5850 | bpr | 143 | |
1755 | bpr | 144 | !set wims_menu_items=!append line sheetadmin,1,cmd=resume \ |
145 | to $wims_menu_items |
||
146 | |||
23 | reyssat | 147 | !form reply |
6235 | bpr | 148 | <input type="hidden" name="job" value="putsource" /><p class="wimscenter"> |
5850 | bpr | 149 | <textarea cols="55" rows="10" name="source">$source</textarea></p> |
6235 | bpr | 150 | <p class="wimscenter"><input type="submit" value="$wims_name_send" /> |
5926 | bpr | 151 | </p> |
152 | !formend |
||
7801 | bpr | 153 | <span class="wims_warning">$wims_name_warning</span>. |
4553 | zjchen | 154 | 不要修改页面的源码, 这样可能使你的整个作业页无法使用. |
23 | reyssat | 155 | !exit |
156 | !endif |
||
157 | |||
158 | !if prep_modify=$error |
||
159 | !set cnt=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
160 | !if $modif>$cnt or $modif<1 |
||
161 | 你输入了一个无效请求, 不予考虑. |
||
162 | !else |
||
163 | !set exo=!record $modif of wimshome/log/classes/$wims_class/sheets/.sheet$sheet |
||
2071 | zjchen | 164 | !read exomodify.phtml $exo |
23 | reyssat | 165 | !endif |
166 | !exit |
||
167 | !endif |
||
168 | |||
1755 | bpr | 169 | !if $error=toolate |
11035 | bpr | 170 | !read adm/lang/date.phtml.$moduclass_lang $class_expiration |
171 | <p>$name_expiration1 ($l_date_out). $name_expiration2 </p> |
||
172 | !set wims_ref_class=wims_button |
||
12089 | guerimand | 173 | !href cmd=resume&job=$empty&save=$empty $wims_name_back2 |
1755 | bpr | 174 | ($wims_name_sheetmanagement) |
2071 | zjchen | 175 | !exit |
176 | !endif |
||
1755 | bpr | 177 | |
2071 | zjchen | 178 | !if $error=srcnoexo |
6235 | bpr | 179 | 本页不含任何练习, 因此其源码是空的.<br /> |
2071 | zjchen | 180 | !href cmd=resume 返回准备页 |
23 | reyssat | 181 | !exit |
182 | !endif |
||
2071 | zjchen | 183 | |
15859 | guerimand | 184 | !if $error=depindiv |
185 | <div class="wims_msg alert"> |
||
186 | <strong>$wims_name_Error:</strong> |
||
187 | Il n'est pas possible de d閒inir des d閜endances de score en m阭e temps que |
||
15946 | guerimand | 188 | l'activation de l'individualisation des feuilles de travail avec une variable technique. |
15859 | guerimand | 189 | <br/> |
190 | Vous devez choisir entre les deux avant de pouvoir activer cette feuille. |
||
191 | !reset error |
||
192 | </div> |
||
15947 | guerimand | 193 | <div class="wimscenter"> |
194 | !set wims_ref_class=wims_button |
||
195 | !href cmd=resume Retour |
||
196 | </div> |
||
15859 | guerimand | 197 | !exit |
198 | !endif |
||
199 | |||
1755 | bpr | 200 | !msg $error |