3
* Copyright (c) 2008 Zivios, LLC.
5
* This file is part of Zivios.
7
* Zivios is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* Zivios is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with Zivios. If not, see <http://www.gnu.org/licenses/>.
20
* @package mod_openafs
21
* @copyright Copyright (c) 2008 Zivios, LLC. (http://www.zivios.org)
22
* @license http://www.zivios.org/legal/license
23
* @version $Id: editvolquota.phtml 919 2008-08-25 11:45:23Z fkhan $
24
* @lastchangeddate $LastChangedDate: 2008-08-25 17:45:23 +0600 (Mon, 25 Aug 2008) $
29
<b>Edit Volume Quota</b><br />
30
To adjust the quota of this volume, please update the current quota
31
field shown below and click on "Adjust Quota".
34
<form method="post" action="#" onsubmit="return false;" id="editvolquota">
36
<legend>Edit Volume Quota</legend>
37
<label for="cn"><b>Volume Name</b></label>
38
<span class="formtext"><b><?php echo $this->volEntry->getProperty("cn"); ?></b></span> <br />
39
<label for="Current">Current Volume Quota</label>
40
<span class="formtext"> <?php echo Ecl_Util::formatSize(($this->volEntry->getProperty('emsafsvolmaxquota') * 1024), null, '%01.0f (%s)', true); ?></span><br />
41
<label for="Usage">Current Usage</label>
42
<span class="formtext"> <?php echo Ecl_Util::formatSize(($this->volEntry->getProperty('emsafsvoldiskused') * 1024), null, '%01.0f (%s)', true); ?></span><br />
44
<label for="maxquota">Maximum Volume Quota</label>
45
<input id="maxquota" type="text" size="20" maxlength="32" value=""
46
name="maxquota" /> MB<br />
48
<input type="submit" name="adjustquota" value="Adjust Quota"
49
onclick="javascript:callAfsFormAction('editvolquota', '/openafs/server/updatequota', 'optrst');" />
50
<input type="hidden" name="operate_dn" value="<?php echo $this->obj->getdn(); ?>" />
51
<input type="hidden" name="voldn" value="<?php echo $this->volEntry->getdn(); ?>" />
52
<input type="hidden" name="updateRequestFor" value="volquota" />
53
<input type="hidden" name="utype" value="update" />
b'\\ No newline at end of file'