Subversion Repositories wimsdev

Rev

Rev 5434 | Rev 6319 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  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 :
  10. !if $auth_method=php
  11. !if $class_type>=2
  12. !set accesscode=$class_superclass
  13. !else
  14. !set accesscode=$code
  15. !endif
  16. <ul>
  17. <li>$name_link_link
  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>
  26. !else
  27. <ul>
  28.  <li>$name_link_link
  29.   <a href="http://$httpd_HTTP_HOST$httpd_SCRIPT_NAME?lang=$lang&module=adm/class/classes&type=authsupervisor&class=$code">http://$httpd_HTTP_HOST$httpd_SCRIPT_NAME?lang=$lang&module=adm/class/classes&type=authsupervisor&class=$code</a>
  30.   $name_link_supervisor.
  31.  </li>
  32.  <li>$name_link_link
  33.   !set script_out=$wims_ref_name?lang=$lang&module=adm/class/classes&type=authparticipant&class=$code&subclass=yes
  34.   !if $class_auth=cas
  35.    !read adm/codeurl $script_out
  36.   !endif
  37.   <a href="$(link_)$script_out">$(link_)$script_out</a>
  38.   $name_link_user
  39.   !if $Cltype>=2
  40.     $name_link_grpclass.
  41.   !endif
  42.   !if $password!=$empty
  43.     ($name_link_withpwd.).
  44.   !endif
  45.   <br/>$name_link_user2.
  46.  </li>
  47.  !if $Cltype>=2
  48.   <li>$name_link_link
  49.    !set script_out=$wims_ref_name?lang=$lang&module=adm/class/reguser&class=$code
  50.    !if $class_auth=cas
  51.      !read adm/codeurl $wims_ref_name?lang=$lang&module=adm/class/reguser&class=$code
  52.    !endif
  53.    <a href="$(link_)$script_out">$(link_)$script_out</a>
  54.    $name_link_regsup
  55.    !if $password!=$empty
  56.      ($name_link_withpwd.).
  57.    !else
  58.     .
  59.    !endif
  60.   </li>
  61.  !endif
  62. </ul>
  63. !endif
  64. <span class="wims_warning">$name_link_important</span> : $name_link_importantmes.
  65. !if adm/class/config notin $module
  66.  $name_link_importantmes2
  67. !endif
  68. <p>
  69. $name_link_classnumber : <tt class="wims_code_words">$code</tt>.
  70. </p>