links don't work after upgrade

Hi, Fil

2 years ago you did help me to create the two links above, in a
different way to choose the site language (instead of #MENU_LANG),
with two images (blue little squares with "Pt" and "Es" at the top
rigth corner).
http://www.oei-idietics.org/

Since I upgrade spip to 2.1.0, recently, it doesn't work anymore.

Could you please help me once again?

<a rel="alternate" hreflang="pt_br"
href="[(#REM|sinon{spip.php?action=cookie}|parametre_url{var_lang,pt_br})]&amp;url=<?php
echo urlencode(self()); ?>"><img src="squelettes/img/0lang_pt_br.gif"
width="20" height="20"
alt="<multi>[pt_br]Portugu&ecirc;s[es]Portugu&ecirc;s</multi>" /></a>

<a rel="alternate" hreflang="es"
href="[(#REM|sinon{spip.php?action=cookie}|parametre_url{var_lang,es})]&amp;url=<?php
echo urlencode(self()); ?>"><img src="squelettes/img/0lang_es.gif"
width="20" height="20"
alt="<multi>[pt_br]Espanhol[es]Espa&ntilde;ol</multi>" /></a>

Thank you very much

tereza

Hola Tereza!

Change the following:
cookie => converser
url => redirect

and enjoy

<a rel="alternate" hreflang="pt_br"
href="[(#REM|sinon{spip.php?action=converser}|parametre_url{var_lang,pt_br})]&amp;redirect=<?php
echo urlencode(self()); ?>"><img src="squelettes/img/0lang_pt_br.gif"
width="20" height="20"
alt="<multi>[pt_br]Portugu&ecirc;s[es]Portugu&ecirc;s</multi>" /></a>

<a rel="alternate" hreflang="es"
href="[(#REM|sinon{spip.php?action=converser}|parametre_url{var_lang,es})]&amp;redirect=<?php
echo urlencode(self()); ?>"><img src="squelettes/img/0lang_es.gif"
width="20" height="20"
alt="<multi>[pt_br]Espanhol[es]Espa&ntilde;ol</multi>" /></a>

-- Fil