Tuesday 16 November 2004 6:20:46 pm
try it in your template
{let current_user=fetch( 'user', 'current_user' )}
{section show=eq($current_user.contentobject_id,$anonymous_user_id)}
<a href={"/user/login/"|ezurl}>{'Login'|i18n('design/standard/layout')}</a>
{section-else}
<a href={"/user/logout/"|ezurl}>{'Logout'|i18n('design/standard/layout')}</a> (<a href={concat("/content/edit/", $current_user.contentobject_id )|ezurl}>{$current_user.login|wash}</a>)
{/section}
{/let}
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/
|