Location: PHPKode > projects > Saurus CMS > extensions/saurus4/content_templates/articles.html
{**
 * Articles default content template
 * Date: 10.10.08
 *
 * @package saurus4
 * 
 * @author Saurus <hide@address.com>
 *
 *}

<div id="ArticlesContainer">

{init_articles name="articles" position=0}
{$articles_newbutton}

{foreach from=$articles item="article" name="articles_loop"}
			
	<h1>{$article->buttons}{if $article->show_headline}{$article->title}{/if}</h1>
	
	{init_article name="art" id=$article->id}
	
	{if $art->lead && $art->body}
		{$art->lead}
		{* Read More link from Glossary *}
		<a href="{$art->href}">{sysword word="More" type="Visual Design"}</a>
	{else}
		{$art->lead} {$art->body}
		{if $art->forum_allowed}
			{if $art->comment_count}
				<a href="{$art->href}#comments">{sysword word="comments" type="saurus4"}</a>
				({$art->comment_count})
				|
				<a href="{$art->href}#add_message">{sysword word="add" type="saurus4"}</a>
			{else}
				<a href="{$art->href}#add_message">{sysword word="add comment" type="saurus4"}</a>
			{/if}
		{/if}
	{/if}

{/foreach}	

</div><!-- / ArticlesContainer -->
Return current item: Saurus CMS