function theme_signup_anonymous_user_login_text in Signup 6.2
Same name and namespace in other branches
- 5.2 signup.module \theme_signup_anonymous_user_login_text()
- 6 theme/node.inc \theme_signup_anonymous_user_login_text()
- 7 theme/node.inc \theme_signup_anonymous_user_login_text()
Controls the output for anonymous users who can't signup.
Parameters
$anon_login_text: The translated HTML help text telling users to login (and if allowed on this site, register) so they can signup, including login/register links.
Return value
The themed HTML to display the login (and maybe register) help text.
1 theme call to theme_signup_anonymous_user_login_text()
- _signup_current_user_signup in includes/
node_output.inc - Helper function to generate the output for the current user's signup.
File
- theme/
node.inc, line 40 - Theme functions when viewing a signup-enabled node.
Code
function theme_signup_anonymous_user_login_text($anon_login_text) {
if (!empty($anon_login_text)) {
return '<div class="signup_anonymous_login">' . $anon_login_text . '</div>';
}
}