35 |
if (!$useframe) { |
if (!$useframe) { |
36 |
$S->display('topbar.tpl'); |
$S->display('topbar.tpl'); |
37 |
} |
} |
38 |
|
if ($handle = opendir(LUDAP_DIR.'xmldata')) { |
39 |
|
while (false !== ($file = readdir($handle))) { |
40 |
|
if ($file != "." && $file != "..") { |
41 |
|
$xmldatafile[] = $file; |
42 |
|
} |
43 |
|
} |
44 |
|
closedir($handle); |
45 |
|
@sort($xmldatafile); |
46 |
|
} |
47 |
|
$S->assign("xdf",$xmldatafile); |
48 |
$S->display("xml_topnav.tpl"); |
$S->display("xml_topnav.tpl"); |
49 |
if ($xmlaction == 'importer xml') { |
if ($xmlaction == 'importer xml') { |
50 |
if ($xmlimport) { |
if ($xmlimport) { |
98 |
} |
} |
99 |
} |
} |
100 |
} elseif ($xmltype and $xmltype == 'ludap') { |
} elseif ($xmltype and $xmltype == 'ludap') { |
101 |
$info = $L->get_users_list(array_keys($L->schema_user),$search,20,0,20); |
$info = $L->get_users_list(array_keys($L->schema_user),$searchx,20,0,20); |
102 |
$S->assign('info', $info); |
$S->assign('info', $info); |
103 |
$S->assign('list', $L->schema_user); |
$S->assign('list', $L->schema_user); |
104 |
$buffer = $S->fetch('xml_ludap.tpl'); |
$buffer = $S->fetch('xml_ludap.tpl'); |