Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SECURITY Removed various PHP files from sapphire/thirdparty to reduce…

… XSS attack surface (see r98027 and r98028)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@98029 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 67517144d684c59570ee2e730235575d6a6cb3ae 1 parent bbd9f2a
Ingo Schommer chillu authored
Showing with 0 additions and 44,908 deletions.
  1. +0 −86 thirdparty/jquery-validate/demo/ajaxSubmit-intergration-demo.html
  2. +0 −27 thirdparty/jquery-validate/demo/captcha/captcha.js
  3. BIN  thirdparty/jquery-validate/demo/captcha/fonts/Anorexia.ttf
  4. +0 −6 thirdparty/jquery-validate/demo/captcha/image_req.php
  5. +0 −1  thirdparty/jquery-validate/demo/captcha/images/.htaccess
  6. BIN  thirdparty/jquery-validate/demo/captcha/images/button.png
  7. BIN  thirdparty/jquery-validate/demo/captcha/images/button.psd
  8. +0 −35 thirdparty/jquery-validate/demo/captcha/images/image.php
  9. +0 −66 thirdparty/jquery-validate/demo/captcha/index.php
  10. +0 −12 thirdparty/jquery-validate/demo/captcha/newsession.php
  11. +0 −14 thirdparty/jquery-validate/demo/captcha/process.php
  12. +0 −11 thirdparty/jquery-validate/demo/captcha/rand.php
  13. +0 −140 thirdparty/jquery-validate/demo/captcha/style.css
  14. +0 −15 thirdparty/jquery-validate/demo/css/chili.css
  15. +0 −46 thirdparty/jquery-validate/demo/css/cmxform.css
  16. +0 −55 thirdparty/jquery-validate/demo/css/cmxformTemplate.css
  17. +0 −21 thirdparty/jquery-validate/demo/css/core.css
  18. +0 −61 thirdparty/jquery-validate/demo/css/reset.css
  19. +0 −11 thirdparty/jquery-validate/demo/css/screen.css
  20. +0 −95 thirdparty/jquery-validate/demo/custom-messages-metadata-demo.html
  21. +0 −123 thirdparty/jquery-validate/demo/custom-methods-demo.html
  22. +0 −151 thirdparty/jquery-validate/demo/dynamic-totals.html
  23. +0 −162 thirdparty/jquery-validate/demo/errorcontainer-demo.html
  24. +0 −55 thirdparty/jquery-validate/demo/example.html
  25. +0 −10 thirdparty/jquery-validate/demo/form.php
  26. +0 −10 thirdparty/jquery-validate/demo/form.phps
  27. BIN  thirdparty/jquery-validate/demo/images/bg.gif
  28. BIN  thirdparty/jquery-validate/demo/images/checked.gif
  29. BIN  thirdparty/jquery-validate/demo/images/cmxform-divider.gif
  30. BIN  thirdparty/jquery-validate/demo/images/cmxform-fieldset.gif
  31. BIN  thirdparty/jquery-validate/demo/images/loading.gif
  32. BIN  thirdparty/jquery-validate/demo/images/unchecked.gif
  33. +0 −235 thirdparty/jquery-validate/demo/index.html
  34. +0 −1  thirdparty/jquery-validate/demo/js/chili-1.7.pack.js
  35. +0 −24 thirdparty/jquery-validate/demo/js/cmxforms.js
  36. BIN  thirdparty/jquery-validate/demo/login/images/bg.gif
  37. BIN  thirdparty/jquery-validate/demo/login/images/header1.jpg
  38. BIN  thirdparty/jquery-validate/demo/login/images/page.gif
  39. BIN  thirdparty/jquery-validate/demo/login/images/required_star.gif
  40. +0 −76 thirdparty/jquery-validate/demo/login/index.html
  41. +0 −457 thirdparty/jquery-validate/demo/login/screen.css
  42. +0 −10 thirdparty/jquery-validate/demo/marketo/emails.php
  43. +0 −10 thirdparty/jquery-validate/demo/marketo/emails.phps
  44. +0 −35 thirdparty/jquery-validate/demo/marketo/ie6.css
  45. BIN  thirdparty/jquery-validate/demo/marketo/images/backRequiredGray.gif
  46. BIN  thirdparty/jquery-validate/demo/marketo/images/back_green-fade.gif
  47. BIN  thirdparty/jquery-validate/demo/marketo/images/back_nav_blue.gif
  48. BIN  thirdparty/jquery-validate/demo/marketo/images/blank.gif
  49. BIN  thirdparty/jquery-validate/demo/marketo/images/button-submit.gif
  50. BIN  thirdparty/jquery-validate/demo/marketo/images/favicon.ico
  51. BIN  thirdparty/jquery-validate/demo/marketo/images/help.png
  52. BIN  thirdparty/jquery-validate/demo/marketo/images/left-nav-callout-long.png
  53. BIN  thirdparty/jquery-validate/demo/marketo/images/login-sprite.gif
  54. BIN  thirdparty/jquery-validate/demo/marketo/images/logo_marketo.gif
  55. BIN  thirdparty/jquery-validate/demo/marketo/images/sf.png
  56. BIN  thirdparty/jquery-validate/demo/marketo/images/step1-24.gif
  57. BIN  thirdparty/jquery-validate/demo/marketo/images/step2-24.gif
  58. BIN  thirdparty/jquery-validate/demo/marketo/images/step3-24.gif
  59. BIN  thirdparty/jquery-validate/demo/marketo/images/tab-sprite.gif
  60. BIN  thirdparty/jquery-validate/demo/marketo/images/tab_green.gif
  61. BIN  thirdparty/jquery-validate/demo/marketo/images/time.png
  62. BIN  thirdparty/jquery-validate/demo/marketo/images/toggle.gif
  63. BIN  thirdparty/jquery-validate/demo/marketo/images/warning.gif
  64. +0 −247 thirdparty/jquery-validate/demo/marketo/index.html
  65. +0 −267 thirdparty/jquery-validate/demo/marketo/jquery.maskedinput.js
  66. +0 −125 thirdparty/jquery-validate/demo/marketo/mktSignup.js
  67. +0 −291 thirdparty/jquery-validate/demo/marketo/step2.htm
  68. +0 −1,179 thirdparty/jquery-validate/demo/marketo/stylesheet.css
  69. BIN  thirdparty/jquery-validate/demo/milk/bg.gif
  70. +0 −10 thirdparty/jquery-validate/demo/milk/emails.php
  71. +0 −10 thirdparty/jquery-validate/demo/milk/emails.phps
  72. +0 −235 thirdparty/jquery-validate/demo/milk/index.html
  73. BIN  thirdparty/jquery-validate/demo/milk/left_white.png
  74. +0 −236 thirdparty/jquery-validate/demo/milk/milk.css
  75. BIN  thirdparty/jquery-validate/demo/milk/milk.png
  76. BIN  thirdparty/jquery-validate/demo/milk/right_white.png
  77. +0 −12 thirdparty/jquery-validate/demo/milk/users.php
  78. +0 −10 thirdparty/jquery-validate/demo/milk/users.phps
  79. +0 −412 thirdparty/jquery-validate/demo/multipart/index.html
  80. +0 −246 thirdparty/jquery-validate/demo/multipart/js/jquery.maskedinput-1.0.js
  81. +0 −477 thirdparty/jquery-validate/demo/multipart/js/ui.accordion.js
  82. +0 −519 thirdparty/jquery-validate/demo/multipart/js/ui.core.js
  83. +0 −705 thirdparty/jquery-validate/demo/multipart/style.css
  84. +0 −160 thirdparty/jquery-validate/demo/radio-checkbox-select-demo.html
  85. +0 −157 thirdparty/jquery-validate/demo/tabs/index.html
  86. +0 −75 thirdparty/jquery-validate/demo/tinymce/index.html
  87. +0 −1  thirdparty/jquery-validate/demo/tinymce/themes/simple/editor_template.js
  88. BIN  thirdparty/jquery-validate/demo/tinymce/themes/simple/img/icons.gif
  89. +0 −11 thirdparty/jquery-validate/demo/tinymce/themes/simple/langs/en.js
  90. +0 −32 thirdparty/jquery-validate/demo/tinymce/themes/simple/skins/default/ui.css
  91. +0 −1  thirdparty/jquery-validate/demo/tinymce/tiny_mce.js
  92. +0 −71 thirdparty/jquery-validate/test/events.html
  93. BIN  thirdparty/jquery-validate/test/firebug/errorIcon.png
  94. +0 −209 thirdparty/jquery-validate/test/firebug/firebug.css
  95. +0 −23 thirdparty/jquery-validate/test/firebug/firebug.html
  96. +0 −672 thirdparty/jquery-validate/test/firebug/firebug.js
  97. +0 −10 thirdparty/jquery-validate/test/firebug/firebugx.js
  98. BIN  thirdparty/jquery-validate/test/firebug/infoIcon.png
  99. BIN  thirdparty/jquery-validate/test/firebug/warningIcon.png
  100. +0 −261 thirdparty/jquery-validate/test/index.html
  101. +0 −188 thirdparty/jquery-validate/test/large.html
  102. +0 −62 thirdparty/jquery-validate/test/messages.js
  103. +0 −553 thirdparty/jquery-validate/test/methods.js
  104. +0 −267 thirdparty/jquery-validate/test/rules.js
  105. +0 −444 thirdparty/jquery-validate/test/selects/index.html
  106. +0 −78 thirdparty/jquery-validate/test/tabs.html
  107. +0 −1,071 thirdparty/jquery-validate/test/test.js
  108. +0 −11 thirdparty/jquery-validate/test/users.php
  109. +0 −11 thirdparty/jquery-validate/test/users2.php
  110. +0 −30,217 thirdparty/jsmin/test/ext-all-debug.js
  111. +0 −3,271 thirdparty/jsmin/test/prototype.js
  112. +0 −10 thirdparty/jsmin/test/test.php
