-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSecurityNFS.page
More file actions
47 lines (32 loc) · 1.38 KB
/
Copy pathSecurityNFS.page
File metadata and controls
47 lines (32 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Icon="icons/linux-icon.png"
Cond="($var['shareNFSEnabled']=='yes')&&(array_key_exists($name,$sec_nfs))"
Menu="Disk Cache Share"
Title="NFS Security Settings"
---
<form markdown="1" method="POST" action="/update.htm" target="progressFrame">
Export:
: <select name="shareExportNFS" size="1">
<?=mk_option($sec_nfs[$name]['export'], "-", "No");?>
<?=mk_option($sec_nfs[$name]['export'], "e", "Yes");?>
</select>
Security:
: <select name="shareSecurityNFS" size="1">
<?=mk_option($sec_nfs[$name]['security'], "public", "Public");?>
<?=mk_option($sec_nfs[$name]['security'], "secure", "Secure");?>
<?=mk_option($sec_nfs[$name]['security'], "private", "Private");?>
</select>
: <input type="hidden" name="shareName" value="<?=$name;?>">
<input type="submit" name="changeShareSecurityNFS" value="Apply">
<button type="button" onClick="done();">Done</button>
</form>
<? if ($sec_nfs[$name]['security']=="private"): ?>
<form markdown="1" method="POST" name="otherForm" action="/update.htm" target="progressFrame">
Rule:
: <input type="text" name="shareHostListNFS" maxlength="256" value="<?=$sec_nfs[$name]['hostList'];?>">
: <input type="hidden" name="shareName" value="<?=$name;?>">
<input type="submit" name="changeShareAccessNFS" value="Apply">
<button type="button" onClick="done();">Done</button>
</form>
<? endif; ?>