Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/core/templates/inc_user_links.tpl
<div class="">
{if $smarty.session.username == ''}

	{API->get_message message_id='visitor_welcome'},&nbsp;&nbsp;

	<a href="JAVASCRIPT: launchCoreModule('CreateAccount','');" title="{API->get_message message_id='acronym_create_account'}">
		<img src="themes/{API->get_theme}/images/icon_login_editAcc_off.gif" oversrc="themes/{API->get_theme}/images/icon_login_editAcc_on.gif" class="icon_horizontal" align="absmiddle" />
		{API->get_label label_id='lbl_create_account'}
	</a>

    &nbsp;

	<a href="JAVASCRIPT: launchCoreModule('SignInPanel','');" title="{API->get_message message_id='acronym_login'}">
		<img src="themes/{API->get_theme}/images/icon_login_signOn_off.gif" oversrc="themes/{API->get_theme}/images/icon_login_signOn_on.gif" class="icon_horizontal" align="absmiddle" />
		{API->get_label label_id='lbl_login'}
	</a>

{else}

    {API->get_label label_id='lbl_user_welcome'} {$smarty.session.username}&nbsp;&nbsp;

    <a href="javascript:launchCoreModule('UserSettings','')" title="{API->get_message message_id='acronym_edit_settings'}">
        <img src="themes/{API->get_theme}/images/icon_login_editAcc_off.gif" oversrc="themes/{API->get_theme}/images/icon_login_editAcc_on.gif" class="icon_horizontal" align="absmiddle" />
		{API->get_label label_id='lbl_edit_settings'}
    </a>

    &nbsp;

    <a href="javascript: document.LogoutUserForm.submit()" title="{API->get_message message_id='acronym_logout'}">
        <img src="themes/{API->get_theme}/images/icon_login_signOn_off.gif"  oversrc="themes/{API->get_theme}/images/icon_login_signOn_on.gif" class="icon_horizontal" align="absmiddle" />
		{API->get_label label_id='lbl_logout'}
    </a>

	<form action="index.php" name="LogoutUserForm" method="POST" style="display:none;">
		<input type="hidden" name="f" value="logout_user">
	</form>

{/if}
</div>

Return current item: EXtensible Production Suite (XPS)