Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 14297 → Rev 14319

/trunk/wims/public_html/modules/home/NEWS
1,3 → 1,4
20191009 [r14319] use script adm/class/quotafree.proc for storage capacities of class (FG)
20180625 [r13064] fix the case of interclass in a portal (bpr)
20180611 [r12926] search_level saving even if supervisor disconnects of class (FG)
20160605 transfer some definitions which were in the themes in var.proc
/trunk/wims/public_html/modules/home/var.proc
112,12 → 112,13
!next k
votecnt=!recordcnt wimshome/log/classes/$wims_class/vote/.votes
!read wimshome/log/classes/$wims_class/Exindex
!read ./adm/du $wims_home/log/classes/$wims_class
!if $class_type iswordof 2 4 and $wims_superclass_quota!=$empty
quota_free=$[$wims_superclass_quota-$du]
!else
quota_free=$[$wims_class_quota-$du]
!endif
!read adm/class/quotafree.proc proc
!! !read ./adm/du $wims_home/log/classes/$wims_class
!! !if $class_type iswordof 2 4 and $wims_superclass_quota!=$empty
!! quota_free=$[$wims_superclass_quota-$du]
!! !else
!! quota_free=$[$wims_class_quota-$du]
!! !endif
!endif
 
!if $wims_user!=$empty