I've worked with smarty templates in the past, but the default template is not documented very well.
Here is what I'm trying to achieve.
I don't want users to see "edit survey" "admin" or "create new survey" if there are no public surveys. I don't mind manually going to /admin.php to log in...
without documenting the template, any experts out there know how to form an if (logged in) then show logout... else nothing arround the Edit surveys and login logout areas?
I sorta figured it out...
The logout was within some code, which I think tests login status...
CODE
{section name="logout" loop=1 show=$show.logout} {/section}
I simply moved this code so it enclosed the entire table row Edit Surveys... and the admin login...
Everything shows up if you are logged in, if not, nothing.
