Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
5179 guerimand 1
!if $wims_read_parm=$empty
2
   !let code=$wims_class
3
!else
4
  !let code=$wims_read_parm
5
!endif
6
!readproc adm/language adm/lang/links
7
!readproc adm/lang/links.$modu_lang
8
 
9
$name_link_introduce :
5433 czzmrn 10
!if $auth_method=php
12555 bpr 11
  !if $class_type>=2
12
    !set accesscode=$class_superclass
13
  !else
14
    !set accesscode=$code
15
  !endif
16
  <ul>
6319 bpr 17
   <li>$name_link_link
12555 bpr 18
    <a href="$host_auth?enter=$accesscode">$host_auth?enter=$accesscode</a>
19
    $name_link_enterall</li>
20
  !if $class_type>=2
21
    <li>$name_link_link
22
    <a href="$host_auth?enter=$accesscode&authtype=teacher">$host_auth?enter=$accesscode&authtype=teacher</a>
23
    $name_link_regsuperv</li>
24
  !endif
25
  </ul>
5433 czzmrn 26
!else
12555 bpr 27
  <ul>
28
   <li>$name_link_link
29
    <a href="$(wims_ref_name)?module=adm/class/classes&type=authsupervisor&class=$code">$(wims_ref_name)?module=adm/class/classes&type=authsupervisor&class=$code</a>
30
   $name_link_supervisor.
31
   </li>
7261 bpr 32
  !if $Cltype>=2
12555 bpr 33
    !!portal
7261 bpr 34
    <li>$name_link_teacher
11111 bpr 35
    !set script_out=$wims_ref_name?module=adm/class/classes&type=authparticipant&class=$code
7261 bpr 36
    !if $class_auth=cas
37
      !read adm/codeurl $script_out
38
      <a href="$(link_)$script_out">$(link_)$script_out</a>
39
    !else
40
      <a href="$script_out">$script_out</a>
41
    !endif
12555 bpr 42
    </li>
7261 bpr 43
  !endif
6319 bpr 44
  <li>$name_link_link
12555 bpr 45
  !set script_out=$wims_ref_name?module=adm/class/classes&type=authparticipant&class=$code&subclass=yes
46
  !if $class_auth=cas
6319 bpr 47
    !read adm/codeurl $script_out
12555 bpr 48
    <a href="$(link_)$script_out">$(link_)$script_out</a>
49
  !else
50
    <a href="$script_out">$script_out</a>
51
  !endif
52
  $name_link_user
53
  <div class="wimscenter">
54
  !read adm/QRcode.phtml $script_out
55
  </div>
56
  !if $Cltype>=2
5179 guerimand 57
    $name_link_grpclass.
12555 bpr 58
  !endif
59
  !if $password!=$empty
5179 guerimand 60
    ($name_link_withpwd.).
12555 bpr 61
  !endif
62
  <br/>$name_link_user2.
6319 bpr 63
  </li>
12555 bpr 64
  !if $Cltype>=2
65
    <li>$name_link_link
66
    !set script_out=$wims_ref_name?module=adm/class/reguser&class=$code
67
    !if $class_auth=cas
68
      !read adm/codeurl $wims_ref_name?module=adm/class/reguser&class=$code
69
    !endif
70
    <a href="$(link_)$script_out">$(link_)$script_out</a>
71
    $name_link_regsup
72
    !if $password!=$empty
73
      ($name_link_withpwd.).
74
    !else
75
      .
76
    !endif
77
    </li>
78
  !endif
79
  </ul>
5433 czzmrn 80
!endif
5179 guerimand 81
<span class="wims_warning">$name_link_important</span> : $name_link_importantmes.
7025 bpr 82
!if adm/class/config notin $module
12555 bpr 83
  $name_link_importantmes2
5382 bpr 84
!endif
5179 guerimand 85
<p>
5903 bpr 86
$name_link_classnumber : <span class="tt wims_code_words">$code</span>.
6686 bpr 87
</p>