Re: Change to community logins

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Alexey Borzov <borz_off(at)cs(dot)msu(dot)su>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Change to community logins
Date: 2007-08-13 21:03:13
Message-ID: 46C0C711.1020000@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Alexey Borzov wrote:
> Hi,
>
> Magnus Hagander wrote:
>>> $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.
>
> Well, it may be inflexible but why aren't you displayiing that as an
> error message in the first place?

I probably would, if I had any idea how to do that. Haven't been able to
find any docs at all about that. Got any good pointers?

> Also you can map element -> template
> block so that your message will be displayed in whatever style you want.

That I think I know how to do, really. Will look at that.

//Magnus

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Alexey Borzov 2007-08-13 21:26:38 Re: Change to community logins
Previous Message Alexey Borzov 2007-08-13 20:46:14 Re: Change to community logins