Project

General

Profile

Revision b42754b9

Added by Assos Assos almost 7 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/ldap/ldap_servers/ldap_servers.theme.inc
93 93
  return $output;
94 94
}
95 95

  
96
function theme_ldap_servers_https_required($vars) {
97

  
98
  if (!isset($vars['site_contact_link']) || empty($vars['site_contact_link'])) {
99
    $vars['site_contact_link'] = 'site admin';
100
  }
101
  return t("You are accessing site_name using an unencrypted connection. For your security,
102
     site_name only supports account logins using a secure protocol such as HTTPS. You can switch
103
     to HTTPS by trying to view this page again after changing the URL in your browser's
104
     location bar to begin with \"https\" instead of \"http\". Please contact
105
      site_contact_link for help if this error continues.", $vars);
106

  
107
}
108

  
109 96
function theme_ldap_server_token_table($variables) {
110 97
  $header = array(
111 98
    array('data' => 'Token', 'sort' => 'asc'),

Also available in: Unified diff