$page->addJsLink('ajax.js');
}
- $this->load('search.inc.php');
$page->changeTpl('search/index.tpl');
$page->setTitle('Annuaire');
}
{
global $globals;
require_once 'geocoding.inc.php';
- $this->load('search.inc.php');
$page->assign('advanced',1);
$page->addJsLink('jquery.autocomplete.js');
die();
}
- require_once 'directory.enums.inc.php';
$enums = array(
'binetTxt' => DirEnum::BINETS,
'groupexTxt' => DirEnum::GROUPESX,
'nationaliteTxt' => DirEnum::NATIONALITIES,
'schoolTxt' => DirEnum::EDUSCHOOLS,
);
- if (!array_key_exists($enums, $type)) {
+ if (!array_key_exists($type, $enums)) {
exit();
}
{
// Give the list of all values possible of type and builds a select input for it
$ids = null;
- require_once 'directory.enums.inc.php';
switch ($type) {
case 'binet':