Beispiel #1
0
echo '<input type="hidden" name="startdate" value="' . $display_start_date . '" /><input type="hidden" name="testtype" value="' . $test_type . "\" /></td></tr>\n";
echo "<tr><td class=\"f\"><nobr>" . $string['candidates'] . "</nobr></td><td colspan=\"3\">";
$html = '';
foreach ($modIDs as $modID) {
    $mod_details = module_utils::get_full_details_by_ID($modID, $mysqli);
    if ($html == '') {
        $html = $mod_details['moduleid'];
    } else {
        $html .= ', ' . $mod_details['moduleid'];
    }
}
echo $html . '</td></tr>';
// Display any metadata
$metadata_security = true;
$metadata_msg = '';
$metadata = Paper_utils::get_metadata($property_id, $mysqli);
if (!$userObject->is_temporary_account()) {
    // Do not check metadata security if temporary account
    foreach ($metadata as $security_type => $security_value) {
        $html = '';
        if (!$userObject->has_metadata($modIDs, $security_type, $security_value)) {
            $metadata_security = false;
            $metadata_msg = sprintf($string['metadata_msg'], $security_type, $security_value);
            $html = ' class="warn"';
        }
        echo "<tr><td class=\"f\">{$security_type}</td><td{$html}>{$security_value}</td><td></td><td></td></tr>\n";
    }
}
echo '<tr><td class="f"><nobr>' . $string['screens'] . '</nobr></td><td>' . $paper_screens . '</td>';
echo '<td class="f">' . $string['navigation'] . '</td><td>';
if ($navigation == 1) {