<div id="view_summary_custom" style="float: left; width: 100%;"> <br /> <br /> <form action="#" method="post" class="niceforms"> <fieldset id="summary_custom_details" class="niceforms"> <legend><span style="font-size: 12pt;"> <?php echo __('Custom Details'); ?> </span></legend> <img style='float: right; margin; 10px; ' src='<?php echo $image_path; ?> 48_custom.png' alt='' title='' width='48'/> <?php echo display_custom_field('view_summary_custom', $additional_fields, $edit); ?> </fieldset> </form> </div> <div id="view_summary_audits" style="float: left; width: 100%;"> <?php if (count($audits) > 0) { ?> <br /> <form action="#" method="post" class="niceforms"> <fieldset id="summary_audits"> <legend><span style="font-size: 12pt;"> <?php echo __('System Audits'); ?>
?> "><?php echo __('Manufacturer'); ?> : </label><span id="sound_manufacturer_<?php echo $key->sound_id; ?> "><?php echo $key->sound_manufacturer; ?> </span></p> <?php } ?> <?php echo display_custom_field('view_hardware_sound', $additional_fields_data, $edit); ?> </fieldset> </form> <?php } ?> </div> <div id="view_hardware_printer" style="float: left; width: 100%;"> <?php if (count($printer) > 0) { ?> <br /> <br /> <form action="#" method="post" class="niceforms">
if ($access_level > 7) { echo "<span id='".$key."_select' style='color:blue;'><span onclick='display_$key();'>".print_something($system[0]->$key)."</span></span>$edit_icon</p>\n"; } else { echo "<span id='".$key."_select'>".print_something($system[0]->$key)."</span></p>\n"; } } if ((string)$value == 'icon') { $icon = htmlentities($system[0]->icon); echo "<p><label for='icon'>" . __('Icon') . ": </label><span id='icon'><img src='" . base_url() . "theme-tango/tango-images/16_" . $icon . ".png' alt='' /></span></p>"; } } echo "</div>\n"; ?> </div> <?php echo display_custom_field('system', $additional_fields, $edit); ?> </fieldset> </form> </div> <!-- end of div Summary --> <?php # include the common blocks of credentials, purchase, location / contact, custom, audits, audit log, alert log, nmis, VMs, modules include "v_display_inc_summary.php"; # include the computer specific display blocks if ($system[0]->type == 'computer') { include "v_display_inc_blocks.php"; } ?> </div>
<th><?php echo __('Model')?></th> <th><?php echo __('Serial')?></th> <th><?php echo __('Interface')?></th> <th><?php echo __('Size')?></th> <th><?php echo __('Status')?></th> <th><?php echo __('Firmware')?></th> </tr> </thead> <tbody> <?php foreach ($hard_drive as $item) { $key = $item->attributes; echo "<tr> <td>" . @$key->device . "</td> <td>" . @$key->manufacturer . "</td> <td>" . @$key->model . "</td> <td>" . @$key->serial . "</td> <td>" . @$key->interface_type . "</td> <td>" . @number_format(($key->size)) . " GB</td> <td>" . @$key->status . "</td> <td>" . @$key->firmware . "</td> </tr>\n"; } ?> </tbody> </table> <?php echo display_custom_field('san_disk', $additional_fields, $edit); ?> </fieldset> </form> <?php } ?> </div>