You are here

function theme_legal_accept_label in Legal 7.2

Same name and namespace in other branches
  1. 7 legal.module \theme_legal_accept_label()

Theme the accept terms and conditions label.

Parameters

$variables: An associative array of variables for themeing, containing:

  • link: Whether or not the label contains a link to the legal page.
1 theme call to theme_legal_accept_label()
legal_display_fields in ./legal.module

File

./legal.module, line 241
Module file for Legal.

Code

function theme_legal_accept_label($variables) {
  if ($variables['link']) {
    return t('<strong>Accept</strong> <a href="@terms">Terms & Conditions</a> of Use', array(
      '@terms' => url('legal'),
    ));
  }
  else {
    return t('<strong>Accept</strong> Terms & Conditions of Use');
  }
}