File Manager

Current Path : /webspace/www.babilon.be/html/modules/News/templates/
Upload File :
Current File : //webspace/www.babilon.be/html/modules/News/templates/Simplex_Detail_template.tpl

{* set a canonical variable that can be used in the head section if process_whole_template is false in the config.php *}
{if isset($entry->canonical)}
  {assign var='canonical' value=$entry->canonical}
{/if}

<h2>{$entry->title|cms_escape:htmlall}</h2>
{if $entry->summary}
    {eval var=$entry->summary}
{/if}
    {eval var=$entry->content}
{if $entry->extra}
		{$extra_label} {$entry->extra}
{/if}
{if $return_url != ""}
    <br />
        <span class='back'>← {$return_url}{if $category_name != ''} - {$category_link}{/if}</span>
{/if}

{if isset($entry->fields)}
  {foreach from=$entry->fields item='field'}
     <div>
        {if $field->type == 'file'}
	  {* this template assumes that every file uploaded is an image of some sort, because News doesn't distinguish *}
          <img src='{$entry->file_location}/{$field->value}' alt='' />
        {else}
          {$field->name}: {eval var=$field->value}
        {/if}
     </div>
  {/foreach}
{/if}
    <footer class='news-meta'>
    {if $entry->postdate}
        {$entry->postdate|cms_date_format}
    {/if}
    {if $entry->category}
        <strong>{$category_label}</strong> {$entry->category}
    {/if}
    {if $entry->author}
        <strong>{$author_label}</strong> {$entry->author}
    {/if}
    </footer>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com