Subversion Repositories wimsdev

Rev

Rev 15069 | Rev 15109 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15069 Rev 15070
Line 173... Line 173...
173
!! TODO : change name of the window to open should be deleted when
173
!! TODO : change name of the window to open should be deleted when
174
!if $wims_class!=$empty and $wims_user=supervisor and adm/ notin $module and classes/ notin $module and devel/ notin $module and $module!=home and $cmd!=intro
174
!if $wims_class!=$empty and $wims_user=supervisor and adm/ notin $module and classes/ notin $module and devel/ notin $module and $module!=home and $cmd!=intro
175
  !let number_=!randint 1,1000
175
  !let number_=!randint 1,1000
176
  !set 1_=!append line sendbug,4,module=adm/sendbug&cmd=new,sendbug$(number_) to $1_
176
  !set 1_=!append line sendbug,4,module=adm/sendbug&cmd=new,sendbug$(number_) to $1_
177
!endif
177
!endif
178
!! ------------ had link to tchat for user
-
 
179
!if $wims_class!=$empty and $wims_user!=supervisor and tchat notin $wims_session and $class_type<2 and class/tchat isitemof $wims_allowed_optional_module
-
 
180
  !if $wims_opentchat=$empty
-
 
181
    !set wims_name_tchatclose=$wims_name_tchat ($wims_name_close)
-
 
182
    !set 1_=!append line tchatclose,4,module=adm/class/tchat&cmd=new,tchat to $1_
-
 
183
  !else
-
 
184
    !set wims_name_tchatopen=$wims_name_tchat ($wims_name_open)
-
 
185
    !set 1_=!append line tchatopen,4,module=adm/class/tchat&cmd=new,tchat to $1_
-
 
186
  !endif
-
 
187
!endif
-
 
188
!! ------------
-
 
189
!if $module_has_help=yes and $cmd notwordof intro help and _exam notin $wims_session
178
!if $module_has_help=yes and $cmd notwordof intro help and _exam notin $wims_session
190
  !if $module_help=$empty or $module_help=popup
179
  !if $module_help=$empty or $module_help=popup
191
    !set 1_=!append line help,4,module=$module&cmd=help&special_parm=$wims_help_parm,mhelp to $1_
180
    !set 1_=!append line help,4,module=$module&cmd=help&special_parm=$wims_help_parm,mhelp to $1_
192
  !else
181
  !else
193
    !set 1_=!append line help,1,module=$module&cmd=help&special_parm=$wims_help_parm to $1_
182
    !set 1_=!append line help,1,module=$module&cmd=help&special_parm=$wims_help_parm to $1_