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
48
49
50
51
52
53
54
55
56
57
58
59
|
<?php
include('../standard_header.inc.php');
# 3. Dateiname und evtl. Pfad des Templates für die Webseite
$webseite = "new_gbm.dwt";
include('rbs_header.inc.php');
###################################################################################
$mnr = -1;
$sbmnr = -1;
$mnr = $_GET['mnr'];
$sbmnr = $_GET['sbmnr'];
# Menuleisten erstellen
createMainMenu($rollen, $mainnr);
createRBSMenu($rollen, $mnr, $auDN, $sbmnr);
###################################################################################
$rbsDN = $_GET['rbsdn'];
$gbmcn = str_replace ( "_", " ", $_GET['gbmcn']);
# RBS Daten
$rbs_data = get_node_data($rbsDN, array("cn","nfsserverip","exportpath","tftpserverip","tftppath","nbdserverip"));
$template->assign(array("RBSCN" => $rbs_data['cn'],
"TFTP" => $rbs_data['tftpserverip'],
"TFTPPATH" => $rbs_data['tftppath'],
"NFS" => $rbs_data['nfsserverip'],
"NFSPATH" => $rbs_data['exportpath'],
"NBD" => $rbs_data['nbdserverip']));
$options = "<option value='none' selected>----------------------------</option>
<option value='nfs'><b>nfs://".$rbs_data['nfsserverip'].":/".$rbs_data['exportpath']."</b></option>
<option value='nbd'>nbd://".$rbs_data['nbdserverip'].":</option>
<option value='dnbd'>dnbd://".$rbs_data['nbdserverip'].":</option>";
$template->assign(array("GBMCN" => $gbmcn,
"LABEL" => "",
"KERNEL" => "",
"INITRD" => "",
"SELECTOPTIONS" => $options,
"ROOTFS" => "",
"IPAPPEND" => "",
"RBSDN" => $rbsDN,
"MNR" => $mnr,
"SBMNR" => $sbmnr));
###################################################################################
include("rbs_footer.inc.php");
?>
|