Author: mgallegos Date: 2012-05-08 23:10:11 +0200 (Tue, 08 May 2012) New Revision: 297 Modified: trunk/wp-theme/mc2-form.php Log: Modified: trunk/wp-theme/mc2-form.php =================================================================== --- trunk/wp-theme/mc2-form.php 2012-05-08 20:22:05 UTC (rev 296) +++ trunk/wp-theme/mc2-form.php 2012-05-08 21:10:11 UTC (rev 297) @@ -14,7 +14,7 @@ <div class="label"> <label id="mc-required-title-name" style="background-color: #FEFBFD"><?php _e("Name of your initiative", "mc"); ?><span class="required-field">*</span></label> <label class="pre" for="ininame"></label> - <input type="text" name="ininame" value="" id="ininame" /> + <input type="text" name="ininame" value="" id="ininame" tabindex="1"/> </div> </div> <div class="mc-form-required-info2" id="mc-form-required-url"> @@ -24,13 +24,13 @@ <!-- <label id="label1" class="pre" for="url"><?php _e("something like http://example.com", "mc"); ?></label> --> - <input type="text" name="url" value="" id="url" /> + <input type="text" name="url" value="" id="url" tabindex="2"/> </div> </div> <div id="mc-form-optional-languages"> <div style="position: relative;float: left;width: 400px;font-size: 16px;margin-right:29px;margin-top: 20px;"> <label id="mc-optional-languages" style="background-color: #FEFBFD"><?php _e("Language(s) (press enter or comma to separate)", "mc"); ?></label> - <input type="text" name="languages" value="" id="languages"/> + <input type="text" name="languages" value="" id="languages" tabindex="3"/> </div> </div> <div id="mc-form-optional-keywords"> @@ -39,13 +39,13 @@ <!-- <label class="pre" for="keywords"><?php _e("for ex: health, education, etc", "mc"); ?></label> --> - <input type="text" name="keywords" value="" id="keywords" /> + <input type="text" name="keywords" value="" id="keywords" tabindex="4"/> </div> </div> <div class="mc-form-optional-info2" id="mc-form-optional-location"> <div class="label"> <label id="mc-optional-location" style="background-color: #FEFBFD"><?php _e("Location", "mc"); ?></label> - <input type="text" name="location" value="" id="location" onblur="$j('#ininame').focus();"/> + <input type="text" name="location" value="" id="location" onblur="$j('#ininame').focus();" tabindex="5"/> </div> </div> <div class="mc-clean"></div> @@ -79,23 +79,23 @@ <div class="blockMe1" style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 30px;border: 1px solid #B7C4C8;padding-bottom: 10px;"> <label id="mc-optional-non-profit" style="color: #444;background-color: #FEFBFD;"><?php _e("Optional", "mc"); ?></label> <label class="optional-labels-fields"> - <input type="checkbox" name="registered-non-profit" value="S" id="registered-non-profit"/> + <input type="checkbox" name="registered-non-profit" value="S" id="registered-non-profit" tabindex="6"/> <?php _e("We are registered as Non-profit", "mc"); ?> </label> <label id="infield-non-profit-website" for="non-profit-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label> - <input type="text" name="non-profit-website" value="" id="non-profit-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> + <input type="text" name="non-profit-website" value="" id="non-profit-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;" tabindex="7"> <label class="optional-labels-fields"> - <input type="checkbox" name="open-accounting" value="S" id="open-accounting" /> + <input type="checkbox" name="open-accounting" value="S" id="open-accounting" tabindex="8"/> <?php _e("We have Open-accounting", "mc"); ?> </label> <label id="infield-open-accounting-website" for="open-accounting-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label> - <input type="text" name="open-accounting-website" value="" id="open-accounting-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> + <input type="text" name="open-accounting-website" value="" id="open-accounting-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;" tabindex="9"> <label class="optional-labels-fields"> - <input type="checkbox" name="accept-donations" value="S" id="accept-donations" /> + <input type="checkbox" name="accept-donations" value="S" id="accept-donations" tabindex="10"/> <?php _e("We accept donations", "mc"); ?> </label> <label id="infield-donation-website" for="donation-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label> - <input type="text" name="donation-website" value="" id="donation-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> + <input type="text" name="donation-website" value="" id="donation-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;" tabindex="11" onblur="$j('#registered-non-profit').focus();"> <div style="clear: both;"></div> </div> </div> @@ -130,43 +130,43 @@ <div class="blockMe2" style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 30px;border: 1px solid #B7C4C8;margin-bottom: 20px;"> <label id="mc-optional-reproducible" style="color: #444;background-color: #F9F9F9;"><?php _e("Optional", "mc"); ?></label> <label class="optional-labels-fields"> - <input type="checkbox" name="terms-of-use" value="S" id="terms-of-use"/> + <input type="checkbox" name="terms-of-use" value="S" id="terms-of-use" tabindex="12"/> <?php _e("We have Terms of Use of our contents", "mc"); ?> </label> <label id="infield-terms-of-use-website" for="terms-of-use-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label> - <input type="text" name="terms-of-use-website" value="" id="terms-of-use-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> + <input type="text" name="terms-of-use-website" value="" id="terms-of-use-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;" tabindex="13"> <label class="optional-labels-fields"> <?php _e("We use this license for sharing our contents:", "mc"); ?> </label> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="creative-commons" value="S" id="creative-commons" /> + <input type="checkbox" name="creative-commons" value="S" id="creative-commons" tabindex="14"/> <?php _e("Creative Commons", "mc"); ?> </label> <label id="infield-creative-commons-website" for="creative-commons-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label> - <input type="text" name="creative-commons-website" value="" id="creative-commons-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> + <input type="text" name="creative-commons-website" value="" id="creative-commons-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;" tabindex="15"> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="other-license" value="S" id="other-license" /> + <input type="checkbox" name="other-license" value="S" id="other-license" tabindex="16"/> <?php _e("Other license", "mc"); ?> </label> <label id="infield-other-license-website" for="other-license-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label> - <input type="text" name="other-license-website" value="" id="other-license-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> + <input type="text" name="other-license-website" value="" id="other-license-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;" tabindex="17"> <label class="optional-labels-fields"> <?php _e("We share:", "mc"); ?> </label> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="organization-structure" value="S" id="organization-structure" /> + <input type="checkbox" name="organization-structure" value="S" id="organization-structure" tabindex="18"/> <?php _e("Organization structure", "mc"); ?> </label> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="projects-and-results" value="S" id="projects-and-results" /> + <input type="checkbox" name="projects-and-results" value="S" id="projects-and-results" tabindex="19"/> <?php _e("Projects and results", "mc"); ?> </label> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="methods-procedures" value="S" id="methods-procedures" /> + <input type="checkbox" name="methods-procedures" value="S" id="methods-procedures" tabindex="20"/> <?php _e("Methods / Procedures", "mc"); ?> </label> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="documentation" value="S" id="documentation" /> + <input type="checkbox" name="documentation" value="S" id="documentation" tabindex="21" onblur="$j('#terms-of-use').focus();"/> <?php _e("Documentation", "mc"); ?> </label> </div> @@ -248,23 +248,23 @@ <div class="blockMe4" style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 45px;border: 1px solid #B7C4C8;"> <label id="mc-optional-grassroots" style="color: #444;background-color: #F9F9F9;"><?php _e("Optional", "mc"); ?></label> <label class="optional-labels-fields"> - <input type="checkbox" name="decisions-general-assemblies" value="S" id="decisions-general-assemblies"/> + <input type="checkbox" name="decisions-general-assemblies" value="S" id="decisions-general-assemblies" tabindex="22"/> <?php _e("We take decisions mainly through general assemblies", "mc"); ?> </label> <label class="optional-labels-fields"> - <input type="checkbox" name="decisions-voting" value="S" id="decisions-voting" /> + <input type="checkbox" name="decisions-voting" value="S" id="decisions-voting" tabindex="23"/> <?php _e("We take decisions through majority voting", "mc"); ?> </label> <label class="optional-labels-fields"> - <input type="checkbox" name="decisions-consensus" value="S" id="decisions-consensus" /> + <input type="checkbox" name="decisions-consensus" value="S" id="decisions-consensus" tabindex="24"/> <?php _e("We take decisions through consensus, instead of majority", "mc"); ?> </label> <label class="optional-labels-fields"> - <input type="checkbox" name="representatives-democratically" value="S" id="representatives-democratically" /> + <input type="checkbox" name="representatives-democratically" value="S" id="representatives-democratically" tabindex="25"/> <?php _e("We have representatives chosen democratically", "mc"); ?> </label> <label class="optional-labels-fields"> - <input type="checkbox" name="meetings-transparent" value="S" id="meetings-transparent" /> + <input type="checkbox" name="meetings-transparent" value="S" id="meetings-transparent" tabindex="26" onblur="$j('#decisions-general-assemblies').focus();"/> <?php _e("We have a board whose meetings are transparent", "mc"); ?> </label> </div>