Commit 0ff6b3c2 authored by sylvieg's avatar sylvieg

rename

parent 6b2dfb8c
......@@ -3764,6 +3764,7 @@ templates/tiki-edit_wiki_section.tpl -text
templates/tiki-editpage.tpl -text
templates/tiki-export-sheets.tpl -text
templates/tiki-export_tracker.tpl -text
templates/tiki-export_tracker_item.tpl -text
templates/tiki-export_users.tpl -text
templates/tiki-faq_questions.tpl -text
templates/tiki-featured_link.tpl -text
......
{strip}
{if $heading ne 'n'}
{if $showItemId ne 'n'}
{assign var='comma' value='y'}
{$delimitorL}itemId{$delimitorR}
{/if}
{if $showStatus ne 'n'}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{$delimitorL}status{$delimitorR}
{/if}
{if $showCreated ne 'n'}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{$delimitorL}created{$delimitorR}
{/if}
{if $showLastModif ne 'n'}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{$delimitorL}lastModif{$delimitorR}
{/if}
{if !empty($listfields)}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{foreach item=field key=fieldId from=$listfields name=list}
{$delimitorL}{$field.name} -- {$fieldId}{$delimitorR}
{if !$smarty.foreach.list.last}{$separator}{/if}
{/foreach}
{/if}
{assign var='comma' value='n'}
{/strip}
{strip}
{/if}
{foreach from=$items item=item}
{assign var='comma' value='n'}
{if $showItemId ne 'n'}
{assign var='comma' value='y'}
{$delimitorL}{$item.itemId}{$delimitorR}
{/if}
{if $showStatus eq 'y'}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{$delimitorL}{$item.status}{$delimitorR}
{/if}
{if $showCreated ne 'n'}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{$delimitorL}{$item.created|tiki_short_datetime}{$delimitorR}
{/if}
{if $showLastModif ne 'n'}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{$delimitorL}{$item.lastModif|tiki_short_datetime}{$delimitorR}
{/if}
{if !empty($listfields)}
{if $comma eq 'y'}{$separator}{else}{assign var='comma' value='y'}{/if}
{foreach item=field_value from=$item.field_values name=list}
{if $field_value.isHidden ne 'c' or $item.creator eq $user or $tiki_p_admin_trackers eq 'y'}
{capture name="line"}{include file="tracker_item_field_value.tpl" list_mode='csv' showlinks='n'}{/capture}{$delimitorL}{$smarty.capture.line|replace:"\r\n":"`$CR`"|replace:"\n":"`$CR`"|replace:"<br />":"`$CR`"|replace:"`$delimitorL`":"`$delimitorL``$delimitorL`"|replace:"`$delimitorR`":"`$delimitorR``$delimitorR`"}{$delimitorR}
{else}
{$delimitorL}{$delimitorR}
{/if}
{if !$smarty.foreach.list.last}{$separator}{/if}
{/foreach}
{/if}
{/strip}
{/foreach}
\ No newline at end of file
......@@ -182,7 +182,7 @@ while (($items = $trklib->list_items($_REQUEST['trackerId'], $offset, $maxRecord
}
$smarty->assign_by_ref('items', $items["data"]);
$data = $smarty->fetch('tiki-export_tracker.tpl');
$data = $smarty->fetch('tiki-export_tracker_item.tpl');
if (empty($_REQUEST['encoding']) || $_REQUEST['encoding'] == 'ISO-8859-1') {
$data = utf8_decode($data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment