/apps/timeline/templates/default/data.tpl
http://zoop.googlecode.com/ · Smarty Template · 11 lines · 11 code · 0 blank · 0 comment · 0 complexity · 8e4d4bcb801b5131c9b751d4e12598d8 MD5 · raw file
- <data>
- {foreach from=$entries item=thisEntry}
- <event
- start="{$thisEntry->start|date_format:'%b %d %Y %H:%M:%S %Z'}"
- {if $thisEntry->is_duration}end="{$thisEntry->end|date_format:'%b %d %Y %H:%M:%S %Z'}"{/if}
- isDuration="{if $thisEntry->is_duration}true{else}false{/if}"
- title="{$thisEntry->title}"
- >
- </event>
- {/foreach}
- </data>