Subversion Repositories wimsdev

Rev

Rev 16680 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16680 Rev 17197
Line 1... Line 1...
1
$name_classnumber
1
$name_classnumber
2
<br/>
2
<br>
3
$name_description
3
$name_description
4
!set wims_ref_class=wims_button_help
4
!set wims_ref_class=wims_button_help
5
!href target=wims_mhelp cmd=help $wims_name_help
5
!href target=wims_mhelp cmd=help $wims_name_help
6
 
6
 
7
<div id="widget_supervisor_list">
7
<div id="widget_supervisor_list">
Line 37... Line 37...
37
  !if $sheetcnt>0
37
  !if $sheetcnt>0
38
    !set table_id=TABLE_supervisor_sheet
38
    !set table_id=TABLE_supervisor_sheet
39
    <div id="wims_supervisor_sheet">
39
    <div id="wims_supervisor_sheet">
40
        $name_msgsheet
40
        $name_msgsheet
41
        !if $classsheetcnt>=$max_sheets
41
        !if $classsheetcnt>=$max_sheets
42
          <br/>$name_touchlimit
42
          <br>$name_touchlimit
43
        !endif
43
        !endif
44
        !distribute item 1,no into wims_incremental,table_spacer
44
        !distribute item 1,no into wims_incremental,table_spacer
45
        !form reply
45
        !form reply
46
          <input type="hidden" name="job" value="import"/>
46
          <input type="hidden" name="job" value="import">
47
          <input type="hidden" name="type" value="sheet"/>
47
          <input type="hidden" name="type" value="sheet">
48
          $table_header
48
          $table_header
49
          <thead><tr>
49
          <thead><tr>
50
            <th data-sort-method="none">
50
            <th data-sort-method="none">
51
              !if $listsheetimport!=$empty and $classsheetcnt<$max_sheets
51
              !if $listsheetimport!=$empty and $classsheetcnt<$max_sheets
52
                !read js/mastercheckbox.phtml sheet_checkbox
52
                !read js/mastercheckbox.phtml sheet_checkbox
Line 62... Line 62...
62
            !distribute lines $sh into ac,t_,ti
62
            !distribute lines $sh into ac,t_,ti
63
            !let exocnt_=!recordcnt wimshome/sessions/$wims_session/upload/class/sheets/.sheet$i
63
            !let exocnt_=!recordcnt wimshome/sessions/$wims_session/upload/class/sheets/.sheet$i
64
            $table_tr
64
            $table_tr
65
              <td>
65
              <td>
66
                !if $(listsheeterror[$i])=0 and $classsheetcnt<$max_sheets
66
                !if $(listsheeterror[$i])=0 and $classsheetcnt<$max_sheets
67
                  <input type="checkbox" class="sheet_checkbox" name="num" value="$i"/>
67
                  <input type="checkbox" class="sheet_checkbox" name="num" value="$i">
68
                !endif
68
                !endif
69
              </td>
69
              </td>
70
              <td><span class="wims_sheet_item">$i</span></td>
70
              <td><span class="wims_sheet_item">$i</span></td>
71
              <td>$ti</td>
71
              <td>$ti</td>
72
              <td>$exocnt_</td>
72
              <td>$exocnt_</td>
Line 95... Line 95...
95
            </tr>
95
            </tr>
96
          !next i
96
          !next i
97
          !reset exocnt_
97
          !reset exocnt_
98
        $table_end
98
        $table_end
99
        <div class="wimscenter">
99
        <div class="wimscenter">
100
          <input type="submit" value="$name_importselected"/>
100
          <input type="submit" value="$name_importselected">
101
        </div>
101
        </div>
102
        !formend
102
        !formend
103
        !read tablesort.phtml
103
        !read tablesort.phtml
104
    </div>
104
    </div>
105
  !endif
105
  !endif
Line 116... Line 116...
116
  !if $[$docpubliccnt+$doccnt]>0
116
  !if $[$docpubliccnt+$doccnt]>0
117
    !set table_id=TABLE_supervisor_doc
117
    !set table_id=TABLE_supervisor_doc
118
    <div id="wims_supervisor_doc">
118
    <div id="wims_supervisor_doc">
119
        $name_msgdoc
119
        $name_msgdoc
120
        !if $classdoccnt>=$max_doc or $classdocpubliccnt>=$max_linkdoc
