
!if $doctype=doc
  !read adm/du bases/doc/$doc
  quota_total=$wims_doc_quota
!else
  !if $doctype=devel
    !read adm/du $wims_home/$Docdir
    quota_total=$wims_doc_quota
  !else
  !read adm/du $wims_home/log/classes/$wims_class
  quota_total=$wims_class_quota
  !endif
!endif
quota_free=$[$quota_total-$du]
