Ignore:
Timestamp:
2012-07-31T11:22:10+02:00 (3 years ago)
Author:
Xuefer
Message:

diagnosis: impl checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/diagnosis/diagnosis.tpl.php

    r1090 r1092  
    11<?php include "../common/header.tpl.php"; ?>
    2 <table cellspacing="0" cellpadding="4" class="cycles">
     2<table cellspacing="0" cellpadding="4" class="cycles" id="diagnosisResult">
    33    <caption>
    44        <?php echo _T("Diagnosis Result"); ?>
     
    66    <tr>
    77        <th>
     8            <?php echo _T("Item"); ?>
     9        </th>
     10        <th>
    811            <?php echo _T("Level"); ?>
    912        </th>
    1013        <th>
    11             <?php echo _T("Reason"); ?>
     14            <?php echo _T("Result"); ?>
    1215        </th>
    1316        <th>
    14             <?php echo _T("Suggestion"); ?>
     17            <?php echo _T("Result/Suggestion"); ?>
    1518        </th>
    1619    </tr>
    1720<?php foreach ($notes as $note) { ?>
    18     <tr>
    19         <td><?php echo ucfirst($note['type']); ?></td>
    20         <td><?php echo $note['reason']; ?></td>
    21         <td><?php echo $note['suggestion']; ?></td>
     21    <tr class="<?php echo $note['type']; ?>">
     22        <td nowrap="nowrap" align="right"><?php echo $note['item']; ?></td>
     23        <td nowrap="nowrap"><?php echo ucfirst($note['type']); ?></td>
     24        <td nowrap="nowrap"><?php echo nl2br($note['result']); ?></td>
     25        <td><?php echo nl2br($note['suggestion']); ?></td>
    2226    </tr>
    2327<?php } ?>
Note: See TracChangeset for help on using the changeset viewer.