Steve Piercy - Web Site Builder Re: Knop form html encoding output?
Jul 22, 2009; 07:21
Steve Piercy - Web Site Builder
Re: Knop form html encoding output?
In the form.inc notes:
2007-02-23 JS Removed encode_html from form field labels
So you could either modify form.inc or not use HTML in your label and instead loop through all the fields and do a regular expression to find and replace </label> with your stuff + </label>.
It looks like you're trying to insert some tooltip stuff, yes?
--steve
On Wednesday, July 22, 2009, list@carlestam.com pronounced:
>Is there a change done in Knop somewhere along the line that html >encodes label output in the form object. > >This used to work and still does on one older server. But on a newer >installation it's html encoded. > > $fContact -> addfield( > -type = 'text', > -name = 'addon_1_infitem', > -dbfield = '', > -label = '<img src="/jina_img/plus.gif" >id="addon_1_infselect_button" type="button" class="addbtn" title="' + >($lang_messages -> addNewItemMsg) + '" alt="' + ($lang_messages -> >addNewItemMsg) + '" border="0" height="15" width="15">', > -size = 35); > > >HDB >Jolle >
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Jul 22
Steve Piercy - Web Site Builder Re: Knop form html encoding output?
Jul 22, 2009; 08:08
Steve Piercy - Web Site Builder
Re: Knop form html encoding output?
Jul 22
Steve Piercy - Web Site Builder Re: Knop form html encoding output?
Jul 22, 2009; 08:13
Steve Piercy - Web Site Builder
Re: Knop form html encoding output?
Jul 22
Steve Piercy - Web Site Builder Re: Knop form html encoding output?
Jul 22, 2009; 08:23
Steve Piercy - Web Site Builder
Re: Knop form html encoding output?
Jul 22
Steve Piercy - Web Site Builder Re: Knop form html encoding output?
Jul 22, 2009; 09:00
Steve Piercy - Web Site Builder
Re: Knop form html encoding output?
Jul 22
list Knop form html encoding output?
Jul 22, 2009; 15:37
list
Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 16:31
list
Re: Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 16:38
list
Re: Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 16:46
list
Re: Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 17:19
list
Re: Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 17:20
list
Re: Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 17:28
list
Re: Knop form html encoding output?
Jul 22
list Re: Knop form html encoding output?
Jul 22, 2009; 20:04
list
Re: Knop form html encoding output?
Jul 23
Johan Solve Re: Knop form html encoding output?
Jul 23, 2009; 22:47
Johan Solve
Re: Knop form html encoding output?
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!