logo       
Google Custom Search
    AddThis Social Bookmark Button

[FormBuilder] Hmm, Here is a patch which will remove auto generated comment: msg#00019

Subject: [FormBuilder] Hmm, Here is a patch which will remove auto generated comment in result html, Also, with small enhancement. ; -)
Hello,
All.
FormBuilder rocks anyway. But normally, There is something we don't want.
In any case, You don't like to see the message like
<!-- Generated by CGI::FormBuilder v$VERSION available from
www.formbuilder.org -->
But It seems there is no option to remove this without patching the source.
Touch symbol table works fine. But doesn't work well when we are in
Catalyst::Controller::FormBuilder.
So this patch did this. It won't show the hidden trailer if you set
debug option off.

Another small enhancement is.
I add a browser_compat option (Default is 1). The one which most
people like. ;-)
If It is set to 0.
Then, You won't see the
<!-- hide from old browsers
blablabla
//-->
Things in generated javascript.
Modern browsers.
Even lynx and w3m, can deal with unknown tags correctly.
And I need this feature also. ;-)

Any suggestions welcome.

Xinming

Attachment: remove_trailer.patch
Description: Text Data

_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>