[ic] Login/Logout - Bug or Feature?

Donal H. interchange-users@interchange.redhat.com
Tue Sep 18 11:21:00 2001


Hi,

I don't know if this is a bug or if there's some reason why it's done this
way.....

The region files (LEFTONLY_TOP, LEFTRIGHT_TOP, NOLEFT_TOP) include the
following piece of code:
<a href="[area login]">
[if session logged_in]
  <img alt="Log Out" border="0" src="__THEME_IMG_DIR__logout.gif"></a>
[else]
  <img alt="Log In" border="0" src="__THEME_IMG_DIR__login.gif"></a>
[/else]
[/if]


Should the 'href's not use [area login] and [area logout] within the [if]
[/if] as follows?
[if session logged_in]
   <a href="[area logout]">
   <img alt="Log Out" border="0" src="__THEME_IMG_DIR__logout.gif"></a>
[else]
  <a href="[area login]">
  <img alt="Log In" border="0" src="__THEME_IMG_DIR__login.gif"></a>
[/else]
[/if]

Thanks,
-Donal