Hello.

Is there a way to change the socialdrawer language depending of the 
request.uri_language ?
All text is in share.js.
var tbar = '<div id="socialdrawer"><span>Condividi<br/></span><div 
id="sicons"><a href="'+twit+'" id="twit" title="Condividi su twitter"><img 
src="'+path+'/twitter.png"  alt="Condividi su Twitter" width="32" 
height="32" /></a><a href="'+facebook+'" id="facebook" title="Condividi su 
Facebook"><img src="'+path+'/facebook.png"  alt="Condividi su facebook" 
width="32" height="32" /></a><a href="'+gplus+'" id="gplus" 
title="Condividi su Google Plus"><img src="'+path+'/gplus-32.png" 
 alt="Condividi su Google Plus" width="32" height="32" /></a></div></div>';

I have to get the request.uri_language inside share.js and set tbar 
depending of it. How can I do that ?

Thank's.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to