mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-30 11:23:33 +00:00
quota can be edited
This commit is contained in:
parent
8fc212966b
commit
3de00379d2
|
|
@ -43,6 +43,7 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
|||
$enableuserimage = $this->params['enableuserimage'];
|
||||
$undeluserids = $this->params['undeluserids'];
|
||||
$workflowmode = $this->params['workflowmode'];
|
||||
$quota = $this->params['quota'];
|
||||
|
||||
$this->htmlStartPage(getMLText("admin_tools"));
|
||||
$this->globalNavigation();
|
||||
|
|
@ -187,6 +188,17 @@ function showUser(selectObj) {
|
|||
?>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("quota");?>:</td>
|
||||
<td><input type="text" name="quota">
|
||||
<?php
|
||||
if($quota > 0)
|
||||
echo $this->warningMsg(getMLText('current_quota', array('quota'=>SeedDMS_Core_File::format_filesize($quota))));
|
||||
else
|
||||
echo $this->warningMsg(getMLText('quota_is_disabled'));
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("is_hidden");?>:</td>
|
||||
<td><input type="checkbox" name="ishidden" value="1"></td>
|
||||
|
|
@ -397,6 +409,17 @@ function showUser(selectObj) {
|
|||
?>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("quota");?>:</td>
|
||||
<td><input type="text" name="quota" value="<?php echo $currUser->getQuota(); ?>">
|
||||
<?php
|
||||
if($quota > 0)
|
||||
echo $this->warningMsg(getMLText('current_quota', array('quota'=>SeedDMS_Core_File::format_filesize($quota))));
|
||||
else
|
||||
echo $this->warningMsg(getMLText('quota_is_disabled'));
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("is_hidden");?>:</td>
|
||||
<td><input type="checkbox" name="ishidden" value="1"<?php print ($currUser->isHidden() ? " checked='checked'" : "");?>></td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user