X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fgeoloc%2Findex.tpl;h=5705bb7a36cbff34a10dce9077b4a7c5ab71e89a;hb=e336465e05bbca91fd0eb3f5b4c27f1391529f98;hp=0bc0b8026e56a6e453b2ca0d3ee395ac05a04562;hpb=56670b6ac6b3337d615679ec756446a05e18f113;p=platal.git diff --git a/templates/geoloc/index.tpl b/templates/geoloc/index.tpl index 0bc0b80..5705bb7 100644 --- a/templates/geoloc/index.tpl +++ b/templates/geoloc/index.tpl @@ -26,13 +26,16 @@ {literal} function ficheXorg(id) { - window.open('../fiche.php?user='+id,'_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=840,height=600'); + window.open('{/literal}{if $no_annu}https://www.polytechnique.org/{/if}{literal}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 += '&cityid=' + id; + f.action += unescape('%26')+'cityid=' + id; f.submit(); f.action = url; document.getElementById('search_results').style.height = '250px'; @@ -45,33 +48,61 @@ function goToCountry(id) 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'; } {/literal} +{/if} -{if !$dynamap_vars} -

-Aujourd'hui {$localises} de nos camarades sont localisés grâce à leurs adresses personnelles. -

+{if $localises} +

+ Aujourd'hui {$localises} de nos camarades sont localisés grâce à leurs adresses personnelles. +

{/if} -

- - - - - - - -

-
-

- -

-
+{if !$request_geodesix} +

+ + + + + + + + +

+

Carte fournie gracieusement par Geodesix.

+ {if !$no_annu} +
+

+ +

+
+ {/if} +{else} +

Le moteur de carte n'a pas été installé sur cette version de plat/al. Veuillez contacter Geodesix.

+{/if}

Pour toute question, problème ou suggestion tu peux envoyer un mail à contact+geoloc@polytechnique.org

{* vim:set et sw=2 sts=2 sws=2: *}