Diff for Metafox/libpub/RotateAntispam/RotateAntispam.php between version 1.3 and 1.4
| version 1.3, 2012/11/09 10:46:04 |
version 1.4, 2013/10/04 14:16:47 |
| Line 340 class RotateAntispam { |
|
| Line 340 class RotateAntispam { |
|
| <input type="hidden" name="'.$this->answer_name.'" id="ezin_antispam" value="'.$shift.'"> |
<input type="hidden" name="'.$this->answer_name.'" id="ezin_antispam" value="'.$shift.'"> |
| <script type="text/javascript"> |
<script type="text/javascript"> |
| var button_submit; |
var button_submit; |
| |
if (button_submit == null) { |
| |
console.error("Not exists submit button with name '.$this->submit_name.'"); |
| |
return false; |
| |
} |
| var IE; |
var IE; |
| function initRotateAntispam() { |
function initRotateAntispam() { |
| var button_submit = document.getElementsByName("'.$this->submit_name.'")[0]; |
var button_submit = document.getElementsByName("'.$this->submit_name.'")[0]; |
| Line 365 class RotateAntispam { |
|
| Line 369 class RotateAntispam { |
|
| } |
} |
| } |
} |
| } |
} |
| |
button_submit.disabled = ""; |
| document.getElementById("rotate_antispam_submit_button").setAttribute("name","'.$this->submit_name.'"); |
document.getElementById("rotate_antispam_submit_button").setAttribute("name","'.$this->submit_name.'"); |
| } |
} |
| window.onload = initRotateAntispam; |
window.onload = initRotateAntispam; |
Platon Group <platon@platon.org> http://platon.org/
|
|