Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

I need an option in {mailto}

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
olek
Smarty n00b


Joined: 22 Apr 2007
Posts: 2

PostPosted: Sun Apr 22, 2007 12:00 pm    Post subject: I need an option in {mailto} Reply with quote

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
View user's profile Send private message
czarnowski
Guest





PostPosted: Mon Apr 23, 2007 6:07 pm    Post subject: Reply with quote

??

Quote:
'encode' parameter must be none, javascript or hex
Back to top
olek
Smarty n00b


Joined: 22 Apr 2007
Posts: 2

PostPosted: Mon Apr 23, 2007 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
czarnowski
Guest





PostPosted: Sun Apr 29, 2007 4:27 pm    Post subject: Reply with quote

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
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP