function custom_function_default_format_issue_summary($p_issue_id, $p_context = 0) { switch ($p_context) { case SUMMARY_CAPTION: $t_string = bug_format_id($p_issue_id) . ': ' . string_attribute(bug_get_field($p_issue_id, 'summary')); break; case SUMMARY_FIELD: $t_string = bug_format_id($p_issue_id) . ': ' . string_display_line_links(bug_get_field($p_issue_id, 'summary')); break; case SUMMARY_EMAIL: $t_string = bug_format_id($p_issue_id) . ': ' . string_attribute(bug_get_field($p_issue_id, 'summary')); break; default: $t_string = string_attribute(bug_get_field($p_issue_id, 'summary')); break; } return $t_string; }
function bug_prepare_display($p_bug_data) { $p_bug_data->category = string_display_line($p_bug_data->category); $p_bug_data->date_submitted = string_display_line($p_bug_data->date_submitted); $p_bug_data->last_updated = string_display_line($p_bug_data->last_updated); $p_bug_data->os = string_display_line($p_bug_data->os); $p_bug_data->os_build = string_display_line($p_bug_data->os_build); $p_bug_data->platform = string_display_line($p_bug_data->platform); $p_bug_data->version = string_display_line($p_bug_data->version); $p_bug_data->build = string_display_line($p_bug_data->build); $p_bug_data->target_version = string_display_line($p_bug_data->target_version); $p_bug_data->fixed_in_version = string_display_line($p_bug_data->fixed_in_version); $p_bug_data->summary = string_display_line_links($p_bug_data->summary); $p_bug_data->sponsorship_total = string_display_line($p_bug_data->sponsorship_total); $p_bug_data->sticky = string_display_line($p_bug_data->sticky); $p_bug_data->description = string_display_links($p_bug_data->description); $p_bug_data->steps_to_reproduce = string_display_links($p_bug_data->steps_to_reproduce); $p_bug_data->additional_information = string_display_links($p_bug_data->additional_information); return $p_bug_data; }
echo '</field>'; } echo '</additionalFields>'; } $t_tasks = $agilemantis_sprint->getSprintTasks($id); if (!empty($t_tasks)) { echo '<tasks>'; foreach ($t_tasks as $num => $row) { $created = $agilemantis_tasks->getTaskEvent($row['id'], 'created'); $confirmed = $agilemantis_tasks->getTaskEvent($row['id'], 'confirmed'); $resolved = $agilemantis_tasks->getTaskEvent($row['id'], 'resolved'); $reopened = $agilemantis_tasks->getTaskEvent($row['id'], 'reopened'); $closed = $agilemantis_tasks->getTaskEvent($row['id'], 'closed'); echo '<task>'; echo '<task_id>' . $row['id'] . '</task_id>'; echo '<task_name>' . $agilemantis_commonlib->safeCData(string_display_line_links($row['name'])) . '</task_name>'; echo '<task_description>' . $agilemantis_commonlib->safeCData($row['description']) . '</task_description>'; echo '<task_daily_scrum>' . (int) $row['daily_scrum'] . '</task_daily_scrum>'; if ($row['developer_id'] > 0) { echo '<developer>'; echo '<dev_id>' . $row['developer_id'] . '</dev_id>'; echo '<dev_username>' . $agilemantis_tasks->getUserName($row['developer_id']) . '</dev_username>'; echo '<dev_realname>' . $agilemantis_tasks->getUserRealName($row['developer_id']) . '</dev_realname>'; echo '</developer>'; } echo '<task_status>' . $row['status'] . '</task_status>'; echo '<task_planned_capacity>' . $row['planned_capacity'] . '</task_planned_capacity>'; echo '<task_performed_capacity>' . $row['performed_capacity'] . '</task_performed_capacity>'; echo '<task_rest_capacity>' . $row['rest_capacity'] . '</task_rest_capacity>'; $create_date = strtotime($created['date']); $confirm_date = strtotime($confirmed['date']);
echo $t_item['date']; ?> </td> <td class="small-caption"> <?php print_user($t_item['userid']); ?> </td> <td class="small-caption"> <?php echo string_display($t_item['note']); ?> </td> <td class="small-caption"> <?php echo $t_item['raw'] ? string_display_line_links($t_item['change']) : $t_item['change']; ?> </td> </tr> <?php } # end for loop ?> </tbody> </table> <?php collapse_closed('history'); ?> <table class="width100" cellspacing="0"> <tr> <td class="form-title" colspan="4">
/** * return formatted string with all the details on the requested relationship * @param integer $p_bug_id A bug identifier. * @param BugRelationshipData $p_relationship A bug relationship object. * @param boolean $p_html Whether to return html or text output. * @param boolean $p_html_preview Whether to include style/hyperlinks - if preview is false, we prettify the output. * @param boolean $p_show_project Show Project details. * @return string */ function relationship_get_details($p_bug_id, BugRelationshipData $p_relationship, $p_html = false, $p_html_preview = false, $p_show_project = false) { $t_summary_wrap_at = utf8_strlen(config_get('email_separator2')) - 28; $t_icon_path = config_get('icon_path'); if ($p_bug_id == $p_relationship->src_bug_id) { # root bug is in the source side, related bug in the destination side $t_related_bug_id = $p_relationship->dest_bug_id; $t_related_project_name = project_get_name($p_relationship->dest_project_id); $t_relationship_descr = relationship_get_description_src_side($p_relationship->type); } else { # root bug is in the dest side, related bug in the source side $t_related_bug_id = $p_relationship->src_bug_id; $t_related_project_name = project_get_name($p_relationship->src_project_id); $t_relationship_descr = relationship_get_description_dest_side($p_relationship->type); } # related bug not existing... if (!bug_exists($t_related_bug_id)) { return ''; } # user can access to the related bug at least as a viewer if (!access_has_bug_level(VIEWER, $t_related_bug_id)) { return ''; } if ($p_html_preview == false) { $t_td = '<td>'; } else { $t_td = '<td class="print">'; } # get the information from the related bug and prepare the link $t_bug = bug_get($t_related_bug_id, false); $t_status_string = get_enum_element('status', $t_bug->status, auth_get_current_user_id(), $t_bug->project_id); $t_resolution_string = get_enum_element('resolution', $t_bug->resolution, auth_get_current_user_id(), $t_bug->project_id); $t_relationship_info_html = $t_td . string_no_break($t_relationship_descr) . ' </td>'; if ($p_html_preview == false) { $t_relationship_info_html .= '<td><a href="' . string_get_bug_view_url($t_related_bug_id) . '">' . string_display_line(bug_format_id($t_related_bug_id)) . '</a></td>'; $t_relationship_info_html .= '<td><span class="issue-status" title="' . string_attribute($t_resolution_string) . '">' . string_display_line($t_status_string) . '</span></td>'; } else { $t_relationship_info_html .= $t_td . string_display_line(bug_format_id($t_related_bug_id)) . '</td>'; $t_relationship_info_html .= $t_td . string_display_line($t_status_string) . ' </td>'; } $t_relationship_info_text = utf8_str_pad($t_relationship_descr, 20); $t_relationship_info_text .= utf8_str_pad(bug_format_id($t_related_bug_id), 8); # get the handler name of the related bug $t_relationship_info_html .= $t_td; if ($t_bug->handler_id > 0) { $t_relationship_info_html .= string_no_break(prepare_user_name($t_bug->handler_id)); } $t_relationship_info_html .= ' </td>'; # add project name if ($p_show_project) { $t_relationship_info_html .= $t_td . string_display_line($t_related_project_name) . ' </td>'; } # add summary if ($p_html == true) { $t_relationship_info_html .= $t_td . string_display_line_links($t_bug->summary); if (VS_PRIVATE == $t_bug->view_state) { $t_relationship_info_html .= sprintf(' <img src="%s" alt="(%s)" title="%s" />', $t_icon_path . 'protected.gif', lang_get('private'), lang_get('private')); } } else { if (utf8_strlen($t_bug->summary) <= $t_summary_wrap_at) { $t_relationship_info_text .= string_email_links($t_bug->summary); } else { $t_relationship_info_text .= utf8_substr(string_email_links($t_bug->summary), 0, $t_summary_wrap_at - 3) . '...'; } } # add delete link if bug not read only and user has access level if (!bug_is_readonly($p_bug_id) && !current_user_is_anonymous() && $p_html_preview == false) { if (access_has_bug_level(config_get('update_bug_threshold'), $p_bug_id)) { $t_relationship_info_html .= ' [<a class="small" href="bug_relationship_delete.php?bug_id=' . $p_bug_id . '&rel_id=' . $p_relationship->id . htmlspecialchars(form_security_param('bug_relationship_delete')) . '">' . lang_get('delete_link') . '</a>]'; } } $t_relationship_info_html .= ' </td>'; $t_relationship_info_text .= "\n"; if ($p_html_preview == false) { # choose color based on status $t_status_label = html_get_status_css_class($t_bug->status, auth_get_current_user_id(), $t_bug->project_id); $t_relationship_info_html = '<tr class="' . $t_status_label . '">' . $t_relationship_info_html . '</tr>' . "\n"; } else { $t_relationship_info_html = '<tr>' . $t_relationship_info_html . '</tr>'; } if ($p_html == true) { return $t_relationship_info_html; } else { return $t_relationship_info_text; } }
echo lang_get('plugin_description'); ?> </td> <td width="20%"><?php echo lang_get('plugin_depends'); ?> </td> <td width="10%"><?php echo lang_get('plugin_actions'); ?> </td> </tr> <?php foreach ($t_plugins_available as $t_basename => $t_plugin) { $t_description = string_display_line_links($t_plugin->description); $t_author = $t_plugin->author; $t_contact = $t_plugin->contact; $t_url = $t_plugin->url; $t_requires = $t_plugin->requires; $t_depends = array(); $t_name = string_display_line($t_plugin->name . ' ' . $t_plugin->version); if (!is_blank($t_author)) { if (is_array($t_author)) { $t_author = implode($t_author, ', '); } if (!is_blank($t_contact)) { $t_author = '<br />' . sprintf(lang_get('plugin_author'), '<a href="mailto:' . string_display_line($t_contact) . '">' . string_display_line($t_author) . '</a>'); } else { $t_author = '<br />' . string_display_line(sprintf(lang_get('plugin_author'), $t_author)); }
?> </td> </tr> <?php if (!empty($backlogs)) { foreach ($backlogs as $num => $row) { ?> <?php $agilemantis_pb->productBacklogHasStoriesLeft($row['name']); ?> <tr <?php echo helper_alternate_class(); ?> > <td><?php echo string_display_line_links($row['name']); ?> </td> <td><?php echo nl2br(string_display_links($row['description'])); ?> </td> <td class="right" width="205"> <form action="<?php echo plugin_page('edit_product_backlog.php'); ?> " method="post"> <input type="submit" name="edit[<?php echo $row['id']; ?> ]"
function relgraph_add_bug_to_graph(&$p_graph, $p_bug_id, $p_bug, $p_url = null, $p_highlight = false) { $t_node_attributes = array(); $t_node_attributes['label'] = $p_bug_id; if ($p_highlight) { $t_node_attributes['color'] = '#0000FF'; $t_node_attributes['style'] = 'bold, filled'; } else { $t_node_attributes['color'] = 'black'; $t_node_attributes['style'] = 'filled'; } $t_node_attributes['fillcolor'] = get_status_color($p_bug->status); if (null !== $p_url) { $t_node_attributes['URL'] = $p_url; } $t_summary = string_display_line_links($p_bug->summary); $t_status = get_enum_element('status', $p_bug->status); $t_node_attributes['tooltip'] = '[' . $t_status . '] ' . $t_summary; $p_graph->add_node($p_bug_id, $t_node_attributes); }
echo $uscolor; ?> ;"></td> <td style="background-color:<?php echo $uscolor; ?> ;"></td> <td style="background-color:<?php echo $uscolor; ?> ;"></td> <td style="background-color:<?php echo $bgcolor; ?> ;"><?php echo string_display_line_links($value['name']); ?> </td> <td style="background-color:<?php echo $bgcolor; ?> ;"><?php if ($value['developer_id'] > 0) { echo $agilemantis_team->getUserName($value['developer_id']); } ?> </td> <td style="background-color:<?php echo $bgcolor; ?> ;"><?php
<td class="category">Product Owner</td> <td class="category">Scrum Master</td> <td class="category"><?php echo plugin_lang_get('product_backlog_current_sprint'); ?> </td> <?php } ?> </tr> <tr <?php echo helper_alternate_class(); ?> > <td><?php echo string_display_line_links($product_backlog); ?> </td> <td><?php echo nl2br(string_display_links($pb_info[0]['description'])); ?> </td> <?php if ($agilemantis_pb->checkProductBacklogMoreOneTeam($product_backlog)) { ?> <td><?php echo $team_info[0]['name']; ?> </td> <td><?php echo $agilemantis_team->getUserName($agilemantis_team->getTeamProductOwner());
foreach ($teams as $num => $row) { ?> <tr <?php echo helper_alternate_class(); ?> > <td><?php echo string_display_line_links($row['name']); ?> </td> <td><?php echo string_display_links($row['description']); ?> </td> <td><?php echo string_display_line_links($agilemantis_team->getTeamBacklog($row['product_backlog'])); ?> </td> <td><?php echo $agilemantis_team->getProductOwner($row['id']); ?> </td> <td><?php echo $agilemantis_team->getScrumMaster($row['id']); ?> </td> <td class="right" width="205"> <form method="post" action="<?php echo plugin_page('edit_team.php'); ?>
function print_column_summary($p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE) { global $t_icon_path; if ($p_columns_target == COLUMNS_TARGET_CSV_PAGE) { $t_summary = string_attribute($p_row['summary']); } else { $t_summary = string_display_line_links($p_row['summary']); } echo '<td class="left">', $t_summary; if (VS_PRIVATE == $p_row['view_state']) { printf(' <img src="%s" alt="(%s)" title="%s" />', $t_icon_path . 'protected.gif', lang_get('private'), lang_get('private')); } echo '</td>'; }
$tpl_can_attach_tag = $tpl_show_tags && !$tpl_force_readonly && access_has_bug_level(config_get('tag_attach_threshold'), $f_bug_id); $tpl_show_category = in_array('category_id', $t_fields); $tpl_category = $tpl_show_category ? string_display_line(category_full_name($tpl_bug->category_id)) : ''; $tpl_show_priority = in_array('priority', $t_fields); $tpl_priority = $tpl_show_priority ? string_display_line(get_enum_element('priority', $tpl_bug->priority)) : ''; $tpl_show_severity = in_array('severity', $t_fields); $tpl_severity = $tpl_show_severity ? string_display_line(get_enum_element('severity', $tpl_bug->severity)) : ''; $tpl_show_reproducibility = in_array('reproducibility', $t_fields); $tpl_reproducibility = $tpl_show_reproducibility ? string_display_line(get_enum_element('reproducibility', $tpl_bug->reproducibility)) : ''; $tpl_show_status = in_array('status', $t_fields); $tpl_status = $tpl_show_status ? string_display_line(get_enum_element('status', $tpl_bug->status)) : ''; $tpl_show_resolution = in_array('resolution', $t_fields); $tpl_resolution = $tpl_show_resolution ? string_display_line(get_enum_element('resolution', $tpl_bug->resolution)) : ''; $tpl_show_summary = in_array('summary', $t_fields); $tpl_show_description = in_array('description', $t_fields); $tpl_summary = $tpl_show_summary ? string_display_line_links(bug_format_summary($f_bug_id, SUMMARY_FIELD)) : ''; $tpl_description = $tpl_show_description ? string_display_links($tpl_bug->description) : ''; $tpl_steps_to_reproduce = $tpl_show_steps_to_reproduce ? string_display_links($tpl_bug->steps_to_reproduce) : ''; $tpl_additional_information = $tpl_show_additional_information ? string_display_links($tpl_bug->additional_information) : ''; $tpl_links = event_signal('EVENT_MENU_ISSUE', $f_bug_id); # # Start of Template # echo '<br />'; echo '<table class="width100" cellspacing="1">'; echo '<thead><tr class="bug-nav">'; # Form Title echo '<td class="form-title" colspan="', $t_bugslist ? '3' : '4', '">'; echo $tpl_form_title; echo ' <span class="small">'; # Jump to Bugnotes
method="post"> <input type="hidden" name="productBacklogName" value="<?php echo string_display($row['name']); ?> "> <tr <?php echo helper_alternate_class(); ?> > <td><?php echo string_display_line_links($row['name']); ?> </td> <td><?php echo nl2br(string_display_line_links($row['description'])); ?> </td> <td><?php echo substr($running_sprints, 0, -6); ?> </td> <td><?php echo substr($project_list, 0, -2); ?> </td> <td><input type="submit" name="submit" value="<?php echo plugin_lang_get('product_backlog_open_backlog'); ?> "></td>
function clean_summary($bug) { $summary = bug_format_id($bug->id) . ': ' . string_display_line_links($bug->summary); return strip_tags(html_entity_decode($summary)); }
$v_end = 0; } echo " <span class=\"my-buglist-count\">({$v_start} - {$v_end} / {$t_bug_count})</span>"; ?> </td> </tr> </thead><tbody> <?php # -- Loop over bug rows and create $v_* variables -- $t_count = count($rows); if ($t_count == 0) { echo '<tr><td> </td></tr>'; } for ($i = 0; $i < $t_count; $i++) { $t_bug = $rows[$i]; $t_summary = string_display_line_links($t_bug->summary); $t_last_updated = date(config_get('normal_date_format'), $t_bug->last_updated); # choose color based on status $status_label = html_get_status_css_class($t_bug->status, auth_get_current_user_id(), $t_bug->project_id); # Check for attachments $t_attachment_count = 0; # TODO: factor in the allow_view_own_attachments configuration option # instead of just using a global check. if (file_can_view_bug_attachments($t_bug->id, null)) { $t_attachment_count = file_bug_attachment_count($t_bug->id); } # grab the project name $project_name = project_get_field($t_bug->project_id, 'name'); if (VS_PRIVATE == $t_bug->view_state) { $t_bug_class = 'my-buglist-private'; } else {
echo $column['status'][0]; ?> "><?php echo '<h2 style="background-color:' . $column['color'] . '">' . $title . ' (' . $t_bug_count . ')'; if ($column['wip_limit'] > 0) { echo " Limit: " . $column['wip_limit']; } echo ' </h2>'; if (!empty($rows)) { $i = 0; foreach ($rows as $row) { if ($i < 150) { $t_bug = $row; echo '<div data-userid="' . $t_current_user_id . '" data-ticketid="' . $t_bug->id . '" data-projectid="' . $t_bug->project_id . '" class="card ' . ($i % 2 == 1 ? 'cardOdd' : 'cardEven') . ' card' . category_full_name($t_bug->category_id, false) . '">'; echo icon_get_status_icon($t_bug->priority); echo ' <a href="' . string_get_bug_view_url($t_bug->id) . '" class="bugLink">' . string_display_line_links($t_bug->summary) . '</a>'; echo ' <a href="' . string_get_bug_view_url($t_bug->id) . '" class="bugLink right"> #' . $t_bug->id . '</a>'; $priority = get_enum_element('priority', $t_bug->priority); /* echo '<div class="info">'; echo '<img src="images/plus.png" alt="'.$bug_desc_title.'" title="'.$bug_desc_title.'" border="0"/>'; echo bug_get_text_field($t_bug->id, 'description'); echo string_display_line_links( $t_bug->summary ); echo project_get_name( $t_bug->project_id ); if( !bug_is_readonly( $t_bug->id ) && access_has_bug_level( $t_update_bug_threshold, $t_bug->id ) ) { echo '<a href="' . string_get_bug_update_url( $t_bug->id ) . '"><img border="0" src="plugins/MantisKanban/files/pencil.png' . '" alt="' . lang_get( 'update_bug_button' ) . '" /></a>'; echo '<br>' . kanban_ajax_button_bug_change_status( $t_bug->id, $t_bug->project_id, $t_current_user_id ); } // Check for attachments $t_attachment_count = 0;
function print_column_summary_BFE($p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE) { if ($p_columns_target == COLUMNS_TARGET_CSV_PAGE) { $t_summary = string_attribute($p_bug->summary); } else { $t_summary = string_display_line_links($p_bug->summary); } echo '<td class="left">' . $t_summary; if (VS_PRIVATE == $p_bug->view_state) { printf(' <img src="%s" alt="(%s)" title="%s" />', '/images/protected.gif', lang_get('private'), lang_get('private')); } echo '</td>'; }
</td> <td class="print" colspan="5"> <?php echo string_display_line_links($t_bug->steps_to_reproduce); ?> </td> </tr> <tr class="print"> <td class="print-category"> <?php echo sprintf(lang_get('label'), $t_lang_additional_information); ?> </td> <td class="print" colspan="5"> <?php echo string_display_line_links($t_bug->additional_information); ?> </td> </tr> <?php # account profile description if ($t_bug->profile_id > 0) { $t_profile_row = profile_get_row_direct($t_bug->profile_id); $t_profile_description = string_display($t_profile_row['description']); ?> <tr class="print"> <td class="print-category"> <?php echo $t_lang_system_profile; ?> </td>
?> <tr class="print"> <td class="print"> <?php echo $t_item['date']; ?> </td> <td class="print"> <?php print_user($t_item['userid']); ?> </td> <td class="print"> <?php echo string_display($t_item['note']); ?> </td> <td class="print"> <?php echo string_display_line_links($t_item['change']); ?> </td> </tr> <?php } ?> </table> <?php include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'print_bugnote_inc.php'; last_visited_issue($f_bug_id);
?> </td> <td><?php echo $span_left; echo sprintf("%.2f", $capacity); ?> <?php echo $span_right; ?> </td> <td><?php echo string_display_line_links($agilemantis_sprint->getTeamById($s['team_id'])); ?> </td> <td><?php echo string_display_line_links($productBacklog[0]['name']); ?> </td> </tr> <?php if (!empty($s['description'])) { ?> <tr> <td class="category" colspan="9"><b> <?php echo plugin_lang_get('sprint_backlog_sprint_goal'); ?> </b></td> </tr> <tr style="background-color:<?php echo $bgcolor;
} # # Issue History # if ($t_show_history) { echo '<tr><td class="print-spacer" colspan="6"><hr /></td></tr>'; echo '<tr><th class="form-title">', lang_get('bug_history'), '</th></tr>'; echo '<tr class="print-category">'; echo '<th class="row-category-history">', lang_get('date_modified'), '</th>'; echo '<th class="row-category-history">', lang_get('username'), '</th>'; echo '<th class="row-category-history">', lang_get('field'), '</th>'; echo '<th class="row-category-history">', lang_get('change'), '</th>'; echo '</tr>'; $t_history = history_get_events_array($f_bug_id); foreach ($t_history as $t_item) { echo '<tr class="print">'; echo '<td class="print">', $t_item['date'], '</td>'; echo '<td class="print">'; print_user($t_item['userid']); echo '</td>'; echo '<td class="print">', string_display($t_item['note']), '</td>'; echo '<td class="print">', string_display_line_links($t_item['change']), '</td>'; echo '</tr>'; } } echo '</table>'; define('PRINT_BUGNOTE_INC_ALLOW', true); include dirname(__FILE__) . '/print_bugnote_inc.php'; last_visited_issue($f_bug_id); html_body_end(); html_end();
echo $color; ?> ;"> <?php echo $anzahl_tage; ?> <?php echo plugin_lang_get('days'); ?> </td> <td style="background:<?php echo $color; ?> ;"> <?php echo string_display_line_links($agilemantis_sprint->getTeamById($row['team_id'])); ?> </td> <td style="background:<?php echo $color; ?> ;"> <form method="post" action="<?php echo plugin_page('edit_sprint.php'); ?> "> <input type="submit" name="edit[<?php echo $row['sid']; ?> ]"
/** * Print column content for column summary * * @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_summary($p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE) { if ($p_columns_target == COLUMNS_TARGET_CSV_PAGE) { $t_summary = string_attribute($p_bug->summary); } else { $t_summary = string_display_line_links($p_bug->summary); } echo '<td class="column-summary">' . $t_summary . '</td>'; }
echo date('d.m.Y', $row['end']); ?> </td> <td><?php echo $anzahl_tage; ?> <?php echo plugin_lang_get('days'); ?> </td> <td><?php echo string_display_line_links($agilemantis_sprint->getTeamById($row['team_id'])); ?> </td> <td><?php echo string_display_line_links($agilemantis_sprint->getProductBacklogByTeam($row['team_id'])); ?> </td> <td><input type="submit" name="submit" value="<?php echo plugin_lang_get('sprint_backlog_backlog'); ?> "></td> </form> </tr> <?php } ?> <?php } ?>
" onclick="<?php echo $functionName; ?> (<?php echo $row['id']; ?> , '<?php echo AGILEMANTIS_PLUGIN_URL; ?> ');" height="16" width="16"> </td> <td> <?php echo string_display_line_links($row['summary']); ?> </td> </tr> <?php } # add bug list cookie gpc_set_cookie(config_get('bug_list_cookie'), substr($t_buglist, 0, -1)); } $additional_fields = 7; $additional_fields += plugin_config_get('gadiv_tracker_planned_costs'); $additional_fields += plugin_config_get('gadiv_ranking_order'); ?> <tr> <?php if (plugin_config_get('gadiv_ranking_order') == '1') {
break; // Lädt alle Sprints aus der Datenbank und generiert eine dynamische XML-Ausgabe // Lädt alle Sprints aus der Datenbank und generiert eine dynamische XML-Ausgabe case 'loadSprint': $agilemantis_sprint->sprint_id = $_POST['sprintName']; $sprintData = $agilemantis_sprint->getSprintById(); $sprint_start_date = explode('-', $sprintData['start']); $sprint_end_date = explode('-', $sprintData['end']); $sprintData['start'] = mktime(0, 0, 0, $sprint_start_date[1], $sprint_start_date[2], $sprint_start_date[0]); $sprintData['end'] = mktime(0, 0, 0, $sprint_end_date[1], $sprint_end_date[2], $sprint_end_date[0]); $pb = new gadiv_productBacklog(); $pbName = $agilemantis_pb->getProductBacklogNameById($sprintData['pb_id']); echo '<sprint>'; echo '<id>' . $sprintData['id'] . '</id>'; echo '<name>' . $agilemantis_commonlib->safeCData($sprintData['name']) . '</name>'; echo '<convertedName>' . $agilemantis_commonlib->safeCData(string_display_line_links(utf8_decode($sprintData['name']))) . '</convertedName>'; echo '<status>' . $sprintData['status'] . '</status>'; echo '<team>' . $agilemantis_sprint->getTeamById($sprintData['team_id']) . '</team>'; echo '<start>' . date('d.m.Y', $sprintData['start']) . '</start>'; echo '<end>' . date('d.m.Y', $sprintData['end']) . '</end>'; echo '<description>' . $agilemantis_commonlib->safeCData($sprintData['description']) . '</description>'; echo '<productBacklog>' . $agilemantis_commonlib->safeCData($pbName) . '</productBacklog>'; echo '</sprint>'; break; // Lädt alle Userstories mit den entsprechenden Tasks, die zu // einer Userstory geh�ren und generiert eine dynamische XML-Ausgabe // Lädt alle Userstories mit den entsprechenden Tasks, die zu // einer Userstory geh�ren und generiert eine dynamische XML-Ausgabe case 'loadUserStory': $severity_array = explode(',', $s_severity_enum_string); foreach ($severity_array as $num => $row) {