diff --git a/views/bootstrap/class.MyAccount.php b/views/bootstrap/class.MyAccount.php index cf6966ec8..d2717768b 100644 --- a/views/bootstrap/class.MyAccount.php +++ b/views/bootstrap/class.MyAccount.php @@ -43,6 +43,9 @@ class LetoDMS_View_MyAccount extends LetoDMS_Bootstrap_Style { $this->contentStart(); $this->pageNavigation(getMLText("my_account"), "my_account"); + if(($remain = checkQuota()) < 0) { + $this->warningMsg(getMLText('quota_warning', array('bytes'=>LetoDMS_Core_File::format_filesize(abs($remain))))); + } $this->contentHeading(getMLText("user_info")); $this->contentContainerStart(); @@ -77,6 +80,14 @@ class LetoDMS_View_MyAccount extends LetoDMS_Bootstrap_Style { print "