{if $project_id}
  {dPtranslate word='Hide Inactive'} {dPtranslate word='Hide 100% Complete'} {dPtranslate word='User Filter'} {dParraySelect array=$users name='user_id' extras='size="1" class="text" id="medium" onchange="document.frmFilter.submit()"' value=$user_id} {dPtranslate word='Cost Code Filter'} {dParraySelect array=$task_log_costcodes name='cost_code' extras='size="1" class="text" onchange="document.frmFilter.submit()"' value=$cost_code}
{/if}
{foreach from=$rows item='row'} {**} {/foreach} {* ('.(int) $hrs .':'. ($hrs - abs((int) $hrs))*60 .') *}
{dPtranslate word='Date'} {dPtranslate word='Ref'} {dPtranslate word='Summary'} {dPtranslate word='URL'} {dPtranslate word='User'} {dPtranslate word='Hours'} {dPtranslate word='Cost Code'} {dPtranslate word='Comments'}
{if $row.canEdit} {dPshowImage src='./images/icons/stock_edit-16.png' width=16 height=16} {/if} {dPdateFormat date=$row.task_log_date}{if $row.task_log_problem}{dPshowImage src='./images/icons/mark-as-important-16.png' width=16 height=16 alt='Problem', 'Problem'{/if}{$row.reference_image} {$row.task_log_name} {if $row.task_log_related_url} {dPtranslate word='URL'} {/if} {$row.user_username} {$row.task_log_hours|string_format:"%.2f"} {if $row.task_log_hours_display}({$row.task_log_hours_display}){/if}{*('.(int) $row["task_log_hours"] .':'. ( $row["task_log_hours"] - abs((int) $row["task_log_hours"] ))*60 .')*} {$row.task_log_costcode} {$row.task_log_description|nl2br} {* $transbrk = "\n[translation]\n"; $descrip = str_replace( "\n", "
", $row['task_log_description'] ); $tranpos = strpos( $descrip, str_replace( "\n", "
", $transbrk ) ); if ( $tranpos === false) $s .= $descrip; else { $descrip = substr( $descrip, 0, $tranpos ); $tranpos = strpos( $row['task_log_description'], $transbrk ); $transla = substr( $row['task_log_description'], $tranpos + strlen( $transbrk ) ); $transla = trim( str_replace( "'", '"', $transla ) ); {$row.task_log_description|nl2br}
[{dPtranslate word='translation'}]
} *}
{if $canDelete} {dPshowImage src='./images/icons/stock_delete-16.png' width=16 height=16} {/if}
{dPtranslate word='Total Hours'} = {$total_hours|string_format:"%.2f"} {if $total_hours_display}({$total_hours_display}){/if} {if $task_id}
{/if}
{dPtranslate word='Key'}:         ={dPtranslate word='Normal Log'}     ={dPtranslate word='Problem Report'}