{foreach $items as $item}{/foreach}{$item.title}
{$item.description}
{if $isLoggedIn} Logout {else} Login {/if}This code displays a login/logout link depending on whether the user is currently logged in or not. Package Library: The eZTemplate library is part of the eZ Publish CMS package.