Exemple #1
0
    echo $string['unidirectional'] . ' <img src="../artwork/tooltip_icon.gif" class="help_tip" title="' . $string['tooltip_unidirectional'] . '" />';
}
echo '</td></tr>';
if ($test_type < 3) {
    echo '<tr><td class="f">' . $string['marks'] . '</td>';
    echo '<td colspan="3">' . $total_marks;
    if ($marking == 1) {
        echo ' (' . $string['adjusted'] . ' ' . number_format($total_random_mark, 2, '.', ',') . ')';
        echo ' <img src="../artwork/tooltip_icon.gif" class="help_tip" title="' . $string['tooltip_adjustmark'] . '" />';
    }
    echo '</td></tr>';
}
echo "<tr><td class=\"f\"><nobr>&nbsp;" . $string['currentuser'] . "</nobr></td><td>{$person}</td>";
if ($exam_duration) {
    $duration_mins = calculate_duration($exam_duration, $extra_time_mins, $special_needs_percentage);
    echo '<td class="f">' . $string['duration'] . '</td><td>' . StringUtils::nice_duration($duration_mins, $string) . '</td>';
} else {
    echo '<td></td><td></td>';
}
echo '</tr>';
if ($display_remaining_time === true) {
    ?>
    <tr>
       <td></td>
       <td></td>
       <td class="f"><?php 
    echo $string['timeremaining'];
    ?>
</td>
       <?php 
    if ($remaining_time == 0) {
Exemple #2
0
                <td><?php 
        echo $string['end'];
        ?>
</td>
                <td><?php 
        echo $end_date;
        ?>
</td>
              </tr>
              <tr>
                <td><?php 
        echo $string['duration'];
        ?>
</td>
                <td><?php 
        echo StringUtils::nice_duration($exam_duration, $string);
        ?>
</td>
              </tr>
              <tr>
                <?php 
        if ($password == '') {
            echo "<td>&nbsp;</td><td></td>\n";
        } else {
            echo "<td class=\"password\">" . $string['password'] . " <img src=\"../artwork/key.png\" width=\"16\" height=\"16\" /></td><td style=\"font-family:'Lucida Console', monospace\">{$password}</td>\n";
        }
        ?>
              </tr>

              <tr>
                <td colspan="4"><input type="button" onclick="newPaperNote(<?php