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: deletevolume.phtml 919 2008-08-25 11:45:23Z fkhan $
24
* @lastchangeddate $LastChangedDate: 2008-08-25 17:45:23 +0600 (Mon, 25 Aug 2008) $
28
<table border="0" width="100%" align="center">
30
<td><b>Delete Volume</b></td>
33
<td>You are about to <b><font color="red">delete the volume</font></b>:
34
<b><?php echo $this->volEntry->getProperty("cn"); ?></b>. All RO and RW mount
35
points for this volume will be removed from the file system.
37
Are you absolutely certain you want to do this?
38
<p><a href="#" onClick="javascript:deleteVolume();"><b>Yes, Delete this Volume</b></a></p>
43
<script language="javascript">
45
* Show EditMountPoint Options
47
deleteVolume = function (voldn)
49
var msg = "You are about to DELETE a volume permanently.";
50
msg += " \n\nAre you certain you wish to continue?";
52
var url = "/openafs/server/deletevolume";
58
var data = {voldn: '<?php echo $this->volEntry->getdn(); ?>', operate_dn: '<?php echo $this->obj->getdn(); ?>'};
59
rpc = Object.toJSON(data);
61
var ma = new Ajax.Updater (
66
parameters: 'mr='+rpc,
68
onLoading: function(request) {
71
onComplete:function(request) {
b'\\ No newline at end of file'