Пример #1
0
function sample_xset()
{
    return exercise_set(name('sample exercise set'), number(1), exercise(name('exercise 1'), filename('bolt_sample_exercise.php?n=1')));
}
Пример #2
0
html_tbl_print_header(lang_get('reported_by'), BUG_REPORTER, $order_by, $order_dir);
html_tbl_print_header(lang_get('reported_date'), BUG_REPORTED_DATE, $order_by, $order_dir);
html_tbl_print_header(lang_get('assigned_to'), BUG_ASSIGNED_TO, $order_by, $order_dir);
html_tbl_print_header(lang_get('assigned_to_developer'), BUG_ASSIGNED_TO_DEVELOPER, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_closed'), BUG_CLOSED, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_closed_date'), BUG_CLOSED_DATE, $order_by, $order_dir);
html_tbl_print_header(lang_get('test_verification_id'), BUG_TEST_VERIFY_ID, $order_by, $order_dir);
html_tbl_print_header(lang_get('req_version_id'), BUG_REQ_VERSION_ID, $order_by, $order_dir);
html_tbl_print_header(lang_get('found_in_release'), BUG_FOUND_IN_RELEASE, $order_by, $order_dir);
html_tbl_print_header(lang_get('assigned_to_release'), BUG_ASSIGN_TO_RELEASE, $order_by, $order_dir);
html_tbl_print_header(lang_get('implemented_in_release'), BUG_IMPLEMENTED_IN_RELEASE, $order_by, $order_dir);
html_tbl_print_header(lang_get('discovery_period'), BUG_DISCOVERY_PERIOD, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_summary'), BUG_SUMMARY, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_description'), BUG_DESCRIPTION, $order_by, $order_dir);
print "</tr>" . NEWLINE;
$bugs_rows = exercise($project_id, $page_number, $order_by, $order_dir, $filter_bug_status, $filter_bug_category, $filter_bug_component, $filter_reported_by, $filter_assigned_to, $filter_assigned_to_dev, $filter_found_in_rel, $filter_assigned_to_rel, $filter_view_closed, $filter_search);
foreach ($bugs_rows as $bug_row) {
    $row_style = html_tbl_alternate_bgcolor($row_style);
    $bug_id = $bug_row[BUG_ID];
    $project_id = $bug_row[BUG_PROJECT_ID];
    $category = $bug_row[BUG_CATEGORY];
    $component = $bug_row[BUG_COMPONENT];
    $priority = $bug_row[BUG_PRIORITY];
    $severity = $bug_row[BUG_SEVERITY];
    $closed_reason_code = $bug_row[BUG_SEVERITY];
    $status = $bug_row[BUG_STATUS];
    $reporter = $bug_row[BUG_REPORTER];
    $reporter_date = $bug_row[BUG_REPORTED_DATE];
    $assigned_to = $bug_row[BUG_ASSIGNED_TO];
    $assigned_to_developer = $bug_row[BUG_ASSIGNED_TO_DEVELOPER];
    $closed = $bug_row[BUG_CLOSED];