Subversion Repositories wimsdev

Rev

Rev 17636 | 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
17780 czzmrn 50
  !if $job isitemof viewuser3,student3
51
    !set wims_name_sheetadmin=$name_managefreework
52
      !set wims_menu_items=!append line sheetadmin,1,module=$module&cmd=new&job=configfw&+freework=$freework to $wims_menu_items
53
  !endif
14947 guerimand 54
  !if $job isitemof student1,student2,student3
17780 czzmrn 55
    !set wims_menu_items=!append line scores,1,module=adm/class/userscore&cmd=new to $wims_menu_items
14947 guerimand 56
  !endif
57
!endif
14297 guerimand 58
 
17780 czzmrn 59
!if $job isitemof viewuser3,student3 and $activetest>=1 and $activetest<3 and $userv!=$empty and $wims_user=supervisor
60
    !set wims_menu_items=!append line studscores,1,module=adm/class/userscore&cmd=new&job=getuser&getuser=$userv to $wims_menu_items
61
!endif
62
 
63
!if $job isitemof viewuser3,student3 and $activetest>=1 and $activetest<3 and $wims_user!=supervisor
64
    !set wims_menu_items=!append line myscore,1,module=adm/class/userscore&cmd=new&job=getuser&getuser=$userv to $wims_menu_items
65
!endif
66
 
67
 
14297 guerimand 68
!read $job.phtml
69
 
14832 guerimand 70
!reset job back
14297 guerimand 71
 
72
!tail