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

From Magnus Hagander
Subject Re: Change to community logins
Date
Msg-id 46C08C8D.6020701@hagander.net
Whole thread Raw
In response to Re: Change to community logins  (Jeff MacDonald <jam@zoidtechnologies.com>)
List pgsql-www
Jeff MacDonald wrote:
> 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.

I tried just about every combination I could think of for that, and
didn't manage :-( But if someone knows a way to get it done, I'd
certainly prefer that.

//Magnus


pgsql-www by date:

Previous
From: Jeff MacDonald
Date:
Subject: Re: Change to community logins
Next
From: "Simon Riggs"
Date:
Subject: Re: Features list