X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fgeoloc%2Findex.tpl;h=4a6e88d696009b81d917a5057391920d4d0f5282;hb=f27c9a007ca453a31e8c7857c10c5b0f963bdf04;hp=91b3fbc87654fffb92a4abde71c1a35e69b873a4;hpb=edfc872d991eb77da9da22cad52636ab9cbfa014;p=platal.git diff --git a/templates/geoloc/index.tpl b/templates/geoloc/index.tpl index 91b3fbc..4a6e88d 100644 --- a/templates/geoloc/index.tpl +++ b/templates/geoloc/index.tpl @@ -26,7 +26,7 @@ {literal} function ficheXorg(id) { - window.open('profile/'+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} @@ -62,10 +62,10 @@ function searchMapId(f) Aujourd'hui {$localises} de nos camarades sont localisés grâce à leurs adresses personnelles.

{/if} -{if $globals->geoloc->use_map} +{if !$request_geodesix}