120
        !if $classdoccnt>=$max_doc or $classdocpubliccnt>=$max_linkdoc
121
          <br/>$name_touchlimitdoc
121
          <br>$name_touchlimitdoc
122
        !endif
122
        !endif
123
        !distribute item 1,no into wims_incremental,table_spacer
123
        !distribute item 1,no into wims_incremental,table_spacer
124
        !form reply
124
        !form reply
125
          <input type="hidden" name="job" value="import"/>
125
          <input type="hidden" name="job" value="import">
126
          <input type="hidden" name="type" value="doc"/>
126
          <input type="hidden" name="type" value="doc">
127
          $table_header
127
          $table_header
128
          <thead>
128
          <thead>
129
            <tr>
129
            <tr>
130
              <th data-sort-method="none">
130
              <th data-sort-method="none">
131
                !if $listsheetimport!=$empty and ($classdoccnt<$max_doc or $classdocpubliccnt<$max_linkdoc)
131
                !if $listsheetimport!=$empty and ($classdoccnt<$max_doc or $classdocpubliccnt<$max_linkdoc)
Line 141... Line 141...
141
            !distribute lines $d into rep,ti
141
            !distribute lines $d into rep,ti
142
            !let number=!char 2 to -1 of $rep
142
            !let number=!char 2 to -1 of $rep
143
            $table_tr
143
            $table_tr
144
              <td>
144
              <td>
145
                !if $number isitemof $listdocimport and $classdoccnt<$max_doc
145
                !if $number isitemof $listdocimport and $classdoccnt<$max_doc
146
                  <input type="checkbox" class="doc_checkbox" name="num" value="$i"/>
146
                  <input type="checkbox" class="doc_checkbox" name="num" value="$i">
147
                !endif
147
                !endif
148
              </td>
148
              </td>
149
              <td><span class="wims_doc_item">$rep</span></td>
149
              <td><span class="wims_doc_item">$rep</span></td>
150
              <td>$ti</td>
150
              <td>$ti</td>
151
              <td>$name_prive</td>
151
              <td>$name_prive</td>
Line 168... Line 168...
168
            !set d=!record $i of wimshome/sessions/$wims_session/upload/class/doc/.docindex
168
            !set d=!record $i of wimshome/sessions/$wims_session/upload/class/doc/.docindex
169
            !distribute lines $d into rep,cmd,ti
169
            !distribute lines $d into rep,cmd,ti
170
            $table_tr
170
            $table_tr
171
              <td>
171
              <td>
172
                !if P$i isitemof $listdocimport and $classdocpubliccnt<$max_linkdoc
172
                !if P$i isitemof $listdocimport and $classdocpubliccnt<$max_linkdoc
173
                  <input type="checkbox" name="num" value="P$i"/>
173
                  <input type="checkbox" name="num" value="P$i">
174
                !endif
174
                !endif
175
              </td>
175
              </td>
176
              <td><span class="wims_doc_item">$i</span></td>
176
              <td><span class="wims_doc_item">$i</span></td>
177
              <td>$ti</td>
177
              <td>$ti</td>
178
              <td>$name_public</td>
178
              <td>$name_public</td>
Line 197... Line 197...
197
              </td>
197
              </td>
198
            </tr>
198
            </tr>
199
          !next i
199
          !next i
200
        $table_end
200
        $table_end
201
        <div class="wimscenter">
201
        <div class="wimscenter">
202
          <input type="submit" value="$name_importselected"/>
202
          <input type="submit" value="$name_importselected">
203
        </div>
203
        </div>
204
        !formend
204
        !formend
205
        !read tablesort.phtml
205
        !read tablesort.phtml
206
    </div>
206
    </div>
207
  !endif
207
  !endif
Line 217... Line 217...
217
  !if $toolcnt>0
217
  !if $toolcnt>0
218
    !set table_id=TABLE_supervisor_tool
218
    !set table_id=TABLE_supervisor_tool
219
    <div id="wims_supervisor_tool">
219
    <div id="wims_supervisor_tool">
220
        $name_msgtool
220
        $name_msgtool
221
        !if $classtoolcnt>=$max_tool
221
        !if $classtoolcnt>=$max_tool
222
          <br/>$name_touchlimit
222
          <br>$name_touchlimit
223
        !endif
223
        !endif
