Subversion Repositories wimsdev

Rev

Rev 16884 | Details | Compare with Previous | Last modification | View Log | RSS feed

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