You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
1.2 KiB

{strip}
{* $Id$ *}
{* param item, fields, wiki(wiki:page or tpl:tpl), list_mode, perms, default_group, listfields *}
{if !isset($list_mode)}{assign var=list_mode value="n"}{/if}
{foreach from=$fields item=field}
{if $field.type ne 'x'
and (empty($listfields) or in_array($field.fieldId, $listfields))
and ($field.type ne 'p' or $field.options_array[0] ne 'password')}
{capture name=value}
{trackeroutput item=$item field=$field list_mode=$list_mode showlinks=$context.showlinks url=$context.url}
{/capture}
{set var="f_"|cat:$field.fieldId value=$smarty.capture.value}
{set var="f_"|cat:$field.permName value=$smarty.capture.value}
{else}
{set var="f_"|cat:$field.fieldId value=''}
{set var="f_"|cat:$field.permName value=''}
{/if}
{/foreach}
{set var=f_created value=$item.created}
{set var=f_lastmodif value=$item.lastModif}
{set var=f_itemId value=$item.itemId}
{set var=f_status value=$item.status}
{set var=f_itemUser value=$item.itemUsers|implode:', '}
{* ------------------------------------ *}
{if $force_separate_compile eq 'y'}
{include file="$wiki" item=$item compile_id=$f_itemId}
{else}
{include file="$wiki" item=$item}
{/if}
{/strip}