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: PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: Change to community logins
Date: 2007-08-14 08:37:58
Message-ID: 20070814083758.GE7526@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Tue, Aug 14, 2007 at 01:26:38AM +0400, 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?
>
> That's probably what you are looking for:
> http://pear.php.net/manual/en/package.html.html-quickform.html-quickform.setelementerror.php

That worked. Thanks!

//Magnus

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Tino Wildenhain 2007-08-14 09:36:25 Re: Features list
Previous Message Luke Lonergan 2007-08-14 08:10:45 Re: L