Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Login/Logout - Bug or Feature?



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

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: