Permalink
Browse files

CRLF conversions

  • Loading branch information...
1 parent c738245 commit 5bb2441f04c0d5bf5cd2824f3778cfca1ec1b6ee @jzaefferer jzaefferer committed May 5, 2010
Showing with 18,098 additions and 18,098 deletions.
  1. +259 −259 additional-methods.js
  2. +242 −242 changelog.txt
  3. +27 −27 demo/captcha/captcha.js
  4. +5 −5 demo/captcha/image_req.php
  5. +65 −65 demo/captcha/index.php
  6. +11 −11 demo/captcha/newsession.php
  7. +13 −13 demo/captcha/process.php
  8. +10 −10 demo/captcha/rand.php
  9. +10 −10 demo/captcha/style.css
  10. +40 −40 demo/css/cmxform.css
  11. +54 −54 demo/css/cmxformTemplate.css
  12. +13 −13 demo/css/core.css
  13. +60 −60 demo/css/reset.css
  14. +10 −10 demo/css/screen.css
  15. +91 −91 demo/custom-messages-metadata-demo.html
  16. +2 −2 demo/custom-methods-demo.html
  17. +55 −55 demo/dynamic-totals.html
  18. +7 −7 demo/index.html
  19. +1 −1 demo/js/chili-1.7.pack.js
  20. +9 −9 demo/marketo/emails.php
  21. +9 −9 demo/marketo/emails.phps
  22. +34 −34 demo/marketo/ie6.css
  23. +247 −247 demo/marketo/index.html
  24. +266 −266 demo/marketo/jquery.maskedinput.js
  25. +124 −124 demo/marketo/mktSignup.js
  26. +290 −290 demo/marketo/step2.htm
  27. +9 −9 demo/milk/emails.php
  28. +9 −9 demo/milk/emails.phps
  29. +4 −4 demo/milk/milk.css
  30. +11 −11 demo/milk/users.php
  31. +9 −9 demo/milk/users.phps
  32. +15 −15 demo/multipart/index.html
  33. +245 −245 demo/multipart/js/jquery.maskedinput-1.0.js
  34. +1 −1 demo/multipart/style.css
  35. +75 −75 demo/tinymce/index.html
  36. +10 −10 demo/tinymce/themes/simple/langs/en.js
  37. +32 −32 demo/tinymce/themes/simple/skins/default/ui.css
  38. +6,240 −6,240 lib/jquery-1.4.2.js
  39. +660 −660 lib/jquery.form.js
  40. +4,375 −4,375 lib/jquery.js
  41. +121 −121 lib/jquery.metadata.js
  42. +22 −22 localization/messages_bg.js
  43. +22 −22 localization/messages_cn.js
  44. +23 −23 localization/messages_cs.js
  45. +20 −20 localization/messages_da.js
  46. +19 −19 localization/messages_de.js
  47. +22 −22 localization/messages_es.js
  48. +22 −22 localization/messages_fr.js
  49. +20 −20 localization/messages_hu.js
  50. +22 −22 localization/messages_kk.js
  51. +22 −22 localization/messages_nl.js
  52. +22 −22 localization/messages_no.js
  53. +22 −22 localization/messages_pl.js
  54. +23 −23 localization/messages_ptbr.js
  55. +23 −23 localization/messages_ptpt.js
  56. +22 −22 localization/messages_ro.js
  57. +22 −22 localization/messages_ru.js
  58. +22 −22 localization/messages_tr.js
  59. +22 −22 localization/messages_tw.js
  60. +23 −23 localization/messages_ua.js
  61. +11 −11 localization/methods_de.js
  62. +8 −8 localization/methods_nl.js
  63. +8 −8 localization/methods_pt.js
  64. +23 −23 test/events.html
  65. +672 −672 test/firebug/firebug.js
  66. +9 −9 test/firebug/firebugx.js
  67. +23 −23 test/index-14.html
  68. +23 −23 test/index.html
  69. +22 −22 test/large.html
  70. +61 −61 test/messages.js
  71. +583 −583 test/methods.js
  72. +803 −803 test/qunit/testrunner.js
  73. +120 −120 test/qunit/testsuite.css
  74. +267 −267 test/rules.js
  75. +1,089 −1,089 test/test.js
  76. +10 −10 test/users.php
  77. +10 −10 test/users2.php
  78. +171 −171 todo
View
Oops, something went wrong.
View
Oops, something went wrong.
@@ -1,27 +1,27 @@
-$(function(){
- $("#refreshimg").click(function(){
- $.post('newsession.php');
- $("#captchaimage").load('image_req.php');
- return false;
- });
-
- $("#captchaform").validate({
- rules: {
- captcha: {
- required: true,
- remote: "process.php"
- }
- },
- messages: {
- captcha: "Correct captcha is required. Click the captcha to generate a new one"
- },
- submitHandler: function() {
- alert("Correct captcha!");
- },
- success: function(label) {
- label.addClass("valid").text("Valid captcha!")
- },
- onkeyup: false
- });
-
-});
+$(function(){
+ $("#refreshimg").click(function(){
+ $.post('newsession.php');
+ $("#captchaimage").load('image_req.php');
+ return false;
+ });
+
+ $("#captchaform").validate({
+ rules: {
+ captcha: {
+ required: true,
+ remote: "process.php"
+ }
+ },
+ messages: {
+ captcha: "Correct captcha is required. Click the captcha to generate a new one"
+ },
+ submitHandler: function() {
+ alert("Correct captcha!");
+ },
+ success: function(label) {
+ label.addClass("valid").text("Valid captcha!")
+ },
+ onkeyup: false
+ });
+
+});
@@ -1,6 +1,6 @@
-<?php
-
-// Echo the image - timestamp appended to prevent caching
-echo '<a href="index.php" onclick="refreshimg(); return false;" title="Click to refresh image"><img src="images/image.jpg?' . time() . '" width="132" height="46" alt="Captcha image" /></a>';
-
+<?php
+
+// Echo the image - timestamp appended to prevent caching
+echo '<a href="index.php" onclick="refreshimg(); return false;" title="Click to refresh image"><img src="images/image.jpg?' . time() . '" width="132" height="46" alt="Captcha image" /></a>';
+
?>
View
@@ -1,66 +1,66 @@
-<?php
-
-// Make the page validate
-ini_set('session.use_trans_sid', '0');
-
-// Include the random string file
-require 'rand.php';
-
-// Begin the session
-session_start();
-
-// Set the session contents
-$_SESSION['captcha_id'] = $str;
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <title>AJAX CAPTCHA</title>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <meta name="keywords" content="AJAX,JHR,PHP,CAPTCHA,download,PHP CAPTCHA,AJAX CAPTCHA,AJAX PHP CAPTCHA,download AJAX CAPTCHA,download AJAX PHP CAPTCHA" />
- <meta name="description" content="An AJAX CAPTCHA script, written in PHP" />
-
- <script type="text/javascript" src="../../lib/jquery.js"></script>
- <script type="text/javascript" src="../../jquery.validate.js"></script>
- <script type="text/javascript" src="captcha.js"></script>
-
- <link rel="stylesheet" type="text/css" href="style.css" />
- <style type="text/css">
- img { border: 1px solid #eee; }
- p#statusgreen { font-size: 1.2em; background-color: #fff; color: #0a0; }
- p#statusred { font-size: 1.2em; background-color: #fff; color: #a00; }
- fieldset label { display: block; }
- fieldset div#captchaimage { float: left; margin-right: 15px; }
- fieldset input#captcha { width: 25%; border: 1px solid #ddd; padding: 2px; }
- fieldset input#submit { display: block; margin: 2% 0% 0% 0%; }
- #captcha.success {
- border: 1px solid #49c24f;
- background: #bcffbf;
- }
- #captcha.error {
- border: 1px solid #c24949;
- background: #ffbcbc;
- }
- </style>
-</head>
-
-<body>
-
-<h1><acronym title="Asynchronous JavaScript And XML">AJAX</acronym> <acronym title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</acronym>, based on <a href="http://psyrens.com/captcha/">http://psyrens.com/captcha/</a></h1>
-
-<form id="captchaform" action="">
-<fieldset>
- <div id="captchaimage"><a href="<?php echo $_SERVER['PHP_SELF']; ?>" id="refreshimg" title="Click to refresh image"><img src="images/image.php?<?php echo time(); ?>" width="132" height="46" alt="Captcha image" /></a></div>
- <label for="captcha">Enter the characters as seen on the image above (case insensitive):</label>
- <input type="text" maxlength="6" name="captcha" id="captcha" />
- <input type="submit" name="submit" id="submit" value="Check" />
-</fieldset>
-</form>
-
-<p>If you can&#39;t decipher the text on the image, click it to dynamically generate a new one.</p>
-
-</body>
-
+<?php
+
+// Make the page validate
+ini_set('session.use_trans_sid', '0');
+
+// Include the random string file
+require 'rand.php';
+
+// Begin the session
+session_start();
+
+// Set the session contents
+$_SESSION['captcha_id'] = $str;
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+ <title>AJAX CAPTCHA</title>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <meta name="keywords" content="AJAX,JHR,PHP,CAPTCHA,download,PHP CAPTCHA,AJAX CAPTCHA,AJAX PHP CAPTCHA,download AJAX CAPTCHA,download AJAX PHP CAPTCHA" />
+ <meta name="description" content="An AJAX CAPTCHA script, written in PHP" />
+
+ <script type="text/javascript" src="../../lib/jquery.js"></script>
+ <script type="text/javascript" src="../../jquery.validate.js"></script>
+ <script type="text/javascript" src="captcha.js"></script>
+
+ <link rel="stylesheet" type="text/css" href="style.css" />
+ <style type="text/css">
+ img { border: 1px solid #eee; }
+ p#statusgreen { font-size: 1.2em; background-color: #fff; color: #0a0; }
+ p#statusred { font-size: 1.2em; background-color: #fff; color: #a00; }
+ fieldset label { display: block; }
+ fieldset div#captchaimage { float: left; margin-right: 15px; }
+ fieldset input#captcha { width: 25%; border: 1px solid #ddd; padding: 2px; }
+ fieldset input#submit { display: block; margin: 2% 0% 0% 0%; }
+ #captcha.success {
+ border: 1px solid #49c24f;
+ background: #bcffbf;
+ }
+ #captcha.error {
+ border: 1px solid #c24949;
+ background: #ffbcbc;
+ }
+ </style>
+</head>
+
+<body>
+
+<h1><acronym title="Asynchronous JavaScript And XML">AJAX</acronym> <acronym title="Completely Automated Public Turing test to tell Computers and Humans Apart">CAPTCHA</acronym>, based on <a href="http://psyrens.com/captcha/">http://psyrens.com/captcha/</a></h1>
+
+<form id="captchaform" action="">
+<fieldset>
+ <div id="captchaimage"><a href="<?php echo $_SERVER['PHP_SELF']; ?>" id="refreshimg" title="Click to refresh image"><img src="images/image.php?<?php echo time(); ?>" width="132" height="46" alt="Captcha image" /></a></div>
+ <label for="captcha">Enter the characters as seen on the image above (case insensitive):</label>
+ <input type="text" maxlength="6" name="captcha" id="captcha" />
+ <input type="submit" name="submit" id="submit" value="Check" />
+</fieldset>
+</form>
+
+<p>If you can&#39;t decipher the text on the image, click it to dynamically generate a new one.</p>
+
+</body>
+
</html>
@@ -1,12 +1,12 @@
-<?php
-
-// Include the random string file
-require 'rand.php';
-
-// Begin a new session
-session_start();
-
-// Set the session contents
-$_SESSION['captcha_id'] = $str;
-
+<?php
+
+// Include the random string file
+require 'rand.php';
+
+// Begin a new session
+session_start();
+
+// Set the session contents
+$_SESSION['captcha_id'] = $str;
+
?>
@@ -1,14 +1,14 @@
-<?php
-
-// Begin the session
-session_start();
-
-// To avoid case conflicts, make the input uppercase and check against the session value
-// If it's correct, echo '1' as a string
-if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id'])
- echo 'true';
-// Else echo '0' as a string
-else
- echo 'false';
-
+<?php
+
+// Begin the session
+session_start();
+
+// To avoid case conflicts, make the input uppercase and check against the session value
+// If it's correct, echo '1' as a string
+if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id'])
+ echo 'true';
+// Else echo '0' as a string
+else
+ echo 'false';
+
?>
View
@@ -1,11 +1,11 @@
-<?php
-
-// Create a random string, leaving out 'o' to avoid confusion with '0'
-$char = strtoupper(substr(str_shuffle('abcdefghjkmnpqrstuvwxyz'), 0, 4));
-
-// Concatenate the random string onto the random numbers
-// The font 'Anorexia' doesn't have a character for '8', so the numbers will only go up to 7
-// '0' is left out to avoid confusion with 'O'
-$str = rand(1, 7) . rand(1, 7) . $char;
-
+<?php
+
+// Create a random string, leaving out 'o' to avoid confusion with '0'
+$char = strtoupper(substr(str_shuffle('abcdefghjkmnpqrstuvwxyz'), 0, 4));
+
+// Concatenate the random string onto the random numbers
+// The font 'Anorexia' doesn't have a character for '8', so the numbers will only go up to 7
+// '0' is left out to avoid confusion with 'O'
+$str = rand(1, 7) . rand(1, 7) . $char;
+
?>
@@ -113,14 +113,14 @@ p#statusred {
fieldset label {
display: block;
-}
-
-fieldset label.error {
- color: red;
-}
-
-fieldset label.valid {
- color: green;
+}
+
+fieldset label.error {
+ color: red;
+}
+
+fieldset label.valid {
+ color: green;
}
fieldset div#captchaimage {
@@ -132,8 +132,8 @@ fieldset input#captcha {
width: 25%;
border: 1px solid #ddd;
padding: 2px;
-}
-
+}
+
fieldset input#submit {
display: block;
margin: 2% 0% 0% 0%;
View
@@ -1,46 +1,46 @@
-/**********************************
-
-Name: cmxform Styles
-
-***********************************/
-form.cmxform {
- width: 370px;
- font-size: 1.0em;
- color: #333;
-}
-
-form.cmxform legend {
- padding-left: 0;
-}
-
-form.cmxform legend, form.cmxform label {
- color: #333;
-}
-
-form.cmxform fieldset {
- border: none;
- border-top: 1px solid #C9DCA6;
- background: url(../images/cmxform-fieldset.gif) left bottom repeat-x;
- background-color: #F8FDEF;
-}
-
-form.cmxform fieldset fieldset {
- background: none;
-}
-
-form.cmxform fieldset p, form.cmxform fieldset fieldset {
- padding: 5px 10px 7px;
- background: url(../images/cmxform-divider.gif) left bottom repeat-x;
-}
-
+/**********************************
+
+Name: cmxform Styles
+
+***********************************/
+form.cmxform {
+ width: 370px;
+ font-size: 1.0em;
+ color: #333;
+}
+
+form.cmxform legend {
+ padding-left: 0;
+}
+
+form.cmxform legend, form.cmxform label {
+ color: #333;
+}
+
+form.cmxform fieldset {
+ border: none;
+ border-top: 1px solid #C9DCA6;
+ background: url(../images/cmxform-fieldset.gif) left bottom repeat-x;
+ background-color: #F8FDEF;
+}
+
+form.cmxform fieldset fieldset {
+ background: none;
+}
+
+form.cmxform fieldset p, form.cmxform fieldset fieldset {
+ padding: 5px 10px 7px;
+ background: url(../images/cmxform-divider.gif) left bottom repeat-x;
+}
+
form.cmxform label.error, label.error {
- /* remove the next line when you have trouble in IE6 with labels in list */
- color: red;
- font-style: italic
+ /* remove the next line when you have trouble in IE6 with labels in list */
+ color: red;
+ font-style: italic
}
div.error { display: none; }
-input { border: 1px solid black; }
+input { border: 1px solid black; }
input.checkbox { border: none }
input:focus { border: 1px dotted black; }
-input.error { border: 1px dotted red; }
+input.error { border: 1px dotted red; }
form.cmxform .gray * { color: gray; }
Oops, something went wrong.

0 comments on commit 5bb2441

Please sign in to comment.