savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] register form url field, text tweaks


From: Sylvain Beucler
Subject: Re: [Savannah-hackers-public] register form url field, text tweaks
Date: Mon, 1 Mar 2010 23:33:03 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Mon, Mar 01, 2010 at 07:42:45PM +0000, Karl Berry wrote:
> Sylvain,
> 
> Looking at
> http://git.savannah.gnu.org/cgit/savane-cleanup.git/tree/frontend/php/register2/index.php
>  
> unfortunately I don't know how to change the addElement call for the
> tarball url at the end such that the field width gets longer, as
> suggested by Thi at https://savannah.gnu.org/task/?10205:
> $form->addElement('text', 'tarball_url', _('Tarball (.tar.gz) URL') . '<br 
> /><span style="font-size: smaller">'
> 
> I looked around briefly for a spec for addElement but gave up when
> nothing was forthcoming.  Sorry.

Follow:
require_once('../include/GPLQuickForm.class');

> @@ -400,3 +400,3 @@
>  $form->addElement('select', 'license', 'Project license', $LICENSE);
> -$form->addElement('textarea', 'license_other', 'Other license or 
> precisions');
> +$form->addElement('textarea', 'license_other', 'Licensing or other details');

The field is for "another license OR licensing precisions", not "any
other details".

-- 
Sylvain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]