<commit_before><a class="pagetitle" href="tiki-view_tracker_item.php?trackerId={$trackerId}&amp;itemId={$itemId}">{tr}Editing tracker item{/tr}</a><br/><br/>
<div>
<span class="button2"><a href="tiki-list_trackers.php" class="linkbut">{tr}List trackers{/tr}</a></span>
<span class="button2"><a href="tiki-view_tracker.php?trackerId={$trackerId}" class="linkbut">{tr}View this tracker items{/tr}</a></span>
{if $user}
<span class="button2"><a href="tiki-view_tracker_item.php?itemId={$itemId}&amp;trackerId={$trackerId}&amp;monitor=1" class="linkbut">{tr}{$email_mon}{/tr}</a></span>
{/if}
{if $tiki_p_admin_trackers eq 'y'}
&nbsp;&nbsp;
<span class="button2"><a href="tiki-admin_trackers.php" class="linkbut">{tr}Admin trackers{/tr}</a></span>
<span class="button2"><a href="tiki-admin_trackers.php?trackerId={$trackerId}" class="linkbut">{tr}Edit this tracker{/tr}</a></span>
<span class="button2"><a href="tiki-admin_tracker_fields.php?trackerId={$trackerId}" class="linkbut">{tr}Edit fields{/tr}</a></span>
{/if}
</div>
<br/><br/>


{cycle name=tabs values="1,2,3,4,5" print=false advance=false}
<div class="tabs">
<span id="tab{cycle name=tabs}" class="tab tabActive">{tr}View{/tr}</span>
{if $tracker_info.useComments eq 'y'}
<span id="tab{cycle name=tabs}" class="tab">{tr}Comments{/tr}</span>
{/if}
{if $tracker_info.useAttachments eq 'y'}
<span id="tab{cycle name=tabs}" class="tab">{tr}Attachments{/tr}</span>
{/if}
{if $tiki_p_modify_tracker_items eq 'y'}
<span id="tab{cycle name=tabs}" class="tab">{tr}Edit{/tr}</span>
{/if}
</div>

{cycle name=content values="1,2,3,4,5" print=false advance=false}
{* ---------------------------------------------------- tab with view --- *}
<div id="content{cycle name=content}" class="content">
<h3>{tr}View item{/tr}</h3>
<table class="normal">
{if $tracker_info.showStatus eq 'y' or ($tracker_info.showStatusAdminOnly eq 'y' and $tiki_p_admin_trackers eq 'y')}
{assign var=ustatus value=$items[user].status|default:"c"}
<tr class="formcolor"><td>{tr}Status{/tr}</td><td>{$status_types.$ustatus.label}</td>
<td colspan="2">{html_image file=$status_types.$ustatus.image title=$status_types.$ustatus.label alt=$status_types.$ustatus.label}</td></tr>
{/if}
{section name=ix loop=$ins_fields}
{if $ins_fields[ix].isPublic eq 'y' or $tiki_p_admin_trackers eq 'y'}
{if $ins_fields[ix].type eq 'h'}
</table>
<h3>{$ins_fields[ix].name}</h3>
<table class="normal">

{elseif $ins_fields[ix].type ne 'x'}
{if $ins_fields[ix].type eq 'c' or $fields[ix].type eq 't' and $fields[ix].options_array[0] eq '1'}
<tr class="formcolor"><td class="formlabel">{$ins_fields[ix].name}</td><td>
{elseif $stick eq 'y'}
<td class="formlabel right">{$ins_fields[ix].name}</td><td>
{else}
<tr class="formcolor"><td>{$ins_fields[ix].name}</td>
<td colspan="3">
{/if}
{if $ins_fields[ix].type eq 'f' or $ins_fields[ix].type eq 'j'}
{$ins_fields[ix].value|date_format:$daformat}</td></tr>

{elseif $ins_fields[ix].type eq 'a'}
{$ins_fields[ix].pvalue|default:"&nbsp;"}