86 thirdparty/jquery-validate/demo/ajaxSubmit-intergration-demo.html
View
@@ -1,86 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>Test for jQuery validate() plugin</title>
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-<style type="text/css">
-.warning { color: red; }
-</style>
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../lib/jquery.form.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-
-<script src="js/cmxforms.js" type="text/javascript"></script>
-<script type="text/javascript">
- jQuery(function() {
- // show a simple loading indicator
- var loader = jQuery('<div id="loader"><img src="images/loading.gif" alt="loading..." /></div>')
- .css({position: "relative", top: "1em", left: "25em"})
- .appendTo("body")
- .hide();
- jQuery().ajaxStart(function() {
- loader.show();
- }).ajaxStop(function() {
- loader.hide();
- }).ajaxError(function(a, b, e) {
- throw e;
- });
-
- var v = jQuery("#form").validate({
- submitHandler: function(form) {
- jQuery(form).ajaxSubmit({
- target: "#result"
- });
- }
- });
-
- jQuery("#reset").click(function() {
- v.resetForm();
- });
- });
-</script>
-
-</head>
-<body>
-
-<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Demo</h1>
-<div id="main">
-
-<form method="post" class="cmxform" id="form" action="form.php">
- <fieldset>
- <legend>Login Form (Enter "foobar" as password)</legend>
- <p>
- <label for="user">Username</label>
- <input id="user" name="user" title="Please enter your username (at least 3 characters)" class="required" minlength="3" />
- </p>
- <p>
- <label for="pass">Password</label>
- <input type="password" name="password" id="password" class="required" minlength"5" />
- </p>
- <p>
- <input class="submit" type="submit" value="Login"/>
- </p>
- </fieldset>
-</form>
-
-<div id="result">Please login!</div>
-
-<br/>
-
-<button id="reset">Programmatically reset above form!</button>
-
-<p>Backend file: <a href="form.php">form.phps</a></p>
-
-<a href="index.html">Back to main page</a>
-
-</div>
-
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-2623402-1";
-urchinTracker();
-</script>
-</body>
-</html>
27 thirdparty/jquery-validate/demo/captcha/captcha.js
View
@@ -1,27 +0,0 @@
-$(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
- });
-
-});
BIN  thirdparty/jquery-validate/demo/captcha/fonts/Anorexia.ttf
View
Binary file not shown
6 thirdparty/jquery-validate/demo/captcha/image_req.php
View
@@ -1,6 +0,0 @@
-<?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>';
-
-?>
1  thirdparty/jquery-validate/demo/captcha/images/.htaccess
View
@@ -1 +0,0 @@
-AddType application/x-httpd-php .jpg
BIN  thirdparty/jquery-validate/demo/captcha/images/button.png
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/captcha/images/button.psd
View
Deleted file not rendered
35 thirdparty/jquery-validate/demo/captcha/images/image.php
View
@@ -1,35 +0,0 @@
-<?php
-
-// Begin the session
-session_start();
-
-// If the session is not present, set the variable to an error message
-if(!isset($_SESSION['captcha_id']))
- $str = 'ERROR!';
-// Else if it is present, set the variable to the session contents
-else
- $str = $_SESSION['captcha_id'];
-
-// Set the content type
-//header('Content-type: image/png');
-header('Cache-control: no-cache');
-
-// Create an image from button.png
-$image = imagecreatefrompng('button.png');
-
-// Set the font colour
-$colour = imagecolorallocate($image, 183, 178, 152);
-
-// Set the font
-$font = '../fonts/Anorexia.ttf';
-
-// Set a random integer for the rotation between -15 and 15 degrees
-$rotate = rand(-15, 15);
-
-// Create an image using our original image and adding the detail
-imagettftext($image, 14, $rotate, 18, 30, $colour, $font, $str);
-
-// Output the image as a png
-imagepng($image);
-
-?>
66 thirdparty/jquery-validate/demo/captcha/index.php
View
@@ -1,66 +0,0 @@
-<?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>
12 thirdparty/jquery-validate/demo/captcha/newsession.php
View
@@ -1,12 +0,0 @@
-<?php
-
-// Include the random string file
-require 'rand.php';
-
-// Begin a new session
-session_start();
-
-// Set the session contents
-$_SESSION['captcha_id'] = $str;
-
-?>
14 thirdparty/jquery-validate/demo/captcha/process.php
View
@@ -1,14 +0,0 @@
-<?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';
-
-?>
11 thirdparty/jquery-validate/demo/captcha/rand.php
View
@@ -1,11 +0,0 @@
-<?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;
-
-?>
140 thirdparty/jquery-validate/demo/captcha/style.css
View
@@ -1,140 +0,0 @@
-body {
- margin: 3% 5%;
- padding: 0;
- background-color: #fff;
- color: #333;
- font: 0.9em/1.3 Helvetica, Arial, Verdana, Sans-serif;
-}
-
-a:link, a:visited {
- background-color: #fff;
- color: #333;
- text-decoration: underline;
-}
-
-a:hover, a:focus, a:active {
- background-color: #ffb;
- color: #454545;
- text-decoration: underline;
-}
-
-h1 {
- margin: 2% 0%;
- padding: 1%;
- border-bottom: 1px solid #ddd;
- background-color: #f8f8f8;
- color: #666;
- font: normal 1.5em Helvetica, Arial, Verdana, Sans-serif;
-}
-
-h2 {
- margin: 2% 0%;
- padding: 1%;
- border-bottom: 1px solid #ddd;
- background-color: #f8f8f8;
- color: #666;
- font: normal 1.3em Helvetica, Arial, Verdana, Sans-serif;
-}
-
-h3 {
- margin: 2% 0%;
- padding: 1%;
- border-bottom: 1px solid #ddd;
- background-color: #f8f8f8;
- color: #666;
- font: normal 1.2em Helvetica, Arial, Verdana, Sans-serif;
-}
-
-table {
- margin: 0;
- padding: 0;
- width: 100%;
-}
-
-table th {
- border: 1px solid #ddd;
- font-weight: bold;
- text-align: left;
- padding: 1%;
-}
-
-table td {
- border: 1px solid #ddd;
- padding: 1%;
-}
-
-dl, dt, dd {
- margin: 0;
- padding: 0;
-}
-
-form {
- margin: 0;
- padding: 0;
-}
-
-fieldset {
- border: 1px solid #ddd;
- margin: 0% 0% 2% 0%;
- padding: 2%;
-}
-
-fieldset legend {
- margin: 0;
- padding: 0 4px;
- background-color: inherit;
- color: #333;
-}
-
-code {
- font: 1em "Courier New", Courier, Monospace;
-}
-
-pre code {
- font: 1.1em "Courier New", Courier, Monospace;
- border-bottom: 1px solid #eee;
-}
-
-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 label.error {
- color: red;
-}
-
-fieldset label.valid {
- color: green;
-}
-
-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%;
-}
15 thirdparty/jquery-validate/demo/css/chili.css
View
@@ -1,15 +0,0 @@
-.jscom, .mix htcom { color: #4040c2; }
-.com { color: green; }
-.regexp { color: maroon; }
-.string { color: teal; }
-.keywords { color: blue; }
-.global { color: #008; }
-.numbers { color: #880; }
-.comm { color: green; }
-.tag { color: blue; }
-.entity { color: blue; }
-.string { color: teal; }
-.aname { color: maroon; }
-.avalue { color: maroon; }
-.jquery { color: #00a; }
-.plugin { color: red; }
46 thirdparty/jquery-validate/demo/css/cmxform.css
View
@@ -1,46 +0,0 @@
-/**********************************
-
-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
-}
-div.error { display: none; }
-input { border: 1px solid black; }
-input.checkbox { border: none }
-input:focus { border: 1px dotted black; }
-input.error { border: 1px dotted red; }
-form.cmxform .gray * { color: gray; }
55 thirdparty/jquery-validate/demo/css/cmxformTemplate.css
View
@@ -1,55 +0,0 @@
-/**********************************
-
-Use: cmxform template
-
-***********************************/
-form.cmxform fieldset {
- margin-bottom: 10px;
-}
-
-form.cmxform legend {
- padding: 0 2px;
- font-weight: bold;
- _margin: 0 -7px; /* IE Win */
-}
-
-form.cmxform label {
- display: inline-block;
- line-height: 1.8;
- vertical-align: top;
- cursor: hand;
-}
-
-form.cmxform fieldset p {
- list-style: none;
- padding: 5px;
- margin: 0;
-}
-
-form.cmxform fieldset fieldset {
- border: none;
- margin: 3px 0 0;
-}
-
-form.cmxform fieldset fieldset legend {
- padding: 0 0 5px;
- font-weight: normal;
-}
-
-form.cmxform fieldset fieldset label {
- display: block;
- width: auto;
-}
-
-form.cmxform label { width: 100px; } /* Width of labels */
-form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */
-form.cmxform label.error {
- margin-left: 103px;
- width: 220px;
-}
-
-form.cmxform input.submit {
- margin-left: 103px;
-}
-
-/*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */
21 thirdparty/jquery-validate/demo/css/core.css
View
@@ -1,21 +0,0 @@
-body, div { font-family: 'lucida grande', helvetica, verdana, arial, sans-serif }
-body { margin: 0; padding: 0; font-size: small; color: #333 }
-h1, h2 { font-family: 'trebuchet ms', verdana, arial; padding: 10px; margin: 0 }
-h1 { font-size: large }
-#main { padding: 1em; }
-#banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc;
- background: url(../images/bg.gif) repeat-x; text-align: center }
-#banner a { color: white; }
-
-p { margin: 10px 0; }
-
-li { margin-left: 10px; }
-
-h3 { margin: 1em 0 0; }
-
-h1 { font-size: 2em; }
-h2 { font-size: 1.8em; }
-h3 { font-size: 1.6em; }
-h4 { font-size: 1.4em; }
-h5 { font-size: 1.2em; }
-
61 thirdparty/jquery-validate/demo/css/reset.css
View
@@ -1,61 +0,0 @@
-/**********************************
-
-Use: Reset Styles for all browsers
-
-***********************************/
-
-body, p, blockquote {
- margin: 0;
- padding: 0;
-}
-
-a img, iframe { border: none; }
-
-/* Headers
-------------------------------*/
-
-h1, h2, h3, h4, h5, h6 {
- margin: 0;
- padding: 0;
- font-size: 100%;
-}
-
-/* Lists
-------------------------------*/
-
-ul, ol, dl, li, dt, dd {
- margin: 0;
- padding: 0;
-}
-
-/* Links
-------------------------------*/
-
-a, a:link {}
-a:visited {}
-a:hover {}
-a:active {}
-
-/* Forms
-------------------------------*/
-
-form, fieldset {
- margin: 0;
- padding: 0;
-}
-
-fieldset { border: 1px solid #000; }
-
-legend {
- padding: 0;
- color: #000;
-}
-
-input, textarea, select {
- margin: 0;
- padding: 1px;
- font-size: 100%;
- font-family: inherit;
-}
-
-select { padding: 0; }
11 thirdparty/jquery-validate/demo/css/screen.css
View
@@ -1,11 +0,0 @@
-/**********************************
-
-Use: Main Screen Import
-
-***********************************/
-
-@import "reset.css";
-@import "core.css";
-
-@import "cmxformTemplate.css";
-@import "cmxform.css";
95 thirdparty/jquery-validate/demo/custom-messages-metadata-demo.html
View
@@ -1,95 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>jQuery validation plug-in - comment form example</title>
-
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-<script src="../lib/jquery.metadata.js" type="text/javascript"></script>
-
-<!-- for styling the form -->
-<script src="js/cmxforms.js" type="text/javascript"></script>
-
-<script type="text/javascript">
-$(document).ready(function() {
- $("#commentForm").validate({meta: "validate"});
- $("#commentForm2").validate();
- $("#commentForm3").validate({
- messages: {
- email: {
- required: 'Enter this!'
- }
- }
- });
-
-});
-</script>
-
-<style type="text/css">
-form { width: 500px; }
-form label { width: 250px; }
-form label.error,
-form input.submit { margin-left: 253px; }
-</style>
-
-</head>
-<body>
-
-<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Demo</h1>
-<div id="main">
-
-<p>Take a look at the source to see how messages can be customized with metadata.</p>
-
-<!-- Custom messages with custom "meta" setting -->
-<form class="cmxform" id="commentForm" method="post" action="">
- <fieldset>
- <legend>Please enter your email address</legend>
- <p>
-
- <label for="cemail">E-Mail *</label>
- <input id="cemail" name="email" class="{validate:{required:true, email:true, messages:{required:'Please enter your email address', email:'Please enter a valid email address'}}}"/>
- </p>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- </p>
- </fieldset>
-</form>
-<!-- Custom messages with default "meta" setting -->
-<form class="cmxform" id="commentForm2" method="post" action="">
- <fieldset>
- <legend>Please enter your email address</legend>
- <p>
-
- <label for="cemail">E-Mail *</label>
- <input id="cemail" name="email" class="{required:true, email:true, messages:{required:'Please enter your email address', email:'Please enter a valid email address'}}"/>
- </p>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- </p>
- </fieldset>
-</form>
-<!-- Custom message for "required" in metadata is overriden by a validate option -->
-<form class="cmxform" id="commentForm3" method="post" action="">
- <fieldset>
- <legend>Please enter your email address</legend>
- <p>
-
- <label for="cemail">E-Mail *</label>
- <input id="cemail" name="email" class="{required:true, email:true, messages:{email:'Please enter a valid email address'}}"/>
- </p>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- </p>
- </fieldset>
-</form>
-
-<a href="index.html">Back to main page</a>
-
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
-<script type="text/javascript">_uacct = "UA-2623402-1";urchinTracker();</script>
-
-</body>
-</html>
123 thirdparty/jquery-validate/demo/custom-methods-demo.html
View
@@ -1,123 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>Test for jQuery validate() plugin</title>
-
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-
-<script src="js/cmxforms.js" type="text/javascript"></script>
-<script type="text/javascript">
- // extend the current rules with new groovy ones
-
- // this one requires the text "buga", we define a default message, too
- $.validator.addMethod("buga", function(value) {
- return value == "buga";
- }, 'Please enter "buga"!');
-
- // this one requires the value to be the same as the first parameter
- $.validator.methods.equal = function(value, element, param) {
- return value == param;
- };
-
- $().ready(function() {
- var validator = $("#texttests").bind("invalid-form.validate", function() {
- $("#summary").html("Your form contains " + validator.numberOfInvalids() + " errors, see details below.");
- }).validate({
- debug: true,
- errorElement: "em",
- errorContainer: $("#warning, #summary"),
- errorPlacement: function(error, element) {
- error.appendTo( element.parent("td").next("td") );
- },
- success: function(label) {
- label.text("ok!").addClass("success");
- },
- rules: {
- number: {
- required:true,
- minLength:3,
- maxLength:15,
- number:true
- },
- secret: "buga",
- math: {
- equal: 11
- }
- }
- });
-
- });
-</script>
-
-<style type="text/css">
-form.cmxform { width: 50em; }
-em.error {
- background:url("images/unchecked.gif") no-repeat 0px 0px;
- padding-left: 16px;
-}
-em.success {
- background:url("images/checked.gif") no-repeat 0px 0px;
- padding-left: 16px;
-}
-
-form.cmxform label.error {
- margin-left: auto;
- width: 250px;
-}
-em.error { color: black; }
-#warning { display: none; }
-</style>
-
-</head>
-<body>
-
-<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Demo</h1>
-<div id="main">
-
-<form class="cmxform" id="texttests" method="get" action="foo.html">
- <h2 id="summary"></h2>
-
- <fieldset>
- <legend>Example with custom methods and heavily customized error display</legend>
- <table>
- <tr>
- <td><label for="number">textarea</label></td>
- <td><input id="number" name="number"
- title="Please enter a number with at least 3 and max 15 characters!" />
- </td>
- <td></td>
- </tr>
- <tr>
- <td><label for="secret">Secret</label></td>
- <td><input name="secret" id="secret" /></td>
- <td></td>
- </tr>
- <tr>
- <td><label for="math">7 + 4 = </label></td>
- <td><input id="math" name="math" title="Please enter the correct result!" /></td>
- <td></td>
- </tr>
- </table>
- <input class="submit" type="submit" value="Submit"/>
- </fieldset>
-</form>
-
-<h3 id="warning">Your form contains tons of errors! Please try again.</h3>
-
-<p><a href="index.html">Back to main page</a></p>
-
-</div>
-
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-2623402-1";
-urchinTracker();
-</script>
-</body>
-</html>
151 thirdparty/jquery-validate/demo/dynamic-totals.html
View
@@ -1,151 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>jQuery validation plug-in - dynamic forms demo</title>
-
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-
-<script type="text/javascript">
-// only for demo purposes
-$.validator.setDefaults({
- submitHandler: function() {
- alert("submitted!");
- }
-});
-$.validator.messages.max = jQuery.format("Your totals musn't exceed {0}!");
-
-$.validator.addMethod("quantity", function(value, element) {
- return !this.optional(element) && !this.optional($(element).parent().prev().children("select")[0]);
-}, "Please select both the item and its amount.");
-
-$().ready(function() {
- $("#orderform").validate({
- errorPlacement: function(error, element) {
- error.appendTo( element.parent().next() );
- },
- highlight: function(element, errorClass) {
- $(element).addClass(errorClass).parent().prev().children("select").addClass(errorClass);
- }
- });
-
- var template = jQuery.format($("#template").val());
- function addRow() {
- $(template(i++)).appendTo("#orderitems tbody");
- }
-
- var i = 1;
- // start with one row
- addRow();
- // add more rows on click
- $("#add").click(addRow);
-
- // check keyup on quantity inputs to update totals field
- $("#orderform").delegate("keyup", "input.quantity", function(event) {
- var totals = 0;
- $("#orderitems input.quantity").each(function() {
- totals += +this.value;
- });
- $("#totals").attr("value", totals).valid();
- });
-
-});
-</script>
-
-<style type="text/css">
-form.cmxform { width: 50em; }
-em.error {
- background:url("images/unchecked.gif") no-repeat 0px 0px;
- padding-left: 16px;
-}
-em.success {
- background:url("images/checked.gif") no-repeat 0px 0px;
- padding-left: 16px;
-}
-
-form.cmxform label.error {
- margin-left: auto;
- width: 250px;
-}
-form.cmxform input.submit {
- margin-left: 0;
-}
-em.error { color: black; }
-#warning { display: none; }
-select.error {
- border: 1px dotted red;
-}
-</style>
-
-</head>
-<body>
-
-<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Demo</h1>
-<div id="main">
-
-<textarea style="display:none" id="template">
- <tr>
- <td>
- <label>{0}. Item</label>
- </td>
- <td class='type'>
- <select name="item-type-{0}">
- <option value="">Select...</option>
- <option value="0">Learning jQuery</option>
- <option value="1">jQuery Reference Guide</option>
- <option value="2">jQuery Cookbook</option>
- <option vlaue="3">jQuery In Action</option>
- <option value="4">jQuery For Designers</option>
- </select>
- </td>
- <td class='quantity'>
- <input size='4' class="quantity" min="1" id="item-quantity-{0}" name="item-quantity-{0}" />
- </td>
- <td class='quantity-error'></td>
- </tr>
-</textarea>
-
-<form id="orderform" class="cmxform" method="get" action="foo.html">
- <h2 id="summary"></h2>
-
- <fieldset>
- <legend>Example with custom methods and heavily customized error display</legend>
- <table id="orderitems">
- <tbody>
-
- </tbody>
- <tfoot>
- <tr>
- <td colspan="2"><label>Totals (max 25)</label></td>
- <td class="totals"><input id="totals" name="totals" value="0" max="25" readonly="readonly" size='4' /></td>
- <td class="totals-error"></td>
- </tr>
- <tr>
- <td colspan="2">&nbsp;</td>
- <td><input class="submit" type="submit" value="Submit"/></td>
- </tr>
- </tfoot>
- </table>
- </fieldset>
-</form>
-
-<button id="add">Add another input to the form</button>
-
-<h1 id="warning">Your form contains tons of errors! Please try again.</h1>
-
-<p><a href="index.html">Back to main page</a></p>
-
-</div>
-
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-2623402-1";
-urchinTracker();
-</script>
-</body>
-</html>
162 thirdparty/jquery-validate/demo/errorcontainer-demo.html
View
@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>Test for jQuery validate() plugin</title>
-
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../lib/jquery.metadata.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-
-<script src="js/cmxforms.js" type="text/javascript"></script>
-<style type="text/css">
-.cmxform fieldset p.error label { color: red; }
-div.container {
- background-color: #eee;
- border: 1px solid red;
- margin: 5px;
- padding: 5px;
-}
-div.container ol li {
- list-style-type: disc;
- margin-left: 20px;
-}
-div.container { display: none }
-.container label.error {
- display: inline;
-}
-form.cmxform { width: 30em; }
-form.cmxform label.error {
- display: block;
- margin-left: 1em;
- width: auto;
-}
-</style>
-
-<script type="text/javascript">
-// only for demo purposes
-$.validator.setDefaults({
- submitHandler: function() {
- alert("submitted! (skipping validation for cancel button)");
- }
-});
-
-$().ready(function() {
- $("#form1").validate({
- errorLabelContainer: $("#form1 div.error")
- });
-
- var container = $('div.container');
- // validate the form when it is submitted
- var validator = $("#form2").validate({
- errorContainer: container,
- errorLabelContainer: $("ol", container),
- wrapper: 'li',
- meta: "validate"
- });
-
- $(".cancel").click(function() {
- validator.resetForm();
- });
-});
-</script>
-
-</head>
-<body>
-
-<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Demo</h1>
-<div id="main">
-
-<form method="get" class="cmxform" id="form1" action="">
- <fieldset>
- <legend>Login Form</legend>
- <p>
- <label>Username</label>
- <input name="user" title="Please enter your username (at least 3 characters)" class="{required:true,minlength:3}" />
- </p>
- <p>
- <label>Password</label>
- <input type="password" maxlength="12" name="password" title="Please enter your password, between 5 and 12 characters" class="{required:true,minlength:5}" />
- </p>
- <div class="error">
- </div>
- <p>
- <input class="submit" type="submit" value="Login"/>
- </p>
- </fieldset>
-</form>
-
-<!-- our error container -->
-<div class="container">
- <h4>There are serious errors in your form submission, please see below for details.</h4>
- <ol>
- <li><label for="email" class="error">Please enter your email address</label></li>
- <li><label for="phone" class="error">Please enter your phone <b>number</b> (between 2 and 8 characters)</label></li>
- <li><label for="address" class="error">Please enter your address (at least 3 characters)</label></li>
- <li><label for="avatar" class="error">Please select an image (png, jpg, jpeg, gif)</label></li>
- <li><label for="cv" class="error">Please select a document (doc, docx, txt, pdf)</label></li>
- </ol>
-</div>
-
-<form class="cmxform" id="form2" method="get" action="">
- <fieldset>
- <legend>Validating a complete form</legend>
- <p>
- <label for="email">Email</label>
- <input id="email" name="email" class="{validate:{required:true,email:true}}" />
- </p>
- <p>
- <label for="agree">Favorite Color</label>
- <select id="color" name="color" title="Please select your favorite color!" class="{validate:{required:true}}">
- <option></option>
- <option>Red</option>
- <option>Blue</option>
- <option>Yellow</option>
- </select>
- </p>
- <p>
- <label for="phone">Phone</label>
- <input id="phone" name="phone" class="some styles {validate:{required:true,number:true, rangelength:[2,8]}}" />
- </p>
- <p>
- <label for="address">Address</label>
- <input id="address" name="address" class="some other styles {validate:{required:true,minlength:3}}" />
- </p>
- <p>
- <label for="avatar">Avatar</label>
- <input type="file" id="avatar" name="avatar" class="{validate:{required:true,accept:true}}" />
- </p>
- <p>
- <label for="agree">Please agree to our policy</label>
- <input type="checkbox" class="checkbox" id="agree" title="Please agree to our policy!" name="agree" class="{validate:{required:true}}" />
- </p>
- <p>
- <label for="cv">CV</label>
- <input type="file" id="cv" name="cv" class="{validate:{required:true,accept:'docx?|txt|pdf'}}" />
- </p>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- <input class="cancel" type="submit" value="Cancel"/>
- </p>
- </fieldset>
-</form>
-
-<div class="container">
- <h4>There are serious errors in your form submission, please see details above the form!</h4>
-</div>
-
-<a href="index.html">Back to main page</a>
-
-</div>
-
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-2623402-1";
-urchinTracker();
-</script>
-</body>
-</html>
55 thirdparty/jquery-validate/demo/example.html
View
@@ -1,55 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>jQuery validation plug-in - comment form example</title>
-
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-
-<!-- for styling the form -->
-<script src="js/cmxforms.js" type="text/javascript"></script>
-
-<script type="text/javascript">
-$(document).ready(function() {
- $("#commentForm").validate();
-});
-</script>
-
-<style type="text/css">
-#commentForm { width: 500px; }
-#commentForm label { width: 250px; }
-#commentForm label.error, #commentForm input.submit { margin-left: 253px; }
-</style>
-
-</head>
-<body>
-
-<form class="cmxform" id="commentForm" method="post" action="">
- <fieldset>
- <legend>Please provide your name, email address (won't be published) and a comment</legend>
- <p>
- <label for="cname">Name (required, at least 2 characters)</label>
- <input id="cname" name="name" class="required" minlength="2" />
- <p>
- <label for="cemail">E-Mail (required)</label>
- <input id="cemail" name="email" class="required email" />
- </p>
- <p>
- <label for="curl">URL (optional)</label>
- <input id="curl" name="url" class="url" value="" />
- </p>
- <p>
- <label for="ccomment">Your comment (required)</label>
- <textarea id="ccomment" name="comment" class="required"></textarea>
- </p>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- </p>
- </fieldset>
-</form>
-
-</body>
-</html>
10 thirdparty/jquery-validate/demo/form.php
View
@@ -1,10 +0,0 @@
-<?php
-// wait a second to simulate a some latency
-usleep(500000);
-$user = $_REQUEST['user'];
-$pw = $_REQUEST['password'];
-if($user && $pw && $pw == "foobar")
- echo "Hi $user, welcome back.";
-else
- echo "Your password is wrong (must be foobar).";
-?>
10 thirdparty/jquery-validate/demo/form.phps
View
@@ -1,10 +0,0 @@
-<?php
-// wait a second to simulate a some latency
-usleep(500000);
-$user = $_REQUEST['user'];
-$pw = $_REQUEST['password'];
-if($user && $pw && $pw == "foobar")
- echo "Hi $user, welcome back.";
-else
- echo "Your password is wrong (must be foobar).";
-?>
BIN  thirdparty/jquery-validate/demo/images/bg.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/images/checked.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/images/cmxform-divider.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/images/cmxform-fieldset.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/images/loading.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/images/unchecked.gif
View
Deleted file not rendered
235 thirdparty/jquery-validate/demo/index.html
View
@@ -1,235 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>jQuery validation plug-in - main demo</title>
-
-<link rel="stylesheet" type="text/css" media="screen" href="css/screen.css" />
-
-<script src="../lib/jquery.js" type="text/javascript"></script>
-<script src="../jquery.validate.js" type="text/javascript"></script>
-
-<script src="js/cmxforms.js" type="text/javascript"></script>
-<script type="text/javascript">
-$.validator.setDefaults({
- submitHandler: function() { alert("submitted!"); }
-});
-
-$().ready(function() {
- // validate the comment form when it is submitted
- $("#commentForm").validate();
-
- // validate signup form on keyup and submit
- $("#signupForm").validate({
- rules: {
- firstname: "required",
- lastname: "required",
- username: {
- required: true,
- minlength: 2
- },
- password: {
- required: true,
- minlength: 5
- },
- confirm_password: {
- required: true,
- minlength: 5,
- equalTo: "#password"
- },
- email: {
- required: true,
- email: true
- },
- topic: {
- required: "#newsletter:checked",
- minlength: 2
- },
- agree: "required"
- },
- messages: {
- firstname: "Please enter your firstname",
- lastname: "Please enter your lastname",
- username: {
- required: "Please enter a username",
- minlength: "Your username must consist of at least 2 characters"
- },
- password: {
- required: "Please provide a password",
- minlength: "Your password must be at least 5 characters long"
- },
- confirm_password: {
- required: "Please provide a password",
- minlength: "Your password must be at least 5 characters long",
- equalTo: "Please enter the same password as above"
- },
- email: "Please enter a valid email address",
- agree: "Please accept our policy"
- }
- });
-
- // propose username by combining first- and lastname
- $("#username").focus(function() {
- var firstname = $("#firstname").val();
- var lastname = $("#lastname").val();
- if(firstname && lastname && !this.value) {
- this.value = firstname + "." + lastname;
- }
- });
-
- // check if confirm password is still valid after password changed
- $("#password").blur(function() {
- $("#confirm_password").valid();
- });
-
- //code to hide topic selection, disable for demo
- var newsletter = $("#newsletter");
- // newsletter topics are optional, hide at first
- var inital = newsletter.is(":checked");
- var topics = $("#newsletter_topics")[inital ? "removeClass" : "addClass"]("gray");
- var topicInputs = topics.find("input").attr("disabled", !inital);
- // show when newsletter is checked
- newsletter.click(function() {
- topics[this.checked ? "removeClass" : "addClass"]("gray");
- topicInputs.attr("disabled", !this.checked);
- });
-});
-</script>
-
-<style type="text/css">
-#commentForm { width: 500px; }
-#commentForm label { width: 250px; }
-#commentForm label.error, #commentForm input.submit { margin-left: 253px; }
-#signupForm { width: 670px; }
-#signupForm label.error {
- margin-left: 10px;
- width: auto;
- display: inline;
-}
-#newsletter_topics label.error {
- display: none;
- margin-left: 103px;
-}
-</style>
-
-</head>
-<body>
-
-<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Demo</h1>
-<div id="main">
-
-<p>Default submitHandler is set to display an alert into of submitting the form</p>
-
-<form class="cmxform" id="commentForm" method="get" action="">
- <fieldset>
- <legend>Please provide your name, email address (won't be published) and a comment</legend>
- <p>
- <label for="cname">Name (required, at least 2 characters)</label>
- <input id="cname" name="name" class="required" minlength="2" />
- <p>
- <label for="cemail">E-Mail (required)</label>
- <input id="cemail" name="email" class="required email" />
- </p>
- <p>
- <label for="curl">URL (optional)</label>
- <input id="curl" name="url" class="url" value="" />
- </p>
- <p>
- <label for="ccomment">Your comment (required)</label>
- <textarea id="ccomment" name="comment" class="required"></textarea>
- </p>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- </p>
- </fieldset>
-</form>
-
-<form class="cmxform" id="signupForm" method="get" action="">
- <fieldset>
- <legend>Validating a complete form</legend>
- <p>
- <label for="firstname">Firstname</label>
- <input id="firstname" name="firstname" />
- </p>
- <p>
- <label for="lastname">Lastname</label>
- <input id="lastname" name="lastname" />
- </p>
- <p>
- <label for="username">Username</label>
- <input id="username" name="username" />
- </p>
- <p>
- <label for="password">Password</label>
- <input id="password" name="password" type="password" />
- </p>
- <p>
- <label for="confirm_password">Confirm password</label>
- <input id="confirm_password" name="confirm_password" type="password" />
- </p>
- <p>
- <label for="email">Email</label>
- <input id="email" name="email" />
- </p>
- <p>
- <label for="agree">Please agree to our policy</label>
- <input type="checkbox" class="checkbox" id="agree" name="agree" />
- </p>
- <p>
- <label for="newsletter">I'd like to receive the newsletter</label>
- <input type="checkbox" class="checkbox" id="newsletter" name="newsletter" />
- </p>
- <fieldset id="newsletter_topics">
- <legend>Topics (select at least two) - note: would be hidden when newsletter isn't selected, but is visible here for the demo</legend>
- <label for="topic_marketflash">
- <input type="checkbox" id="topic_marketflash" value="marketflash" name="topic" />
- Marketflash
- </label>
- <label for="topic_fuzz">
- <input type="checkbox" id="topic_fuzz" value="fuzz" name="topic" />
- Latest fuzz
- </label>
- <label for="topic_digester">
- <input type="checkbox" id="topic_digester" value="digester" name="topic" />
- Mailing list digester
- </label>
- <label for="topic" class="error">Please select at least two topics you'd like to receive.</label>
- </fieldset>
- <p>
- <input class="submit" type="submit" value="Submit"/>
- </p>
- </fieldset>
-</form>
-
-<h3>Syntetic examples</h3>
-<ul>
- <li><a href="errorcontainer-demo.html">Error message containers in action</a></li>
- <li><a href="custom-messages-metadata-demo.html">Custom Messages as Metadata</a></li>
- <li><a href="radio-checkbox-select-demo.html">Radio and checkbox buttons and selects</a></li>
- <li><a href="ajaxSubmit-intergration-demo.html">Integration with Form Plugin (AJAX submit)</a></li>
- <li><a href="custom-methods-demo.html">Custom methods and message display.</a></li>
- <li><a href="dynamic-totals.html">Dynamic forms</a></li>
-</ul>
-<h3>Real-world examples</h3>
-<ul>
- <li><a href="milk/">Remember The Milk signup form</a></li>
- <li><a href="marketo/">Marketo signup form</a></li>
- <li><a href="multipart/">Buy and Sell a House multipart form</a></li>
- <li><a href="captcha/">Remote captcha validation</a></li>
-</ul>
-
-<h3>Testsuite</h3>
-<ul>
- <li><a href="../test/">Validation Testsuite</a></li>
-</ul>
-
-</div>
-
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-2623402-1";
-urchinTracker();
-</script>
-</body>
-</html>
1  thirdparty/jquery-validate/demo/js/chili-1.7.pack.js
View
@@ -1 +0,0 @@
-eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('8={3b:"1.6",2o:"1B.1Y,1B.23,1B.2e",2i:"",2H:1a,12:"",2C:1a,Z:"",2a:\'<H V="$0">$$</H>\',R:"&#F;",1j:"&#F;&#F;&#F;&#F;",1f:"&#F;<1W/>",3c:5(){9 $(y).39("1k")[0]},I:{},N:{}};(5($){$(5(){5 1J(l,a){5 2I(A,h){4 3=(1v h.3=="1h")?h.3:h.3.1w;k.1m({A:A,3:"("+3+")",u:1+(3.c(/\\\\./g,"%").c(/\\[.*?\\]/g,"%").3a(/\\((?!\\?)/g)||[]).u,z:(h.z)?h.z:8.2a})}5 2z(){4 1E=0;4 1x=x 2A;Q(4 i=0;i<k.u;i++){4 3=k[i].3;3=3.c(/\\\\\\\\|\\\\(\\d+)/g,5(m,1F){9!1F?m:"\\\\"+(1E+1+1t(1F))});1x.1m(3);1E+=k[i].u}4 1w=1x.3d("|");9 x 1u(1w,(a.3g)?"2j":"g")}5 1S(o){9 o.c(/&/g,"&3h;").c(/</g,"&3e;")}5 1R(o){9 o.c(/ +/g,5(1X){9 1X.c(/ /g,R)})}5 G(o){o=1S(o);7(R){o=1R(o)}9 o}5 2m(2E){4 i=0;4 j=1;4 h;19(h=k[i++]){4 1b=D;7(1b[j]){4 1U=/(\\\\\\$)|(?:\\$\\$)|(?:\\$(\\d+))/g;4 z=h.z.c(1U,5(m,1V,K){4 3f=\'\';7(1V){9"$"}v 7(!K){9 G(1b[j])}v 7(K=="0"){9 h.A}v{9 G(1b[j+1t(K,10)])}});4 1A=D[D.u-2];4 2h=D[D.u-1];4 2G=2h.2v(11,1A);11=1A+2E.u;14+=G(2G)+z;9 z}v{j+=h.u}}}4 R=8.R;4 k=x 2A;Q(4 A 2r a.k){2I(A,a.k[A])}4 14="";4 11=0;l.c(2z(),2m);4 2y=l.2v(11,l.u);14+=G(2y);9 14}5 2B(X){7(!8.N[X]){4 Y=\'<Y 32="1p" 33="p/2u"\'+\' 30="\'+X+\'">\';8.N[X]=1H;7($.31.34){4 W=J.1L(Y);4 $W=$(W);$("2d").1O($W)}v{$("2d").1O(Y)}}}5 1q(e,a){4 l=e&&e.1g&&e.1g[0]&&e.1g[0].37;7(!l)l="";l=l.c(/\\r\\n?/g,"\\n");4 C=1J(l,a);7(8.1j){C=C.c(/\\t/g,8.1j)}7(8.1f){C=C.c(/\\n/g,8.1f)}$(e).38(C)}5 1o(q,13){4 1l={12:8.12,2x:q+".1d",Z:8.Z,2w:q+".2u"};4 B;7(13&&1v 13=="2l")B=$.35(1l,13);v B=1l;9{a:B.12+B.2x,1p:B.Z+B.2w}}7($.2q)$.2q({36:"2l.15"});4 2n=x 1u("\\\\b"+8.2i+"\\\\b","2j");4 1e=[];$(8.2o).2D(5(){4 e=y;4 1n=$(e).3i("V");7(!1n){9}4 q=$.3u(1n.c(2n,""));7(\'\'!=q){1e.1m(e);4 f=1o(q,e.15);7(8.2H||e.15){7(!8.N[f.a]){1D{8.N[f.a]=1H;$.3v(f.a,5(M){M.f=f.a;8.I[f.a]=M;7(8.2C){2B(f.1p)}$("."+q).2D(5(){4 f=1o(q,y.15);7(M.f==f.a){1q(y,M)}})})}1I(3s){3t("a 3w Q: "+q+\'@\'+3z)}}}v{4 a=8.I[f.a];7(a){1q(e,a)}}}});7(J.1i&&J.1i.29){5 22(p){7(\'\'==p){9""}1z{4 16=(x 3A()).2k()}19(p.3x(16)>-1);p=p.c(/\\<1W[^>]*?\\>/3y,16);4 e=J.1L(\'<1k>\');e.3l=p;p=e.3m.c(x 1u(16,"g"),\'\\r\\n\');9 p}4 T="";4 18=1G;$(1e).3j().G("1k").U("2c",5(){18=y}).U("1M",5(){7(18==y)T=J.1i.29().3k});$("3n").U("3q",5(){7(\'\'!=T){2p.3r.3o(\'3p\',22(T));2V.2R=1a}}).U("2c",5(){T=""}).U("1M",5(){18=1G})}})})(1Z);8.I["1Y.1d"]={k:{2M:{3:/\\/\\*[^*]*\\*+(?:[^\\/][^*]*\\*+)*\\//},25:{3:/\\<!--(?:.|\\n)*?--\\>/},2f:{3:/\\/\\/.*/},2P:{3:/2L|2T|2J|2O|2N|2X|2K|2Z|2U|2S|2W|2Y|2Q|51|c-50/},53:{3:/\\/[^\\/\\\\\\n]*(?:\\\\.[^\\/\\\\\\n]*)*\\/[52]*/},1h:{3:/(?:\\\'[^\\\'\\\\\\n]*(?:\\\\.[^\\\'\\\\\\n]*)*\\\')|(?:\\"[^\\"\\\\\\n]*(?:\\\\.[^\\"\\\\\\n]*)*\\")/},27:{3:/\\b[+-]?(?:\\d*\\.?\\d+|\\d+\\.?\\d*)(?:[1r][+-]?\\d+)?\\b/},4X:{3:/\\b(D|1N|1K|1I|2t|2s|4W|1z|v|1a|Q|5|7|2r|4Z|x|1G|9|1Q|y|1H|1D|1v|4|4Y|19|59)\\b/},1y:{3:/\\b(58|2k|2p|5b|5a|55|J|54|57|1t|56|4L|4K|4N|4M|4H|4G|4J)\\b/},1C:{3:/(?:\\<\\w+)|(?:\\>)|(?:\\<\\/\\w+\\>)|(?:\\/\\>)/},26:{3:/\\s+\\w+(?=\\s*=)/},20:{3:/([\\"\\\'])(?:(?:[^\\1\\\\\\r\\n]*?(?:\\1\\1|\\\\.))*[^\\1\\\\\\r\\n]*?)\\1/},21:{3:/&[\\w#]+?;/},4I:{3:/(\\$|1Z)/}}};8.I["23.1d"]={k:{25:{3:/\\<!--(?:.|\\n)*?--\\>/},1h:{3:/(?:\\\'[^\\\'\\\\\\n]*(?:\\\\.[^\\\'\\\\\\n]*)*\\\')|(?:\\"[^\\"\\\\\\n]*(?:\\\\.[^\\"\\\\\\n]*)*\\")/},27:{3:/\\b[+-]?(?:\\d*\\.?\\d+|\\d+\\.?\\d*)(?:[1r][+-]?\\d+)?\\b/},1C:{3:/(?:\\<\\w+)|(?:\\>)|(?:\\<\\/\\w+\\>)|(?:\\/\\>)/},26:{3:/\\s+\\w+(?=\\s*=)/},20:{3:/([\\"\\\'])(?:(?:[^\\1\\\\\\r\\n]*?(?:\\1\\1|\\\\.))*[^\\1\\\\\\r\\n]*?)\\1/},21:{3:/&[\\w#]+?;/}}};8.I["2e.1d"]={k:{4S:{3:/\\/\\*[^*]*\\*+([^\\/][^*]*\\*+)*\\//},2f:{3:/(?:\\/\\/.*)|(?:[^\\\\]\\#.*)/},4V:{3:/\\\'[^\\\'\\\\]*(?:\\\\.[^\\\'\\\\]*)*\\\'/},4U:{3:/\\"[^\\"\\\\]*(?:\\\\.[^\\"\\\\]*)*\\"/},4P:{3:/\\b(?:[4O][2b][1s][1s]|[4R][4Q][2b][1P]|[5c][5v][1s][5u][1P])\\b/},5x:{3:/\\b[+-]?(\\d*\\.?\\d+|\\d+\\.?\\d*)([1r][+-]?\\d+)?\\b/},5y:{3:/\\b(?:5z|5w(?:5A|5E(?:5F(?:17|1c)|5G(?:17|1c))|17|1T|5B|5C|5D(?:17|1T|1c)|1c)|P(?:5h(?:5k|5j)|5e(?:5d|5g(?:5f|5l)|5r|E(?:5t|5s)|5n(?:5m|5p)|L(?:3X|3W)|O(?:S|3Y(?:3T|3S|3V))|3U|S(?:44|47|46)|41))|40)\\b/},1y:{3:/(?:\\$43|\\$42|\\$3R|\\$3G|\\$3F|\\$3I|\\$3H|\\$3C|\\$3B|\\$3D)\\b/},28:{3:/\\b(?:3O|3N|3P|3K|3J|3M|3L|48|4v|1N|1K|1I|4u|V|4x|4w|2t|4r|2s|4q|1z|4t|v|4s|4D|4C|4F|4E|4z|4y|4B|4A|4p|4d|2F|2F|4g|Q|4f|5|1y|7|4a|4m|4l|4o|4i|4k|x|4j|4h|4n|4b|4c|49|4e|3Q|3E|9|45|1Q|y|3Z|1D|5o|5q|4|19|5i)\\b/},2g:{3:/\\$(\\w+)/,z:\'<H V="28">$</H><H V="2g">$1</H>\'},1C:{3:/(?:\\<\\?[24][4T][24])|(?:\\<\\?)|(?:\\?\\>)/}}}',62,353,'|||exp|var|function||if|ChiliBook|return|recipe||replace||el|path||step|||steps|ingredients|||str|text|recipeName||||length|else||new|this|replacement|stepName|settings|dish|arguments||160|filter|span|recipes|document|||recipeLoaded|required|||for|replaceSpace||insidePRE|bind|class|domLink|stylesheetPath|link|stylesheetFolder||lastIndex|recipeFolder|options|perfect|chili|newline|ERROR|downPRE|while|false|aux|WARNING|js|codes|replaceNewLine|childNodes|string|selection|replaceTab|pre|settingsDef|push|elClass|getPath|stylesheet|makeDish|eE|Ll|parseInt|RegExp|typeof|source|exps|global|do|offset|code|tag|try|prevLength|aNum|null|true|catch|cook|case|createElement|mouseup|break|append|Ee|switch|replaceSpaces|escapeHTML|NOTICE|pattern|escaped|br|spaces|mix|jQuery|avalue|entity|preformatted|xml|Pp|htcom|aname|numbers|keyword|createRange|defaultReplacement|Uu|mousedown|head|php|com|variable|input|elementClass|gi|valueOf|object|chef|selectClass|elementPath|window|metaobjects|in|default|continue|css|substring|stylesheetFile|recipeFile|lastUnmatched|knowHow|Array|checkCSS|stylesheetLoading|each|matched|extends|unmatched|recipeLoading|prepareStep|unblockUI|ajaxSubmit|silverlight|jscom|unblock|block|plugin|clearFields|returnValue|fieldValue|blockUI|formSerialize|event|resetForm|ajaxForm|clearForm|fieldSerialize|href|browser|rel|type|msie|extend|selector|data|html|next|match|version|getPRE|join|lt|bit|ignoreCase|amp|attr|parents|htmlText|innerHTML|innerText|body|setData|Text|copy|clipboardData|recipeNotAvailable|alert|trim|getJSON|unavailable|indexOf|ig|recipePath|Date|_SESSION|_SERVER|php_errormsg|require_once|_GET|_FILES|_REQUEST|_POST|__METHOD__|__LINE__|and|abstract|__FILE__|__CLASS__|__FUNCTION__|require|_ENV|END|CONT|PREFIX|START|OCALSTATEDIR|IBDIR|UTPUT_HANDLER_|throw|__COMPILER_HALT_OFFSET__|VERSION|_COOKIE|GLOBALS|API|static|YSCONFDIR|HLIB_SUFFIX|array|protected|implements|print|private|exit|public|foreach|final|or|isset|old_function|list|include_once|include|php_user_filter|interface|exception|die|declare|elseif|echo|cfunction|as|const|clone|endswitch|endif|eval|endwhile|enddeclare|empty|endforeach|endfor|isNaN|NaN|jquery|Infinity|clearTimeout|setTimeout|clearInterval|setInterval|Nn|value|Rr|Tt|mlcom|Hh|string2|string1|delete|keywords|void|instanceof|content|taconite|gim|regexp|escape|constructor|parseFloat|unescape|toString|with|prototype|element|Ff|BINDIR|HP_|PATH|CONFIG_FILE_|EAR_|xor|INSTALL_DIR|EXTENSION_DIR|SCAN_DIR|MAX|INT_|unset|SIZE|use|DATADIR|XTENSION_DIR|OL|Ss|Aa|E_|number|const1|DEFAULT_INCLUDE_PATH|ALL|PARSE|STRICT|USER_|CO|MPILE_|RE_'.split('|'),0,{}))
24 thirdparty/jquery-validate/demo/js/cmxforms.js
View
@@ -1,24 +0,0 @@
-// apply inline-box only for mozilla
-if( jQuery.browser.mozilla ) {
- // do when DOM is ready
- $( function() {
- // search form, hide it, search labels to modify, filter classes nocmx and error
- $( 'form.cmxform' ).hide().find( 'p>label:not(.nocmx):not(.error)' ).each( function() {
- var $this = $(this);
- var labelContent = $this.html();
- var labelWidth = document.defaultView.getComputedStyle( this, '' ).getPropertyValue( 'width' );
- // create block element with width of label
- var labelSpan = $("<span>")
- .css("display", "block")
- .width(labelWidth)
- .html(labelContent);
- // change display to mozilla specific inline-box
- $this.css("display", "-moz-inline-box")
- // remove children
- .empty()
- // add span element
- .append(labelSpan);
- // show form again
- }).end().show();
- });
-};
BIN  thirdparty/jquery-validate/demo/login/images/bg.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/login/images/header1.jpg
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/login/images/page.gif
View
Deleted file not rendered
BIN  thirdparty/jquery-validate/demo/login/images/required_star.gif
View
Deleted file not rendered
76 thirdparty/jquery-validate/demo/login/index.html
View
@@ -1,76 +0,0 @@
-<!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>Login Form with Email Password Link</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" type="text/css" media="screen" href="screen.css" />
-
- <script type="text/javascript" src="../../lib/jquery.js"></script>
- <script type="text/javascript" src="../../jquery.validate.js"></script>
-
- <script type="text/javascript">
-
- $(function() {
- // highlight
- var elements = $("input[type!='submit'], textarea, select");
- elements.focus(function(){
- $(this).parents('li').addClass('highlight');
- });
- elements.blur(function(){
- $(this).parents('li').removeClass('highlight');
- });
-
- $("#forgotpassword").click(function() {
- $("#password").removeClass("required");
- $("#login").submit();
- $("#password").addClass("required");
- return false;
- });
-
- $("#login").validate()
- });
- </script>
-
-</head>
-<body>
- <div id="page">
-
- <div id="header">
- <h1>Login</h1>
- </div>
-
- <div id="content">
- <p id="status"></p>
- <form action="" method="get" id="login">
- <fieldset>
- <legend>User details</legend>
- <ul>
- <li>
- <label for="email"><span class="required">Email address</span></label>
- <input id="email" name="email" class="text required email" type="text" />
- <label for="email" class="error">This must be a valid email address</label>
- </li>
-
- <li>
- <label for="password"><span class="required">Password</span></label>
- <input name="password" type="password" class="text required" id="password" minlength="4" maxlength="20" />
- </li>
-
- <li>
- <label class="centered info"><a id="forgotpassword" href="#">Email my password...</a></label>
- </li>
- </ul>
- </fieldset>
-
- <fieldset class="submit">
- <input type="submit" class="button" value="Login..." />
- </fieldset>
-
- <div class="clear"></div>
- </form>
-
- </div>
- </div>
-
-</body>
-</html>
457 thirdparty/jquery-validate/demo/login/screen.css
View
@@ -1,457 +0,0 @@
-/*******************************************************************************
-********************************************************************************
-**
-* - GENERAL
-*
-* - PAGE CONTAINERS
-*
-* - HEADER
-*
-* - CONTENT
-**
-********************************************************************************
- ******************************************************************************/
-
-
-
-
-/* GENERAL ------------------------------------------------------------------ */
-
- html
- {
- height: 100%;
- }
-
- /* Zero default margin & padding around common elements */
- body, dd, dl, dt, form, h1, h2, h3, h4, h5, h6, ul, ol, li, p
- {
- margin: 0;
- border: none;
- padding: 0;
- }
-
- body
- {
- height: 100%;
- background-color: #333333;
- background-image: url(images/bg.gif);
- background-position: 0% 0;
- color: #000000;
- line-height: 1.5;
- font-family: Arial, Helvetica, sans-serif;
- font-size: 62.5%;
- text-align: center;
- overflow:auto;
- }
-
- a:link
- {
- color: #003399;
- }
-
- a:visited
- {
- color: #B266B2;
- }
-
- a:hover
- {
- text-decoration: none;
- }
-
-
-
-
- /* PAGE CONTAINERS ---------------------------------------------------------- */
-
- #page
- {
- width: 636px;
- w\idth: 600px;
- min-height: 100%;
- margin: 17px auto;
- padding: 0 18px;
- background-image: url(images/page.gif);
- background-repeat: repeat-y;
- text-align: left;
- }
-
- * html #page
- {
- height: 100%;
- }
-
-
-
-
- /* HEADER ------------------------------------------------------------------- */
-
- #header
- {
- height: 90px;
- background-color: #B2DD32;
- background-image: url(images/header1.jpg);
- background-repeat: repeat-x;
- }
-
- h1
- {
- padding: 0 35px;
- font-size: 2.2em;
- font-weight: normal;
- line-height: 82px;
- }
-
-
-
-
- /* CONTENT ------------------------------------------------------------------ */
-
- #content
- {
- padding: 0 25px;
- }
-
- p
- {
- font-size:1.1em;
- margin-top: 1.5em;
- }
-
- form
- {
- margin-top: 1.5em;
- }
-
-
-
- /*** MASTER FORM WIDTHS - CUSTOMIZE THIS TO CHANGE THE FORM LAYOUT ***/
-
- /*
- form width: 550px
- left column: 190px / 180px + 10px padding
- mid column: 200px
- right column: 160px
- */
-
- form{
- width:550px !important;
- }
-
- fieldset.submit
- {
- padding-left: 190px !important;
- }
-
- form label{
- padding:0px 10px;
- width: 160px;
- }
-
- form label.error,
- form input.submit
- {
- margin-left:180px !important;
- }
-
- form fieldset fieldset label.error
- {
- margin-left:0px !important;
- width:200px !important;
- }
-
-
- form .centered{
- margin-left:180px !important;
- width:200px !important;
- }
-
- form .text,
- form .button,
- form .group,
- form .control,
- form .submit,
- form textarea,
- form select
- {
- width: 200px !important;
- }
-
-
-
-
-/*** FIELDSETS AND LEGENDS ***/
-
- form{
- width:550px;
- margin-bottom:25px;
- clear:both;
- }
-
- form fieldset
- {
- margin: 0 0 1.5em 0;
- padding: 0 0 10px 0px;
-
- border: 1px solid #BFBAB0;
-
- background-color: #F2EFE9;
- background-image: url(images/fieldset_gradient.jpg);
- background-repeat: repeat-x;
-
- background-color: #fff;
- background-image: url(images/fieldset-gradient-02.jpg);
- background-position:bottom;
-
- float: left;
- clear: both;
- width: 100%;
-
- }
-
- form fieldset.submit
- {
- padding: 0px 10px 10px 190px;
- border-style: none;
-
- background-color: transparent;
- background-image: none;
-
- float: none;
- width: auto;
-
- }
-
- form legend
- {
- color: #000000;
-
- font-size:1.3em;
- font-weight: bold;
- font-variant:small-caps;
-
- margin-left: 1em;
- padding:0px 5px;
- }
-
- form fieldset p{
- margin:10px 0px 0px 10px;
- }
-
-/*** FORM BLOCKS ***/
-
- form ul
- {
- padding:5px 10px;
- list-style: none;
- }
-
- form li
- {
- width: 100%;
-
- padding:5px 0px 10px 0;
- border-top:1px dotted #ccc;
-
- display:block;
- float: left;
- clear: left;
- }
-
- form li:first-child
- {
- border:none;
- }
-
-
-/*** FORM BLOCK ELEMENTS ***/
-
- form label
- {
- padding:0px 10px;
- width: 160px;
- float: left;
- }
-
- form .error{
- color: #c00;
- }
-
- form label.error
- {
- color: #c00;
-
- font-size: 100%;
- font-weight: bold;
- font-variant:small-caps;
-
- width:308px;
- display: none;
-
- margin:8px 0px 0px 180px;
- padding:3px 0px 0px 5px;
- border-top:1px dotted #ccc;
-
- clear:both;
- }
-
- form label.info{
- font-size: 100%;
- font-weight: bold;
- font-variant:small-caps;
-
- margin:8px 0px 0px 180px;
- padding:3px 0px 0px 5px;
- }
-
- form fieldset fieldset,
- form .group
- {
- width:200px;
-
- margin: 0;
- border:none;
-
- background:none;
-
- float:left;
- clear: none;
-
- }
-
- form fieldset fieldset label
- {
- width:auto !important;
- white-space:nowrap;
- padding:0px;
- margin:0px;
- display:block;
- clear:both;
- }
-
- form label label.error{
- margin-left:0px;
- }
-
- form label.centered{
- padding:0px 0px;
- width:200px !important;
- }
-
- /* see also the error class at the foot of the page */
-
- form fieldset fieldset label.spaced
- {
- margin-bottom:3px;
- }
-
-/*** FORM ELEMENT COLUMNS ***/
-
- .col-1,
- fieldset fieldset.col-1 label
- {
- width:100%;
- }
-
- .col-2,
- fieldset fieldset.col-2 label
- {
- width:50%;
- }
-
- .col-3,
- fieldset fieldset.col-3 label
- {
- width:33%;
- }
-
- .col-4,
- fieldset fieldset.col-4 label
- {
- width:25%;
- }
-
-
-
-
-/*** FORM ELEMENTS ***/
-
- form input.submit{
- margin:10px 0px 10px 180px;
- padding:0px 2px;
- }
-
- form input, textarea, select,
- form label
- {
- font-size:1.1em;
- line-height:1.6em;
- }
-
- form input, textarea, select
- {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- }
-
- form .input[type="text"],
- form textarea
- {
- padding:1px;
- }
-
- form .input[type="radio"],
- form .input[type="checkbox"]
- {
- margin:0px;
- padding:0px;
- position:relative;
- top:3px;
- }
-
-/*** SUPPORTING CLASSES ***/
-
- form label.required{
- background-image:url(images/required_star.gif);
- background-position:right;
- background-repeat:no-repeat;
- }
-
- form span.required{
- padding-right:15px;
- }
-
- form .clean
- {
- border:none;
- }
-
- form .info{
- padding-top:0.5em;
- font-size:80%;
- line-height:100%;
- color:#aaa;
- }
-
- form .indent{
- padding:2px 20px;
- width:auto !important;
- white-space:nowrap;
- padding-left: 25px !important;
- }
-
- form label.disabled{
- color:#aaa;
- }
-
- form .highlight{
- background-color:#e2e2e2;
- }
-
- .off{
- display:none !important;
- }
-
- .clear{
- clear:both;
- }
-
10 thirdparty/jquery-validate/demo/marketo/emails.php
View
@@ -1,10 +0,0 @@
-<?php
-$request = trim(strtolower($_REQUEST['email']));
-$emails = array('glen@marketo.com', 'george@bush.gov', 'me@god.com', 'aboutface@cooper.com', 'steam@valve.com', 'bill@gates.com');
-$valid = 'true';
-foreach($emails as $email) {
- if( strtolower($email) == $request )
- $valid = 'false';
-}
-echo $valid;
-?>
10 thirdparty/jquery-validate/demo/marketo/emails.phps
View
@@ -1,10 +0,0 @@
-<?php
-$request = trim(strtolower($_REQUEST['value']));
-$emails = array('glen@marketo.com', 'george@bush.gov', 'me@god.com', 'aboutface@cooper.com', 'steam@valve.com', 'bill@gates.com');
-$valid = 'true';
-foreach($emails as $email) {
- if( strtolower($email) == $request )
- $valid = 'false';
-}
-echo $valid;
-?>
35 thirdparty/jquery-validate/demo/marketo/ie6.css
View
@@ -1,35 +0,0 @@
-img.png {
- background-image: expression(
- this.runtimeStyle.backgroundImage = "none",
- this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
- this.src = "images/blank.gif"
- );
-}
-
-
-
-.hidden {
- display:none
-}