projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Table editor fills the new entry form with the default values of the fields
[platal.git]
/
modules
/
auth.php
diff --git
a/modules/auth.php
b/modules/auth.php
index
8bd9069
..
ea7e267
100644
(file)
--- a/
modules/auth.php
+++ b/
modules/auth.php
@@
-49,8
+49,6
@@
class AuthModule extends PLModule
{
global $globals;
{
global $globals;
- require_once 'lists.inc.php';
-
$cle = $globals->core->econfiance;
if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) {
$cle = $globals->core->econfiance;
if (S::v('chall') && $_GET['PASS'] == md5(S::v('chall').$cle)) {
@@
-58,8
+56,8
@@
class AuthModule extends PLModule
$res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id=10154");
$pass = $res->fetchOneCell();
$res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id=10154");
$pass = $res->fetchOneCell();
- $
client =& lists_xmlrpc
(10154, $pass, "x-econfiance.polytechnique.org");
- $members = $
clien
t->get_members('membres');
+ $
list = new MMList
(10154, $pass, "x-econfiance.polytechnique.org");
+ $members = $
lis
t->get_members('membres');
if (is_array($members)) {
$membres = Array();
foreach($members[1] as $member) {
if (is_array($members)) {
$membres = Array();
foreach($members[1] as $member) {
@@
-92,6
+90,7
@@
class AuthModule extends PLModule
$res .= "</membres>\n\n";
$res .= "</membres>\n\n";
+ header('Content-Type: text/xml; charset="ISO-8859-1"');
echo $res;
}
exit;
echo $res;
}
exit;