{elseif $ins_fields[ix].type eq 'e'}
{assign var=fca value=$fields[ix].options}
<table width="100%"><tr>{cycle name=$fca values=",</tr><tr>" advance=false print=false}
{foreach key=ku item=iu from=$fields[ix].$fca}
{assign var=fcat value=$iu.categId }
<td width="50%" nowrap="nowrap">
{if $ins_fields[ix].cat.$fcat eq 'y'}
<tt>X&nbsp;</tt><b>{$iu.name}</b></td>
{else}
<tt>&nbsp;&nbsp;</tt><s>{$iu.name}</s></td>
{/if}
{cycle name=$fca}
{/foreach}
</tr></table></td></tr>

{elseif $ins_fields[ix].type eq 'c'}
{$ins_fields[ix].value|replace:"y":"{tr}Yes{/tr}"|replace:"n":"{tr}No{/tr}"}
{if $ins_fields[ix].options_array[0] eq '1' and $stick ne 'y'}
</td>
{assign var=stick value="y"}
{else}
</td></tr>
{assign var=stick value="n"}
{/if}

{elseif $ins_fields[ix].type eq 't'}
{if $ins_fields[ix].options_array[2]}
{$ins_fields[ix].value|default:"0"} <span class="formunit">&nbsp;{$ins_fields[ix].options_array[2]}</span>
{else}
{if $ins_fields[ix].linkId}
<a href="tiki-view_tracker_item.php?trackerId={$ins_fields[ix].options_array[0]}&amp;itemId={$ins_fields[ix].linkId}" class="link">{$ins_fields[ix].value|default:"&nbsp;"}</a>
{else}
{$ins_fields[ix].value|default:"&nbsp;"}
{/if}<commit_msg>fixed an abusive default value<commit_after><a class="pagetitle" href="tiki-view_tracker_item.php?trackerId={$trackerId}&amp;itemId={$itemId}">{tr}Editing tracker item{/tr}</a><br/><br/>
<div>
<span class="button2"><a href="tiki-list_trackers.php" class="linkbut">{tr}List trackers{/tr}</a></span>
<span class="button2"><a href="tiki-view_tracker.php?trackerId={$trackerId}" class="linkbut">{tr}View this tracker items{/tr}</a></span>
{if $user}
<span class="button2"><a href="tiki-view_tracker_item.php?itemId={$itemId}&amp;trackerId={$trackerId}&amp;monitor=1" class="linkbut">{tr}{$email_mon}{/tr}</a></span>
{/if}
{if $tiki_p_admin_trackers eq 'y'}
&nbsp;&nbsp;
<span class="button2"><a href="tiki-admin_trackers.php" class="linkbut">{tr}Admin trackers{/tr}</a></span>
<span class="button2"><a href="tiki-admin_trackers.php?trackerId={$trackerId}" class="linkbut">{tr}Edit this tracker{/tr}</a></span>
<span class="button2"><a href="tiki-admin_tracker_fields.php?trackerId={$trackerId}" class="linkbut">{tr}Edit fields{/tr}</a></span>
{/if}
</div>
<br/><br/>


{cycle name=tabs values="1,2,3,4,5" print=false advance=false}
<div class="tabs">
<span id="tab{cycle name=tabs}" class="tab tabActive">{tr}View{/tr}</span>
{if $tracker_info.useComments eq 'y'}
<span id="tab{cycle name=tabs}" class="tab">{tr}Comments{/tr}</span>
{/if}
{if $tracker_info.useAttachments eq 'y'}
<span id="tab{cycle name=tabs}" class="tab">{tr}Attachments{/tr}</span>
{/if}
{if $tiki_p_modify_tracker_items eq 'y'}
<span id="tab{cycle name=tabs}" class="tab">{tr}Edit{/tr}</span>
{/if}
</div>