224
        !distribute item 1,no into wims_incremental,table_spacer
224
        !distribute item 1,no into wims_incremental,table_spacer
225
        !form reply
225
        !form reply
226
          <input type="hidden" name="job" value="import"/>
226
          <input type="hidden" name="job" value="import">
227
          <input type="hidden" name="type" value="tool"/>
227
          <input type="hidden" name="type" value="tool">
228
          $table_header
228
          $table_header
229
          <thead>
229
          <thead>
230
            <tr>
230
            <tr>
231
              <th data-sort-method="none">
231
              <th data-sort-method="none">
232
                !if $listtoolimport!=$empty and $classtoolcnt<$max_tool
232
                !if $listtoolimport!=$empty and $classtoolcnt<$max_tool
Line 241... Line 241...
241
            !set d=!record $i of wimshome/sessions/$wims_session/upload/class/tool/.toolindex
241
            !set d=!record $i of wimshome/sessions/$wims_session/upload/class/tool/.toolindex
242
            !distribute lines $d into rep,bl,ti
242
            !distribute lines $d into rep,bl,ti
243
            $table_tr
243
            $table_tr
244
              <td>
244
              <td>
245
                !if $i isitemof $listtoolimport and $classtoolcnt<$max_tool
245
                !if $i isitemof $listtoolimport and $classtoolcnt<$max_tool
246
                  <input type="checkbox" class="tool_checkbox" name="num" value="$i"/>
246
                  <input type="checkbox" class="tool_checkbox" name="num" value="$i">
247
                !endif
247
                !endif
248
              </td>
248
              </td>
249
              <td><span class="wims_tool_item">$rep</span></td>
249
              <td><span class="wims_tool_item">$rep</span></td>
250
              <td>$ti</td>
250
              <td>$ti</td>
251
              <td>
251
              <td>
Line 262... Line 262...
262
              </td>
262
              </td>
263
            </tr>
263
            </tr>
264
          !next i
264
          !next i
265
        $table_end
265
        $table_end
266
        <div class="wimscenter">
266
        <div class="wimscenter">
267
          <input type="submit" value="$name_importselected"/>
267
          <input type="submit" value="$name_importselected">
268
        </div>
268
        </div>
269
        !formend
269
        !formend
270
        !read tablesort.phtml
270
        !read tablesort.phtml
271
    </div>
271
    </div>
272
  !endif
272
  !endif
Line 274... Line 274...
274
  !if $glossarycnt>0
274
  !if $glossarycnt>0
275
    !set table_id=TABLE_supervisor_glossary
275
    !set table_id=TABLE_supervisor_glossary
276
    <div id="wims_supervisor_glossary">
276
    <div id="wims_supervisor_glossary">
277
        $name_msgglossary
277
        $name_msgglossary
278
        !if $classglossarycnt>=$max_glossary
278
        !if $classglossarycnt>=$max_glossary
279
          <br/>$name_touchlimit
279
          <br>$name_touchlimit
280
        !endif
280
        !endif
281
        !distribute item 1,no into wims_incremental,table_spacer
281
        !distribute item 1,no into wims_incremental,table_spacer
282
        !form reply
282
        !form reply
283
          <input type="hidden" name="job" value="import"/>
283
          <input type="hidden" name="job" value="import">
284
          <input type="hidden" name="type" value="glossary"/>
284
          <input type="hidden" name="type" value="glossary">
285
          $table_header
285
          $table_header
286
          <thead>
286
          <thead>
287
            <tr>
287
            <tr>
288
              <th data-sort-method="none">
288
              <th data-sort-method="none">
289
                !if $listglossaryimport!=$empty and $classglossarycnt<$max_glossary
289
                !if $listglossaryimport!=$empty and $classglossarycnt<$max_glossary
Line 298... Line 298...
298
            !set d=!record $i of wimshome/sessions/$wims_session/upload/class/tool/.glossaryindex
298
            !set d=!record $i of wimshome/sessions/$wims_session/upload/class/tool/.glossaryindex
299
            !distribute lines $d into num,ti,desc
299
            !distribute lines $d into num,ti,desc
300
            $table_tr
300
            $table_tr
301
              <td>
301
              <td>
302
                !if $i isitemof $listglossaryimport and $classglossarycnt<$max_glossary
302
                !if $i isitemof $listglossaryimport and $classglossarycnt<$max_glossary
