Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
2177 bpr 1
 
2
!read lang/names.phtml.$moduclass_lang
4039 bpr 3
!read adm/class/classname.phtml $wims_classname\
4018 bpr 4
$wims_institutionname
2177 bpr 5
 
1170 bpr 6
!read adm/css.phtml
232 bpr 7
!if $cmd=help
8
 !header
9
 !changeto help.phtml
10
!endif
9353 bpr 11
!set js=!record 0 of js/chooselist.js
12
!set wims_html_header=!append line $js to $wims_html_header
9355 bpr 13
!set wims_html_header=!append line \
14
<style type="text/css">\
15
.activity_title { text-align:left; font-weight:bold; font-style:italic;}\
16
</style>\
17
to $wims_html_header
1051 bpr 18
!header1
1336 bpr 19
!read adm/title.phtml 1\
4018 bpr 20
$classname\
1336 bpr 21
$name_title
9353 bpr 22
!default job=activity
232 bpr 23
!if $error!=$empty
5894 bpr 24
 <div class="wims_alertmsg">
9115 bpr 25
 !read lang/msg.phtml.$moduclass_lang
5874 bpr 26
 </div>
27
<p>
232 bpr 28
 !href module=home $name_homeback
9252 bpr 29
</p>
1336 bpr 30
!set wims_menu_items=!append line back,1,module=home\
31
to $wims_menu_items
232 bpr 32
 !goto end
33
!endif
34
 
35
!read activity.phtml
9353 bpr 36
!goto end
232 bpr 37
 
38
:end
9353 bpr 39
!reset parmuser1 parmuser2
40
!if $user!=$empty
41
 !set parmuser1=&job=getuser&getuser=$user
42
 !set parmuser2=&job=user&user=$user
43
 !set sc=scores
44
 !set li=livret1
45
!else
46
 !set sc=Score1
47
 !set li=livret
48
!endif
49
 
50
!set wims_menu_items=!append line $sc,1,module=adm/class/userscore$parmuser1\
51
$li,1,module=adm/class/livret$parmuser2\
52
back2,1,\
9115 bpr 53
 to $wims_menu_items
232 bpr 54
!tail
55
 
56
!reset show