{cycle name=content values="1,2,3,4,5" print=false advance=false}
{* ---------------------------------------------------- tab with view --- *}
<div id="content{cycle name=content}" class="content">
<h3>{tr}View item{/tr}</h3>
<table class="normal">
{if $tracker_info.showStatus eq 'y' or ($tracker_info.showStatusAdminOnly eq 'y' and $tiki_p_admin_trackers eq 'y')}
{assign var=ustatus value=$items[user].status|default:"c"}
<tr class="formcolor"><td>{tr}Status{/tr}</td><td>{$status_types.$ustatus.label}</td>
<td colspan="2">{html_image file=$status_types.$ustatus.image title=$status_types.$ustatus.label alt=$status_types.$ustatus.label}</td></tr>
{/if}
{section name=ix loop=$ins_fields}
{if $ins_fields[ix].isPublic eq 'y' or $tiki_p_admin_trackers eq 'y'}
{if $ins_fields[ix].type eq 'h'}
</table>
<h3>{$ins_fields[ix].name}</h3>
<table class="normal">

{elseif $ins_fields[ix].type ne 'x'}
{if $ins_fields[ix].type eq 'c' or $fields[ix].type eq 't' and $fields[ix].options_array[0] eq '1'}
<tr class="formcolor"><td class="formlabel">{$ins_fields[ix].name}</td><td>
{elseif $stick eq 'y'}
<td class="formlabel right">{$ins_fields[ix].name}</td><td>
{else}
<tr class="formcolor"><td>{$ins_fields[ix].name}</td>
<td colspan="3">
{/if}
{if $ins_fields[ix].type eq 'f' or $ins_fields[ix].type eq 'j'}
{$ins_fields[ix].value|date_format:$daformat}</td></tr>

{elseif $ins_fields[ix].type eq 'a'}
{$ins_fields[ix].pvalue|default:"&nbsp;"}

{elseif $ins_fields[ix].type eq 'e'}
{assign var=fca value=$fields[ix].options}
<table width="100%"><tr>{cycle name=$fca values=",</tr><tr>" advance=false print=false}
{foreach key=ku item=iu from=$fields[ix].$fca}
{assign var=fcat value=$iu.categId }
<td width="50%" nowrap="nowrap">
{if $ins_fields[ix].cat.$fcat eq 'y'}
<tt>X&nbsp;</tt><b>{$iu.name}</b></td>
{else}
<tt>&nbsp;&nbsp;</tt><s>{$iu.name}</s></td>
{/if}
{cycle name=$fca}
{/foreach}
</tr></table></td></tr>

{elseif $ins_fields[ix].type eq 'c'}
{$ins_fields[ix].value|replace:"y":"{tr}Yes{/tr}"|replace:"n":"{tr}No{/tr}"}
{if $ins_fields[ix].options_array[0] eq '1' and $stick ne 'y'}
</td>
{assign var=stick value="y"}
{else}
</td></tr>
{assign var=stick value="n"}
{/if}

{elseif $ins_fields[ix].type eq 't'}
{if $ins_fields[ix].options_array[2]}
{$ins_fields[ix].value} <span class="formunit">&nbsp;{$ins_fields[ix].options_array[2]}</span>
{else}
{if $ins_fields[ix].linkId}
<a href="tiki-view_tracker_item.php?trackerId={$ins_fields[ix].options_array[0]}&amp;itemId={$ins_fields[ix].linkId}" class="link">{$ins_fields[ix].value|default:"&nbsp;"}</a>
{else}
{$ins_fields[ix].value|default:"&nbsp;"}
{/if}
{'fraction_non_alphanumeric': 0.25653887495521316, 'fraction_numerical': 0.008479636928221665, 'mean_word_length': 7.732012513034411, 'pattern_counts': {'":': 4, '<': 197, '<?xml version=': 0, '>': 197, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '515379', 'n_tokens_mistral': 3376, 'n_tokens_neox': 3363, 'n_words': 541}