Re: Change to community logins - Mailing list pgsql-www

From Jeff MacDonald
Subject Re: Change to community logins
Date
Msg-id 200708131238.58442.jam@zoidtechnologies.com
Whole thread Raw
In response to Re: Change to community logins  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Change to community logins
List pgsql-www
greetings!

On Sunday 12 August 2007 10:34 am, Magnus Hagander wrote:
[...snipped...]
> > $this->form->addElement('static', null, null, '<font color="red">' .
> > gettext("Userid or password was incorrect. Please try again.") .
> > '</font>');
> >
> >
> > This should be calling to the stylesheet ;)
>
> Yeah, if I knew how :) The HTML Quickforms stuff is very inflexible.
>

I am not convinced that QF is all that inflexible. try putting something into 
the "attributes" argument for the "static" element constructor:

void constructor HTML_QuickForm_element::HTML_QuickForm_element ([string 
$elementName = NULL [, mixed $elementLabel = NULL [, mixed $attributes = 
NULL]]])

that last parameter just might do what you want.

regards,
-- 
Jeff MacDonald, 
Zoid Technologies <http://zoidtechnologies.com/>
"Web Applications That Suck Less"


pgsql-www by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: [pgsql-advocacy] Postgresql vs. MySQL page techdocs conversion
Next
From: Magnus Hagander
Date:
Subject: Re: Change to community logins