Tuesday 02 September 2003 8:17:56 am - 1 reply
Paul Borgermans
Tuesday 02 September 2003 9:11:54 am
Use something like (from the admin pagelayout):
{section show=eq($current_user.contentobject_id,$anonymous_user_id)} <a class="menuheadlink" href={"/user/login/"|ezurl}>{'Login'|i18n('design/standard/layout')}</a> {section-else} <a class="menuheadlink" href={"/user/logout/"|ezurl}>{'Logout'|i18n('design/standard/layout')}</a> ({$current_user.contentobject.name|wash}) {/section}
Like this, the password box is only displayed once for logging in.
Take a look at the other templates in admin/standard, you can learn/borrow a lot from there
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
You must be logged in to post messages in this topic!