/[drupal]/contributions/modules/sql_auth/sql_auth.module
ViewVC logotype

Diff of /contributions/modules/sql_auth/sql_auth.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by anarcat, Thu Feb 23 20:33:33 2006 UTC revision 1.3 by anarcat, Thu Feb 23 21:07:06 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: sql_auth.module,v 1.1 2006/02/23 20:07:06 ber Exp $  // $Id: sql_auth.module,v 1.2 2006/02/23 20:33:33 anarcat Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 31  function _sql_auth_help() { Line 31  function _sql_auth_help() {
31   * Implementation of hook_settings().   * Implementation of hook_settings().
32   */   */
33  function sql_auth_settings() {  function sql_auth_settings() {
34    $group = form_textfield(t('Affiliate name'), 'sql_auth_aff_name', variable_get('sql_auth_aff_name', 'Another database'), 55, 128, t('The name of the affiliate, listed no the login page'));    $group = form_textfield(t('Affiliate name'), 'sql_auth_aff_name', variable_get('sql_auth_aff_name', 'Another database'), 55, 128, t('The name of the affiliate, listed on the login page'));
35    $group .= form_textarea(t('Affiliate explanation'), 'sql_auth_aff_desc', variable_get('sql_auth_aff_desc', _sql_auth_help()), 55, 15, t('The name of the affiliate, listed no the login page'));    $group .= form_textarea(t('Affiliate explanation'), 'sql_auth_aff_desc', variable_get('sql_auth_aff_desc', _sql_auth_help()), 55, 15, t('The name of the affiliate, listed on the login page'));
36    $group .= form_textfield(t('Affiliate extension'), 'sql_auth_aff_server', variable_get('sql_auth_aff_server', 'database_name'), 55, 128, t('The part after the @. So a user \'foo\' users logs in with foo@database_name'));    $group .= form_textfield(t('Affiliate extension'), 'sql_auth_aff_server', variable_get('sql_auth_aff_server', 'database_name'), 55, 128, t('The part after the @. So a user \'foo\' users logs in with foo@database_name'));
37    $group .= form_checkbox(t('Use full username string'), 'sql_auth_aff_server_include', 1, variable_get('sql_auth_aff_server_include', 0), t('Wether to send the full login string (including the @database_name) as a username to the database server when authenticating.'));    $group .= form_checkbox(t('Use full username string'), 'sql_auth_aff_server_include', 1, variable_get('sql_auth_aff_server_include', 0), t('Wether to send the full login string (including the @database_name) as a username to the database server when authenticating.'));
38    $output = form_group(t('User help'), $group);    $output = form_group(t('User help'), $group);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.3