|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
olek Smarty n00b
Joined: 22 Apr 2007 Posts: 2
|
Posted: Sun Apr 22, 2007 12:00 pm Post subject: I need an option in {mailto} |
|
|
Hello,
I need an option in {mailto} tag not to encode content of "text" argument when javascript or javascript_charcode encoding is used to encode the e-mail address, because I use utf-8 encoding in text passed in "text" argument and client browser doesn't render utf-8 chars right.
Olek |
|
Back to top |
|
czarnowski Guest
|
Posted: Mon Apr 23, 2007 6:07 pm Post subject: |
|
|
??
Quote: | 'encode' parameter must be none, javascript or hex |
|
|
Back to top |
|
olek Smarty n00b
Joined: 22 Apr 2007 Posts: 2
|
Posted: Mon Apr 23, 2007 8:26 pm Post subject: |
|
|
Maybe I wasn't clear enough.
I'm using {mailto} tag with javascript encoding to obfuscate an e-mail address but between the html <a> tag I put some utf-8 encoded string (passed as 'text' option) which doesn't render right by the client browser. |
|
Back to top |
|
czarnowski Guest
|
Posted: Sun Apr 29, 2007 4:27 pm Post subject: |
|
|
Than you must change something in the plugin at this place
case 'text':
$$var = $value;
and encode the text in the right way. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|