Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 88451
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: john.huijsing [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From john.huijsing [...] gmail.com Thu Sep 5 18: 29:06 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.333 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="047d7bb03946a00ddc04e5aa72ba"
Message-ID: <CAH-o+7B2aTQVJQ7A4HOscxNZJVBs5t9sZyLfaa7j6w5s5Yo4xw [...] mail.gmail.com>
X-Received: by 10.194.193.4 with SMTP id hk4mr8703427wjc.29.1378420137133; Thu, 05 Sep 2013 15:28:57 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.333
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4C4CE241231 for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Thu, 5 Sep 2013 18:29:06 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mbokBFDKlHuJ for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Thu, 5 Sep 2013 18:29:05 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 015F024122E for <bug-CGI.pm [...] rt.cpan.org>; Thu, 5 Sep 2013 18:29:04 -0400 (EDT)
Received: (qmail 14645 invoked by alias); 5 Sep 2013 22:29:04 -0000
Received: from mail-we0-f196.google.com (HELO mail-we0-f196.google.com) (74.125.82.196) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 05 Sep 2013 15:29:01 -0700
Received: by mail-we0-f196.google.com with SMTP id w62so257729wes.7 for <bug-CGI.pm [...] rt.cpan.org>; Thu, 05 Sep 2013 15:28:57 -0700 (PDT)
Received: by 10.194.65.68 with HTTP; Thu, 5 Sep 2013 15:28:56 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
Subject: Patch for CGI.PM to allow passing a hash for labelattributes
Return-Path: <john.huijsing [...] gmail.com>
X-RT-Mail-Extension: cgi.pm
X-Original-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4F88/U/lzmntho2TTjd7r/+lhjK5sZnu0EfgGZlMPX4=; b=qT/ImS/D4iU7IiF2eYvGIcPvr2gzRgFPhqawh8f+2W4ITPjnSkH/2v2ds7l+gWDz98 cDGOaZlp8EVl74kgicfDcoZ3y8Wdvue9IwnmjYtCjTaEO+2leq7+63iot9q/j4MU0wzG 1ywXxiaa9/pc1DFGZBwNdGkqcX7rWNC/eDacY2Vz7QTMxNCEVUWQsSWuWd3QPDPpjW45 mn6Iu0Zyd3uiRIV0hwQonLuNkZk25Z+KoMIPHTVXrDc4vEWkx0Kv6cHa3kTdwn5YqBMq jntYYxqqRlhaeAoCCj4AAcQNatEkK00jLrkdrrHjPt2/0chDIy0C6u189UWz16lyptdl 5Q+g==
Date: Fri, 6 Sep 2013 08:28:56 +1000
X-Spam-Level:
To: bug-CGI.pm [...] rt.cpan.org
From: John Huijsing <john.huijsing [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 629
Download (untitled) / with headers
text/plain 629b
Hi A very simple patch I wanted the ability to have a different background colors for individual check-boxes in a group modify around line 2503 from if ($XHTML) { push @elements, CGI::label($labelattributes, qq(<input type="$box_type" name="$name" value="$_" $checkit$other$tab$attribs$disable/>$label)).${break}; } else { to if ($XHTML) { my $labelattr = ref $labelattributes eq 'HASH' ? $labelattributes->{$_} : $labelattributes ; push @elements, CGI::label($labelattr, Thanks for the code :) John ( a part time perl hacker)
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1167
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-6007-1400761175-554.88451-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 241
Download (untitled) / with headers
text/plain 241b
This issue has been copied to: https://github.com/leejo/CGI.pm/issues/122 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
MIME-Version: 1.0
In-Reply-To: <CAH-o+7B2aTQVJQ7A4HOscxNZJVBs5t9sZyLfaa7j6w5s5Yo4xw [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAH-o+7B2aTQVJQ7A4HOscxNZJVBs5t9sZyLfaa7j6w5s5Yo4xw [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-6817-1405251979-1176.88451-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 198
Download (untitled) / with headers
text/plain 198b
Rejecting. I'm not accepting any feature requests, patches, or updates to the HTML generating functions of CGI.pm unless they are of a critical nature (i.e. fixing fundamentally broken HTML output).


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.