You are here

function theme_signup_anonymous_user_login_text in Signup 5.2

Same name and namespace in other branches
  1. 6.2 theme/node.inc \theme_signup_anonymous_user_login_text()
  2. 6 theme/node.inc \theme_signup_anonymous_user_login_text()
  3. 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_node_output in ./signup.module
Generate all the signup-related output for a given node.

File

./signup.module, line 824
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

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>';
  }
}