2 if( isset($errors) && count($errors) > 0 )
4 print( "<p><strong>The following errors occured:</strong>" );
5 print( "<font color='red' size='-1'><ul>\n" );
6 foreach( $errors as $err )
10 print( "</ul></font>\n" );
13 <div class="plroundedconfirm">
14 <h3>Confirm PCU Port to Node Mapping</h3>
15 Please confirm that the node is associated with the correct port on the PCU.
16 Most newer models have this function built-in, where as older models allow for
17 multiple 'ports'. Port 1 is appropriate for built-in models.
18 <?= form_open("download/stage5_bootimage/$pcu_id/$site_id/$node_id", array('method'=>'post')) ?>
20 <input type=hidden name='pcu_id' value='<?= $pcu_id ?>'>
21 <input type=hidden name='node_id' value='<?= $node_id ?>'>
22 <input type=hidden name='site_id' value='<?= $site_id ?>'>
23 <input type=submit name='node_confirm' value='Confirm & Proceed'>
28 <div class="plroundedupdate">
29 <?= form_open("register/stage45_mappcu/$pcu_id/$site_id/$node_id", array('name'=>'fm', 'method'=>'post')) ?>
30 <table border=0 cellpadding=3>
35 <th width=200>Hostname : PCUPort</td>
36 <td><?= $node->hostname ?> : <?= $pcu_port ?></td>
40 <select name='port_number'>
41 <option value='noaction'>--</option>
43 $ports= array( 1, 2, 3, 4, 5, 6, 7, 8);
44 foreach ($ports as $port )
46 <option value='<?= $port ?>'>
47 <?= $node->hostname ?> port <?= $port ?>
56 <input type=hidden name='pcu_id' value='<?= $pcu_id ?>'>
57 <input type=hidden name='node_id' value='<?= $node_id ?>'>
58 <input type=hidden name='site_id' value='<?= $site_id ?>'>
59 <input type=submit name='pcumap_update' value='Update & Return'>
66 <a href='/db/sites/index.php?id=<?= $site_id ?>'>Back to Home Site</a>