anyone got an idea how to set up a simple switch statement that can be used to tell users not logged in - to do so in order to send e-cards, etc.
would be used on display image page
use the login box plugin. Modify it so that it not only displays the box to unlogged users but in addition some text, or don't let it the display the box at all... as you like it
I'm having some real trouble here.
All I'd like to do is have the usual LogIn LogOut sys_menu buttons show up in my template.html page
addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','<img src="images/spacer.gif" width="38" height="1" border="0" alt="spacer.gif" title="" />');
addbutton($sys_menu_buttons,'{LOGOUT_LNK}','{LOGOUT_TITLE}','{LOGOUT_TGT}','logout','<img src="images/spacer.gif" width="38" height="1" border="0" alt="spacer.gif" title="" />');
any ideas?