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 <?php if ( $pcu_assigned ): ?>
19 <?= form_open("download/stage5_bootimage/$pcu_id/$site_id/$node_id", array('method'=>'post')) ?>
21 <input type=hidden name='pcu_id' value='<?= $pcu_id ?>'>
22 <input type=hidden name='node_id' value='<?= $node_id ?>'>
23 <input type=hidden name='site_id' value='<?= $site_id ?>'>
24 <input type=submit name='node_confirm' value='Confirm & Proceed'>
30 <div class="plroundedupdate">
31 <?= form_open("register/stage45_mappcu/$pcu_id/$site_id/$node_id", array('name'=>'fm', 'method'=>'post')) ?>
32 <table border=0 cellpadding=3>
37 <th width=200>Hostname : PCUPort</td>
38 <td><?= $node->hostname ?> : <?= $pcu_port ?></td>
42 <select name='port_number'>
43 <option value='noaction'>--</option>
45 $ports= array( 1, 2, 3, 4, 5, 6, 7, 8);
46 foreach ($ports as $port )
48 <option value='<?= $port ?>'>
49 <?= $node->hostname ?> port <?= $port ?>
58 <input type=hidden name='pcu_id' value='<?= $pcu_id ?>'>
59 <input type=hidden name='node_id' value='<?= $node_id ?>'>
60 <input type=hidden name='site_id' value='<?= $site_id ?>'>
61 <input type=submit name='pcumap_update' value='Update & Return'>
68 <a href='/db/sites/index.php?id=<?= $site_id ?>'>Back to Home Site</a>