Subversion Repositories wimsdev

Rev

Rev 17412 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17412 Rev 17429
Line 4... Line 4...
4
  !set wims_html_header=!append line <script src="scripts/js/chronoid.js"></script> to $wims_html_header
4
  !set wims_html_header=!append line <script src="scripts/js/chronoid.js"></script> to $wims_html_header
5
!endif
5
!endif
6
!if $job=exo
6
!if $job=exo
7
  !set js=<script src="scripts/js/chooselist.js"></script>
7
  !set js=<script src="scripts/js/chooselist.js"></script>
8
  !set wims_html_header=!append line $js to $wims_html_header
8
  !set wims_html_header=!append line $js to $wims_html_header
-
 
9
!endif
-
 
10
!if $job=coursewatch
-
 
11
  !set wims_html_header=!append line $local_html_header to $wims_html_header
9
!endif
12
!endif
10
!read adm/css.phtml
13
!read adm/css.phtml
11
 
14
 
12
!read js/external/tinymce.phtml .iEdit
15
!read js/external/tinymce.phtml .iEdit
13
!header1
16
!header1
14
 
17
 
15
!if $job iswordof student score scorereg
18
!if $job iswordof student score scorereg coursewatch
16
  !changeto $job.phtml
19
  !changeto $job.phtml
17
!endif
20
!endif
18
!read adm/class/classname.phtml $wims_classname\
21
!read adm/class/classname.phtml $wims_classname\
19
$wims_institutionname
22
$wims_institutionname
20
 
23
 
Line 47... Line 50...
47
  </div>
50
  </div>
48
!endif
51
!endif
49
 
52
 
50
!if $job=exo or $job=cpsheet or $job=cpexam
53
!if $job=exo or $job=cpsheet or $job=cpexam
51
  !read $job.phtml
54
  !read $job.phtml
52
  !goto end
55
  !goto end
53
!endif
56
!endif
54
 
57
 
55
<div id="exam_management">
58
<div id="exam_management">
56
  !if $jquery_defined=yes
59
  !if $jquery_defined=yes
57
    <script>
60
    <script>
58
      /*<![CDATA[*/
61
      /*<![CDATA[*/
59
      jQuery(function($$) {
62
      jQuery(function($$) {
Line 92... Line 95...
92
    !endif
95
    !endif
93
  !endif
96
  !endif
94
 
97
 
95
!ifval $activetest=-1
98
!ifval $activetest=-1
96
  !goto end
99
  !goto end
97
!endif
100
!endif
98
 
101
 
99
:end1
102
:end1
100
<div id="examcontent">
103
<div id="examcontent">
101
 
104
 
102
!if $exocnt=0
105
!if $exocnt=0
Line 107... Line 110...
107
    !! !href cmd=reply&job=cpexam $wims_name_cpexam
110
    !! !href cmd=reply&job=cpexam $wims_name_cpexam
108
    !let wims_menu_items=!append line cpexam,1,cmd=reply&job=cpexam to $wims_menu_items
111
    !let wims_menu_items=!append line cpexam,1,cmd=reply&job=cpexam to $wims_menu_items
109
  !endif
112
  !endif
110
!else
113
!else
111
  !read examcontent.phtml
114
  !read examcontent.phtml
112
!endif
115
!endif
113
 
116
 
114
!if $activetest=0
117
!if $activetest=0
115
  !let wims_menu_items=!append line addexo,1,cmd=reply&job=exo&exo=$[$exocnt+1]\
118
  !let wims_menu_items=!append line addexo,1,cmd=reply&job=exo&exo=$[$exocnt+1]\
116
addsexo,1,cmd=reply&job=cpsheet to $wims_menu_items
119
addsexo,1,cmd=reply&job=cpsheet to $wims_menu_items
117
!endif
120
!endif
118
 
121
 
119
!if $wims_user=supervisor and $exocnt>0
122
!if $wims_user=supervisor and $exocnt>0
120
  !let wims_menu_items=!append line itemsep,0,\
123
  !let wims_menu_items=!append line itemsep,0,\
121
duplicateexam,1,cmd=reply&job=duplicate to $wims_menu_items
124
duplicateexam,1,cmd=reply&job=duplicate to $wims_menu_items
122
!endif
125
!endif
123
 
126
 
124
!if $activetest>=0
127
!if $activetest>=0
125
  !let wims_menu_items=!append line itemsep,0,\
128
  !let wims_menu_items=!append line itemsep,0,\
126
participantview,1,cmd=reply&job=student to $wims_menu_items
129
participantview,1,cmd=reply&job=student to $wims_menu_items
-
 
130
  !if $exam_mode=1 and $activetest>=1
-
 
131
    !let wims_menu_items=!append line coursewatch,1,cmd=reply&+job=coursewatch to $wims_menu_items
-
 
132
  !endif
127
!endif
133
!endif
128
</div>
134
</div>
129
 
135
 
130
:end
136
:end
131
</div>
137
</div>