Subversion Repositories wimsdev

Rev

Rev 14977 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14867 obado 1
!!if $iedit_activated=1
2
!read js/external/tinymce.phtml .iEdit
3
!!endif
14297 guerimand 4
!read adm/css.phtml
5
 
14907 obado 6
!set wims_html_header = !append line <style>\
7
.freeworkdesczone{font-size: 10pt;color:#666;}\
8
.list_zones{display:flex;flex-wrap:wrap}\
9
.list_zones>.wims_widget_box{flex-grow:1}\
10
</style>\
11
to $wims_html_header
12
 
14297 guerimand 13
!header1
14
!read adm/class/classname.phtml $wims_classname\
15
$wims_institutionname
16
 
17
!read adm/title.phtml 1\
18
$classname\
19
$name_title $name_title2
20
 
21
!if $error!=$empty
22
  <div class="wims_msg alert">
14907 obado 23
    <strong>$wims_name_Error:</strong>
24
    !read msg.phtml
25
    !reset error
26
  </div>
27
  !if $notallowed=1
28
    !exit
29
  !endif
14297 guerimand 30
!else
31
  !if $success!=$empty
32
    <div class="wims_msg success">
33
      !read msg.phtml $success
34
      !reset success
35
    </div>
36
  !endif
37
  !if $warning!=$empty
38
    <div class="wims_msg warning">
39
      !read msg.phtml $warning
40
      !reset warning
41
    </div>
42
  !endif
43
!endif
44
 
14947 guerimand 45
!if $wims_user=supervisor and $activetest>=1 and $activetest<3
46
  !if $job=configfw
17636 czzmrn 47
    !set wims_menu_items=!append line duplicatefw,1,module=$module&cmd=new&job=duplicate&+freework=$freework to $wims_menu_items
14947 guerimand 48
    !set wims_menu_items=!append line participantview,1,module=$module&cmd=new&job=student&+freework=$freework to $wims_menu_items
49
  !endif
50
  !if $job isitemof student1,student2,student3
51
    !set wims_menu_items=!append line backteacher,1,module=$module&cmd=new&job=configfw&+freework=$freework to $wims_menu_items
52
  !endif
53
!endif
14297 guerimand 54
 
55
!read $job.phtml
56
 
14832 guerimand 57
!reset job back
14297 guerimand 58
 
59
!tail