{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-<h1>Géolocalisation</h1>
+<div id="map_canvas" style="width: 100%; height: 600px"></div>
<script type="text/javascript">
-{literal}
-function ficheXorg(id)
-{
- window.open('{rel}/profile/'+id,'_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=840,height=600');
-}
-{/literal}
-{if !$no_annu}
-{literal}
-function clickOnCity(id)
-{
- var f = document.getElementById('search_form');
- var url = f.action;
- f.action += unescape('%26')+'cityid=' + id;
- f.submit();
- f.action = url;
- document.getElementById('search_results').style.height = '250px';
-}
-var mapid = 0;
-function goToCountry(id)
-{
- mapid = id;
-}
-function searchMapId(f)
-{
- var url = f.action;
- f.action += unescape('%26')+'mapid=' + mapid;
- f.submit();
- f.action = url;
- document.getElementById('search_results').style.height = '250px';
-}
-{/literal}
-{/if}
-
+ map_initialize();
</script>
-{if !$dynamap_vars and $localises}
- <p class="descr">
- Aujourd'hui {$localises} de nos camarades sont localisés grâce à leurs adresses personnelles.
- </p>
-{/if}
-{if $use_map}
- <p class="center">
- <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="600" height="450" id="dynamap" align="middle">
- <param name="allowScriptAccess" value="sameDomain" />
- <param name="quality" value="high" />
- <param name="bgcolor" value="#ffffff" />
- <param name="movie" value="dynamap{if $dynamap_vars neq 'none'}_{$dynamap_vars|default:"only_current=on"}{/if}.swf" />
- <embed src="dynamap{if $dynamap_vars neq 'none'}_{$dynamap_vars|default:"only_current=on"}{/if}.swf" quality="high" bgcolor="#ffffff" width="600" height="450" name="dynamap" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
- </object>
- </p>
- <p class="smaller">Carte fournie gracieusement par <a href="http://www.geodesix.com/">Geodesix</a>.</p>
- {if !$no_annu}
- <form id="search_form" action="{rel}/search/adv/?{$dynamap_vars|default:"only_current=on"}&rechercher=1" method="post">
- <p>
- <input type="button" value="Lister les camarades de la carte ci-dessus" onclick="searchMapId(this.form)"/>
- </p>
- </form>
- {/if}
-{else}
- <p>Le moteur de carte n'a pas été installé sur cette version de plat/al. Veuillez contacter <a href="http://www.geodesix.com/">Geodesix</a>.</p>
-{/if}
-<p class="descr">Pour toute question, problème ou suggestion tu peux envoyer un mail à <a href="mailto:contact+geoloc@polytechnique.org">contact+geoloc@polytechnique.org</a></p>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}