-
in /class/formelement.php there is a method called setExtra() used to add extra attributes to a form element.
Unfortunately, when it is rendered, the content is pasted just after the last attribute rendered by each element.
For example, if on a XoopsFormText() field I want to add a "title" attribute like this :
$myField->setExtra(" title='blabla'");
it will be rendered like this:
2009-10-13 16:31:41 UTC in XOOPS Web Application Platform
-
instantzero made 1 file-release changes.
2009-10-08 16:12:01 UTC in Oledrion
-
instantzero made 2 file-release changes.
2009-10-08 16:11:02 UTC in Oledrion
-
instantzero made 1 file-release changes.
2009-10-08 16:08:01 UTC in Oledrion
-
In fact every function displaying some text directly should have a such option.
2009-08-07 09:23:10 UTC in XOOPS Web Application Platform
-
Adding a parameter to xoops_confirm to decide if we want to display the confirm message or get its code could be helpful.
2009-08-07 09:22:02 UTC in XOOPS Web Application Platform