echo string_display_links($t_bug->description);
        ?>
	</td>
</tr>
<?php 
        if ($t_show_tags) {
            ?>
<tr class="print">
	<td class="print-category">
		<?php 
            echo sprintf(lang_get('label'), $t_lang_tags);
            ?>
	</td>
	<td class="print" colspan="5">
		<?php 
            echo string_display_links(tag_bug_get_all($t_bug->id));
            ?>
	</td>
</tr>
<?php 
        }
        ?>
<tr class="print">
	<td class="print-category">
		<?php 
        echo sprintf(lang_get('label'), $t_lang_steps_to_reproduce);
        ?>
	</td>
	<td class="print" colspan="5">
		<?php 
        echo string_display_links($t_bug->steps_to_reproduce);
Example #2
0
/**
 * return the tags
 * @param BugData $p_bug A BugData object.
 * @return string formatted tags string
 * @access public
 */
function csv_format_tags(BugData $p_bug)
{
    $t_value = '';
    if (access_has_bug_level(config_get('tag_view_threshold'), $p_bug->id)) {
        $t_value = tag_bug_get_all($p_bug->id);
    }
    return csv_escape_string($t_value);
}
Example #3
0
/**
 * Print column content for column tags
 *
 * @param BugData $p_bug            BugData object.
 * @param integer $p_columns_target See COLUMNS_TARGET_* in constant_inc.php.
 * @return void
 * @access public
 */
function print_column_tags(BugData $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE)
{
    echo '<td class="column-view-state">';
    if (access_has_bug_level(config_get('tag_view_threshold'), $p_bug->id)) {
        echo string_display_line(tag_bug_get_all($p_bug->id));
    }
    echo '</td>';
}