0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
templates
/
trackeroutput
/
[
Home
]
File: layout_flat.tpl
<dl class="dl-horizontal"> {if $tracker_info.showStatus eq 'y' or ($tracker_info.showStatusAdminOnly eq 'y' and $tiki_p_admin_trackers eq 'y')} {assign var=ustatus value=$info.status|default:"p"} <dt>{tr}Status{/tr}</dt> <dd> {icon name=$status_types.$ustatus.iconname} {$status_types.$ustatus.label} </dd> {/if} {assign var=stick value="n"} {foreach from=$fields key=ix item=cur_field} {if !($tracker_info.doNotShowEmptyField eq 'y' and (strlen($cur_field.value) == 0) and empty($cur_field.value) and empty($cur_field.cat) and empty($cur_field.links) and $cur_field.type ne 's' and $cur_field.type ne 'STARS' and $cur_field.type ne 'h' and $cur_field.type ne 'l' and $cur_field.type ne 'W') and !($cur_field.options_array[0] eq 'password' and $cur_field.type eq 'p')} {if $cur_field.type eq 'h'} </dl> {$level = $cur_field.options_map.level} {if $level lt 1}{$level = 3}{/if} <h{$level}>{$cur_field.name|tra|escape}</h{$level}> {if $cur_field.description} <p>{$cur_field.description|tra|escape}</p> {/if} <dl class="dl-horizontal"> {* Make adjustments for line breaks *} {elseif ($cur_field.type eq 't' and $cur_field.options_array[0] eq '0') or ($cur_field.type eq 'a' and $cur_field.options_array[8] eq '0') or ($cur_field.type eq 'n' and $cur_field.options_array[0] eq '0') or ($cur_field.type eq 'b' and $cur_field.options_array[0] eq '0') } <dt>{$cur_field.name|tra|escape}</dt> <dd>{trackeroutput field=$cur_field item=$item_info showlinks=n list_mode=n}</dd> {else} <dt>{$cur_field.name|tra|escape}</dt> <dd>{trackeroutput field=$cur_field item=$item_info showlinks=n list_mode=n}</dd> {/if} {/if} {/foreach} {if $tracker_info.showCreatedView eq 'y'} <dt>{tr}Created{/tr}</dt> <dd>{$info.created|tiki_long_datetime}{if $tracker_info.showCreatedBy eq 'y'}<br>by {if $prefs.user_show_realnames eq 'y'}{if empty($info.createdBy)}Unknown{else}{$info.createdBy|username}{/if}{else}{if empty($info.createdBy)}Unknown{else}{$info.createdBy}{/if}{/if}{/if}</dd> {/if} {if $tracker_info.showLastModifView eq 'y'} <dt>{tr}LastModif{/tr}</dt> <dd>{$info.lastModif|tiki_long_datetime}{if $tracker_info.showLastModifBy eq 'y'}<br>by {if $prefs.user_show_realnames eq 'y'}{if empty($info.lastModifBy)}Unknown{else}{$info.lastModifBy|username}{/if}{else}{if empty($info.lastModifBy)}Unknown{else}{$info.lastModifBy}{/if}{/if}{/if}</dd> {/if} </dl>