That's not a big problem, you can just do something like that:

#language {
  background-color: transparent;
  border-style: none;
  cursor: pointer;
}

<form method="post" action="/i18n/setlang/">
  <div>
    <input type="hidden" name="language" value="en"/>
    <input id="language" type="submit" value="English"/>
  </div>
</form>

That have too few lines than a link, but follows standards, is
probably clearer, ans looks exactly the same way.

See you!
  Marc Garcia
  http://vaig.be/category/it/applications/django/

On Sep 26, 7:39 pm, "Antoni Aloy" <[EMAIL PROTECTED]> wrote:
> 2007/9/21, James Bennett <[EMAIL PROTECTED]>:
>
> > The HTTP specification says that GET requests should not take any
> > action other than retrieving a resource; in other words, a GET request
> > which modifies state on the server or has other side effects should
> > not be allowed.
>
> That's true, but this makes i18n/setlangunworth for usual
> applications, so I would prefer to have the option to be a bad boy and
> use the GET request.
> --
> Antoni Aloy López
> Binissalem - Mallorcahttp://www.trespams.com
> Soci de Bulma -http://www.bulma.cat


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to