[pLog-svn] r1836 -plog/branches/plog-1.0.1/templates/standard-with-plugins

Jon Daley plogworld at daley.snurgle.org
Thu Apr 14 18:50:17 GMT 2005


 	Ah, I see.  That makes sense.  If the code isn't inside a div, 
then it probably isn't xhtml compatible anyway.  If it is inside a div, 
just add the id there, unless it already has one.

 	As for the other email, yes a   seems good to me, as long as 
that doesn't mess up the layout.

I don't know why adding an empty label vs. no label would change the 
layout.  Sounds like the code is not doing the right thing.

On Fri, 15 Apr 2005, Mark Wu wrote:
> And the "for" does not deprecated.
>
> As monjo said, If I wan to use <label for="xxxx">, I should add an "id" for
> it in somewhere.
>
> I try to use <div id="xxx"> ...  </div> around the original code, but layout
> looks not so good, so I remove it. Any suggestions?
>
> Mark
>
> -----Original Message-----
> From: plog-svn-bounces at devel.plogworld.net
> [mailto:plog-svn-bounces at devel.plogworld.net] On Behalf Of Jon Daley
> Sent: Friday, April 15, 2005 1:46 AM
> To: plog-svn at devel.plogworld.net
> Subject: Re: [pLog-svn] r1836
> -plog/branches/plog-1.0.1/templates/standard-with-plugins
>
> 	This looks odd to have an empty <label></label> tag.  Probably it
> should just be removed entirely?
>
> Additionally, I don't see anywhere that says the tag "for" has been
> deprecated.
>
> On Thu, 14 Apr 2005 mark at devel.plogworld.net wrote:
>
>> Author: mark
>> Date: 2005-04-14 17:30:17 +0000 (Thu, 14 Apr 2005) New Revision: 1836
>>
>> Modified:
>>
>> plog/branches/plog-1.0.1/templates/standard-with-plugins/commentform.t
>> emplate
>> Log:
>> Remove the for attribute in <lable> tag, to fit the XHTML spec. According
> to Monjo's suggestions.
>>
>> Mark
>>
>> Modified:
>> plog/branches/plog-1.0.1/templates/standard-with-plugins/commentform.t
>> emplate
>> ===================================================================
>> ---
> plog/branches/plog-1.0.1/templates/standard-with-plugins/commentform.templat
> e	2005-04-14 17:29:41 UTC (rev 1835)
>> +++
> plog/branches/plog-1.0.1/templates/standard-with-plugins/commentform.templat
> e	2005-04-14 17:30:17 UTC (rev 1836)
>> @@ -10,7 +10,7 @@
>>    	 {if !empty($smileys)}
>>    	  {if $smileys->isEnabled()}
>>        <script type="text/javascript"
> src="{$url->getBaseUrl()}/plugins/smileys/js/smileys/smileys.js"></script>
>> -       <br/><label
> for="simleysBar"></label>{$smileys->generateSmileysBar()}
>> +       <br/><label></label>{$smileys->generateSmileysBar()}
>>       {/if}
>>      {/if}
>>     </div>
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.plogworld.net
>> http://devel.plogworld.net/mailman/listinfo/plog-svn
>>
>
> **************************************************************
> *     Jonathan M. Daley     *     Don't "keep the faith,"    *
> *   jondaley at snurgle.org    *        spread it around.       *
> * www.snurgle.org/~jondaley *                                *
> **************************************************************
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>

**************************************************************
*     Jonathan M. Daley     *  Paper is always strongest at  *
*   jondaley at snurgle.org    *        the perforations.       *
* www.snurgle.org/~jondaley *                       -- Corry *
**************************************************************



More information about the pLog-svn mailing list