303
                  <input type="checkbox" class="glossary_checkbox" name="num" value="$i"/>
303
                  <input type="checkbox" class="glossary_checkbox" name="num" value="$i">
304
                !endif
304
                !endif
305
              </td>
305
              </td>
306
              <td><span class="wims_glossary_item">$i</span></td>
306
              <td><span class="wims_glossary_item">$i</span></td>
307
              <td>$ti</td>
307
              <td>$ti</td>
308
              <td>$desc</td>
308
              <td>$desc</td>
Line 320... Line 320...
320
              </td>
320
              </td>
321
            </tr>
321
            </tr>
322
          !next i
322
          !next i
323
        $table_end
323
        $table_end
324
        <div class="wimscenter">
324
        <div class="wimscenter">
325
          <input type="submit" value="$name_importselected"/>
325
          <input type="submit" value="$name_importselected">
326
        </div>
326
        </div>
327
        !formend
327
        !formend
328
        !read tablesort.phtml
328
        !read tablesort.phtml
329
    </div>
329
    </div>
330
  !endif
330
  !endif
Line 335... Line 335...
335
    <div id="wims_supervisor_freework">
335
    <div id="wims_supervisor_freework">
336
        !set table_id=TABLE_supervisor_freework
336
        !set table_id=TABLE_supervisor_freework
337
        <div id="wims_supervisor_sheet">
337
        <div id="wims_supervisor_sheet">
338
          $name_msgfreework
338
          $name_msgfreework
339
          !if $classfreeworkcnt>=$max_freeworks
339
          !if $classfreeworkcnt>=$max_freeworks
340
            <br/>$name_touchlimit
340
            <br>$name_touchlimit
341
          !endif
341
          !endif
342
          !distribute item 1,no into wims_incremental,table_spacer
342
          !distribute item 1,no into wims_incremental,table_spacer
343
          !form reply
343
          !form reply
344
            <input type="hidden" name="job" value="import"/>
344
            <input type="hidden" name="job" value="import">
345
            <input type="hidden" name="type" value="freework"/>
345
            <input type="hidden" name="type" value="freework">
346
            $table_header
346
            $table_header
347
            <thead><tr>
347
            <thead><tr>
348
              <th data-sort-method="none">
348
              <th data-sort-method="none">
349
                !if $listfreeworkimport!=$empty and $classfreeworkcnt<$max_freeworks
349
                !if $listfreeworkimport!=$empty and $classfreeworkcnt<$max_freeworks
350
                  !read js/mastercheckbox.phtml freework_checkbox
350
                  !read js/mastercheckbox.phtml freework_checkbox
Line 358... Line 358...
358
              !set sh=!record $i of wimshome/sessions/$wims_session/upload/class/freeworks/.freeworks
358
              !set sh=!record $i of wimshome/sessions/$wims_session/upload/class/freeworks/.freeworks
359
              !distribute lines $sh into ac,t_,ti
359
              !distribute lines $sh into ac,t_,ti
360
              $table_tr
360
              $table_tr
361
                <td>
361
                <td>
362
                  !if $i isitemof $listfreeworkimport and $classfreeworkcnt<$max_freeworks
362
                  !if $i isitemof $listfreeworkimport and $classfreeworkcnt<$max_freeworks
363
                    <input type="checkbox" class="freework_checkbox" name="num" value="$i"/>
363
                    <input type="checkbox" class="freework_checkbox" name="num" value="$i">
364
                  !endif
364
                  !endif
365
                </td>
365
                </td>
366
                <td><span class="wims_freework_item">$i</span></td>
366
                <td><span class="wims_freework_item">$i</span></td>
367
                <td>$ti</td>
367
                <td>$ti</td>
368
                <td>
368
                <td>
Line 385... Line 385...
385
                </td>
385
                </td>
386
              </tr>
386
              </tr>
387
            !next i
387
            !next i
388
          $table_end
388
          $table_end
389
          <div class="wimscenter">
389
          <div class="wimscenter">
390
            <input type="submit" value="$name_importselected"/>
390
            <input type="submit" value="$name_importselected">
391
          </div>
391
          </div>
392
        !formend
392
        !formend
393
        !read tablesort.phtml
393
        !read tablesort.phtml
394
    </div>
394
    </div>
395
  !endif
395
  !endif