[OGDev] [openguides-commits] r1053 - trunk/templates

Dominic Hargreaves dom at earth.li
Sun Jun 10 09:16:34 BST 2007


On Sun, Jun 10, 2007 at 02:50:29AM +0100, svnadmin at urchin.earth.li wrote:
> Author: ilmari
> Date: 2007-06-10 02:50:29 +0100 (Sun, 10 Jun 2007)
> New Revision: 1053
> 
> Modified:
>    trunk/templates/edit_form.tt
>    trunk/templates/missing_metadata.tt
>    trunk/templates/moderate_confirm.tt
>    trunk/templates/preferences.tt
> Log:
> Sync up up label tags and form element id attributes (closes #217)

Is this a CSS spec change? ie does README.CSS and UPGRADING need to be
updated?

Dominic.

> Modified: trunk/templates/edit_form.tt
> ===================================================================
> --- trunk/templates/edit_form.tt	2007-06-09 21:54:06 UTC (rev 1052)
> +++ trunk/templates/edit_form.tt	2007-06-10 01:50:29 UTC (rev 1053)
> @@ -47,7 +47,7 @@
>        <legend>Main information</legend>
>  
>        <div class="edit_form_group" id="content_group">
> -        <label for="content">
> +        <label for="content_textarea">
>            [% IF conflict %]
>              Current content:
>            [% ELSE %]
> 
> Modified: trunk/templates/missing_metadata.tt
> ===================================================================
> --- trunk/templates/missing_metadata.tt	2007-06-09 21:54:06 UTC (rev 1052)
> +++ trunk/templates/missing_metadata.tt	2007-06-10 01:50:29 UTC (rev 1053)
> @@ -31,17 +31,17 @@
>  </div>
>  <div>
>  	<label for="metadata_value">Metadata Value:</label>
> -	<input name="metadata_value" value="[% metadata_value %]" />
> +	<input name="metadata_value" id="metadata_value" value="[% metadata_value %]" />
>  	&nbsp; &nbsp; &nbsp;
>  	<i>Optional, eg 'pub' when metadata value is Category</i>
>  </div>
>  <div>
>  	<label for="exclude_locales">Exclude Locales:</label>
> -	<input type="checkbox" name="exclude_locales" [% IF exclude_locales %]checked="true"[% END %] />
> +	<input type="checkbox" name="exclude_locales" id="exclude_locales" [% IF exclude_locales %]checked="true"[% END %] />
>  </div>
>  <div>
>  	<label for="exclude_categories">Exclude Categories:</label>
> -	<input type="checkbox" name="exclude_categories" [% IF exclude_categories %]checked="true"[% END %] />
> +	<input type="checkbox" name="exclude_categories" id="exclude_categories" [% IF exclude_categories %]checked="true"[% END %] />
>  </div>
>  <div>
>  	<input type="submit" value="Find Nodes" />
> 
> Modified: trunk/templates/moderate_confirm.tt
> ===================================================================
> --- trunk/templates/moderate_confirm.tt	2007-06-09 21:54:06 UTC (rev 1052)
> +++ trunk/templates/moderate_confirm.tt	2007-06-10 01:50:29 UTC (rev 1053)
> @@ -24,13 +24,13 @@
>    <input type="hidden" name="id" value="[% node_param %]" />
>  [% IF moderation_action == 'set_moderation' %]
>    <label for="moderation_flag">Moderation Required:</label>
> -  <input type="checkbox" name="moderation_flag" [% IF moderation_flag %]checked="yes"[% END %] />
> +  <input type="checkbox" name="moderation_flag" id="moderation_flag" [% IF moderation_flag %]checked="yes"[% END %] />
>    <br />
>  [% ELSE %]
>    <input type="hidden" name="version" value="[% version %]" />
>  [% END %]
> -  <strong>Password:</strong>
> -  <input type="password" name="password" />
> +  <strong><label for="password">Password:</label></strong>
> +  <input type="password" name="password" id="password" />
>    <input type="submit" value="Go!" />
>  </form>
>  
> 
> Modified: trunk/templates/preferences.tt
> ===================================================================
> --- trunk/templates/preferences.tt	2007-06-09 21:54:06 UTC (rev 1052)
> +++ trunk/templates/preferences.tt	2007-06-10 01:50:29 UTC (rev 1053)
> @@ -79,7 +79,7 @@
>  
>      <p>
>        <label for="default_edit_type">Default edit type:</label>
> -      <select name="default_edit_type">
> +      <select name="default_edit_type" id="default_edit_type">
>          [% IF default_edit_type == 'normal' %]
>            <option value="normal" selected="1">Normal edit</option>
>            <option value="tidying">Minor tidying</option>
> @@ -92,7 +92,7 @@
>  
>      <p>
>        <label for="cookie_expires">Preferences expire:</label>
> -      <select name="cookie_expires">
> +      <select name="cookie_expires" id="cookie_expires">
>          [% IF cookie_expires == 'never' %]
>            <option value="month">in one month</option>
>            <option value="year">in one year</option>
> 
> 
> _______________________________________________
> openguides-commits mailing list
> openguides-commits at lists.urchin.earth.li
> http://urchin.earth.li/mailman/listinfo/openguides-commits

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



More information about the OpenGuides-Dev mailing list