<?php
/***************************************************************************
- * Copyright (C) 2003-2011 Polytechnique.org *
+ * Copyright (C) 2003-2014 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
function handlers()
{
return array(
- 'deltaten/search' => $this->make_hook('index', AUTH_COOKIE),
- 'deltaten' => $this->make_hook('index', AUTH_COOKIE),
+ 'deltaten/search' => $this->make_hook('index', AUTH_COOKIE, 'user'),
+ 'deltaten' => $this->make_hook('index', AUTH_COOKIE, 'user'),
);
}
require_once 'ufbuilder.inc.php';
$ufb = new UFB_DeltaTenSearch();
+ $page->addJsLink('search.js');
if (!$ufb->isEmpty()) {
require_once 'userset.inc.php';
$ufc = $ufb->getUFC();
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>