Author: mgallegos Date: 2012-05-11 00:54:21 +0200 (Fri, 11 May 2012) New Revision: 350 Modified: trunk/src/mc-dia-form2.js trunk/wp-theme/mc2-form.php Log: Modified: trunk/src/mc-dia-form2.js =================================================================== --- trunk/src/mc-dia-form2.js 2012-05-10 22:46:02 UTC (rev 349) +++ trunk/src/mc-dia-form2.js 2012-05-10 22:54:21 UTC (rev 350) @@ -14,8 +14,8 @@ } if(id=='rp'){ $("#terms-of-use").removeAttr("disabled"); - $("#terms-of-use-website").removeAttr("disabled"); - $("#creative-commons-website").removeAttr("disabled"); + $("#creative-commons").removeAttr("disabled"); + $("#other-license").removeAttr("disabled"); $("#organization-structure").removeAttr("disabled"); $("#projects-and-results").removeAttr("disabled"); $("#methods-procedures").removeAttr("disabled"); @@ -43,10 +43,10 @@ if(id=='rp'){ $("#terms-of-use").attr("disabled", "disabled"); $('#terms-of-use').attr('checked', false); - $("#terms-of-use-website").attr("disabled", "disabled"); - $('#terms-of-use-website').attr('checked', false); - $("#creative-commons-website").attr("disabled", "disabled"); - $('#creative-commons-website').attr('checked', false); + $("#creative-commons").attr("disabled", "disabled"); + $('#creative-commons').attr('checked', false); + $("#other-license").attr("disabled", "disabled"); + $('#other-license').attr('checked', false); $("#organization-structure").attr("disabled", "disabled"); $('#organization-structure').attr('checked', false); $("#projects-and-results").attr("disabled", "disabled"); Modified: trunk/wp-theme/mc2-form.php =================================================================== --- trunk/wp-theme/mc2-form.php 2012-05-10 22:46:02 UTC (rev 349) +++ trunk/wp-theme/mc2-form.php 2012-05-10 22:54:21 UTC (rev 350) @@ -150,7 +150,7 @@ <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" disabled="disabled"/> <?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> @@ -159,13 +159,13 @@ <?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" disabled="disabled"/> <?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;"> <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" disabled="disabled"/> <?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> @@ -174,19 +174,19 @@ <?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" disabled="disabled"/> <?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" disabled="disabled"/> <?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" disabled="disabled"/> <?php _e("Methods / Procedures", "mc"); ?> </label> <label class="optional-labels-fields" style="margin-left: 30px;"> - <input type="checkbox" name="documentation" value="S" id="documentation" onblur="$j('#terms-of-use').focus();"/> + <input type="checkbox" name="documentation" value="S" id="documentation" onblur="$j('#terms-of-use').focus();" disabled="disabled"/> <?php _e("Documentation", "mc"); ?> </label> </div>
participants (1)
-
Mario Gallegos