/ Published in: PHP
Expand |
Embed | Plain Text
if (user_is_logged_in()) { $output = t('User is logged in.'); else { $output = t('User is an anonymous user.'); }
You need to login to post a comment.
sennesaelium on 10/05/09
3 people have marked this snippet as a favorite
panatlantica
pjmccormick
picxelplay
if (user_is_logged_in()) { $output = t('User is logged in.'); else { $output = t('User is an anonymous user.'); }
You need to login to post a comment.