$globals->menu->addPrivateEntry(XOM_GROUPS, 10, 'Trombi/Site promo', 'trombipromo.php');
$globals->menu->addPrivateEntry(XOM_GROUPS, 20, 'Conseil Pro.', 'referent.php');
+ $globals->menu->addPrivateEntry(XOM_GROUPS, 10, 'Planisphère', 'geoloc/');
$globals->menu->addPrivateEntry(XOM_GROUPS, 30, 'Groupes X', 'http://www.polytechnique.net/plan.php');
$globals->menu->addPrivateEntry(XOM_INFOS, 10, 'Documentations', 'Docs/');
require_once('search.inc.php');
$fields = new SFieldGroup(true, advancedSearchFromInput());
-$search = $fields->get_url().'&';
+$search = $fields->get_url();
if (Env::has('only_current') && Env::get('only_current') != 'on') $search .= '&only_current=';
$search = preg_replace('/(^|&)mapid=([0-9]+)(&|$)/','\1\3', $search);
if ($search)
{
var f = document.getElementById('search_form');
var url = f.action;
- f.action += '&cityid=' + id;
+ f.action += unescape('%26')+'cityid=' + id;
f.submit();
f.action = url;
document.getElementById('search_results').style.height = '250px';
function searchMapId(f)
{
var url = f.action;
- f.action += '&mapid=' + mapid;
+ f.action += unescape('%26')+'mapid=' + mapid;
f.submit();
f.action = url;
document.getElementById('search_results').style.height = '250px';
<tr>
<td>Nom</td>
<td>
+ <input type="submit" name="rechercher" style="display:none" value="Chercher"/>
<input type="text" name="name" size="32" value="{$smarty.request.name}" />
{if $smarty.request.name && !$with_soundex && $smarty.request.recherche}
<a class='smaller' href="{$smarty.server.PHP_SELF}?with_soundex=1&{$url_args}">
mettre les fiches modifiées récemment en premier
</p>
{/min_auth}
- <input type="hidden" name="rechercher" value="Chercher"/>
- <input type="submit" style="display:none" value="Chercher" onClick="launch_form('{$smarty.server.PHP_SELF}')"/>
</form>
<p class="center">
<script type="text/javascript">{literal}
f.submit();
}
{/literal}</script>
- <input type="button" value="Voir les résultats sur une carte" onClick="launch_form('geoloc/')"/>
- <input type="button" value="Chercher" onClick="launch_form('{$smarty.server.PHP_SELF}')"/>
+ <input type="button" value="Voir les résultats sur une carte" onclick="launch_form('geoloc/')"/>
+ <input type="button" value="Chercher" onclick="launch_form('{$smarty.server.PHP_SELF}')"/>
</p>
<p>
<strong>N.B.</strong> Le caractère joker * peut remplacer une ou plusieurs lettres dans les recherches.