{$TITLE.file_edition} #{$file.bug_id.value}

   {$file.title.value}


{if $mpfile->sp_cache.description->hidden != true}
{$STRING.description_of_file} {$file.bug_id.value}:   {$file.title.value}
{$STRING.BUGDISPLAY.postedby} : {build_dynamic_input field_conf=$file.created_by.field_conf file_id=$file.bug_id.value name='_no_name' value=$file.created_by.value mpfile=$mpfile read_only=1 no_html=1 }
{$STRING.BUGDISPLAY.date} : {$file.created_date.value|date:TIME_FORMAT} {$STRING.BUGDISPLAY.dateon} {$file.created_date.value|date:DATE_FORMAT}

{$file.description.value|htmltruespace|nl2br|format_comments}

{/if}
{$STRING.field_edition} {if $mpfile->sp_cache.description->hidden == true}     {$STRING.file} {$file.bug_id.value} :  {$file.title.value} {/if}
{if $error.status} {/if} {assign var=Shift value='null'} {foreach key=k item=v name=std_fields from=$fc_filtered} {* Try to reload previous data if there's been an error *} { if $error.status && isset($primary_input_array.$k)} {assign var=treated_value value=$primary_input_array.$k} {else} {* if it's the normal case *} {assign var=treated_value value=$file.$k.value} {/if} {* if true, create a new table row *} {if $smarty.foreach.std_fields.iteration is odd && $Shift=='null'} {else} {if $smarty.foreach.std_fields.iteration is even && $Shift=='offset'} {else} {if $mpfile->sp_cache.$k->label} {/if} {/if} {/if} {if $mpfile->sp_cache.$k->label} {else} {/if} {if $mpfile->sp_cache.$k->dashAfter || $mpfile->sp_cache.$k->label} {if $mpfile->sp_cache.$k->dashAfter} {/if} {if $smarty.foreach.std_fields.iteration is odd} {if $Shift=='null'} {assign var=Shift value='offset'} {else} {assign var=Shift value='offset'} {/if} {else} {if $Shift=='offset'} {assign var=Shift value='null'} {else} {assign var=Shift value='null'} {/if} {/if} {else} {if $smarty.foreach.std_fields.iteration is even && $Shift=='null'} {/if} {if $smarty.foreach.std_fields.iteration is odd && $Shift=='offset'} {/if} {/if} {/foreach} {if $smarty.session.uid} {* if logged *} {/if} {if count($contact_list)} {/if}
{$error.status}
{$v.title}
 
? {if $mpfile->sp_cache.$k->highlight_url} {/if} {$v.title} : {if $mpfile->sp_cache.$k->highlight_url} {/if} {if $v.field_type_title == $string && $mpfile->sp_cache.$k->maxlen == '0' }
{else} {/if} {if $k == 'assigned_to'} {build_dynamic_input field_conf=$v file_id=$file.bug_id.value name='_no_name' mpfile=$mpfile read_only=1 } {else} {if $smarty.session.uid} {* if logged *} {if !empty($mpfile->sp_cache.$k->read_only)} {assign var=RO value=$mpfile->sp_cache.$k->read_only} {else} {if !empty($mpfile->sp_cache.$k->label)} {assign var=RO value=$mpfile->sp_cache.$k->label} {else} {assign var=RO value=0} {/if} {/if} {else} {assign var=RO value=1} {/if} {build_dynamic_input field_conf=$v file_id=$file.bug_id.value name=$v.field_name value=$treated_value mpfile=$mpfile read_only=$RO } {/if}
   
{$STRING.BUGDISPLAY.Rest}
 
{$STRING.BUGDISPLAY.change_assignation} : {* if there's been an error *} { if $error.status && isset($primary_input_array.assigned_to)} {assign var=treated_value value=$primary_input_array.assigned_to} {else} {* if it's the normal case *} {assign var=treated_value value=null} {/if} {build_dynamic_input field_conf=$field_conf.assigned_to name=assigned_to file_id=$file.bug_id.value mpfile=$mpfile allow_void=1 value=$treated_value }
    {$STRING.BUGDISPLAY.addcc} :
{$STRING.BUGDISPLAY.removeselectedcc} :
{if !empty($error.add_dep)}
{$error.add_dep}
{/if} {$STRING.BUGDISPLAY.bugdependency} : {$bug_dependencies}
{$STRING.BUGDISPLAY.adddependency} :
{$STRING.BUGDISPLAY.removedependency} :
{section name=attachment loop=$attachments} {sectionelse} {/section}
{$STRING.BUGDISPLAY.attachments} : {if $smarty.session.uid} {* if logged *} {$STRING.BUGDISPLAY.createattachment} {/if}
{$STRING.BUGDISPLAY.name} {$STRING.BUGDISPLAY.size} {$STRING.BUGDISPLAY.type} {$STRING.BUGDISPLAY.created}  
{$attachments[attachment].file_name|stripslashes} {if $attachments[attachment].file_size > 1024} {math equation="(round(x) / 1024 * 100) / 100" x=$attachments[attachment].file_size assign=file_size} {$file_size|number_format}k {else} {$attachments[attachment].file_size|number_format}b {/if} {$attachments[attachment].mime_type} {$attachments[attachment].created_date|date:DATE_FORMAT} View {if isset($perm) and $perm->have_perm('Administrator')} | {$STRING.delete} {/if}
{$STRING.BUGDISPLAY.noattachments}


{$STRING.BUGDISPLAY.comments} :
{section name=comment loop=$comments} {/section}
{$STRING.BUGDISPLAY.postedby} : {$comments[comment].login|maskemail}
{$STRING.BUGDISPLAY.date} : {$comments[comment].created_date|date:TIME_FORMAT} {$STRING.BUGDISPLAY.on} {$comments[comment].created_date|date:DATE_FORMAT}
{* $comments[comment].comment_text|stripslashes|htmltruespace|nl2br|format_comments *} {* I consider that the comment has been stripslashed before being inserted in DB *} {$comments[comment].comment_text|htmltruespace|nl2br|format_comments}

{if $smarty.session.uid} {* if logged *} {$STRING.BUGDISPLAY.additionalcomments} :



{else} {$STRING.logintomodify} {/if}
{$STRING.BUGDISPLAY.Submition}
{if $smarty.session.uid} {* if logged *}
{$STRING.BUGDISPLAY.suppressemail}

{else} {$STRING.logintomodify} {/if}