/** * Print the list of selected issues and the legend for the status colors. * * @param $p_bug_ids_array An array of issue ids. */ function bug_group_action_print_bug_list($p_bug_ids_array) { $t_legend_position = config_get('status_legend_position'); if (STATUS_LEGEND_POSITION_TOP == $t_legend_position) { html_status_legend(); echo '<br />'; } echo '<div align="center">'; echo '<table class="width75" cellspacing="1">'; echo '<tr class="row-1">'; echo '<td class="category" colspan="2">'; echo lang_get('actiongroup_bugs'); echo '</td>'; echo '</tr>'; $t_i = 1; foreach ($p_bug_ids_array as $t_bug_id) { $t_class = sprintf("row-%d", $t_i++ % 2 + 1); echo sprintf("<tr bgcolor=\"%s\"> <td>%s</td> <td>%s</td> </tr>\n", get_status_color(bug_get_field($t_bug_id, 'status')), string_get_bug_view_link($t_bug_id), string_attribute(bug_get_field($t_bug_id, 'summary'))); } echo '</table>'; echo '</form>'; echo '</div>'; if (STATUS_LEGEND_POSITION_BOTTOM == $t_legend_position) { echo '<br />'; html_status_legend(); } }
" style="display: none;"> <p><?php echo plugin_lang_get('screenshot_dialog_text'); ?> <a href="http://www.gadiv.de">http://gadiv.de</a> </p> </div> <?php } ?> </center> <br> <?php html_status_legend(); ?> <?php html_page_bottom(); ?> <?php } else { ?> <br> <center> <span style="color: red; font-size: 16px; font-weight: bold;"><?php echo $system; ?> </span> </center> <br>
/** * Print the list of selected issues and the legend for the status colors. * * @param array $p_bug_ids_array An array of issue ids. * @return void */ function bug_group_action_print_bug_list(array $p_bug_ids_array) { $t_legend_position = config_get('status_legend_position'); if (STATUS_LEGEND_POSITION_TOP == $t_legend_position) { html_status_legend(); echo '<br />'; } echo '<div id="action-group-issues-div">'; echo '<table>'; echo '<tr class="row-1">'; echo '<th class="category" colspan="2">'; echo lang_get('actiongroup_bugs'); echo '</th>'; echo '</tr>'; $t_i = 1; foreach ($p_bug_ids_array as $t_bug_id) { # choose color based on status $t_status_label = html_get_status_css_class(bug_get_field($t_bug_id, 'status'), auth_get_current_user_id(), bug_get_field($t_bug_id, 'project_id')); echo sprintf("<tr class=\"%s\"> <td>%s</td> <td>%s</td> </tr>\n", $t_status_label, string_get_bug_view_link($t_bug_id), string_attribute(bug_get_field($t_bug_id, 'summary'))); } echo '</table>'; echo '</div>'; if (STATUS_LEGEND_POSITION_BOTTOM == $t_legend_position) { echo '<br />'; html_status_legend(); } }
echo lang_get('ok'); ?> " /> <?php } else { echo ' '; } ?> </span> <span class="floatright small"> <?php $f_filter = gpc_get_int('filter', 0); print_page_links('view_all_bug_page.php', 1, $t_page_count, (int) $f_page_number, $f_filter); ?> </span> </td> </tr> <?php # -- ====================== end of MASS BUG MANIPULATION ========================= -- ?> </tbody> </table> </form> <?php html_status_legend(STATUS_LEGEND_POSITION_BOTTOM, true); # -- ====================== FILTER FORM ========================= -- if (($t_filter_position & FILTER_POSITION_BOTTOM) == FILTER_POSITION_BOTTOM) { filter_draw_selection_area($f_page_number); } # -- ====================== end of FILTER FORM ================== --