% enableform = ( allow('tnew') ) && data.size > 1 %?>
% activeform = 0 %?>
% ######################################################################## %?>
% BLOCK RowButtons %?>
" />
% IF timerid && allow('tedit') %?>
" />
% ELSIF allow('tnew') %?>
" />
% END %?>
% END %?>
% ######################################################################## %?>
% BLOCK SetState %?>
% state = '' %?>
% IF running %?>
% state = "running" %?>
% ELSIF timerid %?>
% UNLESS recording %?>
% state = "deactive" %?>
% ELSE %?>
% state = "active" %?>
% END %?>
% END %?>
% END %?>
% ######################################################################## %?>
% BLOCK ItemAsFlat %?>
% PROCESS SetState %?>
>
% sender %?>">
">% chop(sender,20) %?>
|
">% chop(title,45) %?>
% IF subtitle.length > 0 %?>"> - % chop(subtitle,55) %?>% END %?>
|
% IF enableform && !timerid; activeform = 1 %?>
" />
% END %?>
|
" style="white-space: nowrap; text-align: right;">
% IF pdc && pdc != start %?> (% gettext("PDC") %?>:% pdc %?>) % END %?>
% start %?> - % stop %?>
% gettext("Duration") %?> : % duration %?>
|
% INCLUDE widgets/tooltip.inc cmd="display" eventid=id linkid=id ttp_offset=-300 %?>
% PROCESS RowButtons %?>
|
% IF global.hideDescription != 1 && description.length > 0 %?>
>
|
">% chop(description,100,1) %?>
|
% END %?>
% END %?>
% ######################################################################## %?>
% gettext("Search text") %?> : % cgi.param('data') %?>
% IF data.size > 1 %?>
% fields = data.shift %?>
% END %?>
% INCLUDE header.inc %?>