| 1 |
<?php |
<?php |
| 2 |
// $Id: listhandler.module,v 1.53 2004/10/01 00:08:33 uwe Exp $ |
// $Id: listhandler.module,v 1.54 2004/11/18 00:06:58 killes Exp $ |
| 3 |
|
|
| 4 |
function listhandler_help($section) { |
function listhandler_help($section) { |
| 5 |
$output = ''; |
$output = ''; |
| 6 |
switch($section) { |
switch($section) { |
| 7 |
case 'admin/modules#description': |
case 'admin/modules#description': |
| 8 |
$output = t('Connect your mailing lists to your drupal site and your drupal site to your mailing lists.'); |
$output = t('Connect your mailing lists to your drupal site and your drupal site to your mailing lists.'); |
| 9 |
$output .= ' $Id: listhandler.module,v 1.53 2004/10/01 00:08:33 uwe Exp $'; |
$output .= ' $Id: listhandler.module,v 1.54 2004/11/18 00:06:58 killes Exp $'; |
| 10 |
break; |
break; |
| 11 |
} |
} |
| 12 |
return $output; |
return $output; |
| 347 |
|
|
| 348 |
foreach ($array as $key => $value) { |
foreach ($array as $key => $value) { |
| 349 |
if ($key == 'pass') { |
if ($key == 'pass') { |
| 350 |
$fields[] = check_query($key); |
$fields[] = db_escape_string($key); |
| 351 |
$values[] = md5($value); |
$values[] = md5($value); |
| 352 |
$s[] = "'%s'"; |
$s[] = "'%s'"; |
| 353 |
} |
} |
| 354 |
else if (substr($key, 0, 4) !== "auth") { |
else if (substr($key, 0, 4) !== "auth") { |
| 355 |
if (in_array($key, $user_fields)) { |
if (in_array($key, $user_fields)) { |
| 356 |
$fields[] = check_query($key); |
$fields[] = db_escape_string($key); |
| 357 |
$values[] = $value; |
$values[] = $value; |
| 358 |
$s[] = "'%s'"; |
$s[] = "'%s'"; |
| 359 |
} |
} |