/** * Print column content for column priority * * @param BugData $p_bug bug object * @param int $p_columns_target see COLUMNS_TARGET_* in constant_inc.php * @return null * @access public */ function print_column_priority($p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE) { echo '<td class="column-priority">'; if (ON == config_get('show_priority_text')) { print_formatted_priority_string($p_bug); } else { print_status_icon($p_bug->priority); } echo '</td>'; }
function print_column_priority($p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE) { if ($p_columns_target != COLUMNS_TARGET_CSV_PAGE) { echo '<td>'; if (ON == config_get('show_priority_text')) { print_formatted_priority_string($p_row['status'], $p_row['priority']); } else { print_status_icon($p_row['priority']); } echo '</td>'; } else { echo get_enum_element('priority', $p_row['priority']); } }
echo $status_label; ?> "> <?php # -- Bug ID and details link + Pencil shortcut -- ?> <td class="center nowrap my-buglist-id"> <span class="small"> <?php print_bug_link($t_bug->id); echo '<br />'; if (!bug_is_readonly($t_bug->id) && access_has_bug_level($t_update_bug_threshold, $t_bug->id)) { echo '<a class="edit" href="' . string_get_bug_update_url($t_bug->id) . '"><img src="' . $t_icon_path . 'update.png' . '" alt="' . lang_get('update_bug_button') . '" /></a>'; } if (ON == config_get('show_priority_text')) { print_formatted_priority_string($t_bug); } else { print_status_icon($t_bug->priority); } if ($t_attachment_count > 0) { $t_href = string_get_bug_view_url($t_bug->id) . '#attachments'; $t_href_title = sprintf(lang_get('view_attachments_for_issue'), $t_attachment_count, $t_bug->id); $t_alt_text = $t_attachment_count . lang_get('word_separator') . lang_get('attachments'); echo "<a class=\"attachments\" href=\"{$t_href}\" title=\"{$t_href_title}\"><img src=\"{$t_icon_path}attachment.png\" alt=\"{$t_alt_text}\" title=\"{$t_alt_text}\" /></a>"; } if (VS_PRIVATE == $t_bug->view_state) { echo '<img src="' . $t_icon_path . 'protected.gif" width="8" height="15" alt="' . lang_get('private') . '" />'; } ?> </span> </td>
echo $status_color; ?> "> <?php # -- Bug ID and details link + Pencil shortcut -- ?> <td class="center" valign="top" width ="0" nowrap> <span class="small"> <?php print_bug_link($v_id); echo '<br />'; if (!bug_is_readonly($v_id) && access_has_bug_level($t_update_bug_threshold, $v_id)) { echo '<a href="' . string_get_bug_update_url($v_id) . '"><img border="0" src="' . $t_icon_path . 'update.png' . '" alt="' . lang_get('update_bug_button') . '" /></a>'; } if (ON == config_get('show_priority_text')) { print_formatted_priority_string($v_status, $v_priority); } else { print_status_icon($v_priority); } if (0 < $t_attachment_count) { echo '<a href="' . string_get_bug_view_url($v_id) . '#attachments">'; echo '<img border="0" src="' . $t_icon_path . 'attachment.png' . '"'; echo ' alt="' . lang_get('attachment_alt') . '"'; echo ' title="' . $t_attachment_count . ' ' . lang_get('attachments') . '"'; echo ' />'; echo '</a>'; } if (VS_PRIVATE == $v_view_state) { echo '<img src="' . $t_icon_path . 'protected.gif" width="8" height="15" alt="' . lang_get('private') . '" />'; } ?>
?> <tr bgcolor="<?php echo $status_color; ?> "> <?php # -- Bug ID and details link + Pencil shortcut -- ?> <td class="center" valign="top" width ="0" nowrap="nowrap"> <span class="small"> <?php print_bug_link($t_bug->id); echo '<br />'; if (ON == config_get('show_priority_text')) { print_formatted_priority_string($t_bug->status, $t_bug->priority); } else { print_status_icon($t_bug->priority); } ?> </span> </td> <?php $t_show_due_date = in_array('due_date', $t_fields) && access_has_bug_level(config_get('due_date_view_threshold'), $t_bug->id); if (bug_is_overdue($t_bug->id)) { $t_overdue = ' overdue'; } else { $t_overdue = ''; } # -- Summary --