From 67cf280f32ef0822b873f94f3dd103eb7101c737 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Thu, 11 Feb 2016 17:06:07 +0000
Subject: Updated jquery validation plugin, now works in IE
Fixed a couple minor html syntax erors in login_user.html and base.html
Changed export button on correlation page to csvHtml5, but still has problem with commas in fields being interpreted as a new column
---
.../new/packages/ValidationPlugin/Gruntfile.js | 186 +
.../static/new/packages/ValidationPlugin/README.md | 42 +-
.../new/packages/ValidationPlugin/changelog.txt | 337 -
.../demo/ajaxSubmit-integration-demo.html | 90 +
.../ValidationPlugin/demo/captcha/captcha.js | 27 +
.../demo/captcha/fonts/Anorexia.ttf | Bin 0 -> 14300 bytes
.../ValidationPlugin/demo/captcha/image_req.php | 6 +
.../demo/captcha/images/button.png | Bin 0 -> 1546 bytes
.../ValidationPlugin/demo/captcha/images/image.php | 33 +
.../ValidationPlugin/demo/captcha/index.php | 77 +
.../ValidationPlugin/demo/captcha/newsession.php | 12 +
.../ValidationPlugin/demo/captcha/process.php | 14 +
.../ValidationPlugin/demo/captcha/rand.php | 11 +
.../ValidationPlugin/demo/captcha/style.css | 140 +
.../packages/ValidationPlugin/demo/css/cmxform.css | 46 +
.../ValidationPlugin/demo/css/cmxformTemplate.css | 55 +
.../packages/ValidationPlugin/demo/css/core.css | 21 +
.../packages/ValidationPlugin/demo/css/reset.css | 61 +
.../packages/ValidationPlugin/demo/css/screen.css | 11 +
.../demo/custom-messages-data-demo.html | 66 +
.../ValidationPlugin/demo/custom-methods-demo.html | 118 +
.../ValidationPlugin/demo/dynamic-totals.html | 142 +
.../ValidationPlugin/demo/errorcontainer-demo.html | 152 +
.../demo/errors-within-labels.html | 91 +
.../packages/ValidationPlugin/demo/file_input.html | 47 +
.../packages/ValidationPlugin/demo/images/bg.gif | Bin 0 -> 1175 bytes
.../ValidationPlugin/demo/images/checked.gif | Bin 0 -> 220 bytes
.../demo/images/cmxform-divider.gif | Bin 0 -> 43 bytes
.../demo/images/cmxform-fieldset.gif | Bin 0 -> 314 bytes
.../ValidationPlugin/demo/images/loading.gif | Bin 0 -> 418 bytes
.../ValidationPlugin/demo/images/unchecked.gif | Bin 0 -> 223 bytes
.../new/packages/ValidationPlugin/demo/index.html | 244 +
.../ValidationPlugin/demo/jquerymobile.html | 77 +
.../ValidationPlugin/demo/login/images/bg.gif | Bin 0 -> 89 bytes
.../ValidationPlugin/demo/login/images/header1.jpg | Bin 0 -> 442 bytes
.../ValidationPlugin/demo/login/images/page.gif | Bin 0 -> 664 bytes
.../demo/login/images/required_star.gif | Bin 0 -> 121 bytes
.../ValidationPlugin/demo/login/index.html | 69 +
.../ValidationPlugin/demo/login/screen.css | 457 +
.../demo/marketo/images/backRequiredGray.gif | Bin 0 -> 137 bytes
.../demo/marketo/images/back_green-fade.gif | Bin 0 -> 2421 bytes
.../demo/marketo/images/back_nav_blue.gif | Bin 0 -> 1668 bytes
.../ValidationPlugin/demo/marketo/images/blank.gif | Bin 0 -> 799 bytes
.../demo/marketo/images/button-submit.gif | Bin 0 -> 4527 bytes
.../demo/marketo/images/favicon.ico | Bin 0 -> 1150 bytes
.../ValidationPlugin/demo/marketo/images/help.png | Bin 0 -> 1615 bytes
.../demo/marketo/images/left-nav-callout-long.png | Bin 0 -> 1381 bytes
.../demo/marketo/images/login-sprite.gif | Bin 0 -> 2017 bytes
.../demo/marketo/images/logo_marketo.gif | Bin 0 -> 8363 bytes
.../ValidationPlugin/demo/marketo/images/sf.png | Bin 0 -> 3745 bytes
.../demo/marketo/images/step1-24.gif | Bin 0 -> 1357 bytes
.../demo/marketo/images/step2-24.gif | Bin 0 -> 1355 bytes
.../demo/marketo/images/step3-24.gif | Bin 0 -> 1362 bytes
.../demo/marketo/images/tab-sprite.gif | Bin 0 -> 4710 bytes
.../demo/marketo/images/tab_green.gif | Bin 0 -> 1652 bytes
.../ValidationPlugin/demo/marketo/images/time.png | Bin 0 -> 793 bytes
.../demo/marketo/images/toggle.gif | Bin 0 -> 845 bytes
.../demo/marketo/images/warning.gif | Bin 0 -> 234 bytes
.../ValidationPlugin/demo/marketo/index.html | 292 +
.../demo/marketo/jquery.maskedinput.js | 338 +
.../ValidationPlugin/demo/marketo/mktSignup.js | 133 +
.../ValidationPlugin/demo/marketo/step2.htm | 326 +
.../ValidationPlugin/demo/marketo/stylesheet.css | 1179 +++
.../new/packages/ValidationPlugin/demo/milk/bg.gif | Bin 0 -> 73 bytes
.../packages/ValidationPlugin/demo/milk/index.html | 250 +
.../ValidationPlugin/demo/milk/left_white.png | Bin 0 -> 538 bytes
.../packages/ValidationPlugin/demo/milk/milk.css | 236 +
.../packages/ValidationPlugin/demo/milk/milk.png | Bin 0 -> 5121 bytes
.../ValidationPlugin/demo/milk/right_white.png | Bin 0 -> 1579 bytes
.../ValidationPlugin/demo/multipart/index.html | 468 +
.../ValidationPlugin/demo/multipart/style.css | 705 ++
.../demo/radio-checkbox-select-demo.html | 132 +
.../ValidationPlugin/demo/requirejs/app.js | 9 +
.../ValidationPlugin/demo/requirejs/index.html | 56 +
.../packages/ValidationPlugin/demo/site-demos.css | 16 +
.../ValidationPlugin/demo/themerollered.html | 235 +
.../ValidationPlugin/demo/tinymce/index.html | 69 +
.../demo/tinymce/themes/simple/editor_template.js | 1 +
.../demo/tinymce/themes/simple/img/icons.gif | Bin 0 -> 1440 bytes
.../demo/tinymce/themes/simple/langs/en.js | 11 +
.../tinymce/themes/simple/skins/default/ui.css | 32 +
.../ValidationPlugin/demo/tinymce/tiny_mce.js | 1 +
.../ValidationPlugin/demo/tinymce4/index.html | 71 +
.../ValidationPlugin/dist/additional-methods.js | 1157 ++-
.../dist/additional-methods.min.js | 8 +-
.../ValidationPlugin/dist/jquery.validate.js | 1386 +--
.../ValidationPlugin/dist/jquery.validate.min.js | 8 +-
.../dist/localization/messages_ar.js | 33 +
.../dist/localization/messages_ar.min.js | 4 +
.../dist/localization/messages_bg.js | 33 +
.../dist/localization/messages_bg.min.js | 4 +
.../dist/localization/messages_bn_BD.js | 33 +
.../dist/localization/messages_bn_BD.min.js | 4 +
.../dist/localization/messages_ca.js | 33 +
.../dist/localization/messages_ca.min.js | 4 +
.../dist/localization/messages_cs.js | 33 +
.../dist/localization/messages_cs.min.js | 4 +
.../dist/localization/messages_da.js | 30 +
.../dist/localization/messages_da.min.js | 4 +
.../dist/localization/messages_de.js | 30 +
.../dist/localization/messages_de.min.js | 4 +
.../dist/localization/messages_el.js | 33 +
.../dist/localization/messages_el.min.js | 4 +
.../dist/localization/messages_es.js | 36 +
.../dist/localization/messages_es.min.js | 4 +
.../dist/localization/messages_es_AR.js | 37 +
.../dist/localization/messages_es_AR.min.js | 4 +
.../dist/localization/messages_es_PE.js | 37 +
.../dist/localization/messages_es_PE.min.js | 4 +
.../dist/localization/messages_et.js | 31 +
.../dist/localization/messages_et.min.js | 4 +
.../dist/localization/messages_eu.js | 33 +
.../dist/localization/messages_eu.min.js | 4 +
.../dist/localization/messages_fa.js | 36 +
.../dist/localization/messages_fa.min.js | 4 +
.../dist/localization/messages_fi.js | 31 +
.../dist/localization/messages_fi.min.js | 4 +
.../dist/localization/messages_fr.js | 59 +
.../dist/localization/messages_fr.min.js | 4 +
.../dist/localization/messages_ge.js | 33 +
.../dist/localization/messages_ge.min.js | 4 +
.../dist/localization/messages_gl.js | 38 +
.../dist/localization/messages_gl.min.js | 4 +
.../dist/localization/messages_he.js | 33 +
.../dist/localization/messages_he.min.js | 4 +
.../dist/localization/messages_hr.js | 33 +
.../dist/localization/messages_hr.min.js | 4 +
.../dist/localization/messages_hu.js | 32 +
.../dist/localization/messages_hu.min.js | 4 +
.../dist/localization/messages_hy_AM.js | 33 +
.../dist/localization/messages_hy_AM.min.js | 4 +
.../dist/localization/messages_id.js | 32 +
.../dist/localization/messages_id.min.js | 4 +
.../dist/localization/messages_is.js | 31 +
.../dist/localization/messages_is.min.js | 4 +
.../dist/localization/messages_it.js | 37 +
.../dist/localization/messages_it.min.js | 4 +
.../dist/localization/messages_ja.js | 33 +
.../dist/localization/messages_ja.min.js | 4 +
.../dist/localization/messages_ka.js | 33 +
.../dist/localization/messages_ka.min.js | 4 +
.../dist/localization/messages_kk.js | 33 +
.../dist/localization/messages_kk.min.js | 4 +
.../dist/localization/messages_ko.js | 33 +
.../dist/localization/messages_ko.min.js | 4 +
.../dist/localization/messages_lt.js | 33 +
.../dist/localization/messages_lt.min.js | 4 +
.../dist/localization/messages_lv.js | 33 +
.../dist/localization/messages_lv.min.js | 4 +
.../dist/localization/messages_my.js | 33 +
.../dist/localization/messages_my.min.js | 4 +
.../dist/localization/messages_nl.js | 43 +
.../dist/localization/messages_nl.min.js | 4 +
.../dist/localization/messages_no.js | 33 +
.../dist/localization/messages_no.min.js | 4 +
.../dist/localization/messages_pl.js | 33 +
.../dist/localization/messages_pl.min.js | 4 +
.../dist/localization/messages_pt_BR.js | 39 +
.../dist/localization/messages_pt_BR.min.js | 4 +
.../dist/localization/messages_pt_PT.js | 37 +
.../dist/localization/messages_pt_PT.min.js | 4 +
.../dist/localization/messages_ro.js | 33 +
.../dist/localization/messages_ro.min.js | 4 +
.../dist/localization/messages_ru.js | 33 +
.../dist/localization/messages_ru.min.js | 4 +
.../dist/localization/messages_si.js | 33 +
.../dist/localization/messages_si.min.js | 4 +
.../dist/localization/messages_sk.js | 30 +
.../dist/localization/messages_sk.min.js | 4 +
.../dist/localization/messages_sl.js | 33 +
.../dist/localization/messages_sl.min.js | 4 +
.../dist/localization/messages_sr.js | 33 +
.../dist/localization/messages_sr.min.js | 4 +
.../dist/localization/messages_sr_lat.js | 33 +
.../dist/localization/messages_sr_lat.min.js | 4 +
.../dist/localization/messages_sv.js | 31 +
.../dist/localization/messages_sv.min.js | 4 +
.../dist/localization/messages_th.js | 33 +
.../dist/localization/messages_th.min.js | 4 +
.../dist/localization/messages_tj.js | 33 +
.../dist/localization/messages_tj.min.js | 4 +
.../dist/localization/messages_tr.js | 34 +
.../dist/localization/messages_tr.min.js | 4 +
.../dist/localization/messages_uk.js | 33 +
.../dist/localization/messages_uk.min.js | 4 +
.../dist/localization/messages_vi.js | 33 +
.../dist/localization/messages_vi.min.js | 4 +
.../dist/localization/messages_zh.js | 33 +
.../dist/localization/messages_zh.min.js | 4 +
.../dist/localization/messages_zh_TW.js | 34 +
.../dist/localization/messages_zh_TW.min.js | 4 +
.../dist/localization/methods_de.js | 22 +
.../dist/localization/methods_de.min.js | 4 +
.../dist/localization/methods_es_CL.js | 22 +
.../dist/localization/methods_es_CL.min.js | 4 +
.../dist/localization/methods_fi.js | 22 +
.../dist/localization/methods_fi.min.js | 4 +
.../dist/localization/methods_nl.js | 19 +
.../dist/localization/methods_nl.min.js | 4 +
.../dist/localization/methods_pt.js | 19 +
.../dist/localization/methods_pt.min.js | 4 +
.../static/new/packages/ValidationPlugin/grunt.js | 100 -
.../packages/ValidationPlugin/lib/jquery-1.11.1.js | 10308 +++++++++++++++++++
.../packages/ValidationPlugin/lib/jquery-1.3.2.js | 4376 --------
.../packages/ValidationPlugin/lib/jquery-1.4.2.js | 6240 -----------
.../packages/ValidationPlugin/lib/jquery-1.4.4.js | 7179 -------------
.../packages/ValidationPlugin/lib/jquery-1.5.2.js | 8374 ---------------
.../packages/ValidationPlugin/lib/jquery-1.6.1.js | 8936 ----------------
.../packages/ValidationPlugin/lib/jquery-1.7.2.js | 0
.../packages/ValidationPlugin/lib/jquery-1.8.3.js | 9472 +++++++++++++++++
.../packages/ValidationPlugin/lib/jquery-1.9.1.js | 9597 +++++++++++++++++
.../packages/ValidationPlugin/lib/jquery.form.js | 1686 +--
.../new/packages/ValidationPlugin/lib/jquery.js | 4383 +-------
.../ValidationPlugin/lib/jquery.metadata.js | 122 -
.../ValidationPlugin/lib/jquery.mockjax.js | 838 +-
.../ValidationPlugin/lib/jquery.simulate.js | 314 +
.../new/packages/ValidationPlugin/lib/require.js | 36 +
.../ValidationPlugin/localization/messages_ar.js | 24 -
.../ValidationPlugin/localization/messages_bg.js | 23 -
.../ValidationPlugin/localization/messages_ca.js | 23 -
.../ValidationPlugin/localization/messages_cs.js | 23 -
.../ValidationPlugin/localization/messages_da.js | 20 -
.../ValidationPlugin/localization/messages_de.js | 20 -
.../ValidationPlugin/localization/messages_el.js | 24 -
.../ValidationPlugin/localization/messages_es.js | 23 -
.../ValidationPlugin/localization/messages_et.js | 21 -
.../ValidationPlugin/localization/messages_eu.js | 23 -
.../ValidationPlugin/localization/messages_fa.js | 23 -
.../ValidationPlugin/localization/messages_fi.js | 21 -
.../ValidationPlugin/localization/messages_fr.js | 44 -
.../ValidationPlugin/localization/messages_he.js | 23 -
.../ValidationPlugin/localization/messages_hr.js | 23 -
.../ValidationPlugin/localization/messages_hu.js | 20 -
.../ValidationPlugin/localization/messages_it.js | 23 -
.../ValidationPlugin/localization/messages_ja.js | 23 -
.../ValidationPlugin/localization/messages_ka.js | 23 -
.../ValidationPlugin/localization/messages_kk.js | 23 -
.../ValidationPlugin/localization/messages_lt.js | 23 -
.../ValidationPlugin/localization/messages_lv.js | 23 -
.../ValidationPlugin/localization/messages_nl.js | 23 -
.../ValidationPlugin/localization/messages_no.js | 23 -
.../ValidationPlugin/localization/messages_pl.js | 23 -
.../localization/messages_pt_BR.js | 24 -
.../localization/messages_pt_PT.js | 24 -
.../ValidationPlugin/localization/messages_ro.js | 23 -
.../ValidationPlugin/localization/messages_ru.js | 23 -
.../ValidationPlugin/localization/messages_si.js | 23 -
.../ValidationPlugin/localization/messages_sk.js | 20 -
.../ValidationPlugin/localization/messages_sl.js | 23 -
.../ValidationPlugin/localization/messages_sr.js | 23 -
.../ValidationPlugin/localization/messages_sv.js | 21 -
.../ValidationPlugin/localization/messages_th.js | 23 -
.../ValidationPlugin/localization/messages_tr.js | 23 -
.../ValidationPlugin/localization/messages_uk.js | 23 -
.../ValidationPlugin/localization/messages_vi.js | 23 -
.../ValidationPlugin/localization/messages_zh.js | 23 -
.../localization/messages_zh_TW.js | 24 -
.../ValidationPlugin/localization/methods_de.js | 12 -
.../ValidationPlugin/localization/methods_nl.js | 9 -
.../ValidationPlugin/localization/methods_pt.js | 9 -
.../new/packages/ValidationPlugin/package.json | 90 +-
.../ValidationPlugin/src/additional/accept.js | 33 +
.../ValidationPlugin/src/additional/additional.js | 24 +
.../src/additional/alphanumeric.js | 3 +
.../src/additional/bankaccountNL.js | 25 +
.../src/additional/bankorgiroaccountNL.js | 5 +
.../ValidationPlugin/src/additional/bic.js | 16 +
.../ValidationPlugin/src/additional/cifES.js | 61 +
.../ValidationPlugin/src/additional/cpfBR.js | 57 +
.../src/additional/creditcardtypes.js | 69 +
.../ValidationPlugin/src/additional/currency.js | 41 +
.../ValidationPlugin/src/additional/dateFA.js | 3 +
.../ValidationPlugin/src/additional/dateITA.js | 39 +
.../ValidationPlugin/src/additional/dateNL.js | 3 +
.../ValidationPlugin/src/additional/extension.js | 5 +
.../src/additional/giroaccountNL.js | 6 +
.../ValidationPlugin/src/additional/iban.js | 122 +
.../ValidationPlugin/src/additional/integer.js | 3 +
.../ValidationPlugin/src/additional/ipv4.js | 3 +
.../ValidationPlugin/src/additional/ipv6.js | 3 +
.../ValidationPlugin/src/additional/lettersonly.js | 3 +
.../src/additional/letterswithbasicpunc.js | 3 +
.../ValidationPlugin/src/additional/mobileNL.js | 3 +
.../ValidationPlugin/src/additional/mobileUK.js | 13 +
.../ValidationPlugin/src/additional/nieES.js | 34 +
.../ValidationPlugin/src/additional/nifES.js | 25 +
.../ValidationPlugin/src/additional/notEqualTo.js | 3 +
.../src/additional/nowhitespace.js | 3 +
.../ValidationPlugin/src/additional/pattern.js | 22 +
.../ValidationPlugin/src/additional/phoneNL.js | 6 +
.../ValidationPlugin/src/additional/phoneUK.js | 13 +
.../ValidationPlugin/src/additional/phoneUS.js | 21 +
.../ValidationPlugin/src/additional/phonesUK.js | 14 +
.../src/additional/postalCodeCA.js | 16 +
.../src/additional/postalcodeBR.js | 11 +
.../src/additional/postalcodeIT.js | 4 +
.../src/additional/postalcodeNL.js | 3 +
.../ValidationPlugin/src/additional/postcodeUK.js | 4 +
.../src/additional/require_from_group.js | 37 +
.../src/additional/skip_or_fill_minimum.js | 43 +
.../ValidationPlugin/src/additional/statesUS.js | 58 +
.../src/additional/strippedminlength.js | 4 +
.../ValidationPlugin/src/additional/time.js | 3 +
.../ValidationPlugin/src/additional/time12h.js | 3 +
.../ValidationPlugin/src/additional/url2.js | 4 +
.../ValidationPlugin/src/additional/vinUS.js | 54 +
.../ValidationPlugin/src/additional/zipcodeUS.js | 3 +
.../ValidationPlugin/src/additional/ziprange.js | 3 +
.../new/packages/ValidationPlugin/src/ajax.js | 33 +
.../new/packages/ValidationPlugin/src/core.js | 1346 +++
.../src/localization/messages_ar.js | 23 +
.../src/localization/messages_bg.js | 23 +
.../src/localization/messages_bn_BD.js | 23 +
.../src/localization/messages_ca.js | 23 +
.../src/localization/messages_cs.js | 23 +
.../src/localization/messages_da.js | 20 +
.../src/localization/messages_de.js | 20 +
.../src/localization/messages_el.js | 23 +
.../src/localization/messages_es.js | 26 +
.../src/localization/messages_es_AR.js | 27 +
.../src/localization/messages_es_PE.js | 27 +
.../src/localization/messages_et.js | 21 +
.../src/localization/messages_eu.js | 23 +
.../src/localization/messages_fa.js | 26 +
.../src/localization/messages_fi.js | 21 +
.../src/localization/messages_fr.js | 49 +
.../src/localization/messages_ge.js | 23 +
.../src/localization/messages_gl.js | 28 +
.../src/localization/messages_he.js | 23 +
.../src/localization/messages_hr.js | 23 +
.../src/localization/messages_hu.js | 22 +
.../src/localization/messages_hy_AM.js | 23 +
.../src/localization/messages_id.js | 22 +
.../src/localization/messages_is.js | 21 +
.../src/localization/messages_it.js | 27 +
.../src/localization/messages_ja.js | 23 +
.../src/localization/messages_ka.js | 23 +
.../src/localization/messages_kk.js | 23 +
.../src/localization/messages_ko.js | 23 +
.../src/localization/messages_lt.js | 23 +
.../src/localization/messages_lv.js | 23 +
.../src/localization/messages_my.js | 23 +
.../src/localization/messages_nl.js | 33 +
.../src/localization/messages_no.js | 23 +
.../src/localization/messages_pl.js | 23 +
.../src/localization/messages_pt_BR.js | 29 +
.../src/localization/messages_pt_PT.js | 27 +
.../src/localization/messages_ro.js | 23 +
.../src/localization/messages_ru.js | 23 +
.../src/localization/messages_si.js | 23 +
.../src/localization/messages_sk.js | 20 +
.../src/localization/messages_sl.js | 23 +
.../src/localization/messages_sr.js | 23 +
.../src/localization/messages_sr_lat.js | 23 +
.../src/localization/messages_sv.js | 21 +
.../src/localization/messages_th.js | 23 +
.../src/localization/messages_tj.js | 23 +
.../src/localization/messages_tr.js | 24 +
.../src/localization/messages_uk.js | 23 +
.../src/localization/messages_vi.js | 23 +
.../src/localization/messages_zh.js | 23 +
.../src/localization/messages_zh_TW.js | 24 +
.../src/localization/methods_de.js | 12 +
.../src/localization/methods_es_CL.js | 12 +
.../src/localization/methods_fi.js | 12 +
.../src/localization/methods_nl.js | 9 +
.../src/localization/methods_pt.js | 9 +
.../new/packages/ValidationPlugin/test/aria.js | 83 +
.../ValidationPlugin/test/error-placement.js | 358 +
.../new/packages/ValidationPlugin/test/events.html | 71 -
.../ValidationPlugin/test/firebug/errorIcon.png | Bin 457 -> 0 bytes
.../ValidationPlugin/test/firebug/firebug.css | 209 -
.../ValidationPlugin/test/firebug/firebug.html | 23 -
.../ValidationPlugin/test/firebug/firebug.js | 672 --
.../ValidationPlugin/test/firebug/firebugx.js | 10 -
.../ValidationPlugin/test/firebug/infoIcon.png | Bin 524 -> 0 bytes
.../ValidationPlugin/test/firebug/warningIcon.png | Bin 516 -> 0 bytes
.../new/packages/ValidationPlugin/test/index.html | 651 +-
.../new/packages/ValidationPlugin/test/jquery.js | 25 -
.../new/packages/ValidationPlugin/test/large.html | 188 -
.../new/packages/ValidationPlugin/test/messages.js | 29 +-
.../new/packages/ValidationPlugin/test/methods.js | 1094 +-
.../packages/ValidationPlugin/test/qunit/qunit.css | 176 +-
.../packages/ValidationPlugin/test/qunit/qunit.js | 4947 ++++++---
.../new/packages/ValidationPlugin/test/rules.js | 170 +-
.../ValidationPlugin/test/selects/index.html | 436 -
.../new/packages/ValidationPlugin/test/tabs.html | 78 -
.../new/packages/ValidationPlugin/test/test.js | 2335 +++--
wqflask/wqflask/templates/base.html | 5 +-
wqflask/wqflask/templates/correlation_page.html | 20 +-
.../wqflask/templates/new_security/login_user.html | 1 -
391 files changed, 52322 insertions(+), 47734 deletions(-)
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/Gruntfile.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/README.md
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/changelog.txt
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/ajaxSubmit-integration-demo.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/captcha.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/fonts/Anorexia.ttf
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/image_req.php
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/button.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/image.php
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/index.php
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/newsession.php
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/process.php
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/rand.php
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/style.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxform.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxformTemplate.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/core.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/reset.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/screen.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-messages-data-demo.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-methods-demo.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/dynamic-totals.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errorcontainer-demo.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errors-within-labels.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/file_input.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/bg.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/checked.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-divider.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-fieldset.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/loading.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/unchecked.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/jquerymobile.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/bg.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/header1.jpg
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/page.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/required_star.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/screen.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/backRequiredGray.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_green-fade.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_nav_blue.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/blank.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/button-submit.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/favicon.ico
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/help.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/left-nav-callout-long.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/login-sprite.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/logo_marketo.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/sf.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step1-24.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step2-24.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step3-24.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab-sprite.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab_green.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/time.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/toggle.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/warning.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/jquery.maskedinput.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/mktSignup.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/step2.htm
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/stylesheet.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/bg.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/left_white.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/right_white.png
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/style.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/radio-checkbox-select-demo.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/app.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/site-demos.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/themerollered.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/index.html
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/editor_template.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/img/icons.gif
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/langs/en.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/skins/default/ui.css
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/tiny_mce.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce4/index.html
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/additional-methods.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/additional-methods.min.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/jquery.validate.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/jquery.validate.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ar.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ar.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_bg.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_bg.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_bn_BD.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_bn_BD.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ca.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ca.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_cs.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_cs.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_da.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_da.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_de.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_de.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_el.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_el.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_es.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_es.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_es_AR.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_es_AR.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_es_PE.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_es_PE.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_et.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_et.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_eu.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_eu.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_fa.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_fa.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_fi.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_fi.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_fr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_fr.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ge.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ge.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_gl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_gl.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_he.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_he.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_hr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_hr.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_hu.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_hu.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_hy_AM.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_hy_AM.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_id.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_id.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_is.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_is.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_it.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_it.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ja.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ja.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ka.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ka.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_kk.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_kk.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ko.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ko.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_lt.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_lt.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_lv.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_lv.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_my.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_my.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_nl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_nl.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_no.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_no.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_pl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_pl.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_pt_BR.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_pt_BR.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_pt_PT.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_pt_PT.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ro.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ro.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ru.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_ru.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_si.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_si.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sk.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sk.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sl.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sr.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sr_lat.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sr_lat.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sv.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_sv.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_th.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_th.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_tj.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_tj.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_tr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_tr.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_uk.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_uk.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_vi.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_vi.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_zh.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_zh.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_zh_TW.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/messages_zh_TW.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_de.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_de.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_es_CL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_es_CL.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_fi.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_fi.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_nl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_nl.min.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_pt.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/dist/localization/methods_pt.min.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/grunt.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.11.1.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.3.2.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.4.2.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.4.4.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.5.2.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.6.1.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.7.2.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.8.3.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery-1.9.1.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery.form.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery.metadata.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery.mockjax.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/jquery.simulate.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/lib/require.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_ar.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_bg.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_ca.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_cs.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_da.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_de.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_el.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_es.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_et.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_eu.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_fa.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_fi.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_fr.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_he.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_hr.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_hu.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_it.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_ja.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_ka.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_kk.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_lt.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_lv.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_nl.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_no.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_pl.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_pt_BR.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_pt_PT.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_ro.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_ru.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_si.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_sk.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_sl.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_sr.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_sv.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_th.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_tr.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_uk.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_vi.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_zh.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/messages_zh_TW.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/methods_de.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/methods_nl.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/localization/methods_pt.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/package.json
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/accept.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/additional.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/alphanumeric.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/bankaccountNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/bankorgiroaccountNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/bic.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/cifES.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/cpfBR.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/creditcardtypes.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/currency.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/dateFA.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/dateITA.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/dateNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/extension.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/giroaccountNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/iban.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/integer.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/ipv4.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/ipv6.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/lettersonly.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/letterswithbasicpunc.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/mobileNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/mobileUK.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/nieES.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/nifES.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/notEqualTo.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/nowhitespace.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/pattern.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/phoneNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/phoneUK.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/phoneUS.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/phonesUK.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/postalCodeCA.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/postalcodeBR.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/postalcodeIT.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/postalcodeNL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/postcodeUK.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/require_from_group.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/skip_or_fill_minimum.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/statesUS.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/strippedminlength.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/time.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/time12h.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/url2.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/vinUS.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/zipcodeUS.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/additional/ziprange.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/ajax.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/core.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ar.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_bg.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_bn_BD.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ca.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_cs.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_da.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_de.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_el.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_es.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_es_AR.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_es_PE.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_et.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_eu.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_fa.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_fi.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_fr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ge.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_gl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_he.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_hr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_hu.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_hy_AM.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_id.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_is.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_it.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ja.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ka.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_kk.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ko.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_lt.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_lv.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_my.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_nl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_no.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_pl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_pt_BR.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_pt_PT.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ro.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_ru.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_si.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_sk.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_sl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_sr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_sr_lat.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_sv.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_th.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_tj.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_tr.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_uk.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_vi.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_zh.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/messages_zh_TW.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/methods_de.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/methods_es_CL.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/methods_fi.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/methods_nl.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/src/localization/methods_pt.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/aria.js
create mode 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/error-placement.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/events.html
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/errorIcon.png
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/firebug.css
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/firebug.html
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/firebug.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/firebugx.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/infoIcon.png
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/firebug/warningIcon.png
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/index.html
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/jquery.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/large.html
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/messages.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/methods.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/qunit/qunit.css
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/qunit/qunit.js
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/rules.js
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/selects/index.html
delete mode 100755 wqflask/wqflask/static/new/packages/ValidationPlugin/test/tabs.html
mode change 100755 => 100644 wqflask/wqflask/static/new/packages/ValidationPlugin/test/test.js
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/Gruntfile.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/Gruntfile.js
new file mode 100644
index 00000000..f6e42d02
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/Gruntfile.js
@@ -0,0 +1,186 @@
+/*jshint node:true*/
+module.exports = function(grunt) {
+
+"use strict";
+
+var banner,
+ umdStart,
+ umdMiddle,
+ umdEnd,
+ umdStandardDefine,
+ umdAdditionalDefine,
+ umdLocalizationDefine;
+
+banner = "/*!\n" +
+ " * jQuery Validation Plugin v<%= pkg.version %>\n" +
+ " *\n" +
+ " * <%= pkg.homepage %>\n" +
+ " *\n" +
+ " * Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>\n" +
+ " * Released under the <%= _.pluck(pkg.licenses, 'type').join(', ') %> license\n" +
+ " */\n";
+
+// define UMD wrapper variables
+
+umdStart = "(function( factory ) {\n" +
+ "\tif ( typeof define === \"function\" && define.amd ) {\n";
+
+umdMiddle = "\t} else {\n" +
+ "\t\tfactory( jQuery );\n" +
+ "\t}\n" +
+ "}(function( $ ) {\n\n";
+
+umdEnd = "\n}));";
+
+umdStandardDefine = "\t\tdefine( [\"jquery\"], factory );\n";
+umdAdditionalDefine = "\t\tdefine( [\"jquery\", \"./jquery.validate\"], factory );\n";
+umdLocalizationDefine = "\t\tdefine( [\"jquery\", \"../jquery.validate\"], factory );\n";
+
+grunt.initConfig({
+ pkg: grunt.file.readJSON("package.json"),
+ concat: {
+ // used to copy to dist folder
+ dist: {
+ options: {
+ banner: banner +
+ umdStart +
+ umdStandardDefine +
+ umdMiddle,
+ footer: umdEnd
+ },
+ files: {
+ "dist/jquery.validate.js": [ "src/core.js", "src/*.js" ]
+ }
+ },
+ extra: {
+ options: {
+ banner: banner +
+ umdStart +
+ umdAdditionalDefine +
+ umdMiddle,
+ footer: umdEnd
+ },
+ files: {
+ "dist/additional-methods.js": [ "src/additional/additional.js", "src/additional/*.js" ]
+ }
+ }
+ },
+ uglify: {
+ options: {
+ preserveComments: false,
+ banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " +
+ "<%= grunt.template.today('m/d/yyyy') %>\n" +
+ " * <%= pkg.homepage %>\n" +
+ " * Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" +
+ " Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */\n"
+ },
+ dist: {
+ files: {
+ "dist/additional-methods.min.js": "dist/additional-methods.js",
+ "dist/jquery.validate.min.js": "dist/jquery.validate.js"
+ }
+ },
+ all: {
+ expand: true,
+ cwd: "dist/localization",
+ src: "**/*.js",
+ dest: "dist/localization",
+ ext: ".min.js"
+ }
+ },
+ compress: {
+ dist: {
+ options: {
+ mode: "zip",
+ level: 1,
+ archive: "dist/<%= pkg.name %>-<%= pkg.version %>.zip",
+ pretty: true
+ },
+ src: [
+ "changelog.txt",
+ "demo/**/*.*",
+ "dist/**/*.js",
+ "Gruntfile.js",
+ "lib/**/*.*",
+ "package.json",
+ "README.md",
+ "src/**/*.*",
+ "test/**/*.*"
+ ]
+ }
+ },
+ qunit: {
+ files: "test/index.html"
+ },
+ jshint: {
+ options: {
+ jshintrc: true
+ },
+ core: {
+ src: "src/**/*.js"
+ },
+ test: {
+ src: "test/*.js"
+ },
+ grunt: {
+ src: "Gruntfile.js"
+ }
+ },
+ watch: {
+ options: {
+ atBegin: true
+ },
+ src: {
+ files: "<%= jshint.core.src %>",
+ tasks: [
+ "concat"
+ ]
+ }
+ },
+ jscs: {
+ all: [ "<%= jshint.core.src %>", "<%= jshint.test.src %>", "<%= jshint.grunt.src %>" ]
+ },
+ copy: {
+ dist: {
+ options: {
+ // append UMD wrapper
+ process: function( content ) {
+ return umdStart + umdLocalizationDefine + umdMiddle + content + umdEnd;
+ }
+ },
+ src: "src/localization/*",
+ dest: "dist/localization",
+ expand: true,
+ flatten: true,
+ filter: "isFile"
+ }
+ },
+ replace: {
+ dist: {
+ src: "dist/**/*.min.js",
+ overwrite: true,
+ replacements: [
+ {
+ from: "./jquery.validate",
+ to: "./jquery.validate.min"
+ }
+ ]
+ }
+ }
+});
+
+grunt.loadNpmTasks("grunt-contrib-jshint");
+grunt.loadNpmTasks("grunt-contrib-qunit");
+grunt.loadNpmTasks("grunt-contrib-uglify");
+grunt.loadNpmTasks("grunt-contrib-concat");
+grunt.loadNpmTasks("grunt-contrib-compress");
+grunt.loadNpmTasks("grunt-contrib-watch");
+grunt.loadNpmTasks("grunt-jscs");
+grunt.loadNpmTasks("grunt-contrib-copy");
+grunt.loadNpmTasks("grunt-text-replace");
+
+grunt.registerTask("default", [ "concat", "copy", "jscs", "jshint", "qunit" ]);
+grunt.registerTask("release", [ "default", "uglify", "replace", "compress" ]);
+grunt.registerTask("start", [ "concat", "watch" ]);
+
+};
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/README.md b/wqflask/wqflask/static/new/packages/ValidationPlugin/README.md
old mode 100755
new mode 100644
index 28a0bec9..4b9a33e8
--- a/wqflask/wqflask/static/new/packages/ValidationPlugin/README.md
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/README.md
@@ -1,10 +1,15 @@
-[jQuery Validation Plugin](http://bassistance.de/jquery-plugins/jquery-plugin-validation/) - Form validation made easy
+[jQuery Validation Plugin](http://jqueryvalidation.org/) - Form validation made easy
================================
+[![Build Status](https://secure.travis-ci.org/jzaefferer/jquery-validation.png)](http://travis-ci.org/jzaefferer/jquery-validation)
+[![devDependency Status](https://david-dm.org/jzaefferer/jquery-validation/dev-status.png?theme=shields.io)](https://david-dm.org/jzaefferer/jquery-validation#info=devDependencies)
+
The jQuery Validation Plugin provides drop-in validation for your existing forms, while making all kinds of customizations to fit your application really easy.
## [Help the project](http://pledgie.com/campaigns/18159)
+[![Help the project](http://www.pledgie.com/campaigns/18159.png?skin_name=chrome)](http://pledgie.com/campaigns/18159)
+
This project is looking for help! [You can donate to the ongoing pledgie campaign](http://pledgie.com/campaigns/18159)
and help spread the word. If you've used the plugin, or plan to use, consider a donation - any amount will help.
@@ -12,6 +17,20 @@ You can find the plan for how to spend the money on the [pledgie page](http://pl
## Getting Started
+### Downloading the prebuilt files
+
+Prebuilt files can be downloaded from http://jqueryvalidation.org/
+
+### Downloading the latest changes
+
+The unreleased development files can be obtained by:
+
+ 1. [Downloading](https://github.com/jzaefferer/jquery-validation/archive/master.zip) or Forking this repository
+ 2. [Setup the build](CONTRIBUTING.md#build-setup)
+ 3. Run `grunt` to create the built files in the "dist" directory
+
+### Including it on your page
+
Include jQuery and the plugin on a page. Then select a form to validate and call the `validate` method.
```html
@@ -19,21 +38,28 @@ Include jQuery and the plugin on a page. Then select a form to validate and call
-
+
```
-For more information on how to setup a rules and customizations, [check the documentation](http://docs.jquery.com/Plugins/Validation).
+Alternatively include jQuery and the plugin via requirejs in your module.
+
+```js
+define(["jquery", "jquery.validate"], function( $ ) {
+ $("form").validate();
+});
+```
+
+For more information on how to setup a rules and customizations, [check the documentation](http://jqueryvalidation.org/documentation/).
-## Contributing
-In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt).
+## Reporting issues and contributing code
-If you've wrote custom methods that you'd like to contribute to additional-methods.js, create a branch, add the method there and send a pull request for that branch.
+See the [Contributing Guidelines](CONTRIBUTING.md) for details.
-If you've wrote a patch for some bug listed on http://plugins.jquery.com/project/issues/validate, please provide a link to that issue in your commit message.
+**IMPORTANT NOTE ABOUT EMAIL VALIDATION**. As of version 1.12.0 this plugin is using the same regular expression that the [HTML5 specification suggests for browsers to use](https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address). We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them. If you have different requirements, consider [using a custom method](http://jqueryvalidation.org/jQuery.validator.addMethod/).
## License
-Copyright (c) 2012 Jörn Zaefferer
+Copyright © Jörn Zaefferer
Licensed under the MIT license.
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/changelog.txt b/wqflask/wqflask/static/new/packages/ValidationPlugin/changelog.txt
deleted file mode 100755
index 89171539..00000000
--- a/wqflask/wqflask/static/new/packages/ValidationPlugin/changelog.txt
+++ /dev/null
@@ -1,337 +0,0 @@
-1.10.0 / 2012-09-07
-===================
-
- * Corrected French strings for nowhitespace, phoneUS, phoneUK and mobileUK based upon community feedback.
- * rename files for language_REGION according to the standard ISO_3166-1 (http://en.wikipedia.org/wiki/ISO_3166-1), for Taiwan tha language is Chinese (zh) and the region is Taiwan (TW)
- * Optimise RegEx patterns, especially for UK phone numbers.
- * Add Language Name for each file, rename the language code according to the standard ISO 639 for Estonian, Georgian, Ukrainian and Chinese (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
- * Added croatian (HR) localization
- * Existing French translations were edited and French translations for the additional methods were added.
- * Merged in changes for specifying custom error messages in data attributes
- * Updated UK Mobile phone number regex for new numbers. Fixes #154
- * Add element to success call with test. Fixes #60
- * Fixed regex for time additional method. Fixes #131
- * resetForm now clears old previousValue on form elements. Fixes #312
- * Added checkbox test to require_from_group and changed require_from_group to use elementValue. Fixes #359
- * Fixed dataFilter response issues in jQuery 1.5.2+. Fixes #405
- * Added jQuery Mobile demo. Fixes #249
- * Deoptimize findByName for correctness. Fixes #82 - $.validator.prototype.findByName breaks in IE7
- * Added US zip code support and test. Fixes #90
- * Changed lastElement to lastActive in keyup, skip validation on tab or empty element. Fixes #244
- * Removed number stripping from stripHtml. Fixes #2
- * Fixed invalid count on invalid to valid remote validation. Fixes #286
- * Add link to file_input to demo index
- * Moved old accept method to extension additional-method, added new accept method to handle standard browser mimetype filtering. Fixes #287 and supersedes #369
- * Disables blur event when onfocusout is set to false. Test added.
- * Fixed value issue for radio buttons and checkboxes. Fixes #363
- * Added test for rangeWords and fixed regex and bounds in method. Fixes #308
- * Fixed TinyMCE Demo and added link on demo page. Fixes #382
- * Changed localization message for min/max. Fixes #273
- * Added pseudo selector for text input types to fix issue with default empty type attribute. Added tests and some test markup. Fixes #217
- * Fixed delegate bug for dynamic-totals demo. Fixes #51
- * Fix incorrect message for alphanumeric validator
- * Removed incorrect false check on required attribute
- * required attribute fix for non-html5 browsers. Fixes #301
- * Added methods "require_from_group" and "skip_or_fill_minimum"
- * Use correct iso code for swedish
- * Updated demo HTML files to use HTML5 doctype
- * Fixed regex issue for decimals without leading zeroes. Added new methods test. Fixes #41
- * Introduce a elementValue method that normalizes only string values (don't touch array value of multi-select). Fixes #116
- * Support for dynamically added submit buttons, and updated test case. Uses validateDelegate. Code from PR #9
- * Fix bad double quote in test fixtures
- * Fix maxWords method to include the upper bound, not exclude it. Fixes #284
- * Fixed grammar error in german range validator message. Fixes #315
- * Fixed handling of multiple class names for errorClass option. Test by Max Lynch. Fixes #280
- * Fix jQuery.format usage, should be $.validator.format. Fixes #329
- * Methods for 'all' UK phone numbers + UK postcodes
- * Pattern method: Convert string param to RegExp. Fixes issue #223
- * grammar error in german localization file
- * Added Estonian localization for messages
- * Improve tooltip handling on themerollered demo
- * Add type="text" to input fields without type attribute to please qSA
- * Update themerollered demo to use tooltip to show errors as overlay.
- * Update themerollered demo to use latest jQuery UI (along with newer jQuery version). Move code around to speed up page load.
- * Fixed min error message broken in Japanese.
- * Update form plugin to latest version. Enhance the ajaxSubmit demo.
- * Drop dateDE and numberDE methods from classRuleSettings, leftover from moving those to localized methods
- * Passing submit event to submitHandler callback
- * Fixed #219 - Fix valid() on elements with dependency-callback or dependency-expression.
- * Improve build to remove dist dir to ensure only the current release gets zipped up
-
-1.9.0
----
-* Added Basque (EU) localization
-* Added Slovenian (SL) localization
-* Fixed issue #127 - Finnish translations has one : instead of ;
-* Fixed Russian localization, minor syntax issue
-* Added in support for HTML5 input types, fixes #97
-* Improved HTML5 support by setting novalidate attribute on the form, and reading the type attribute.
-* Fixed showLabel() removing all classes from error element. Remove only settings.validClass. Fixes #151.
-* Added 'pattern' to additional-methods to validate against arbitraty regular expressions.
-* Improved email method to not allow the dot at the end (valid by RFC, but unwanted here). Fixes #143
-* Fixed swedish and norwedian translations, min/max messages got switched. Fixes #181
-* Fixed #184 - resetForm: should unset lastElement
-* Fixed #71 - improve existing time method and add time12h method for 12h am/pm time format
-* Fixed #177 - Fix validation of a single radio or checkbox input
-* Fixed #189 - :hidden elements are now ignored by default
-* Fixed #194 - Required as attribute fails if jQuery>=1.6 - Use .prop instead of .attr
-* Fixed #47, #39, #32 - Allowed credit card numbers to contain spaces as well as dashes (spaces are commonly input by users).
-
-1.8.1
----
-* Added Thai (TH) localization, fixes #85
-* Added Vietnamese (VI) localization, thanks Ngoc
-* Fixed issue #78. Error/Valid styling applies to all radio buttons of same group for required validation.
-* Don't use form.elements as that isn't supported in jQuery 1.6 anymore. Its buggy as hell anyway (IE6-8: form.elements === form).
-
-1.8.0
----
-* Improved NL localization (http://plugins.jquery.com/node/14120)
-* Added Georgian (GE) localization, thanks Avtandil Kikabidze
-* Added Serbian (SR) localization, thanks Aleksandar Milovac
-* Added ipv4 and ipv6 to additional methods, thanks Natal Ngétal
-* Added Japanese (JA) localization, thanks Bryan Meyerovich
-* Added Catalan (CA) localization, thanks Xavier de Pedro
-* Fixed missing var statements within for-in loops
-* Fix for remote validation, where a formatted message got messed up (https://github.com/jzaefferer/jquery-validation/issues/11)
-* Bugfixes for compability with jQuery 1.5.1, while maintaining backwards-compability
-
-1.7
----
-* Added Lithuanian (LT) localization
-* Added Greek (EL) localization (http://plugins.jquery.com/node/12319)
-* Added Latvian (LV) localization (http://plugins.jquery.com/node/12349)
-* Added Hebrew (HE) localization (http://plugins.jquery.com/node/12039)
-* Fixed Spanish (ES) localization (http://plugins.jquery.com/node/12696)
-* Added jQuery UI themerolled demo
-* Removed cmxform.js
-* Fixed four missing semicolons (http://plugins.jquery.com/node/12639)
-* Renamed phone-method in additional-methods.js to phoneUS
-* Added phoneUK and mobileUK methods to additional-methods.js (http://plugins.jquery.com/node/12359)
-* Deep extend options to avoid modifying multiple forms when using the rules-method on a single element (http://plugins.jquery.com/node/12411)
-* Bugfixes for compability with jQuery 1.4.2, while maintaining backwards-compability
-
-1.6
----
-* Added Arabic (AR), Portuguese (PTPT), Persian (FA), Finnish (FI) and Bulgarian (BR) localization
-* Updated Swedish (SE) localization (some missing html iso characters)
-* Fixed $.validator.addMethod to properly handle empty string vs. undefined for the message argument
-* Fixed two accidental global variables
-* Enhanced min/max/rangeWords (in additional-methods.js) to strip html before counting; good when counting words in a richtext editor
-* Added localized methods for DE, NL and PT, removing the dateDE and numberDE methods (use messages_de.js and methods_de.js with date and number methods instead)
-* Fixed remote form submit synchronization, kudos to Matas Petrikas
-* Improved interactive select validation, now validating also on click (via option or select, inconsistent across browsers); doesn't work in Safari, which doesn't trigger a click event at all on select elements; fixes http://plugins.jquery.com/node/11520
-* Updated to latest form plugin (2.36), fixing http://plugins.jquery.com/node/11487
-* Bind to blur event for equalTo target to revalidate when that target changes, fixes http://plugins.jquery.com/node/11450
-* Simplified select validation, delegating to jQuery's val() method to get the select value; should fix http://plugins.jquery.com/node/11239
-* Fixed default message for digits (http://plugins.jquery.com/node/9853)
-* Fixed issue with cached remote message (http://plugins.jquery.com/node/11029 and http://plugins.jquery.com/node/9351)
-* Fixed a missing semicolon in additional-methods.js (http://plugins.jquery.com/node/9233)
-* Added automatic detection of substitution parameters in messages, removing the need to provide format functions (http://plugins.jquery.com/node/11195)
-* Fixed an issue with :filled/:blank somewhat caused by Sizzle (http://plugins.jquery.com/node/11144)
-* Added an integer method to additional-methods.js (http://plugins.jquery.com/node/9612)
-* Fixed errorsFor method where the for-attribute contains characters that need escaping to be valid inside a selector (http://plugins.jquery.com/node/9611)
-
-1.5.5
----
-* Fix for http://plugins.jquery.com/node/8659
-* Fixed trailing comma in messages_cs.js
-
-1.5.4
----
-* Fixed remote method bug (http://plugins.jquery.com/node/8658)
-
-1.5.3
----
-* Fixed a bug related to the wrapper-option, where all ancestor-elements that matched the wrapper-option where selected (http://plugins.jquery.com/node/7624)
-* Updated multipart demo to use latest jQuery UI accordion
-* Added dateNL and time methods to additionalMethods.js
-* Added Traditional Chinese (Taiwan, tw) and Kazakhstan (KK) localization
-* Moved jQuery.format (fomerly String.format) to jQuery.validator.format, jQuery.format is deprecated and will be removed in 1.6 (see http://code.google.com/p/jquery-utils/issues/detail?id=15 for details)
-* Cleaned up messages_pl.js and messages_ptbr.js (still defined messages for max/min/rangeValue, which were removed in 1.4)
-* Fixed flawed boolean logic in valid-plugin-method for multiple elements; now all elements need to be valid for a boolean-true result (http://plugins.jquery.com/node/8481)
-* Enhancement $.validator.addMethod: An undefined third message-argument won't overwrite an existing message (http://plugins.jquery.com/node/8443)
-* Enhancement to submitHandler option: When used, click events on submit buttons are captured and the submitting button is inserted into the form before calling submitHandler, and removed afterwards; keeps submit buttons intact (http://plugins.jquery.com/node/7183#comment-3585)
-* Added option validClass, default "valid", which adds that class to all valid elements, after validation (http://dev.jquery.com/ticket/2205)
-* Added creditcardtypes method to additionalMethods.js, including tests (via http://dev.jquery.com/ticket/3635)
-* Improved remote method to allow serverside message as a string, or true for valid, or false for invalid using the clientside defined message (http://dev.jquery.com/ticket/3807)
-* Improved accept method to also accept a Drupal-style comma-seperated list of values (http://plugins.jquery.com/node/8580)
-
-1.5.2
----
-* Fixed messages in additional-methods.js for maxWords, minWords, and rangeWords to include call to $.format
-* Fixed value passed to methods to exclude carriage return (\r), same as jQuery's val() does
-* Added slovak (sk) localization
-* Added demo for intergration with jQuery UI tabs
-* Added selects-grouping example to tabs demo (see second tab, birthdate field)
-
-1.5.1
----
-* Updated marketo demo to use invalidHandler option instead of binding invalid-form event
-* Added TinyMCE integration example
-* Added ukrainian (ua) localization
-* Fixed length validation to work with trimmed value (regression from 1.5 where general trimming before validation was removed)
-* Various small fixes for compability with both 1.2.6 and 1.3
-
-1.5
----
-* Improved basic demo, validating confirm-password field after password changed
-* Fixed basic validation to pass the untrimmed input value as the first parameter to validation methods, changed required accordingly; breaks existing custom method that rely on the trimming
-* Added norwegian (no), italian (it), hungarian (hu) and romanian (ro) localization
-* Fixed #3195: Two flaws in swedish localization
-* Fixed #3503: Extended rules("add") to accept messages propery: use to specify add custom messages to an element via rules("add", { messages: { required: "Required! " } });
-* Fixed #3356: Regression from #2908 when using meta-option
-* Fixed #3370: Added ignoreTitle option, set to skip reading messages from the title attribute, helps to avoid issues with Google Toolbar; default is false for compability
-* Fixed #3516: Trigger invalid-form event even when remote validation is involved
-* Added invalidHandler option as a shortcut to bind("invalid-form", function() {})
-* Fixed Safari issue for loading indicator in ajaxSubmit-integration-demo (append to body first, then hide)
-* Added test for creditcard validation and improved default message
-* Enhanced remote validation, accepting options to passthrough to $.ajax as paramter (either url string or options, including url property plus everything else that $.ajax supports)
-
-1.4
----
-* Fixed #2931, validate elements in document order and ignore type=image inputs
-* Fixed usage of $ and jQuery variables, now fully comptible with all variations of noConflict usage
-* Implemented #2908, enabling custom messages via metadata ala class="{required:true,messages:{required:'required field'}}", added demo/custom-messages-metadata-demo.html
-* Removed deprecated methods minValue (min), maxValue (max), rangeValue (rangevalue), minLength (minlength), maxLength (maxlength), rangeLength (rangelength)
-* Fixed #2215 regression: Call unhighlight only for current elements, not everything
-* Implemented #2989, enabling image button to cancel validation
-* Fixed issue where IE incorrectly validates against maxlength=0
-* Added czech (cs) localization
-* Reset validator.submitted on validator.resetForm(), enabling a full reset when necessary
-* Fixed #3035, skipping all falsy attributes when reading rules (0, undefined, empty string), removed part of the maxlength workaround (for 0)
-* Added dutch (nl) localization (#3201)
-
-1.3
----
-* Fixed invalid-form event, now only triggered when form is invalid
-* Added spanish (es), russian (ru), portuguese brazilian (ptbr), turkish (tr), and polish (pl) localization
-* Added removeAttrs plugin to facilate adding and removing multiple attributes
-* Added groups option to display a single message for multiple elements, via groups: { arbitraryGroupName: "fieldName1 fieldName2[, fieldNameN" }
-* Enhanced rules() for adding and removing (static) rules: rules("add", "method1[, methodN]"/{method1:param[, method_n:param]}) and rules("remove"[, "method1[, method_n]")
-* Enhanced rules-option, accepts space-seperated string-list of methods, eg. {birthdate: "required date"}
-* Fixed checkbox group validation with inline rules: As long as the rules are specified on the first element, the group is now properly validated on click
-* Fixed #2473, ignoring all rules with an explicit parameter of boolean-false, eg. required:false is the same as not specifying required at all (it was handled as required:true so far)
-* Fixed #2424, with a modified patch from #2473: Methods returning a dependency-mismatch don't stop other rules from being evaluated anymore; still, success isn't applied for optional fields
-* Fixed url and email validation to not use trimmed values
-* Fixed creditcard validation to accept only digits and dashes ("asdf" is not a valid creditcard number)
-* Allow both button and input elements for cancel buttons (via class="cancel")
-* Fixed #2215: Fixed message display to call unhighlight as part of showing and hiding messages, no more visual side-effects while checking an element and extracted validator.checkForm to validate a form without UI sideeffects
-* Rewrote custom selectors (:blank, :filled, :unchecked) with functions for compability with AIR
-
-1.2.1
------
-
-* Bundled delegeate plugin with validate plugin - its always required anyway
-* Improved remote validation to include parts from the ajaxQueue plugin for proper synchronization (no additional plugin necessary)
-* Fixed stopRequest to prevent pendingRequest < 0
-* Added jQuery.validator.autoCreateRanges property, defaults to false, enable to convert min/max to range and minlength/maxlength to rangelength; this basically fixes the issue introduced by automatically creating ranges in 1.2
-* Fixed optional-methods to not highlight anything at all if the field is blank, that is, don't trigger success
-* Allow false/null for highlight/unhighlight options instead of forcing a do-nothing-callback even when nothing needs to be highlighted
-* Fixed validate() call with no elements selected, returning undefined instead of throwing an error
-* Improved demo, replacing metadata with classes/attributes for specifying rules
-* Fixed error when no custom message is used for remote validation
-* Modified email and url validation to require domain label and top label
-* Fixed url and email validation to require TLD (actually to require domain label); 1.2 version (TLD is optional) is moved to additionals as url2 and email2
-* Fixed dynamic-totals demo in IE6/7 and improved templating, using textarea to store multiline template and string interpolation
-* Added login form example with "Email password" link that makes the password field optional
-* Enhanced dynamic-totals demo with an example of a single message for two fields
-
-1.2
----
-
-* Added AJAX-captcha validation example (based on http://psyrens.com/captcha/)
-* Added remember-the-milk-demo (thanks RTM team for the permission!)
-* Added marketo-demo (thanks Glen Lipka!)
-* Added support for ajax-validation, see method "remote"; serverside returns JSON, true for valid elements, false or a String for invalid, String is used as message
-* Added highlight and unhighlight options, by default toggles errorClass on element, allows custom highlighting
-* Added valid() plugin method for easy programmatic checking of forms and fields without the need to use the validator API
-* Added rules() plguin method to read and write rules for an element (currently read only)
-* Replaced regex for email method, thanks to the contribution by Scott Gonzalez, see http://projects.scottsplayground.com/email_address_validation/
-* Restructured event architecture to rely solely on delegation, both improving performance, and ease-of-use for the developer (requires jquery.delegate.js)
-* Moved documentation from inline to http://docs.jquery.com/Plugins/Validation - including interactive examples for all methods
-* Removed validator.refresh(), validation is now completey dynamic
-* Renamed minValue to min, maxValue to max and rangeValue to range, deprecating the previous names (to be removed in 1.3)
-* Renamed minLength to minlength, maxLength to maxlength and rangeLength to rangelength, deprecating the previous names (to be removed in 1.3)
-* Added feature to merge min + max into and range and minlength + maxlength into rangelength
-* Added support for dynamic rule parameters, allowing to specify a function as a parameter eg. for minlength, called when validating the element
-* Allow to specify null or an empty string as a message to display nothing (see marketo demo)
-* Rules overhaul: Now supports combination of rules-option, metadata, classes (new) and attributes (new), see rules() for details
-
-1.1.2
----
-
-* Replaced regex for URL method, thanks to the contribution by Scott Gonzalez, see http://projects.scottsplayground.com/iri/
-* Improved email method to better handle unicode characters
-* Fixed error container to hide when all elements are valid, not only on form submit
-* Fixed String.format to jQuery.format (moving into jQuery namespace)
-* Fixed accept method to accept both upper and lowercase extensions
-* Fixed validate() plugin method to create only one validator instance for a given form and always return that one instance (avoids binding events multiple times)
-* Changed debug-mode console log from "error" to "warn" level
-
-1.1.1
------
-
-* Fixed invalid XHTML, preventing error label creation in IE since jQuery 1.1.4
-* Fixed and improved String.format: Global search & replace, better handling of array arguments
-* Fixed cancel-button handling to use validator-object for storing state instead of form element
-* Fixed name selectors to handle "complex" names, eg. containing brackets ("list[]")
-* Added button and disabled elements to exclude from validation
-* Moved element event handlers to refresh to be able to add handlers to new elements
-* Fixed email validation to allow long top level domains (eg. ".travel")
-* Moved showErrors() from valid() to form()
-* Added validator.size(): returns the number of current errors
-* Call submitHandler with validator as scope for easier access of it's methods, eg. to find error labels using errorsFor(Element)
-* Compatible with jQuery 1.1.x and 1.2.x
-
-1.1
----
-
-* Added validation on blur, keyup and click (for checkboxes and radiobutton). Replaces event-option.
-* Fixed resetForm
-* Fixed custom-methods-demo
-
-1.0
----
-
-* Improved number and numberDE methods to check for correct decimal numbers with delimiters
-* Only elements that have rules are checked (otherwise success-option is applied to all elements)
-* Added creditcard number method (thanks to Brian Klug)
-* Added ignore-option, eg. ignore: "[@type=hidden]", using that expression to exclude elements to validate. Default: none, though submit and reset buttons are always ignored
-* Heavily enhanced Functions-as-messages by providing a flexible String.format helper
-* Accept Functions as messages, providing runtime-custom-messages
-* Fixed exclusion of elements without rules from successList
-* Fixed custom-method-demo, replaced the alert with message displaying the number of errors
-* Fixed form-submit-prevention when using submitHandler
-* Completely removed dependency on element IDs, though they are still used (when present) to link error labels to inputs. Achieved by using
- an array with {name, message, element} instead of an object with id:message pairs for the internal errorList.
-* Added support for specifying simple rules as simple strings, eg. "required" is equivalent to {required: true}
-* Added feature: Add errorClass to invalid field�s parent element, making it easy to style the label/field container or the label for the field.
-* Added feature: focusCleanup - If enabled, removes the errorClass from the invalid elements and hides all errors messages whenever the element is focused.
-* Added success option to show the a field was validated successfully
-* Fixed Opera select-issue (avoiding a attribute-collision)
-* Fixed problems with focussing hidden elements in IE
-* Added feature to skip validation for submit buttons with class "cancel"
-* Fixed potential issues with Google Toolbar by prefering plugin option messages over title attribute
-* submitHandler is only called when an actual submit event was handled, validator.form() returns false only for invalid forms
-* Invalid elements are now focused only on submit or via validator.focusInvalid(), avoiding all trouble with focus-on-blur
-* IE6 error container layout issue is solved
-* Customize error element via errorElement option
-* Added validator.refresh() to find new inputs in the form
-* Added accept validation method, checks file extensions
-* Improved dependecy feature by adding two custom expressions: ":blank" to select elements with an empty value and �:filled� to select elements with a value, both excluding whitespace
-* Added a resetForm() method to the validator: Resets each form element (using the form plugin, if available), removes classes on invalid elements and hides all error messages
-* Fixed docs for validator.showErrors()
-* Fixed error label creation to always use html() instead of text(), allowing arbitrary HTML passed in as messages
-* Fixed error label creation to use specified error class
-* Added dependency feature: The requires method accepts both String (jQuery expressions) and Functions as the argument
-* Heavily improved customizing of error message display: Use normal messages and show/hide an additional container; Completely replace message display with own mechanism (while being able to delegate to the default handler; Customize placing of generated labels (instead of default below-element)
-* Fixed two major bugs in IE (error containers) and Opera (metadata)
-* Modified validation methods to accept empty fields as valid (exception: of course �required� and also �equalTo� methods)
-* Renamed "min" to "minLength", "max" to "maxLength", "length" to "rangeLength"
-* Added "minValue", "maxValue" and "rangeValue"
-* Streamlined API for support of different events. The default, submit, can be disabled. If any event is specified, that is applied to each element (instead of the entire form). Combining keyup-validation with submit-validation is now extremely easy to setup
-* Added support for one-message-per-rule when defining messages via plugin settings
-* Added support to wrap metadata in some parent element. Useful when metadata is used for other plugins, too.
-* Refactored tests and demos: Less files, better demos
-* Improved documentation: More examples for methods, more reference texts explaining some basics
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/ajaxSubmit-integration-demo.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/ajaxSubmit-integration-demo.html
new file mode 100644
index 00000000..207f9adf
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/ajaxSubmit-integration-demo.html
@@ -0,0 +1,90 @@
+
+
+
+
+ Test for jQuery validate() plugin
+
+
+
+
+
+
+
+
+
+
+
+
+
Please login!
+
+
+
Back to main page
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/captcha.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/captcha.js
new file mode 100644
index 00000000..f3429c2a
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/captcha.js
@@ -0,0 +1,27 @@
+$(function(){
+ $("body").on("click", "#refreshimg", 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
+ });
+
+});
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/fonts/Anorexia.ttf b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/fonts/Anorexia.ttf
new file mode 100644
index 00000000..453eeb00
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/fonts/Anorexia.ttf differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/image_req.php b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/image_req.php
new file mode 100644
index 00000000..574171bb
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/image_req.php
@@ -0,0 +1,6 @@
+';
+
+?>
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/button.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/button.png
new file mode 100644
index 00000000..7ef79de5
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/button.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/image.php b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/image.php
new file mode 100644
index 00000000..e3bfb481
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/images/image.php
@@ -0,0 +1,33 @@
+
+
+
+
+
+ AJAX CAPTCHA
+
+
+
+
+
+
+
+AJAX CAPTCHA
+
+If you can't decipher the text on the image, click it to dynamically generate a new one.
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/newsession.php b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/newsession.php
new file mode 100644
index 00000000..36ff45e2
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/newsession.php
@@ -0,0 +1,12 @@
+
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/process.php b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/process.php
new file mode 100644
index 00000000..24fe3a8b
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/process.php
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/rand.php b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/rand.php
new file mode 100644
index 00000000..88b595e7
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/rand.php
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/style.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/style.css
new file mode 100644
index 00000000..c0bbe5f9
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/captcha/style.css
@@ -0,0 +1,140 @@
+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%;
+}
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxform.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxform.css
new file mode 100644
index 00000000..120f5a47
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxform.css
@@ -0,0 +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;
+}
+
+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; }
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxformTemplate.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxformTemplate.css
new file mode 100644
index 00000000..ac52f71b
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/cmxformTemplate.css
@@ -0,0 +1,55 @@
+/**********************************
+
+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 */
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/core.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/core.css
new file mode 100644
index 00000000..84494e87
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/core.css
@@ -0,0 +1,21 @@
+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; }
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/reset.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/reset.css
new file mode 100644
index 00000000..5c376b37
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/reset.css
@@ -0,0 +1,61 @@
+/**********************************
+
+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; }
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/screen.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/screen.css
new file mode 100644
index 00000000..840f572b
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/css/screen.css
@@ -0,0 +1,11 @@
+/**********************************
+
+Use: Main Screen Import
+
+***********************************/
+
+@import "reset.css";
+@import "core.css";
+
+@import "cmxformTemplate.css";
+@import "cmxform.css";
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-messages-data-demo.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-messages-data-demo.html
new file mode 100644
index 00000000..461f21e8
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-messages-data-demo.html
@@ -0,0 +1,66 @@
+
+
+
+
+ jQuery validation plug-in - comment form example
+
+
+
+
+
+
+
+
+
+
Take a look at the source to see how messages can be customized with metadata.
+
+
+
+
+
Back to main page
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-methods-demo.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-methods-demo.html
new file mode 100644
index 00000000..5b3ef14d
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/custom-methods-demo.html
@@ -0,0 +1,118 @@
+
+
+
+
+ Test for jQuery validate() plugin
+
+
+
+
+
+
+
+
+
+
+
Your form contains tons of errors! Please try again.
+
Back to main page
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/dynamic-totals.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/dynamic-totals.html
new file mode 100644
index 00000000..fe04dc6a
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/dynamic-totals.html
@@ -0,0 +1,142 @@
+
+
+
+
+ jQuery validation plug-in - dynamic forms demo
+
+
+
+
+
+
+
+
+
+
+
+
+
Your form contains tons of errors! Please try again.
+
Back to main page
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errorcontainer-demo.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errorcontainer-demo.html
new file mode 100644
index 00000000..23f50771
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errorcontainer-demo.html
@@ -0,0 +1,152 @@
+
+
+
+
+ Test for jQuery validate() plugin
+
+
+
+
+
+
+
+
+
+
+
+
+
+
There are serious errors in your form submission, please see below for details.
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+
+
There are serious errors in your form submission, please see details above the form!
+
+
Back to main page
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errors-within-labels.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errors-within-labels.html
new file mode 100644
index 00000000..7c28a1af
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/errors-within-labels.html
@@ -0,0 +1,91 @@
+
+
+
+
+Test for jQuery validate() plugin
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Errors use spans placed within existing label element
+
+
+
+
Back to main page
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/file_input.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/file_input.html
new file mode 100644
index 00000000..f92814da
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/file_input.html
@@ -0,0 +1,47 @@
+
+
+
+
+ jQuery validation plug-in - comment form example
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/bg.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/bg.gif
new file mode 100644
index 00000000..846add07
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/bg.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/checked.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/checked.gif
new file mode 100644
index 00000000..5e33a78d
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/checked.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-divider.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-divider.gif
new file mode 100644
index 00000000..718a977c
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-divider.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-fieldset.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-fieldset.gif
new file mode 100644
index 00000000..9c48ea4b
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/cmxform-fieldset.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/loading.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/loading.gif
new file mode 100644
index 00000000..93c46a6c
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/loading.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/unchecked.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/unchecked.gif
new file mode 100644
index 00000000..06ecaba1
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/images/unchecked.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/index.html
new file mode 100644
index 00000000..e03a81a2
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/index.html
@@ -0,0 +1,244 @@
+
+
+
+
+ jQuery validation plug-in - main demo
+
+
+
+
+
+
+
+
+
+
Default submitHandler is set to display an alert into of submitting the form
+
+
+
Synthetic examples
+
+
Real-world examples
+
+
Testsuite
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/jquerymobile.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/jquerymobile.html
new file mode 100644
index 00000000..44e77ec4
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/jquerymobile.html
@@ -0,0 +1,77 @@
+
+
+
+
+ My Page
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/bg.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/bg.gif
new file mode 100644
index 00000000..12662a47
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/bg.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/header1.jpg b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/header1.jpg
new file mode 100644
index 00000000..70986716
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/header1.jpg differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/page.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/page.gif
new file mode 100644
index 00000000..1717731b
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/page.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/required_star.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/required_star.gif
new file mode 100644
index 00000000..e4c16ebf
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/images/required_star.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/index.html
new file mode 100644
index 00000000..013a71ec
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+ Login Form with Email Password Link
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/screen.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/screen.css
new file mode 100644
index 00000000..e023a533
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/login/screen.css
@@ -0,0 +1,457 @@
+/*******************************************************************************
+********************************************************************************
+**
+* - 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;
+ }
+
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/backRequiredGray.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/backRequiredGray.gif
new file mode 100644
index 00000000..61d29adf
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/backRequiredGray.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_green-fade.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_green-fade.gif
new file mode 100644
index 00000000..30774527
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_green-fade.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_nav_blue.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_nav_blue.gif
new file mode 100644
index 00000000..3d3da3a8
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/back_nav_blue.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/blank.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/blank.gif
new file mode 100644
index 00000000..3b042d8b
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/blank.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/button-submit.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/button-submit.gif
new file mode 100644
index 00000000..54d291cd
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/button-submit.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/favicon.ico b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/favicon.ico
new file mode 100644
index 00000000..0f57c530
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/favicon.ico differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/help.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/help.png
new file mode 100644
index 00000000..73817ffb
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/help.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/left-nav-callout-long.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/left-nav-callout-long.png
new file mode 100644
index 00000000..c5b8fad7
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/left-nav-callout-long.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/login-sprite.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/login-sprite.gif
new file mode 100644
index 00000000..799b1960
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/login-sprite.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/logo_marketo.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/logo_marketo.gif
new file mode 100644
index 00000000..62663bca
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/logo_marketo.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/sf.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/sf.png
new file mode 100644
index 00000000..962bf2a5
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/sf.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step1-24.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step1-24.gif
new file mode 100644
index 00000000..9ddf1e36
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step1-24.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step2-24.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step2-24.gif
new file mode 100644
index 00000000..bada27f1
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step2-24.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step3-24.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step3-24.gif
new file mode 100644
index 00000000..8a45393f
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/step3-24.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab-sprite.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab-sprite.gif
new file mode 100644
index 00000000..048b9b00
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab-sprite.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab_green.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab_green.gif
new file mode 100644
index 00000000..ef1c0847
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/tab_green.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/time.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/time.png
new file mode 100644
index 00000000..911da3f1
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/time.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/toggle.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/toggle.gif
new file mode 100644
index 00000000..ad1bf0fa
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/toggle.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/warning.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/warning.gif
new file mode 100644
index 00000000..60da04c2
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/images/warning.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/index.html
new file mode 100644
index 00000000..ad7af92e
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/index.html
@@ -0,0 +1,292 @@
+
+
+
+
+ Subscription Signup | Marketo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Step 1 of 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/jquery.maskedinput.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/jquery.maskedinput.js
new file mode 100644
index 00000000..cd54339a
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/jquery.maskedinput.js
@@ -0,0 +1,338 @@
+/*
+ Masked Input plugin for jQuery
+ Copyright (c) 2007-2013 Josh Bush (digitalbush.com)
+ Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license)
+ Version: 1.3.1
+*/
+(function($) {
+ function getPasteEvent() {
+ var el = document.createElement('input'),
+ name = 'onpaste';
+ el.setAttribute(name, '');
+ return (typeof el[name] === 'function')?'paste':'input';
+}
+
+var pasteEventName = getPasteEvent() + ".mask",
+ ua = navigator.userAgent,
+ iPhone = /iphone/i.test(ua),
+ android=/android/i.test(ua),
+ caretTimeoutId;
+
+$.mask = {
+ //Predefined character definitions
+ definitions: {
+ '9': "[0-9]",
+ 'a': "[A-Za-z]",
+ '*': "[A-Za-z0-9]"
+ },
+ dataName: "rawMaskFn",
+ placeholder: '_',
+};
+
+$.fn.extend({
+ //Helper Function for Caret positioning
+ caret: function(begin, end) {
+ var range;
+
+ if (this.length === 0 || this.is(":hidden")) {
+ return;
+ }
+
+ if (typeof begin == 'number') {
+ end = (typeof end === 'number') ? end : begin;
+ return this.each(function() {
+ if (this.setSelectionRange) {
+ this.setSelectionRange(begin, end);
+ } else if (this.createTextRange) {
+ range = this.createTextRange();
+ range.collapse(true);
+ range.moveEnd('character', end);
+ range.moveStart('character', begin);
+ range.select();
+ }
+ });
+ } else {
+ if (this[0].setSelectionRange) {
+ begin = this[0].selectionStart;
+ end = this[0].selectionEnd;
+ } else if (document.selection && document.selection.createRange) {
+ range = document.selection.createRange();
+ begin = 0 - range.duplicate().moveStart('character', -100000);
+ end = begin + range.text.length;
+ }
+ return { begin: begin, end: end };
+ }
+ },
+ unmask: function() {
+ return this.trigger("unmask");
+ },
+ mask: function(mask, settings) {
+ var input,
+ defs,
+ tests,
+ partialPosition,
+ firstNonMaskPos,
+ len;
+
+ if (!mask && this.length > 0) {
+ input = $(this[0]);
+ return input.data($.mask.dataName)();
+ }
+ settings = $.extend({
+ placeholder: $.mask.placeholder, // Load default placeholder
+ completed: null
+ }, settings);
+
+
+ defs = $.mask.definitions;
+ tests = [];
+ partialPosition = len = mask.length;
+ firstNonMaskPos = null;
+
+ $.each(mask.split(""), function(i, c) {
+ if (c == '?') {
+ len--;
+ partialPosition = i;
+ } else if (defs[c]) {
+ tests.push(new RegExp(defs[c]));
+ if (firstNonMaskPos === null) {
+ firstNonMaskPos = tests.length - 1;
+ }
+ } else {
+ tests.push(null);
+ }
+ });
+
+ return this.trigger("unmask").each(function() {
+ var input = $(this),
+ buffer = $.map(
+ mask.split(""),
+ function(c, i) {
+ if (c != '?') {
+ return defs[c] ? settings.placeholder : c;
+ }
+ }),
+ focusText = input.val();
+
+ function seekNext(pos) {
+ while (++pos < len && !tests[pos]);
+ return pos;
+ }
+
+ function seekPrev(pos) {
+ while (--pos >= 0 && !tests[pos]);
+ return pos;
+ }
+
+ function shiftL(begin,end) {
+ var i,
+ j;
+
+ if (begin<0) {
+ return;
+ }
+
+ for (i = begin, j = seekNext(end); i < len; i++) {
+ if (tests[i]) {
+ if (j < len && tests[i].test(buffer[j])) {
+ buffer[i] = buffer[j];
+ buffer[j] = settings.placeholder;
+ } else {
+ break;
+ }
+
+ j = seekNext(j);
+ }
+ }
+ writeBuffer();
+ input.caret(Math.max(firstNonMaskPos, begin));
+ }
+
+ function shiftR(pos) {
+ var i,
+ c,
+ j,
+ t;
+
+ for (i = pos, c = settings.placeholder; i < len; i++) {
+ if (tests[i]) {
+ j = seekNext(i);
+ t = buffer[i];
+ buffer[i] = c;
+ if (j < len && tests[j].test(t)) {
+ c = t;
+ } else {
+ break;
+ }
+ }
+ }
+ }
+
+ function keydownEvent(e) {
+ var k = e.which,
+ pos,
+ begin,
+ end;
+
+ //backspace, delete, and escape get special treatment
+ if (k === 8 || k === 46 || (iPhone && k === 127)) {
+ pos = input.caret();
+ begin = pos.begin;
+ end = pos.end;
+
+ if (end - begin === 0) {
+ begin=k!==46?seekPrev(begin):(end=seekNext(begin-1));
+ end=k===46?seekNext(end):end;
+ }
+ clearBuffer(begin, end);
+ shiftL(begin, end - 1);
+
+ e.preventDefault();
+ } else if (k == 27) {//escape
+ input.val(focusText);
+ input.caret(0, checkVal());
+ e.preventDefault();
+ }
+ }
+
+ function keypressEvent(e) {
+ var k = e.which,
+ pos = input.caret(),
+ p,
+ c,
+ next;
+
+ if (e.ctrlKey || e.altKey || e.metaKey || k < 32) {//Ignore
+ return;
+ } else if (k) {
+ if (pos.end - pos.begin !== 0){
+ clearBuffer(pos.begin, pos.end);
+ shiftL(pos.begin, pos.end-1);
+ }
+
+ p = seekNext(pos.begin - 1);
+ if (p < len) {
+ c = String.fromCharCode(k);
+ if (tests[p].test(c)) {
+ shiftR(p);
+
+ buffer[p] = c;
+ writeBuffer();
+ next = seekNext(p);
+
+ if(android){
+ setTimeout($.proxy($.fn.caret,input,next),0);
+ }else{
+ input.caret(next);
+ }
+
+ if (settings.completed && next >= len) {
+ settings.completed.call(input);
+ }
+ }
+ }
+ e.preventDefault();
+ }
+ }
+
+ function clearBuffer(start, end) {
+ var i;
+ for (i = start; i < end && i < len; i++) {
+ if (tests[i]) {
+ buffer[i] = settings.placeholder;
+ }
+ }
+ }
+
+ function writeBuffer() { input.val(buffer.join('')); }
+
+ function checkVal(allow) {
+ //try to place characters where they belong
+ var test = input.val(),
+ lastMatch = -1,
+ i,
+ c;
+
+ for (i = 0, pos = 0; i < len; i++) {
+ if (tests[i]) {
+ buffer[i] = settings.placeholder;
+ while (pos++ < test.length) {
+ c = test.charAt(pos - 1);
+ if (tests[i].test(c)) {
+ buffer[i] = c;
+ lastMatch = i;
+ break;
+ }
+ }
+ if (pos > test.length) {
+ break;
+ }
+ } else if (buffer[i] === test.charAt(pos) && i !== partialPosition) {
+ pos++;
+ lastMatch = i;
+ }
+ }
+ if (allow) {
+ writeBuffer();
+ } else if (lastMatch + 1 < partialPosition) {
+ input.val("");
+ clearBuffer(0, len);
+ } else {
+ writeBuffer();
+ input.val(input.val().substring(0, lastMatch + 1));
+ }
+ return (partialPosition ? i : firstNonMaskPos);
+ }
+
+ input.data($.mask.dataName,function(){
+ return $.map(buffer, function(c, i) {
+ return tests[i]&&c!=settings.placeholder ? c : null;
+ }).join('');
+ });
+
+ if (!input.attr("readonly"))
+ input
+ .one("unmask", function() {
+ input
+ .unbind(".mask")
+ .removeData($.mask.dataName);
+ })
+ .bind("focus.mask", function() {
+ clearTimeout(caretTimeoutId);
+ var pos,
+ moveCaret;
+
+ focusText = input.val();
+ pos = checkVal();
+
+ caretTimeoutId = setTimeout(function(){
+ writeBuffer();
+ if (pos == mask.length) {
+ input.caret(0, pos);
+ } else {
+ input.caret(pos);
+ }
+ }, 10);
+ })
+ .bind("blur.mask", function() {
+ checkVal();
+ if (input.val() != focusText)
+ input.change();
+ })
+ .bind("keydown.mask", keydownEvent)
+ .bind("keypress.mask", keypressEvent)
+ .bind(pasteEventName, function() {
+ setTimeout(function() {
+ var pos=checkVal(true);
+ input.caret(pos);
+ if (settings.completed && pos == input.val().length)
+ settings.completed.call(input);
+ }, 0);
+ });
+ checkVal(); //Perform initial check for existing values
+ });
+ }
+});
+
+
+})(jQuery);
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/mktSignup.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/mktSignup.js
new file mode 100644
index 00000000..3b95146e
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/mktSignup.js
@@ -0,0 +1,133 @@
+$(document).ready(function(){
+ $.mockjax({
+ url: "emails.action",
+ response: function(settings) {
+ var email = settings.data.email,
+ emails = ["glen@marketo.com", "george@bush.gov", "me@god.com", "aboutface@cooper.com", "steam@valve.com", "bill@gates.com"];
+ this.responseText = "true";
+ if ( $.inArray( email, emails ) !== -1 ) {
+ this.responseText = "false";
+ }
+ },
+ responseTime: 500
+ });
+
+ jQuery.validator.addMethod("password", function( value, element ) {
+ var result = this.optional(element) || value.length >= 6 && /\d/.test(value) && /[a-z]/i.test(value);
+ if (!result) {
+ element.value = "";
+ var validator = this;
+ setTimeout(function() {
+ validator.blockFocusCleanup = true;
+ element.focus();
+ validator.blockFocusCleanup = false;
+ }, 1);
+ }
+ return result;
+ }, "Your password must be at least 6 characters long and contain at least one number and one character.");
+
+ // a custom method making the default value for companyurl ("http://") invalid, without displaying the "invalid url" message
+ jQuery.validator.addMethod("defaultInvalid", function(value, element) {
+ return value != element.defaultValue;
+ }, "");
+
+ jQuery.validator.addMethod("billingRequired", function(value, element) {
+ if ($("#bill_to_co").is(":checked"))
+ return $(element).parents(".subTable").length;
+ return !this.optional(element);
+ }, "");
+
+ jQuery.validator.messages.required = "";
+ $("form").validate({
+ invalidHandler: function(e, validator) {
+ var errors = validator.numberOfInvalids();
+ if (errors) {
+ var message = errors == 1
+ ? 'You missed 1 field. It has been highlighted below'
+ : 'You missed ' + errors + ' fields. They have been highlighted below';
+ $("div.error span").html(message);
+ $("div.error").show();
+ } else {
+ $("div.error").hide();
+ }
+ },
+ onkeyup: false,
+ submitHandler: function() {
+ $("div.error").hide();
+ alert("submit! use link below to go to the other step");
+ },
+ messages: {
+ password2: {
+ required: " ",
+ equalTo: "Please enter the same password as above"
+ },
+ email: {
+ required: " ",
+ email: "Please enter a valid email address, example: you@yourdomain.com",
+ remote: jQuery.validator.format("{0} is already taken, please enter a different address.")
+ }
+ },
+ debug:true
+ });
+
+ $(".resize").vjustify();
+ $("div.buttonSubmit").hoverClass("buttonSubmitHover");
+
+ $("input.phone").mask("(999) 999-9999");
+ $("input.zipcode").mask("99999");
+ var creditcard = $("#creditcard").mask("9999 9999 9999 9999");
+
+ $("#cc_type").change(
+ function() {
+ switch ($(this).val()){
+ case 'amex':
+ creditcard.unmask().mask("9999 999999 99999");
+ break;
+ default:
+ creditcard.unmask().mask("9999 9999 9999 9999");
+ break;
+ }
+ }
+ );
+
+ // toggle optional billing address
+ var subTableDiv = $("div.subTableDiv");
+ var toggleCheck = $("input.toggleCheck");
+ toggleCheck.is(":checked")
+ ? subTableDiv.hide()
+ : subTableDiv.show();
+ $("input.toggleCheck").click(function() {
+ if (this.checked == true) {
+ subTableDiv.slideUp("medium");
+ $("form").valid();
+ } else {
+ subTableDiv.slideDown("medium");
+ }
+ });
+
+
+});
+
+$.fn.vjustify = function() {
+ var maxHeight=0;
+ $(".resize").css("height","auto");
+ this.each(function(){
+ if (this.offsetHeight > maxHeight) {
+ maxHeight = this.offsetHeight;
+ }
+ });
+ this.each(function(){
+ $(this).height(maxHeight);
+ if (this.offsetHeight > maxHeight) {
+ $(this).height((maxHeight-(this.offsetHeight-maxHeight)));
+ }
+ });
+};
+
+$.fn.hoverClass = function(classname) {
+ return this.hover(function() {
+ $(this).addClass(classname);
+ }, function() {
+ $(this).removeClass(classname);
+ });
+};
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/step2.htm b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/step2.htm
new file mode 100644
index 00000000..c8b1a7df
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/step2.htm
@@ -0,0 +1,326 @@
+
+
+
+
+ Subscription Signup | Marketo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Step 2 of 2
+
Billing Information
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/stylesheet.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/stylesheet.css
new file mode 100644
index 00000000..cdee65f9
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/marketo/stylesheet.css
@@ -0,0 +1,1179 @@
+:-moz-any-link :focus {
+ outline: none;
+}
+
+:focus {
+ -moz-outline-style: none;
+ outline: none;
+}
+
+body {
+ font-size: 80%;
+ margin: 0;
+ padding: 0;
+ font-family: tahoma, geneva, sans-serif;
+ background-color: #000000;
+}
+
+a {
+ color: #0653AB;
+ outline: 0px;
+ text-decoration: none;
+}
+
+a:hover {
+ outline: 0px;
+ text-decoration: underline;
+}
+
+img {
+ border: 0px;
+}
+
+/* s1.0 - Page Containers */
+#letterbox {
+ margin: 10px auto;
+ width: 883px;
+ background-color: #364158;
+ border: 8px solid #D4D4D4;
+ padding: 1px 1px 10px 1px;
+}
+
+#header-background {
+ background: url(images/back_nav_blue.gif) repeat-x;
+ margin: 0px auto;
+ padding: 0px;
+ height: 73px;
+ width: 883px;
+ border-top: 4px solid #CCEAFE;
+ border-bottom: 4px solid #D4D4D4;
+}
+
+#page-container {
+ width: 866px;
+ margin: 0px auto;
+ margin-top: 33px; /* pad from top menu to actions buts*/
+ margin-bottom: -11px;
+ padding-top: 8px;
+ padding-bottom: 8px;
+ background-color: #D4D4D4; /* light grey*/
+ border-right: 1px solid #464646;
+}
+
+#page-content-inner {
+ width: 849px;
+ margin: 0px auto;
+ border-top: 1px solid #9F9FA0;
+ border-left: 1px solid #A2A09A;
+ background-color: #F4F1E9;
+ position: relative;
+}
+
+#page-content-inner #col-left {
+ width: 210px;
+ float: left;
+ background-color: #F4F1E9;
+}
+
+#page-content-inner #col-main {
+ width: 639px;
+ background-color: #ffffff;
+ position: absolute;
+ right: 0px;
+ top: 0px;
+}
+
+#footer-container {
+ width: 866px;
+ position: relative;
+ left: 8px;
+ padding: 2px 0px 10px 0px;
+ background-color: #D4D4D4; /* light grey*/
+}
+
+/* s2.0 - Global navigation bar */
+.nav-global-container {
+ width: 880px;
+ margin: 0px auto;
+ position: relative;
+}
+
+* html .nav-global-container { /* ie6 fix*/
+ margin-bottom: -6px;
+}
+
+.login {
+ position: absolute;
+ right: 20px;
+ text-align: center;
+}
+
+.login a,.login a span {
+ display: block;
+ height: 18px;
+ font-size: 11px;
+ background: url(images/login-sprite.gif) right -5px no-repeat;
+ text-decoration: none;
+ font-weight: bold;
+ padding: 5px 10px 5px 10px;
+ position: relative;
+}
+
+.login a:hover {
+ color: #000000;
+ text-decoration: underline;
+}
+
+div.login a span {
+ background-position: left -105px;
+ width: 4px;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ padding: 5px 0px 5px 0px;;
+}
+
+div.login a:hover span {
+
+}
+
+.logo {
+ float: left;
+ margin: 0px 0px -5px 0px; /* neg marging for ie6 */
+}
+
+.logo img {
+ border: 0px;
+ margin-left: -1px;
+}
+
+.nav-global {
+ float: left;
+ width: 645px;
+ margin: 40px 0px 0px 40px;
+ background-color: transparent;
+}
+
+.nav-global ul {
+ margin: 0px;
+ padding: 0px;
+ list-style: none;
+}
+
+.nav-global li {
+ float: left;
+ white-space: nowrap;
+}
+
+div.nav-global li a,div.nav-global li a span {
+ background-image: url(images/tab-sprite.gif);
+ background-position: right 100px;
+ background-repeat: no-repeat;
+ height: 32px;
+ color: #666666;
+ text-decoration: none;
+ font: bold 16px 'trebuchet ms';
+ margin-right: 15px;
+ display: block;
+ position: relative;
+ padding: 7px 15px 0px 15px;
+}
+
+div.nav-global li a:hover {
+ background-position: right 0px;
+ color: #333333;
+}
+
+div.nav-global li a:hover span {
+ background-position: left -100px;
+ display: block !important;
+}
+
+div.nav-global li a span {
+ background-position: left 150px;
+ width: 4px;
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ padding: 7px 0px 0px 0px;
+}
+
+body.safari div.nav-global li a span {
+ display: none;
+}
+
+div.nav-global li a.on,div.nav-global li a.on:hover {
+ background-position: right -55px;
+ color: #FFFFFF;
+}
+
+div.nav-global li a.on span,div.nav-global li a.on:hover span {
+ background-position: left -155px;
+ display: block !important;
+}
+
+div.action-container {
+ position: relative;
+ top: -45px;
+ cursor: pointer;
+}
+
+div.action-icon-container {
+ position: absolute;
+ top: -17px;
+ left: -17px;
+ z-index: 10;
+ width: 100px;
+ height: 100px;
+ overflow: hidden;
+}
+
+div.action-icon {
+ border: 0px;
+ position: absolute;
+ top: -0px;
+ left: 0px;
+}
+
+div.action-button-container {
+ height: 106px;
+ width: 180px;
+ overflow: hidden;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ z-index: 5;
+}
+
+img.action-icon {
+ border: 0px;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ z-index: 0
+}
+
+div.action-text {
+ z-index: 20;
+ color: #FFFFFF;
+ position: absolute;
+ left: 40px;
+ top: 12px;
+ font: 14px tahoma, geneva;
+ padding-top: 30px;
+}
+
+div.bigbuttons {
+ top: -20px;
+}
+
+div.action-header {
+ z-index: 21;
+ position: absolute;
+ left: 40px;
+ top: 10px;
+}
+
+div.action-header b {
+ font: bold 17px tahoma, geneva;
+ display: block;
+ margin-bottom: 10px;
+ color: #0b2c89;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ width: 130px;
+}
+
+div.action-header b.shadow {
+ top: 1px;
+ left: 1px;
+ color: #d5d5d5;
+}
+
+img.action-button {
+ position: relative;
+}
+
+div.hover img.action-button {
+ top: -131px;
+}
+
+div.on img.action-button {
+ top: -261px;
+}
+
+/* s3.0 - top of content Action Buttons */
+.action-buttons {
+ width: 100%; /* ie6 requires */
+}
+
+.action-buttons ul {
+ position: relative;
+ padding: 0px;
+}
+
+.action-buttons li {
+ position: relative; /* ie6 fix */
+ float: left;
+ list-style: none;
+ text-align: center;
+ line-height: 16px;
+ margin: -61px 0px 0px 0px;
+}
+
+.action-home li {
+ margin: -49px 0px 0px 0px;
+}
+
+.action-buttons a {
+ display: block;
+ height: 110px;
+ width: 175px;
+ padding: 14px 0px 0px 25px;
+ text-decoration: none;
+ font-size: 12px;
+ font-weight: bold;
+ color: #ffffff;
+}
+
+.action-buttons li span {
+ color: #053880;
+ line-height: 47px;
+ font-size: 17px;
+}
+
+div.action-bottom {
+ margin: 15px 0px 10px 0px;
+ float: left;
+}
+
+div.action-bottom a {
+ height: 61px;
+ width: 178px;
+ border: 0px;
+ background: url(images/action-bottom.gif) no-repeat 0px 0px;
+ color: #0b2c89;
+ float: left;
+ position: relative;
+ font: bold 17px tahoma, geneva;
+ text-decoration: none;
+ margin-right: 10px;
+}
+
+div.action-bottom a span {
+ position: absolute;
+ top: 15px;
+ left: 40px;
+}
+
+div.action-bottom a span.shadow {
+ top: 16px;
+ left: 41px;
+ color: #d4d4d4;
+}
+
+.line-grey {
+ background: url(images/line-grey.gif) 0 0 repeat-x;
+ height: 2px;
+ margin: 8px 25px 20px 0;
+}
+
+/* s4.0 - Home Hero Area */
+.hero-background {
+ position: relative;
+ width: 880px;
+ background: url(images/back_home-hero.jpg) 10px 0px no-repeat;
+ height: 211px;
+ margin: -20px 0px 45px 0px;
+}
+
+.hero-text {
+ float: right;
+ width: 626px;
+ margin-top: 26px;
+}
+
+.hero-text a { /* Sign Up Now Button */
+ padding: 5px 32px 0px 0px;
+ float: right;
+}
+
+.hero-text h1 {
+ font-size: 2.3em;
+ line-height: 1.2em;
+ color: #333333;
+ font-family: Trebuchet MS;
+ margin: 12px 0px 10px 10px;
+}
+
+.hero-text h2 {
+ margin: 0px;
+ font-weight: normal;
+ font-size: 1.35em;
+ margin: 5px 0px 13px 10px
+}
+
+/* s4.1 - Home Left Header tab */
+.col-left-header-tab {
+ position: relative; /* ie6 fix */
+ background: url(images/tab_green.gif) 0 0 no-repeat;
+ height: 30px;
+ width: 166px;
+ text-align: center;
+ color: #ffffff;
+ font: 20px 'trebuchet ms';
+ padding-top: 2px;
+ margin-top: -41px;
+ margin-left: 20px;
+ line-height: 29px;
+ margin-bottom: 8px;
+ display: block;
+}
+
+.col-left-header-tab a {
+ color: #FFFFFF;
+}
+
+.callout-green {
+ background: url(images/back_green-fade.gif) 0 0 repeat-x;
+ font-size: 1.2em;
+ padding: 10px 15px 20px 13px;
+ color: #303B52;
+ line-height: 1.4em;
+}
+
+/* s4.2 - Home Left Quote */
+.callout-tan {
+ color: #666666;
+}
+
+.callout-tan h1 {
+ background: #F4F1E9 url(images/back_tan-fade.gif) 0 0 repeat-y;
+ font-size: 1.1em;
+ text-align: center;
+ margin: 0px;
+ padding: 11px 5px 11px 2px;
+ color: #333333;
+}
+
+.callout-tan p {
+ margin: 0px;
+ margin-top: 5px;
+ line-height: 1.4em;
+ padding: 5px 10px 7px 13px;
+}
+
+.callout-tan p img {
+ float: left;
+ margin: 5px 10px 5px 0px;
+}
+
+.callout-tan div {
+ text-align: left;
+ padding: 5px 10px 7px 0px;
+ font-weight: bold;
+}
+
+/* s4.3 - purple home boxes */
+.box-purple {
+ background: #C6C8E3 url(images/back_home-icons.png) 0px 0px repeat-x;
+ border-left: 1px solid #ffffff;
+ color: #333333;
+ width: 581px;
+ padding: 10px 15px 20px 15px;
+}
+
+div.box-purple a {
+
+}
+
+.box-purple h1 {
+ font-size: 1.5em;
+ margin: 10px 0px -15px 0px;
+}
+
+.box-purple li {
+ margin: 0px 0px 0px -23px;
+ line-height: 1.6em;
+ font-size: 1em;
+}
+
+.box-purple div {
+ padding: 0px 0px 0px 110px;
+}
+
+.icon-text01 {
+ background-image: url(images/icon_search-engine-market.png);
+ background-repeat: no-repeat;
+}
+
+* html .icon-text01 {
+ width: 460px; /* must have a width or heigh tag for ie6*/
+ background-image: none;
+ filter: progid : DXImageTransform . Microsoft .
+ AlphaImageLoader(src = "images/icon_search-engine-market.png",
+ sizingMethod = "crop");
+}
+
+.icon-text02 {
+ background: url(images/icon_landing-pages.png) 0 0 no-repeat;
+}
+
+* html .icon-text02 {
+ width: 460px; /* must have a width or heigh tag for ie6*/
+ background-image: none;
+ filter: progid : DXImageTransform . Microsoft .
+ AlphaImageLoader(src = "images/icon_landing-pages.png", sizingMethod =
+ "crop");
+}
+
+.icon-text03 {
+ background: url(images/icon_salesforce.png) 0 0 no-repeat;
+}
+
+* html .icon-text03 {
+ width: 460px; /* must have a width or heigh tag for ie6*/
+ background-image: none;
+ filter: progid : DXImageTransform . Microsoft .
+ AlphaImageLoader(src = "images/icon_salesforce.png", sizingMethod =
+ "crop");
+}
+
+/* s4.4 - news home boxes */
+.callout-news {
+ color: #555555;
+ float: left;
+ width: 49%;
+ margin: 10px 1px 0px 0px;
+ padding-bottom: 20px;
+ text-align: left;
+}
+
+.line-news-r {
+ border-right: 1px solid #D4D4D4;
+}
+
+.callout-news h1 {
+ background-color: #EEEEEE;
+ font-size: 1.2em;
+ margin: 0px;
+ padding: 11px 5px 11px 15px;
+ color: #333333;
+}
+
+.callout-news p {
+ margin: 10px 0px 0px 10px;
+ padding: 0px 10px 7px 20px;
+ background: url(images/news.gif) no-repeat left 1px;
+}
+
+.callout-news p a {
+
+}
+
+.callout-news ul {
+ list-style-type: none;
+ padding: 0;
+ margin: 10px 0 0 10px;
+}
+
+.callout-news li {
+ background: url(images/icon_news.gif) no-repeat left 2px;
+ padding: 0px 5px 5px 20px;
+}
+
+.callout-news li a {
+ display: block;
+ margin-bottom: 5px;
+}
+
+.callout-news div {
+ text-align: right;
+}
+
+#scrollup {
+ position: relative;
+ overflow: hidden;
+ height: 440px;
+ width: 200px
+}
+
+.headline {
+ position: absolute;
+ top: 600px;
+ left: 5px;
+ height: 585px;
+ width: 190px;
+ font: normal 12px tahoma, geneva !important;
+}
+
+div.more {
+ margin: 5px 0px 0px 0px;
+ padding: 0px 10px 0px 0px;
+ letter-spacing: inherit;
+}
+
+div.more a {
+ background: transparent url(images/arrow_r-blue.gif) no-repeat right 2px
+ ;
+ font-weight: bold;
+ padding: 0px 20px 0px 0px;
+ font-weight: bold;
+ text-decoration: none;
+}
+
+div.more a:hover {
+ text-decoration: underline;
+}
+
+/* sX.0 - Left Nav */
+.nav-left-back {
+ background: url(images/back_nav_side.gif) 0 0 repeat-x;
+}
+
+div.empty {
+ background: #F1F0E5 url(images/back_green-fade.gif) 0 0 repeat-x;
+}
+
+div.empty div.callout-green {
+
+}
+
+.nav-left {
+ padding-top: 12px;
+ /*background: url(images/logo_marketo_square.gif) 0 0 no-repeat;*/
+ width: 210px;
+}
+
+.nav-left ul {
+ margin: 0px;
+ padding: 0px;
+ list-style: none;
+}
+
+.nav-left li a {
+ display: block;
+ height: 24px;
+ text-decoration: none;
+ font-size: 12px;
+ font-weight: bold;
+ color: #ffffff;
+ border-top: 1px solid #B3D38D;
+ border-bottom: 1px solid #7CA84E;
+ border-left: 1px solid #97B973;
+ padding: 6px 0px 0px 20px;
+}
+
+.nav-left a:hover,.nav-left a.active:hover,#nav-left-sub a:hover {
+ color: #4C6F28;
+ background-color: #F4F1E9;
+}
+
+.nav-left a.open {
+ background-image: url(images/arrow_d-green.gif);
+ background-repeat: no-repeat;
+ background-position: 6px 11px;
+}
+
+.nav-left-header-tab {
+ position: relative; /* ie6 fix */
+ background: url(images/tab_green.gif) 0 0 no-repeat;
+ height: 32px;
+ width: 166px;
+ text-align: center;
+ color: #ffffff;
+ margin: -41px 0px 0px 22px;
+ line-height: 22px;
+ margin-bottom: 8px;
+ display: block;
+}
+
+div.empty div.nav-left-header-tab {
+ background: url(images/tab_green2.gif) 0 0 no-repeat;
+}
+
+.nav-left a.active {
+ /* background: url(images/arrow_d-green.gif) 5px 10px no-repeat; */
+ display: block;
+ height: 24px;
+ text-decoration: none;
+ font-size: 12px;
+ font-weight: bold;
+ background-color: #F4F1E9;
+ color: #4C6F28;
+ border-top: 1px solid #D1E5BB;
+ border-bottom: 1px solid #B0CB95;
+ border-left: 1px solid #DADADA;
+ padding: 6px 0px 0px 20px;
+}
+
+#nav-left-sub a {
+ display: block;
+ height: 24px;
+ text-decoration: none;
+ font-size: 12px;
+ font-weight: bold;
+ background-color: #D6E8C4;
+ color: #4C6F28;
+ border-top: 1px solid #D6E8C4;
+ border-bottom: 1px solid #B0CB95;
+ border-left: 1px solid #97B973;
+ border-right: 1px solid #8DBE5A;
+ padding: 6px 0px 0px 30px;
+}
+
+* html #nav-left-sub { /* ie6 fix */
+ margin-top: -1px;
+}
+
+*+html #nav-left-sub { /* ie7 fix */
+ margin-top: -1px;
+}
+
+#nav-left-sub a.active-page {
+ display: block;
+ height: 24px;
+ text-decoration: none;
+ font-size: 12px;
+ font-weight: bold;
+ background-color: #ffffff;
+ color: #666666;
+ border-top: 0px solid #7CA84E;
+ border-bottom: 1px solid #B0CB95;
+ border-left: 1px solid #97B973;
+ border-right: 0px solid #8DBE5A;
+ padding: 6px 0px 0px 30px;
+ cursor: default; /* turns off hand icon for link */
+}
+
+/* sX.0 - Main Content */
+.main-content {
+ color: #666666;
+ position: absolute;
+ right: 20px;
+ padding-top: 20px;
+ width: 585px;
+ padding-bottom: 20px;
+}
+
+div.main-content div.main-content {
+
+}
+
+.main-content h1 {
+ color: #5890D1;
+ font-size: 1.9em;
+ font-family: Trebuchet MS;
+ border-bottom: 1px solid #cccccc;
+ margin: 0px 10px 0px 0px;
+}
+
+.main-content h2 {
+ color: #666666;
+ font-size: 1.3em;
+ font-weight: normal;
+ margin: 10px 10px 5px 0px;
+}
+
+.main-content p {
+ margin: 10px 10px 10px 0px;
+ line-height: 1.55em;
+}
+
+/* sX.1 - Main Content Sub Styles */
+.sub-grey {
+ border-top: 1px solid #D4D4D4;
+ border-bottom: 1px solid #D4D4D4;
+ background-color: #F4F4F4;
+ margin: 10px 10px 0px 0px;
+ padding: 0px 10px 20px 15px;
+}
+
+.sub-white {
+ margin: 10px 10px 0px 0px;
+ padding: 0px 10px 20px 15px;
+}
+
+img.screen-grab-r {
+ margin-right: -8px;
+ text-align: right;
+ padding: 0px 0px 0px 10px;
+}
+
+div.main-content a.screenshot {
+ float: right;
+ padding: 10px 10px 0px 0px
+}
+
+.content-foot {
+ border-top: 1px solid #D4D4D4;
+ font-size: .9em;
+ line-height: 1.45em;
+ margin: 10px 20px 0px 0px;
+ padding: 10px 10px 30px 0px;
+}
+
+div.main-content ul {
+ position: relative;
+ left: -25px;
+}
+
+div.main-content li {
+ margin-bottom: 5px;
+ list-style-type: disc
+}
+
+div.main-content li a {
+ color: #6A6CB0;
+}
+
+/* sX.0 - Footer */
+div.footer {
+ color: #666666;
+ font-size: .85em;
+ font-weight: normal;
+ height: 18px;
+ margin: 0px auto;
+ font-family: Tahoma, Geneva, sans-serif;
+ margin-top: 10px;
+}
+
+.footer ul {
+ list-style-type: none;
+}
+
+.footer li {
+ float: left;
+ border-right: 1px solid #666666;
+ padding: 0px 7px 0px 7px;
+ margin-top: 3px;
+}
+
+.footer a {
+ color: #666666;
+ text-decoration: none;
+}
+
+.footer a:hover {
+ color: #0653AB;
+ text-decoration: none;
+}
+
+.footer li.line-off {
+ border-right: 0px solid #ffffff;
+}
+
+div.footer strong {
+ font-weight: normal;
+}
+
+/* sX.0 - General Colors */
+.line-grey,.line-grey-tier {
+ border-top: 1px solid #A3A3A2;
+}
+
+.line-grey-tier {
+ padding-bottom: 25px;
+}
+
+.bottom {
+ height: 10px;
+}
+
+div.p10bottom {
+ padding-bottom: 10px;
+}
+
+.clear {
+ clear: both;
+}
+
+table.grid {
+ background: #EEEEEE;
+}
+
+table.grid th {
+ background-color: #F4F4F4;
+}
+
+table.grid td {
+ background-color: #FFFFFF;
+}
+
+div.buttonSubmit {
+ position: relative;
+}
+
+div.buttonSubmit input,div.buttonSubmit span {
+ height: 36px;
+ position: relative;
+ background-image: url(images/button-submit.gif);
+ background-repeat: no-repeat;
+ background-position: right 0px;
+ float: left;
+ color: #FFFFFF;
+ font-weight: bold;
+ padding: 0px 15px 2px 15px;
+ margin: 20px 0px 20px 0px;
+ border: 0px;
+ cursor: pointer;
+ z-index: 5;
+}
+
+div.buttonSubmit input {
+ width: auto;
+}
+
+div.buttonSubmit span {
+ width: 4px;
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ background-position: left -36px;
+ padding: 0px 0px 0px 0px;
+ z-index: 10;
+}
+
+body.safari div.buttonSubmit span {
+ display: none
+}
+
+div.buttonSubmitHover input {
+ background-position: right -72px;
+}
+
+div.buttonSubmitHover span {
+ background-position: left -108px;
+}
+
+a.demoLink {
+ padding: 1px 10px 0px 17px;
+ height: 24px;
+ background: url(images/bullet_triangle_blue.gif) no-repeat 0px 4px;
+ display: block;
+ float: left;
+}
+
+div.callout-tan a {
+ background: none;
+ color: #0653AB;
+ margin: auto;
+ display: block;
+}
+
+div.callout-tan a:hover {
+ background: none;
+ color: #0653AB;
+}
+
+label.error {
+ display: block;
+ color: red;
+ font-style: italic;
+ font-weight: normal;
+}
+
+input.error {
+ border: 2px solid red;
+}
+
+p.demoBlock {
+ border-bottom: 1px solid #DDDDDD;
+ padding-bottom: 10px;
+}
+
+div.left-nav-callout {
+ height: 200px;
+ width: 190px;
+ top: 55px;
+ left: 5px;
+ position: relative;
+ padding-left: 9px;
+ padding-top: 13px;
+}
+
+div.left-nav-callout img.png {
+ position: absolute;
+ z-index: 0;
+ top: 0px;
+ left: 0px;
+}
+
+div.left-nav-callout h6 {
+ font: bold 14px tahoma, geneva;
+ color: #333333;
+ height: 36px;
+ padding-left: 5px;
+ margin: 0px;
+ position: relative;
+ z-index: 10;
+}
+
+div.left-nav-callout a {
+ background: url(images/monitor24.gif) no-repeat 0px center;
+ padding: 5px 0px 5px 30px;
+ display: block;
+ font: bold 12px tahoma, geneva;
+ color: #336699;
+ margin-bottom: 5px;
+ position: relative;
+ z-index: 10;
+ width: 140px;
+}
+
+form table td {
+ padding: 5px;
+}
+
+form table input {
+ width: 200px;
+ padding: 3px;
+ margin: 0px;
+}
+
+textarea {
+ width: 400px
+}
+
+td.label {
+ width: 150px;
+}
+
+tr.required td.label {
+ font-weight: bold;
+ background: url(/images/forms/backRequiredGray.gif) no-repeat right
+ center;
+}
+
+div.subTableDiv {
+ width: 500px;
+}
+
+div.subTableDiv td.label {
+ width: 135px;
+}
+
+ul#homeBlog li div.description {
+ display: none;
+}
+
+td.field input.error, td.field select.error, tr.errorRow td.field input,tr.errorRow td.field select {
+ border: 2px solid red;
+ background-color: #FFFFD5;
+ margin: 0px;
+ color: red;
+}
+
+tr td.field div.formError {
+ display: none;
+ color: #FF0000;
+}
+
+tr.errorRow td.field div.formError {
+ display: block;
+ font-weight: normal;
+}
+
+div.error {
+ color: red;
+}
+
+div.error a {
+ color: #336699;
+ font-size: 12px;
+ text-decoration: underline
+}
+
+div.tooltip {
+ position: absolute;
+ left: 30px;
+ bottom: 0px;
+ display: none; /* in case javascript is disabled */
+ width: 170px;
+ background-color: #F4F1E9;
+ z-index: 100;
+ padding: 10px;
+ border: 1px solid #CCCCCC;
+}
+
+div.offerbox {
+ width: 125px;
+ float: left;
+ position: relative;
+}
+
+div.offerbox h3 {
+ font: bold 17px tahoma, geneva;
+ color: #333333;
+ height: 55px;
+ margin: 0px auto;
+ text-align: center;
+}
+
+div.offerbox h4 {
+ height: 100px;
+ font: normal 13px tahoma, geneva;
+ margin: 0px;
+}
+
+div.offerbox h5 {
+ font: bold 14px tahoma, geneva;
+ margin: 0px;
+ height: 55px;
+}
+
+div.offerbox h5 small {
+ float: left;
+ font-weight: normal;
+ font-size: 10px;
+}
+
+div.offerbox div.learnmore {
+ padding-left: 25px;
+}
+
+div#marketoEditions {
+ background: url(images/buynowBack.gif) no-repeat;
+ width: 584px;
+ height: 376px;
+ float: left;
+ position: relative;
+ margin-bottom: 10px;
+}
+
+div.offerHeader {
+ background: #0D8BBD;
+ position: absolute;
+ top: 20px;
+ width: 266px;
+ height: 34px;
+ border: 1px solid #e1e4e2;
+}
+
+div.offerHeader span {
+ font: 20px 'trebuchet ms';
+ color: #FFFFFF;
+ position: absolute;
+ left: 0px;
+ top: 0px;
+}
+
+div.offerHeader span.shadow {
+ font: 20px 'trebuchet ms';
+ color: #333333;
+ position: absolute;
+}
+
+div.offerbox div.buttonSubmit {
+ margin: 5px 0px 0px 10px;
+}
+
+div.footerAddress {
+ position: absolute;
+ bottom: 30px;
+ left: 20px;
+ color: #666666;
+ font-size: 11px;
+ display: none;
+}
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/bg.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/bg.gif
new file mode 100644
index 00000000..2c7c3587
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/bg.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/index.html
new file mode 100644
index 00000000..d2f57d03
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/index.html
@@ -0,0 +1,250 @@
+
+
+
+
+ Remember The Milk signup form - jQuery Validate plugin demo - with friendly permission from the RTM team
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/left_white.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/left_white.png
new file mode 100644
index 00000000..b889960c
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/left_white.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.css
new file mode 100644
index 00000000..d5f128bf
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.css
@@ -0,0 +1,236 @@
+/* GENERAL ELEMENTS */
+
+* { margin: 0; padding: 0; }
+
+body, input, select, textarea { font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; }
+body { color: #333; background-color: #fff; text-align: center; }
+
+a:link { color:#0060BF; text-decoration: underline; }
+a:visited { color:#0060BF; text-decoration: underline; }
+a:active { color:#0060BF; text-decoration: underline; }
+a:hover { color:#000000; text-decoration: underline; }
+
+h1, h2, h3, h4, h5, h6 { font-family: "Lucida Grande", "Lucida Sans Unicode", geneva, verdana, arial, helvetica, sans-serif; font-weight: bold; color: #666; }
+h1 { font-size: 1.8em; margin: 0em 0em 0.6em 0em; color: #EC5800; }
+h2 { font-size: 1.5em; margin: 1.2em 0em 0.4em 0em; }
+h3 { font-size: 1.4em; margin: 1.2em 0em 0.4em 0em; color: #EC5800; }
+h4 { font-size: 1.2em; margin: 1.2em 0em 0.4em 0em; }
+h5 { font-size: 1.0em; margin: 1.2em 0em 0.4em 0em; }
+h6 { font-size: 0.8em; margin: 1.2em 0em 0.4em 0em; }
+
+img { border: 0px; }
+
+p { font-size: 1.0em; line-height: 1.3em; margin: 1.2em 0em 1.2em 0em; }
+li > p { margin-top: 0.2em; }
+pre { font-family: monospace; font-size: 1.0em; }
+strong, b { font-weight: bold; }
+
+/* PAGE ELEMENTS */
+
+/* Content */
+
+#content { margin: 0em auto; width: 765px; padding: 10px 0 10px 0; text-align: left; /* Win IE5 */ }
+.content { margin-left: 4.5em; margin-right: 4.5em; }
+.content ol, .content ul, .content li { font-size: 1.0em; line-height: 1.3em; margin: 0.2em 0 0.1em 1.5em; }
+.content ol.terms li { margin-bottom: 1em; }
+
+/* Header */
+
+#header { padding-bottom: 10em; }
+#headerlogo { float: left; }
+#headerlogo img { width: 188px; height: 83px; }
+#headernav { float: right; }
+
+label { font-weight: bold; }
+#reminders label { font-weight: normal; }
+
+table.tabbedtable { padding-left: 3em; }
+table.tabbedtable td { padding-bottom: 5px; }
+table.tabbedtable label { text-align: right; padding-right: 9px; }
+.hiddenlabel { visibility: hidden; }
+.largelink { border: 1px solid #cacaca; padding: 10px; background-color: #E8EEF7; font-size: 1.2em; font-weight: bold; }
+.largelinkwrap { padding-top: 10px; padding-bottom: 10px; }
+
+
+
+#signuptab {
+ float:left;
+ width:100%;
+ background:#fff url("bg.gif") repeat-x bottom;
+ font-size: 1.0em;
+ line-height: normal;
+}
+#signuptab ul {
+ margin:0;
+ padding: 0px 10px 0px 10px;
+ list-style:none;
+}
+#signuptab li {
+ float:left;
+ background:url("left_white.png") no-repeat left top;
+ margin:0;
+ padding:0 3px 0 9px;
+ border-bottom:1px solid #CACACA;
+}
+#signuptab a {
+ float:left;
+ display:block;
+ width:.1em;
+ background:url("right_white.png") no-repeat right top;
+ padding:2px 15px 0px 6px;
+ text-decoration:none;
+ font-weight:bold;
+ color:#fff;
+ white-space: nowrap;
+}
+#signuptab > ul a {width:auto;}
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+#signuptab a {float:none;}
+/* End IE5-Mac hack */
+#signuptab a:hover {
+ color:#333;
+}
+#signuptab #signupcurrent {
+ background-position:0 -150px;
+ border-width:0;
+}
+#signuptab #signupcurrent a {
+ background-position:100% -150px;
+ padding-bottom:1px;
+ color:#000;
+}
+#signuptab li:hover, #signuptab li:hover a {
+ background-position:0% -150px;
+ color:#000;
+}
+#signuptab li:hover a {
+ background-position:100% -150px;
+}
+
+/* Signup box */
+
+#signupbox {
+ width: 100%;
+ text-align: center;
+ margin: 0em auto;
+}
+
+#signupwrap {
+ border: 1px solid #CACACA;
+ border-top: 0;
+ text-align: left;
+ padding: 35px 10px 20px 30px;
+ clear: both;
+}
+
+/* Unsupported browsers */
+
+.orange_rbcontent { padding: 0.4em; }
+.orange_rbroundbox { width: 100%; }
+
+#unsupported {
+ font-weight: bold;
+ text-align: left;
+}
+
+/*#content {
+ padding-top: 15px;
+}*/
+
+/* Signup form */
+
+#signupform table {
+ border-spacing: 0px;
+ border-collapse: collapse;
+ empty-cells: show;
+}
+
+#signupform .label {
+ padding-top: 2px;
+ padding-right: 8px;
+ vertical-align: top;
+ text-align: right;
+ width: 125px;
+ white-space: nowrap;
+}
+
+#signupform .field {
+ padding-bottom: 10px;
+ white-space: nowrap;
+}
+
+#signupform .status {
+ padding-top: 2px;
+ padding-left: 8px;
+ vertical-align: top;
+ width: 246px;
+ white-space: nowrap;
+}
+
+#signupform .textfield {
+ width: 150px;
+}
+
+#signupform label.error {
+ background:url("../images/unchecked.gif") no-repeat 0px 0px;
+ padding-left: 16px;
+ padding-bottom: 2px;
+ font-weight: bold;
+ color: #EA5200;
+}
+
+#signupform label.checked {
+ background:url("../images/checked.gif") no-repeat 0px 0px;
+}
+
+#signupform .success_msg {
+ font-weight: bold;
+ color: #0060BF;
+ margin-left: 19px;
+}
+
+#signupform #dateformatStatus, #signupform #termsStatus {
+ margin-left: 6px;
+}
+
+#signupform #dateformat_eu {
+ vertical-align: middle;
+}
+
+#signupform #ldateformat_eu {
+ font-weight: normal;
+ vertical-align: middle;
+}
+
+#signupform #dateformat_am {
+ vertical-align: middle;
+}
+
+#signupform #ldateformat_am {
+ font-weight: normal;
+ vertical-align: middle;
+}
+
+#signupform #termswrap {
+ float: left;
+}
+
+#signupform #terms {
+ vertical-align: middle;
+ float: left;
+ display: block;
+ margin-right: 5px;
+}
+
+#signupform #lterms {
+ font-weight: normal;
+ vertical-align: middle;
+ float: left;
+ display: block;
+ width: 350px;
+ white-space: normal;
+}
+
+#signupform #lsignupsubmit {
+ visibility: hidden;
+}
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.png
new file mode 100644
index 00000000..b5e71515
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/milk.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/right_white.png b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/right_white.png
new file mode 100644
index 00000000..393bbe2b
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/milk/right_white.png differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/index.html
new file mode 100644
index 00000000..b6988d3e
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/index.html
@@ -0,0 +1,468 @@
+
+
+
+
+ jQuery accordion form with validation
+
+
+
+
+
+
+
+
+
+
+
+ Help meBuy and Sell a House
+
This form is quick & easy to complete - in only 3 steps!
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/style.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/style.css
new file mode 100644
index 00000000..fbf08c24
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/multipart/style.css
@@ -0,0 +1,705 @@
+/********************************************
+ AUTHOR: Erwin Aligam
+ WEBSITE: http://www.styleshout.com/
+ TEMPLATE NAME: Techmania 1.0
+ TEMPLATE CODE: S-0003
+ VERSION: 1.1
+ *******************************************/
+ /********************************************
+ HTML ELEMENTS
+********************************************/ /* Top elements */
+ /** { margin:0; padding: 0; }*/
+body {
+ background-color: #000;
+ color: #555;
+ font: 78%/ 1.6 Verdana, 'Trebuchet MS', arial, sans-serif;
+ text-align: center;
+ margin: 15px 0;
+}
+
+/* links */
+a {
+ color: #213540;
+ background: inherit;
+ text-decoration: none;
+}
+
+a:hover {
+ color: #3e4255;
+ text-decoration: underline;
+ background: inherit;
+}
+
+/* headers */
+h1,h2,h3 {
+ font-family: 'Trebuchet MS', Arial, sans-serif;
+ font-weight: bold;
+}
+
+h1 {
+ font-size: 1.5em;
+ margin: 10px 15px;
+}
+
+h2 {
+ font-size: 1.3em;
+ text-transform: uppercase;
+ color: #339900;
+ margin: 10px 15px;
+}
+
+h3 {
+ font-size: 1.1em;
+ color: #333;
+ margin: 16px 0 0 18px;
+}
+
+h1,h2,h3 {
+ padding: 0;
+}
+
+p {
+ line-height: 1.4em;
+ padding: 0 15px;
+}
+
+p.error {
+ color: #CC0033;
+}
+
+ul,ol {
+ margin: 10px 6px;
+ padding: 0 15px;
+ color: #006699;
+}
+
+ul span,ol span {
+ color: #666666;
+}
+
+/* images */
+img {
+ border: 2px solid #CCC;
+}
+
+img.float-right {
+ margin: 5px 0px 10px 10px;
+}
+
+img.float-left {
+ margin: 5px 10px 10px 0px;
+}
+
+code {
+ margin: 5px 0;
+ padding: 10px;
+ text-align: left;
+ display: block;
+ overflow: auto;
+ font: 500 1em/ 1.5em 'Lucida Console', 'courier new', monospace;
+ /* white-space: pre; */
+ background: #FAFAFA;
+ border: 1px solid #EAEAEA;
+ border-left: 5px solid #72A545;
+}
+
+acronym {
+ cursor: help;
+ border-bottom: 1px solid #777;
+}
+
+blockquote {
+ margin: 15px;
+ padding: 0 0 0 32px;
+ background: #FAFAFA url(quote.gif) no-repeat 5px 10px !important;
+ background-position: 8px 10px;
+ border: 1px solid #EAEAEA;
+ border-left: 5px solid #72A545;
+ font-weight: bold;
+}
+
+/* form elements */
+fieldset {
+ margin: 12px 12px 18px;
+ padding-left: 6px;
+ border: 1px solid #004080;
+ color: #006699;
+}
+
+fieldset fieldset {
+ border: 1px solid #9ea190;
+ margin: 17px 14px;
+}
+
+form {
+ margin: 10px 15px;
+ padding: 0;
+}
+
+label {
+ font-weight: bold;
+ margin: 5px 3px 0 0;
+ width: 160px;
+ text-align: right;
+ float: left;
+}
+
+legend {
+ font-size: 1.2em;
+ padding: 0 12px;
+ font-weight: 900;
+ background-color: #F9F9F9;
+}
+
+fieldset fieldset legend {
+ font-size: 1em;
+ color: #1a2129;
+ padding: 0 18px;
+ margin-left: 75px;
+}
+
+input {
+ padding: 3px;
+ margin: 4px 0;
+ border: 1px solid #CFCED3;
+ font: normal 1em Verdana, sans-serif;
+ color: #777;
+}
+
+textarea {
+ width: 400px;
+ padding: 4px;
+ font: normal 1em Verdana, sans-serif;
+ border: 1px solid #eee;
+ height: 100px;
+ display: block;
+ color: #777;
+}
+
+input.button {
+ margin: 0;
+ font: bold 12px Arial, Sans-serif;
+ border: 1px solid #EAEAEA;
+ padding: 3px 4px;
+ background: #CCC url(buttonbg.gif) repeat-x left bottom;
+ color: #333; /* color: #339900; */
+ cursor: pointer;
+}
+
+input.submitbutton {
+ background-color: #006699;
+ color: #FFF;
+ background-image: none;
+ font-weight: 900;
+ border: 1px solid #EAEAEA;
+ margin: 0 0 0 200px;
+}
+
+/* search */
+#sidebar #search {
+ background: #f2f2f2;
+ margin: 0 15px;
+ padding: 5px 0;
+}
+
+#sidebar #search img {
+ vertical-align: bottom;
+}
+
+#sidebar #search .textbox {
+ background: #FFF url(input.png) no-repeat top left;
+ border: 1px solid #EAEAEA;
+ font-size: 11px;
+ padding: 3px;
+ width: 110px;
+}
+
+#sidebar #search input.searchbutton {
+ margin: 0;
+ font: bold 100% Arial, Sans-serif;
+ border: 1px solid #CCC;
+ background: #CCC url(buttonbg.gif) repeat-x left bottom;
+ padding: 1px;
+ height: 25px;
+ color: #333;
+ width: 55px;
+}
+
+/*****************************
+ LAYOUT
+******************************/
+#wrap {
+ margin: 0 auto;
+ padding: 0;
+ text-align: left;
+ background-color: #FFF;
+ width: 790px;
+}
+
+#content-wrap {
+ clear: both;
+ margin: 0;
+ padding: 0;
+ width: 790px;
+}
+
+/* header */
+#header {
+ position: relative;
+ clear: left;
+ width: 790px;
+ height: 137px;
+ margin: 0;
+ padding: 0;
+ background: #000 url(headerbg.jpg) no-repeat left bottom;
+}
+
+#header h1#logo-text {
+ float: right;
+ margin: 39px 58px 0 0;
+ padding: 0;
+ font: bolder 3.2em 'Trebuchet MS', Arial, Sans-serif;
+ letter-spacing: -2px;
+ color: #FFF;
+ text-transform: none;
+ /* change the values of top and right to adjust the position of the logo*/
+ top: 35px;
+ right: 30px;
+}
+
+#header h2#slogan {
+ float: right;
+ margin: 0 38px 0 0;
+ padding: 0;
+ font: bold 1.5em 'Trebuchet MS', Arial, Sans-serif;
+ text-transform: none;
+ letter-spacing: 1px;
+ color: #FFF;
+ clear: both;
+ text-align: right;
+}
+
+#header h1#logo-text span {
+ color: #CFCED3;
+}
+
+/* menu tabs */
+#header #header-tabs {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 25px;
+ background: #000;
+ font: bold 1.1em Verdana, Tahoma, 'Trebuchet MS', Sans-serif;
+}
+
+#header-tabs ul {
+ margin: 0;
+ padding: 2px 0px 0px 0px;
+ list-style: none;
+}
+
+#header-tabs li {
+ display: inline;
+ margin: 0;
+ padding: 0;
+}
+
+#header-tabs a {
+ float: left;
+ background: url(tableft.gif) no-repeat left top;
+ margin: 0;
+ padding: 0 0 0 4px;
+ text-decoration: none;
+}
+
+#header-tabs a span {
+ float: left;
+ display: block;
+ background: url(tabright.gif) no-repeat right top;
+ padding: 7px 15px 4px 8px;
+ color: #CCC;
+}
+
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+#header-tabs a span {
+ float: none;
+}
+
+/* End IE5-Mac hack */
+#header-tabs a:hover span {
+ color: #FFF;
+}
+
+#header-tabs a:hover {
+ background-position: 0% -42px;
+}
+
+#header-tabs a:hover span {
+ background-position: 100% -42px;
+}
+
+#header-tabs #current a {
+ background-position: 0% -42px;
+}
+
+#header-tabs #current a span {
+ background-position: 100% -42px;
+ color: #FFF;
+}
+
+/* main content */
+#main {
+ width: 748px;
+ margin: 0;
+ padding: 8px 16px;
+ background-color: #F9F9F9;
+ border-left: 5px solid #000;
+ border-right: 5px solid #000;
+}
+
+#main h1 {
+ padding: 8px 0 3px 25px;
+ text-transform: none;
+ border-bottom: 2px solid #f2f2f2;
+ color: #339900;
+}
+
+/* sidebar */
+#sidebar { /* float: right;
+ width: 245px;
+ margin: 0 0 10px 0; padding: 0;
+ background-color: inherit; */
+ display: none;
+}
+
+#sidebar h1 {
+ padding: 8px 0px 3px 25px;
+ background: url(square_arrow.gif) no-repeat 0% .7em;
+ text-transform: none;
+ color: #339900;
+}
+
+#sidebar ul.sidemenu {
+ list-style: none;
+ margin: 10px 15px;
+ padding: 0;
+}
+
+#sidebar ul.sidemenu li {
+ margin-bottom: 1px;
+ border: 1px solid #f2f2f2;
+}
+
+#sidebar ul.sidemenu a {
+ display: block;
+ font-weight: bold;
+ color: #333;
+ text-decoration: none;
+ padding: 2px 5px 2px 10px;
+ background: #f2f2f2;
+ border-left: 5px solid #CCC;
+ min-height: 18px;
+}
+
+* html body #sidebar ul.sidemenu a {
+ height: 18px;
+}
+
+#sidebar ul.sidemenu a:hover {
+ padding: 2px 5px 2px 10px;
+ background: #f2f2f2;
+ color: #339900;
+ border-left: 5px solid #72A545;
+}
+
+/* footer */
+#footer {
+ clear: both;
+ height: 40px;
+ color: #CCC;
+ background: #000;
+ margin: 0;
+ font-size: 92%;
+}
+
+#footer a {
+ text-decoration: none;
+ font-weight: bold;
+ color: #FFF;
+}
+
+#footer #footer-left {
+ width: 68%;
+ float: left;
+ text-align: left;
+ margin: 0;
+ padding: 10px;
+}
+
+#footer #footer-right {
+ width: 25%;
+ float: right;
+ text-align: right;
+ margin: 0;
+ padding: 10px;
+}
+
+/* alignment classes */
+.float-left {
+ float: left;
+}
+
+.float-right {
+ float: right;
+}
+
+.align-left {
+ text-align: left;
+}
+
+.align-right {
+ text-align: right;
+}
+
+/* additional classes */
+.clear {
+ clear: both;
+}
+
+.hide {
+ display: none;
+}
+
+.gray {
+ color: #CCC;
+}
+
+.comments {
+ color: #333;
+ background: #FFF;
+ text-align: right;
+ border-top: 1px dashed #EFF0F1;
+ border-bottom: 1px dashed #EFF0F1;
+ padding: 5px 0;
+ margin-top: 20px;
+}
+
+html {
+ min-height: 100.1%;
+}
+
+/* ------ one ------------*/
+body .mainText {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 12px;
+}
+
+#demoText h1,.mainText h1 {
+ font-size: 130%;
+ color: #0099FF;
+ text-decoration: none;
+ font-family: Arial, Helvetica, sans-serif;
+ margin: 5px 4px 5px 24px;
+ background: none;
+ padding: 0;
+ border: none;
+ text-transform: capitalize;
+}
+
+.mainText h2 {
+ font-size: 110%;
+ color: #000033;
+ font-family: Arial, Helvetica, sans-serif;
+ text-decoration: none;
+ background: none;
+ margin: 4px 32px 6px 22px;
+ text-transform: capitalize;
+}
+
+.mainText h3 {
+ font-size: 120%;
+ font-weight: 900;
+ margin: 14px 0 0 0;
+ text-align: center;
+ color: #000033;
+}
+
+.mainText table {
+ width: 95%;
+ border: 1px solid #0099FF;
+ border-collapse: collapse;
+ margin: 18px 7px;
+}
+
+.mainText table td {
+ background-color: #99CCFF;
+ color: #000033;
+ padding: 4px;
+}
+
+.mainText table th {
+ background-color: #000033;
+ color: #99CCFF;
+ padding: 4px;
+}
+
+.mainText .linkPar a {
+ color: #000033;
+ text-decoration: underline;
+}
+
+.mainText .linkPar a:hover {
+ color: #660033;
+ text-decoration: none;
+ font-weight: 900;
+}
+
+.pusher {
+ cursor: pointer;
+ padding: 3px 10px 3px 22px;
+ font-weight: 900;
+ font-size: 14px;
+}
+
+/* ------------- form specific styles are here -------------- */
+fieldset {
+ margin: 0;
+ border: 1px solid #C3DE00;
+ padding: 10px;
+ /*border:none;
+padding:0;*/
+ color: #7563A5;
+}
+
+legend {
+ background-color: #FFFFFF;
+ text-align: center;
+ color: #097981;
+ padding: 0 12px;
+}
+
+label {
+ text-align: right;
+ width: 298px;
+ border-right: 1px dotted #099;
+ padding-right: 5px;
+ margin: 0 0 8px 0;
+ float: left;
+ clear: left;
+ display: block;
+ color: #7563A5;
+}
+
+label.checkbox,label.textarea {
+ border: none;
+}
+
+label.lgfield {
+ border: none;
+ text-align: center;
+ clear: both;
+ float: none;
+ width: 100%;
+}
+
+fieldset input,fieldset select,fieldset textarea {
+ margin-left: 10px;
+ margin-bottom: 8px;
+}
+
+select.longfield {
+ margin: 0 0 0 115px;
+}
+
+input [type="radio"],input [type="checkbox"] {
+ margin: 2px 0 0 4px;
+}
+
+textarea {
+ width: 250px;
+ float: left;
+}
+
+/*Get Help Form Styles*/
+p.formDisclaimer {
+ text-align: center;
+ margin: 32px 24px 12px 0;
+ font-style: italic;
+}
+
+div.buttonWrapper {
+ margin: 28px 0 14px 0;
+ clear: both;
+ text-align: center;
+}
+
+.formspacer {
+ height: 1em;
+ clear: both;
+}
+
+.hideField {
+ display: none;
+}
+
+.pushOpen {
+ height: 18em;
+}
+
+/* ----- error message for field validation ----- */
+#stepForm label.warning {
+ text-align: left;
+ width: auto;
+ padding: 0;
+ margin: 0 0 0 10px;
+ float: none;
+ clear: none;
+ display: inline;
+ color: #CC3366;
+ font-size: 10px;
+ border: none;
+ border-top: 1px dotted #CC3366;
+}
+
+div.requiredNotice {
+ width: 140px;
+ float: right;
+ margin: 0 24px 0 0;
+ padding: 0;
+}
+
+h3.stepHeader {
+ text-align: left;
+ font-size: 16px;
+ font-weight: bold;
+ margin: 0 0 24px 24px;
+ color: #676cac;
+}
+
+ul#stepForm,ul#stepForm li {
+ margin: 0;
+ padding: 0;
+}
+
+ul#stepForm li {
+ list-style: none;
+}
+
+/* Form Buttons */
+input.submitbutton,.nextbutton,.prevbutton {
+ width: 100px;
+ height: 40px;
+ background-color: #663399;
+ padding: 4px;
+ border: 1px solid #339933;
+ cursor: pointer;
+ text-align: center;
+ color: #FFFFFF;
+ margin: 7px;
+}
+
+input.submitbutton {
+ background-color: #006699;
+}
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/radio-checkbox-select-demo.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/radio-checkbox-select-demo.html
new file mode 100644
index 00000000..74e0e61b
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/radio-checkbox-select-demo.html
@@ -0,0 +1,132 @@
+
+
+
+
+ Test for jQuery validate() plugin
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/app.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/app.js
new file mode 100644
index 00000000..b3641273
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/app.js
@@ -0,0 +1,9 @@
+require(["jquery", "../../dist/jquery.validate"], function($) {
+
+ $.validator.setDefaults({
+ submitHandler: function() { alert("submitted!"); }
+ });
+
+ // validate the comment form when it is submitted
+ $("#commentForm").validate();
+});
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/index.html
new file mode 100644
index 00000000..04f61fcf
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/requirejs/index.html
@@ -0,0 +1,56 @@
+
+
+
+
+ jQuery validation plug-in - requirejs demo
+
+
+
+
+
+
+
+
+
+
+
Default submitHandler is set to display an alert into of submitting the form
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/site-demos.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/site-demos.css
new file mode 100644
index 00000000..21b90f65
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/site-demos.css
@@ -0,0 +1,16 @@
+#field { margin-left: .5em; float: left; }
+#field, label { float: left; font-family: Arial, Helvetica, sans-serif; font-size: small; }
+br { clear: both; }
+input { border: 1px solid black; margin-bottom: .5em; }
+input.error { border: 1px solid red; }
+label.error {
+ background: url('images/unchecked.gif') no-repeat;
+ padding-left: 16px;
+ margin-left: .3em;
+}
+label.valid {
+ background: url('images/checked.gif') no-repeat;
+ display: block;
+ width: 16px;
+ height: 16px;
+}
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/themerollered.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/themerollered.html
new file mode 100644
index 00000000..450c5c77
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/themerollered.html
@@ -0,0 +1,235 @@
+
+
+
+
+ jQuery validation plug-in - ThemeRolldered demo
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/index.html b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/index.html
new file mode 100644
index 00000000..7d354126
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/index.html
@@ -0,0 +1,69 @@
+
+
+
+
+ jQuery Validation plugin: integration with TinyMCE
+
+
+
+
+
+
+
+
+
+
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/editor_template.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/editor_template.js
new file mode 100644
index 00000000..d19fb53f
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/editor_template.js
@@ -0,0 +1 @@
+(function(){var DOM=tinymce.DOM;tinymce.ThemeManager.requireLangPack('simple');tinymce.create('tinymce.themes.SimpleTheme',{init:function(ed,url){var t=this,states=['Bold','Italic','Underline','Strikethrough','InsertUnorderedList','InsertOrderedList'],s=ed.settings;t.editor=ed;ed.onInit.add(function(){ed.onNodeChange.add(function(ed,cm){tinymce.each(states,function(c){cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c));});});ed.dom.loadCSS(url+"/skins/"+s.skin+"/content.css");});DOM.loadCSS((s.editor_css?ed.documentBaseURI.toAbsolute(s.editor_css):'')||url+"/skins/"+s.skin+"/ui.css");},renderUI:function(o){var t=this,n=o.targetNode,ic,tb,ed=t.editor,cf=ed.controlManager,sc;n=DOM.insertAfter(DOM.create('span',{id:ed.id+'_container','class':'mceEditor '+ed.settings.skin+'SimpleSkin'}),n);n=sc=DOM.add(n,'table',{cellPadding:0,cellSpacing:0,'class':'mceLayout'});n=tb=DOM.add(n,'tbody');n=DOM.add(tb,'tr');n=ic=DOM.add(DOM.add(n,'td'),'div',{'class':'mceIframeContainer'});n=DOM.add(DOM.add(tb,'tr',{'class':'last'}),'td',{'class':'mceToolbar mceLast',align:'center'});tb=t.toolbar=cf.createToolbar("tools1");tb.add(cf.createButton('bold',{title:'simple.bold_desc',cmd:'Bold'}));tb.add(cf.createButton('italic',{title:'simple.italic_desc',cmd:'Italic'}));tb.add(cf.createButton('underline',{title:'simple.underline_desc',cmd:'Underline'}));tb.add(cf.createButton('strikethrough',{title:'simple.striketrough_desc',cmd:'Strikethrough'}));tb.add(cf.createSeparator());tb.add(cf.createButton('undo',{title:'simple.undo_desc',cmd:'Undo'}));tb.add(cf.createButton('redo',{title:'simple.redo_desc',cmd:'Redo'}));tb.add(cf.createSeparator());tb.add(cf.createButton('cleanup',{title:'simple.cleanup_desc',cmd:'mceCleanup'}));tb.add(cf.createSeparator());tb.add(cf.createButton('insertunorderedlist',{title:'simple.bullist_desc',cmd:'InsertUnorderedList'}));tb.add(cf.createButton('insertorderedlist',{title:'simple.numlist_desc',cmd:'InsertOrderedList'}));tb.renderTo(n);return{iframeContainer:ic,editorContainer:ed.id+'_container',sizeContainer:sc,deltaHeight:-20};},getInfo:function(){return{longname:'Simple theme',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add('simple',tinymce.themes.SimpleTheme);})();
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/img/icons.gif b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/img/icons.gif
new file mode 100644
index 00000000..16af141f
Binary files /dev/null and b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/img/icons.gif differ
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/langs/en.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/langs/en.js
new file mode 100644
index 00000000..6f095311
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/langs/en.js
@@ -0,0 +1,11 @@
+tinyMCE.addI18n('en.simple',{
+bold_desc:"Bold (Ctrl+B)",
+italic_desc:"Italic (Ctrl+I)",
+underline_desc:"Underline (Ctrl+U)",
+striketrough_desc:"Strikethrough",
+bullist_desc:"Unordered list",
+numlist_desc:"Ordered list",
+undo_desc:"Undo (Ctrl+Z)",
+redo_desc:"Redo (Ctrl+Y)",
+cleanup_desc:"Cleanup messy code"
+});
\ No newline at end of file
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/skins/default/ui.css b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/skins/default/ui.css
new file mode 100644
index 00000000..32feae62
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/themes/simple/skins/default/ui.css
@@ -0,0 +1,32 @@
+/* Reset */
+.defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000}
+
+/* Containers */
+.defaultSimpleSkin {position:relative}
+.defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;}
+.defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;}
+.defaultSimpleSkin .mceToolbar {height:24px;}
+
+/* Layout */
+.defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px}
+.defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px}
+
+/* Button */
+.defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px}
+.defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0}
+.defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0}
+.defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
+
+/* Separator */
+.defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px}
+
+/* Theme */
+.defaultSimpleSkin span.mce_bold {background-position:0 0}
+.defaultSimpleSkin span.mce_italic {background-position:-60px 0}
+.defaultSimpleSkin span.mce_underline {background-position:-140px 0}
+.defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0}
+.defaultSimpleSkin span.mce_undo {background-position:-160px 0}
+.defaultSimpleSkin span.mce_redo {background-position:-100px 0}
+.defaultSimpleSkin span.mce_cleanup {background-position:-40px 0}
+.defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0}
+.defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0}
diff --git a/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/tiny_mce.js b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/tiny_mce.js
new file mode 100644
index 00000000..55aba6e3
--- /dev/null
+++ b/wqflask/wqflask/static/new/packages/ValidationPlugin/demo/tinymce/tiny_mce.js
@@ -0,0 +1 @@
+var tinymce={majorVersion:'3',minorVersion:'2.1.1',releaseDate:'2008-11-27',_init:function(){var t=this,d=document,w=window,na=navigator,ua=na.userAgent,i,nl,n,base,p,v;t.isOpera=w.opera&&opera.buildNumber;t.isWebKit=/WebKit/.test(ua);t.isOldWebKit=t.isWebKit&&!w.getSelection().getRangeAt;t.isIE=!t.isWebKit&&!t.isOpera&&(/MSIE/gi).test(ua)&&(/Explorer/gi).test(na.appName);t.isIE6=t.isIE&&/MSIE [56]/.test(ua);t.isGecko=!t.isWebKit&&/Gecko/.test(ua);t.isMac=ua.indexOf('Mac')!=-1;t.isAir=/adobeair/i.test(ua);if(w.tinyMCEPreInit){t.suffix=tinyMCEPreInit.suffix;t.baseURL=tinyMCEPreInit.base;t.query=tinyMCEPreInit.query;return;}t.suffix='';nl=d.getElementsByTagName('base');for(i=0;i=items.length){for(i=0,l=base.length;i=items.length||base[i]!=items[i]){bp=i+1;break;}}}if(base.length=base.length||base[i]!=items[i]){bp=i+1;break;}}}if(bp==1)return path;for(i=0,l=base.length-(bp-1);i=0;i--){if(path[i].length==0||path[i]==".")continue;if(path[i]=='..'){nb++;continue;}if(nb>0){nb--;continue;}o.push(path[i]);}i=base.length-nb;if(i<=0)return'/'+o.reverse().join('/');return'/'+base.slice(0,i).join('/')+'/'+o.reverse().join('/');},getURI:function(nh){var s,t=this;if(!t.source||nh){s='';if(!nh){if(t.protocol)s+=t.protocol+'://';if(t.userInfo)s+=t.userInfo+'@';if(t.host)s+=t.host;if(t.port)s+=':'+t.port;}if(t.path)s+=t.path;if(t.query)s+='?'+t.query;if(t.anchor)s+='#'+t.anchor;t.source=s;}return t.source;}});})();(function(){var each=tinymce.each;tinymce.create('static tinymce.util.Cookie',{getHash:function(n){var v=this.get(n),h;if(v){each(v.split('&'),function(v){v=v.split('=');h=h||{};h[unescape(v[0])]=unescape(v[1]);});}return h;},setHash:function(n,v,e,p,d,s){var o='';each(v,function(v,k){o+=(!o?'':'&')+escape(k)+'='+escape(v);});this.set(n,o,e,p,d,s);},get:function(n){var c=document.cookie,e,p=n+"=",b;if(!c)return;b=c.indexOf("; "+p);if(b==-1){b=c.indexOf(p);if(b!=0)return null;}else b+=2;e=c.indexOf(";",b);if(e==-1)e=c.length;return unescape(c.substring(b+p.length,e));},set:function(n,v,e,p,d,s){document.cookie=n+"="+escape(v)+((e)?"; expires="+e.toGMTString():"")+((p)?"; path="+escape(p):"")+((d)?"; domain="+d:"")+((s)?"; secure":"");},remove:function(n,p){var d=new Date();d.setTime(d.getTime()-1000);this.set(n,'',d,p,d);}});})();tinymce.create('static tinymce.util.JSON',{serialize:function(o){var i,v,s=tinymce.util.JSON.serialize,t;if(o==null)return'null';t=typeof o;if(t=='string'){v='\bb\tt\nn\ff\rr\""\'\'\\\\';return'"'+o.replace(/([\u0080-\uFFFF\x00-\x1f\"])/g,function(a,b){i=v.indexOf(b);if(i+1)return'\\'+v.charAt(i+1);a=b.charCodeAt().toString(16);return'\\u'+'0000'.substring(a.length)+a;})+'"';}if(t=='object'){if(o instanceof Array){for(i=0,v='[';i0?',':'')+s(o[i]);return v+']';}v='{';for(i in o)v+=typeof o[i]!='function'?(v.length>1?',"':'"')+i+'":'+s(o[i]):'';return v+'}';}return''+o;},parse:function(s){try{return eval('('+s+')');}catch(ex){}}});tinymce.create('static tinymce.util.XHR',{send:function(o){var x,t,w=window,c=0;o.scope=o.scope||this;o.success_scope=o.success_scope||o.scope;o.error_scope=o.error_scope||o.scope;o.async=o.async===false?false:true;o.data=o.data||'';function get(s){x=0;try{x=new ActiveXObject(s);}catch(ex){}return x;};x=w.XMLHttpRequest?new XMLHttpRequest():get('Microsoft.XMLHTTP')||get('Msxml2.XMLHTTP');if(x){if(x.overrideMimeType)x.overrideMimeType(o.content_type);x.open(o.type||(o.data?'POST':'GET'),o.url,o.async);if(o.content_type)x.setRequestHeader('Content-Type',o.content_type);x.send(o.data);function ready(){if(!o.async||x.readyState==4||c++>10000){if(o.success&&c<10000&&x.status==200)o.success.call(o.success_scope,''+x.responseText,x,o);else if(o.error)o.error.call(o.error_scope,c>10000?'TIMED_OUT':'GENERAL',x,o);x=null;}else w.setTimeout(ready,10);};if(!o.async)return ready();t=w.setTimeout(ready,10);}}});(function(){var extend=tinymce.extend,JSON=tinymce.util.JSON,XHR=tinymce.util.XHR;tinymce.create('tinymce.util.JSONRequest',{JSONRequest:function(s){this.settings=extend({},s);this.count=0;},send:function(o){var ecb=o.error,scb=o.success;o=extend(this.settings,o);o.success=function(c,x){c=JSON.parse(c);if(typeof(c)=='undefined'){c={error:'JSON Parse error.'};}if(c.error)ecb.call(o.error_scope||o.scope,c.error,x);else scb.call(o.success_scope||o.scope,c.result);};o.error=function(ty,x){ecb.call(o.error_scope||o.scope,ty,x);};o.data=JSON.serialize({id:o.id||'c'+(this.count++),method:o.method,params:o.params});o.content_type='application/json';XHR.send(o);},'static':{sendRPC:function(o){return new tinymce.util.JSONRequest().send(o);}}});}());(function(){var each=tinymce.each,is=tinymce.is;var isWebKit=tinymce.isWebKit,isIE=tinymce.isIE;tinymce.create('tinymce.dom.DOMUtils',{doc:null,root:null,files:null,listeners:{},pixelStyles:/^(top|left|bottom|right|width|height|borderWidth)$/,cache:{},idPattern:/^#[\w]+$/,elmPattern:/^[\w_*]+$/,elmClassPattern:/^([\w_]*)\.([\w_]+)$/,props:{"for":"htmlFor","class":"className",className:"className",checked:"checked",disabled:"disabled",maxlength:"maxLength",readonly:"readOnly",selected:"selected",value:"value",id:"id",name:"name",type:"type"},DOMUtils:function(d,s){var t=this;t.doc=d;t.win=window;t.files={};t.cssFlicker=false;t.counter=0;t.boxModel=!tinymce.isIE||d.compatMode=="CSS1Compat";t.stdMode=d.documentMode===8;this.settings=s=tinymce.extend({keep_values:false,hex_colors:1,process_html:1},s);if(tinymce.isIE6){try{d.execCommand('BackgroundImageCache',false,true);}catch(e){t.cssFlicker=true;}}tinymce.addUnload(t.destroy,t);},getRoot:function(){var t=this,s=t.settings;return(s&&t.get(s.root_element))||t.doc.body;},getViewPort:function(w){var d,b;w=!w?this.win:w;d=w.document;b=this.boxModel?d.documentElement:d.body;return{x:w.pageXOffset||b.scrollLeft,y:w.pageYOffset||b.scrollTop,w:w.innerWidth||b.clientWidth,h:w.innerHeight||b.clientHeight};},getRect:function(e){var p,t=this,sr;e=t.get(e);p=t.getPos(e);sr=t.getSize(e);return{x:p.x,y:p.y,w:sr.w,h:sr.h};},getSize:function(e){var t=this,w,h;e=t.get(e);w=t.getStyle(e,'width');h=t.getStyle(e,'height');if(w.indexOf('px')===-1)w=0;if(h.indexOf('px')===-1)h=0;return{w:parseInt(w)||e.offsetWidth||e.clientWidth,h:parseInt(h)||e.offsetHeight||e.clientHeight};},getParent:function(n,f,r){var na,se=this.settings;n=this.get(n);if(se.strict_root)r=r||this.getRoot();if(is(f,'string')){na=f.toUpperCase();f=function(n){var s=false;if(n.nodeType==1&&na==='*'){s=true;return false;}each(na.split(','),function(v){if(n.nodeType==1&&((se.strict&&n.nodeName.toUpperCase()==v)||n.nodeName.toUpperCase()==v)){s=true;return false;}});return s;};}while(n){if(n==r)return null;if(f(n))return n;n=n.parentNode;}return null;},get:function(e){var n;if(e&&this.doc&&typeof(e)=='string'){n=e;e=this.doc.getElementById(e);if(e&&e.id!==n)return this.doc.getElementsByName(n)[1];}return e;},select:function(pa,s){var t=this,cs,c,pl,o=[],x,i,l,n,xp;s=t.get(s)||t.doc;if(s.querySelectorAll){if(s!=t.doc){i=s.id;s.id='_mc_tmp';pa='#_mc_tmp '+pa;}l=tinymce.grep(s.querySelectorAll(pa));s.id=i;return l;}if(!t.selectorRe)t.selectorRe=/^([\w\\*]+)?(?:#([\w\\]+))?(?:\.([\w\\\.]+))?(?:\[\@([\w\\]+)([\^\$\*!]?=)([\w\\]+)\])?(?:\:([\w\\]+))?/i;;if(tinymce.isAir){each(tinymce.explode(pa),function(v){if(!(xp=t.cache[v])){xp='';each(v.split(' '),function(v){v=t.selectorRe.exec(v);xp+=v[1]?'//'+v[1]:'//*';if(v[2])xp+="[@id='"+v[2]+"']";if(v[3]){each(v[3].split('.'),function(n){xp+="[@class = '"+n+"' or contains(concat(' ', @class, ' '), ' "+n+" ')]";});}});t.cache[v]=xp;}xp=t.doc.evaluate(xp,s,null,4,null);while(n=xp.iterateNext())o.push(n);});return o;}if(t.settings.strict){function get(s,n){return s.getElementsByTagName(n.toLowerCase());};}else{function get(s,n){return s.getElementsByTagName(n);};}if(t.elmPattern.test(pa)){x=get(s,pa);for(i=0,l=x.length;i=0;i--)cs+='}, '+(i?'n':'s')+');';cs+='})';t.cache[pa]=cs=eval(cs);}cs(isIE?collectIE:collect,s);});each(o,function(n){if(isIE)n.removeAttribute('mce_save');else delete n.mce_save;});return o;},add:function(p,n,a,h,c){var t=this;return this.run(p,function(p){var e,k;e=is(n,'string')?t.doc.createElement(n):n;t.setAttribs(e,a);if(h){if(h.nodeType)e.appendChild(h);else t.setHTML(e,h);}return!c?p.appendChild(e):e;});},create:function(n,a,h){return this.add(this.doc.createElement(n),n,a,h,1);},createHTML:function(n,a,h){var o='',t=this,k;o+='<'+n;for(k in a){if(a.hasOwnProperty(k))o+=' '+k+'="'+t.encode(a[k])+'"';}if(tinymce.is(h))return o+'>'+h+''+n+'>';return o+' />';},remove:function(n,k){return this.run(n,function(n){var p,g;p=n.parentNode;if(!p)return null;if(k){each(n.childNodes,function(c){p.insertBefore(c.cloneNode(true),n);});}return p.removeChild(n);});},setStyle:function(n,na,v){var t=this;return t.run(n,function(e){var s,i;s=e.style;na=na.replace(/-(\D)/g,function(a,b){return b.toUpperCase();});if(t.pixelStyles.test(na)&&(tinymce.is(v,'number')||/^[\-0-9\.]+$/.test(v)))v+='px';switch(na){case'opacity':if(isIE){s.filter=v===''?'':"alpha(opacity="+(v*100)+")";if(!n.currentStyle||!n.currentStyle.hasLayout)s.display='inline-block';}s[na]=s['-moz-opacity']=s['-khtml-opacity']=v||'';break;case'float':isIE?s.styleFloat=v:s.cssFloat=v;break;default:s[na]=v||'';}if(t.settings.update_styles)t.setAttrib(e,'mce_style');});},getStyle:function(n,na,c){n=this.get(n);if(!n)return false;if(this.doc.defaultView&&c){na=na.replace(/[A-Z]/g,function(a){return'-'+a;});try{return this.doc.defaultView.getComputedStyle(n,null).getPropertyValue(na);}catch(ex){return null;}}na=na.replace(/-(\D)/g,function(a,b){return b.toUpperCase();});if(na=='float')na=isIE?'styleFloat':'cssFloat';if(n.currentStyle&&c)return n.currentStyle[na];return n.style[na];},setStyles:function(e,o){var t=this,s=t.settings,ol;ol=s.update_styles;s.update_styles=0;each(o,function(v,n){t.setStyle(e,n,v);});s.update_styles=ol;if(s.update_styles)t.setAttrib(e,s.cssText);},setAttrib:function(e,n,v){var t=this;if(!e||!n)return;if(t.settings.strict)n=n.toLowerCase();return this.run(e,function(e){var s=t.settings;switch(n){case"style":if(!is(v,'string')){each(v,function(v,n){t.setStyle(e,n,v);});return;}if(s.keep_values){if(v&&!t._isRes(v))e.setAttribute('mce_style',v,2);else e.removeAttribute('mce_style',2);}e.style.cssText=v;break;case"class":e.className=v||'';break;case"src":case"href":if(s.keep_values){if(s.url_converter)v=s.url_converter.call(s.url_converter_scope||t,v,n,e);t.setAttrib(e,'mce_'+n,v,2);}break;case"shape":e.setAttribute('mce_style',v);break;}if(is(v)&&v!==null&&v.length!==0)e.setAttribute(n,''+v,2);else e.removeAttribute(n,2);});},setAttribs:function(e,o){var t=this;return this.run(e,function(e){each(o,function(v,n){t.setAttrib(e,n,v);});});},getAttrib:function(e,n,dv){var v,t=this;e=t.get(e);if(!e||e.nodeType!==1)return false;if(!is(dv))dv='';if(/^(src|href|style|coords|shape)$/.test(n)){v=e.getAttribute("mce_"+n);if(v)return v;}if(isIE&&t.props[n]){v=e[t.props[n]];v=v&&v.nodeValue?v.nodeValue:v;}if(!v)v=e.getAttribute(n,2);if(n==='style'){v=v||e.style.cssText;if(v){v=t.serializeStyle(t.parseStyle(v));if(t.settings.keep_values&&!t._isRes(v))e.setAttribute('mce_style',v);}}if(isWebKit&&n==="class"&&v)v=v.replace(/(apple|webkit)\-[a-z\-]+/gi,'');if(isIE){switch(n){case'rowspan':case'colspan':if(v===1)v='';break;case'size':if(v==='+0'||v===20)v='';break;case'width':case'height':case'vspace':case'checked':case'disabled':case'readonly':if(v===0)v='';break;case'hspace':if(v===-1)v='';break;case'maxlength':case'tabindex':if(v===32768||v===2147483647||v==='32768')v='';break;case'compact':case'noshade':case'nowrap':if(v===65535)return n;return dv;case'shape':v=v.toLowerCase();break;default:if(n.indexOf('on')===0&&v)v=(''+v).replace(/^function\s+anonymous\(\)\s+\{\s+(.*)\s+\}$/,'$1');}}return(v!==undefined&&v!==null&&v!=='')?''+v:dv;},getPos:function(n){var t=this,x=0,y=0,e,d=t.doc,r;n=t.get(n);if(n&&isIE){n=n.getBoundingClientRect();e=t.boxModel?d.documentElement:d.body;x=t.getStyle(t.select('html')[0],'borderWidth');x=(x=='medium'||t.boxModel&&!t.isIE6)&&2||x;n.top+=t.win.self!=t.win.top?2:0;return{x:n.left+e.scrollLeft-x,y:n.top+e.scrollTop-x};}r=n;while(r){x+=r.offsetLeft||0;y+=r.offsetTop||0;r=r.offsetParent;}r=n;while(r){if(!/^table-row|inline.*/i.test(t.getStyle(r,"display",1))){x-=r.scrollLeft||0;y-=r.scrollTop||0;}r=r.parentNode;if(r==d.body)break;}return{x:x,y:y};},parseStyle:function(st){var t=this,s=t.settings,o={};if(!st)return o;function compress(p,s,ot){var t,r,b,l;t=o[p+'-top'+s];if(!t)return;r=o[p+'-right'+s];if(t!=r)return;b=o[p+'-bottom'+s];if(r!=b)return;l=o[p+'-left'+s];if(b!=l)return;o[ot]=l;delete o[p+'-top'+s];delete o[p+'-right'+s];delete o[p+'-bottom'+s];delete o[p+'-left'+s];};function compress2(ta,a,b,c){var t;t=o[a];if(!t)return;t=o[b];if(!t)return;t=o[c];if(!t)return;o[ta]=o[a]+' '+o[b]+' '+o[c];delete o[a];delete o[b];delete o[c];};st=st.replace(/&(#?[a-z0-9]+);/g,'&$1_MCE_SEMI_');each(st.split(';'),function(v){var sv,ur=[];if(v){v=v.replace(/_MCE_SEMI_/g,';');v=v.replace(/url\([^\)]+\)/g,function(v){ur.push(v);return'url('+ur.length+')';});v=v.split(':');sv=tinymce.trim(v[1]);sv=sv.replace(/url\(([^\)]+)\)/g,function(a,b){return ur[parseInt(b)-1];});sv=sv.replace(/rgb\([^\)]+\)/g,function(v){return t.toHex(v);});if(s.url_converter){sv=sv.replace(/url\([\'\"]?([^\)\'\"]+)[\'\"]?\)/g,function(x,c){return'url('+s.url_converter.call(s.url_converter_scope||t,t.decode(c),'style',null)+')';});}o[tinymce.trim(v[0]).toLowerCase()]=sv;}});compress("border","","border");compress("border","-width","border-width");compress("border","-color","border-color");compress("border","-style","border-style");compress("padding","","padding");compress("margin","","margin");compress2('border','border-width','border-style','border-color');if(isIE){if(o.border=='medium none')o.border='';}return o;},serializeStyle:function(o){var s='';each(o,function(v,k){if(k&&v){if(tinymce.isGecko&&k.indexOf('-moz-')===0)return;switch(k){case'color':case'background-color':v=v.toLowerCase();break;}s+=(s?' ':'')+k+': '+v+';';}});return s;},loadCSS:function(u){var t=this,d=t.doc;if(!u)u='';each(u.split(','),function(u){if(t.files[u])return;t.files[u]=true;t.add(t.select('head')[0],'link',{rel:'stylesheet',href:tinymce._addVer(u)});});},addClass:function(e,c){return this.run(e,function(e){var o;if(!c)return 0;if(this.hasClass(e,c))return e.className;o=this.removeClass(e,c);return e.className=(o!=''?(o+' '):'')+c;});},removeClass:function(e,c){var t=this,re;return t.run(e,function(e){var v;if(t.hasClass(e,c)){if(!re)re=new RegExp("(^|\\s+)"+c+"(\\s+|$)","g");v=e.className.replace(re,' ');return e.className=tinymce.trim(v!=' '?v:'');}return e.className;});},hasClass:function(n,c){n=this.get(n);if(!n||!c)return false;return(' '+n.className+' ').indexOf(' '+c+' ')!==-1;},show:function(e){return this.setStyle(e,'display','block');},hide:function(e){return this.setStyle(e,'display','none');},isHidden:function(e){e=this.get(e);return!e||e.style.display=='none'||this.getStyle(e,'display')=='none';},uniqueId:function(p){return(!p?'mce_':p)+(this.counter++);},setHTML:function(e,h){var t=this;return this.run(e,function(e){var x,i,nl,n,p,x;h=t.processHTML(h);if(isIE){function set(){try{e.innerHTML='
'+h;e.removeChild(e.firstChild);}catch(ex){while(e.firstChild)e.firstChild.removeNode();x=t.create('div');x.innerHTML='
'+h;each(x.childNodes,function(n,i){if(i)e.appendChild(n);});}};if(t.settings.fix_ie_paragraphs)h=h.replace(/<\/p>|
]+)><\/p>|
/gi,'
');set();if(t.settings.fix_ie_paragraphs){nl=e.getElementsByTagName("p");for(i=nl.length-1,x=0;i>=0;i--){n=nl[i];if(!n.hasChildNodes()){if(!n.mce_keep){x=1;break;}n.removeAttribute('mce_keep');}}}if(x){h=h.replace(/]+)>|
/g,'
');h=h.replace(/<\/p>/g,'
');set();if(t.settings.fix_ie_paragraphs){nl=e.getElementsByTagName("DIV");for(i=nl.length-1;i>=0;i--){n=nl[i];if(n.mce_tmp){p=t.doc.createElement('p');n.cloneNode(false).outerHTML.replace(/([a-z0-9\-_]+)=/gi,function(a,b){var v;if(b!=='mce_tmp'){v=n.getAttribute(b);if(!v&&b==='class')v=n.className;p.setAttribute(b,v);}});for(x=0;x|]+)>/gi,'<$1b$2>');h=h.replace(/<(\/?)em>|]+)>/gi,'<$1i$2>');}else if(isIE){h=h.replace(/'/g,''');h=h.replace(/\s+(disabled|checked|readonly|selected)\s*=\s*[\"\']?(false|0)[\"\']?/gi,'');}h=h.replace(/]+)\/>|/gi,'');if(s.keep_values){if(/');};if(!tinymce.is(u,'string')){each(u,function(u){loadScript(u);});if(cb)cb.call(s||t);}else{loadScript(u);if(cb)cb.call(s||t);}},loadQueue:function(cb,s){var t=this;if(!t.queueLoading){t.queueLoading=1;t.queueCallbacks=[];t.loadScripts(t.queue,function(){t.queueLoading=0;if(cb)cb.call(s||t);each(t.queueCallbacks,function(o){o.func.call(o.scope);});});}else if(cb)t.queueCallbacks.push({func:cb,scope:s||t});},eval:function(co){var w=window;if(!w.execScript){try{eval.call(w,co);}catch(ex){eval(co,w);}}else w.execScript(co);},loadScripts:function(sc,cb,s){var t=this,lo=t.lookup;function done(o){o.state=2;if(o.func)o.func.call(o.scope||t);};function allDone(){var l;l=sc.length;each(sc,function(o){o=lo[o.url];if(o.state===2){done(o);l--;}else load(o);});if(l===0&&cb){cb.call(s||t);cb=0;}};function load(o){if(o.state>0)return;o.state=1;tinymce.dom.ScriptLoader.loadScript(o.url,function(){done(o);allDone();});};each(sc,function(o){var u=o.url;if(!lo[u]){lo[u]=o;t.queue.push(o);}else o=lo[u];if(o.state>0)return;if(!Event.domLoaded&&!t.settings.strict_mode){var ix,ol='';if(cb||o.func){o.state=1;ix=tinymce.dom.ScriptLoader._addOnLoad(function(){done(o);allDone();});if(tinymce.isIE)ol=' onreadystatechange="';else ol=' onload="';ol+='tinymce.dom.ScriptLoader._onLoad(this,\''+u+'\','+ix+');"';}document.write('');if(!o.func)done(o);}else load(o);});allDone();},'static':{_addOnLoad:function(f){var t=this;t._funcs=t._funcs||[];t._funcs.push(f);return t._funcs.length-1;},_onLoad:function(e,u,ix){if(!tinymce.isIE||e.readyState=='complete')this._funcs[ix].call(this);},loadScript:function(u,cb){var id=tinymce.DOM.uniqueId(),e;function done(){Event.clear(id);tinymce.DOM.remove(id);if(cb){cb.call(document,u);cb=0;}};if(tinymce.isIE){tinymce.util.XHR.send({url:tinymce._addVer(u),async:false,success:function(co){window.execScript(co);done();}});}else{e=tinymce.DOM.create('script',{id:id,type:'text/javascript',src:tinymce._addVer(u)});Event.add(e,'load',done);(document.getElementsByTagName('head')[0]||document.body).appendChild(e);}}}});tinymce.ScriptLoader=new tinymce.dom.ScriptLoader();})();(function(){var DOM=tinymce.DOM,is=tinymce.is;tinymce.create('tinymce.ui.Control',{Control:function(id,s){this.id=id;this.settings=s=s||{};this.rendered=false;this.onRender=new tinymce.util.Dispatcher(this);this.classPrefix='';this.scope=s.scope||this;this.disabled=0;this.active=0;},setDisabled:function(s){var e;if(s!=this.disabled){e=DOM.get(this.id);if(e&&this.settings.unavailable_prefix){if(s){this.prevTitle=e.title;e.title=this.settings.unavailable_prefix+": "+e.title;}else e.title=this.prevTitle;}this.setState('Disabled',s);this.setState('Enabled',!s);this.disabled=s;}},isDisabled:function(){return this.disabled;},setActive:function(s){if(s!=this.active){this.setState('Active',s);this.active=s;}},isActive:function(){return this.active;},setState:function(c,s){var n=DOM.get(this.id);c=this.classPrefix+c;if(s)DOM.addClass(n,c);else DOM.removeClass(n,c);},isRendered:function(){return this.rendered;},renderHTML:function(){},renderTo:function(n){DOM.setHTML(n,this.renderHTML());},postRender:function(){var t=this,b;if(is(t.disabled)){b=t.disabled;t.disabled=-1;t.setDisabled(b);}if(is(t.active)){b=t.active;t.active=-1;t.setActive(b);}},remove:function(){DOM.remove(this.id);this.destroy();},destroy:function(){tinymce.dom.Event.clear(this.id);}});})();tinymce.create('tinymce.ui.Container:tinymce.ui.Control',{Container:function(id,s){this.parent(id,s);this.controls=[];this.lookup={};},add:function(c){this.lookup[c.id]=c;this.controls.push(c);return c;},get:function(n){return this.lookup[n];}});tinymce.create('tinymce.ui.Separator:tinymce.ui.Control',{Separator:function(id,s){this.parent(id,s);this.classPrefix='mceSeparator';},renderHTML:function(){return tinymce.DOM.createHTML('span',{'class':this.classPrefix});}});(function(){var is=tinymce.is,DOM=tinymce.DOM,each=tinymce.each,walk=tinymce.walk;tinymce.create('tinymce.ui.MenuItem:tinymce.ui.Control',{MenuItem:function(id,s){this.parent(id,s);this.classPrefix='mceMenuItem';},setSelected:function(s){this.setState('Selected',s);this.selected=s;},isSelected:function(){return this.selected;},postRender:function(){var t=this;t.parent();if(is(t.selected))t.setSelected(t.selected);}});})();(function(){var is=tinymce.is,DOM=tinymce.DOM,each=tinymce.each,walk=tinymce.walk;tinymce.create('tinymce.ui.Menu:tinymce.ui.MenuItem',{Menu:function(id,s){var t=this;t.parent(id,s);t.items={};t.collapsed=false;t.menuCount=0;t.onAddItem=new tinymce.util.Dispatcher(this);},expand:function(d){var t=this;if(d){walk(t,function(o){if(o.expand)o.expand();},'items',t);}t.collapsed=false;},collapse:function(d){var t=this;if(d){walk(t,function(o){if(o.collapse)o.collapse();},'items',t);}t.collapsed=true;},isCollapsed:function(){return this.collapsed;},add:function(o){if(!o.settings)o=new tinymce.ui.MenuItem(o.id||DOM.uniqueId(),o);this.onAddItem.dispatch(this,o);return this.items[o.id]=o;},addSeparator:function(){return this.add({separator:true});},addMenu:function(o){if(!o.collapse)o=this.createMenu(o);this.menuCount++;return this.add(o);},hasMenus:function(){return this.menuCount!==0;},remove:function(o){delete this.items[o.id];},removeAll:function(){var t=this;walk(t,function(o){if(o.removeAll)o.removeAll();else o.remove();o.destroy();},'items',t);t.items={};},createMenu:function(o){var m=new tinymce.ui.Menu(o.id||DOM.uniqueId(),o);m.onAddItem.add(this.onAddItem.dispatch,this.onAddItem);return m;}});})();(function(){var is=tinymce.is,DOM=tinymce.DOM,each=tinymce.each,Event=tinymce.dom.Event,Element=tinymce.dom.Element;tinymce.create('tinymce.ui.DropMenu:tinymce.ui.Menu',{DropMenu:function(id,s){s=s||{};s.container=s.container||DOM.doc.body;s.offset_x=s.offset_x||0;s.offset_y=s.offset_y||0;s.vp_offset_x=s.vp_offset_x||0;s.vp_offset_y=s.vp_offset_y||0;if(is(s.icons)&&!s.icons)s['class']+=' mceNoIcons';this.parent(id,s);this.onShowMenu=new tinymce.util.Dispatcher(this);this.onHideMenu=new tinymce.util.Dispatcher(this);this.classPrefix='mceMenu';},createMenu:function(s){var t=this,cs=t.settings,m;s.container=s.container||cs.container;s.parent=t;s.constrain=s.constrain||cs.constrain;s['class']=s['class']||cs['class'];s.vp_offset_x=s.vp_offset_x||cs.vp_offset_x;s.vp_offset_y=s.vp_offset_y||cs.vp_offset_y;m=new tinymce.ui.DropMenu(s.id||DOM.uniqueId(),s);m.onAddItem.add(t.onAddItem.dispatch,t.onAddItem);return m;},update:function(){var t=this,s=t.settings,tb=DOM.get('menu_'+t.id+'_tbl'),co=DOM.get('menu_'+t.id+'_co'),tw,th;tw=s.max_width?Math.min(tb.clientWidth,s.max_width):tb.clientWidth;th=s.max_height?Math.min(tb.clientHeight,s.max_height):tb.clientHeight;if(!DOM.boxModel)t.element.setStyles({width:tw+2,height:th+2});else t.element.setStyles({width:tw,height:th});if(s.max_width)DOM.setStyle(co,'width',tw);if(s.max_height){DOM.setStyle(co,'height',th);if(tb.clientHeightmx)x=px?px-w:Math.max(0,(mx-s.vp_offset_x)-w);if((y+s.vp_offset_y+h)>my)y=Math.max(0,(my-s.vp_offset_y)-h);}DOM.setStyles(co,{left:x,top:y});t.element.update();t.isMenuVisible=1;t.mouseClickFunc=Event.add(co,'click',function(e){var m;e=e.target;if(e&&(e=DOM.getParent(e,'TR'))&&!DOM.hasClass(e,cp+'ItemSub')){m=t.items[e.id];if(m.isDisabled())return;dm=t;while(dm){if(dm.hideMenu)dm.hideMenu();dm=dm.settings.parent;}if(m.settings.onclick)m.settings.onclick(e);return Event.cancel(e);}});if(t.hasMenus()){t.mouseOverFunc=Event.add(co,'mouseover',function(e){var m,r,mi;e=e.target;if(e&&(e=DOM.getParent(e,'TR'))){m=t.items[e.id];if(t.lastMenu)t.lastMenu.collapse(1);if(m.isDisabled())return;if(e&&DOM.hasClass(e,cp+'ItemSub')){r=DOM.getRect(e);m.showMenu((r.x+r.w-ot),r.y-ot,r.x);t.lastMenu=m;DOM.addClass(DOM.get(m.id).firstChild,cp+'ItemActive');}}});}t.onShowMenu.dispatch(t);if(s.keyboard_focus){Event.add(co,'keydown',t._keyHandler,t);DOM.select('a','menu_'+t.id)[0].focus();t._focusIdx=0;}},hideMenu:function(c){var t=this,co=DOM.get('menu_'+t.id),e;if(!t.isMenuVisible)return;Event.remove(co,'mouseover',t.mouseOverFunc);Event.remove(co,'click',t.mouseClickFunc);Event.remove(co,'keydown',t._keyHandler);DOM.hide(co);t.isMenuVisible=0;if(!c)t.collapse(1);if(t.element)t.element.hide();if(e=DOM.get(t.id))DOM.removeClass(e.firstChild,t.classPrefix+'ItemActive');t.onHideMenu.dispatch(t);},add:function(o){var t=this,co;o=t.parent(o);if(t.isRendered&&(co=DOM.get('menu_'+t.id)))t._add(DOM.select('tbody',co)[0],o);return o;},collapse:function(d){this.parent(d);this.hideMenu(1);},remove:function(o){DOM.remove(o.id);this.destroy();return this.parent(o);},destroy:function(){var t=this,co=DOM.get('menu_'+t.id);Event.remove(co,'mouseover',t.mouseOverFunc);Event.remove(co,'click',t.mouseClickFunc);if(t.element)t.element.remove();DOM.remove(co);},renderNode:function(){var t=this,s=t.settings,n,tb,co,w;w=DOM.create('div',{id:'menu_'+t.id,'class':s['class'],'style':'position:absolute;left:0;top:0;z-index:200000'});co=DOM.add(w,'div',{id:'menu_'+t.id+'_co','class':t.classPrefix+(s['class']?' '+s['class']:'')});t.element=new Element('menu_'+t.id,{blocker:1,container:s.container});if(s.menu_line)DOM.add(co,'span',{'class':t.classPrefix+'Line'});n=DOM.add(co,'table',{id:'menu_'+t.id+'_tbl',border:0,cellPadding:0,cellSpacing:0});tb=DOM.add(n,'tbody');each(t.items,function(o){t._add(tb,o);});t.rendered=true;return w;},_keyHandler:function(e){var t=this,kc=e.keyCode;function focus(d){var i=t._focusIdx+d,e=DOM.select('a','menu_'+t.id)[i];if(e){t._focusIdx=i;e.focus();}};switch(kc){case 38:focus(-1);return;case 40:focus(1);return;case 13:return;case 27:return this.hideMenu();}},_add:function(tb,o){var n,s=o.settings,a,ro,it,cp=this.classPrefix,ic;if(s.separator){ro=DOM.add(tb,'tr',{id:o.id,'class':cp+'ItemSeparator'});DOM.add(ro,'td',{'class':cp+'ItemSeparator'});if(n=ro.previousSibling)DOM.addClass(n,'mceLast');return;}n=ro=DOM.add(tb,'tr',{id:o.id,'class':cp+'Item '+cp+'ItemEnabled'});n=it=DOM.add(n,'td');n=a=DOM.add(n,'a',{href:'javascript:;',onclick:"return false;",onmousedown:'return false;'});DOM.addClass(it,s['class']);ic=DOM.add(n,'span',{'class':'mceIcon'+(s.icon?' mce_'+s.icon:'')});if(s.icon_src)DOM.add(ic,'img',{src:s.icon_src});n=DOM.add(n,s.element||'span',{'class':'mceText',title:o.settings.title},o.settings.title);if(o.settings.style)DOM.setAttrib(n,'style',o.settings.style);if(tb.childNodes.length==1)DOM.addClass(ro,'mceFirst');if((n=ro.previousSibling)&&DOM.hasClass(n,cp+'ItemSeparator'))DOM.addClass(ro,'mceFirst');if(o.collapse)DOM.addClass(ro,cp+'ItemSub');if(n=ro.previousSibling)DOM.removeClass(n,'mceLast');DOM.addClass(ro,'mceLast');}});})();(function(){var DOM=tinymce.DOM;tinymce.create('tinymce.ui.Button:tinymce.ui.Control',{Button:function(id,s){this.parent(id,s);this.classPrefix='mceButton';},renderHTML:function(){var cp=this.classPrefix,s=this.settings,h,l;l=DOM.encode(s.label||'');h='';if(s.image)h+=''+l+'';else h+=''+(l?''+l+'':'')+'';return h;},postRender:function(){var t=this,s=t.settings;tinymce.dom.Event.add(t.id,'click',function(e){if(!t.isDisabled())return s.onclick.call(s.scope,e);});}});})();(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,each=tinymce.each,Dispatcher=tinymce.util.Dispatcher;tinymce.create('tinymce.ui.ListBox:tinymce.ui.Control',{ListBox:function(id,s){var t=this;t.parent(id,s);t.items=[];t.onChange=new Dispatcher(t);t.onPostRender=new Dispatcher(t);t.onAdd=new Dispatcher(t);t.onRenderMenu=new tinymce.util.Dispatcher(this);t.classPrefix='mceListBox';},select:function(va){var t=this,fv,f;if(va==undefined)return t.selectByIndex(-1);if(va&&va.call)f=va;else{f=function(v){return v==va;};}if(va!=t.selectedValue){each(t.items,function(o,i){if(f(o.value)){fv=1;t.selectByIndex(i);return false;}});if(!fv)t.selectByIndex(-1);}},selectByIndex:function(idx){var t=this,e,o;if(idx!=t.selectedIndex){e=DOM.get(t.id+'_text');o=t.items[idx];if(o){t.selectedValue=o.value;t.selectedIndex=idx;DOM.setHTML(e,DOM.encode(o.title));DOM.removeClass(e,'mceTitle');}else{DOM.setHTML(e,DOM.encode(t.settings.title));DOM.addClass(e,'mceTitle');t.selectedValue=t.selectedIndex=null;}e=0;}else t.selectedValue=t.selectedIndex=null;},add:function(n,v,o){var t=this;o=o||{};o=tinymce.extend(o,{title:n,value:v});t.items.push(o);t.onAdd.dispatch(t,o);},getLength:function(){return this.items.length;},renderHTML:function(){var h='',t=this,s=t.settings,cp=t.classPrefix;h='';h+=''+DOM.createHTML('a',{id:t.id+'_text',href:'javascript:;','class':'mceText',onclick:"return false;",onmousedown:'return false;'},DOM.encode(t.settings.title))+' | ';h+=''+DOM.createHTML('a',{id:t.id+'_open',tabindex:-1,href:'javascript:;','class':'mceOpen',onclick:"return false;",onmousedown:'return false;'},'')+' | ';h+='
';return h;},showMenu:function(){var t=this,p1,p2,e=DOM.get(this.id),m;if(t.isDisabled()||t.items.length==0)return;if(t.menu&&t.menu.isMenuVisible)return t.hideMenu();if(!t.isMenuRendered){t.renderMenu();t.isMenuRendered=true;}p1=DOM.getPos(this.settings.menu_container);p2=DOM.getPos(e);m=t.menu;m.settings.offset_x=p2.x;m.settings.offset_y=p2.y;m.settings.keyboard_focus=!tinymce.isOpera;if(t.oldID)m.items[t.oldID].setSelected(0);each(t.items,function(o){if(o.value===t.selectedValue){m.items[o.id].setSelected(1);t.oldID=o.id;}});m.showMenu(0,e.clientHeight);Event.add(DOM.doc,'mousedown',t.hideMenu,t);DOM.addClass(t.id,t.classPrefix+'Selected');},hideMenu:function(e){var t=this;if(e&&e.type=="mousedown"&&(e.target.id==t.id+'_text'||e.target.id==t.id+'_open'))return;if(!e||!DOM.getParent(e.target,function(n){return DOM.hasClass(n,'mceMenu');})){DOM.removeClass(t.id,t.classPrefix+'Selected');Event.remove(DOM.doc,'mousedown',t.hideMenu,t);if(t.menu)t.menu.hideMenu();}},renderMenu:function(){var t=this,m;m=t.settings.control_manager.createDropMenu(t.id+'_menu',{menu_line:1,'class':t.classPrefix+'Menu mceNoIcons',max_width:150,max_height:150});m.onHideMenu.add(t.hideMenu,t);m.add({title:t.settings.title,'class':'mceMenuItemTitle',onclick:function(){if(t.settings.onselect('')!==false)t.select('');}});each(t.items,function(o){o.id=DOM.uniqueId();o.onclick=function(){if(t.settings.onselect(o.value)!==false)t.select(o.value);};m.add(o);});t.onRenderMenu.dispatch(t,m);t.menu=m;},postRender:function(){var t=this,cp=t.classPrefix;Event.add(t.id,'click',t.showMenu,t);Event.add(t.id+'_text','focus',function(e){if(!t._focused){t.keyDownHandler=Event.add(t.id+'_text','keydown',function(e){var idx=-1,v,kc=e.keyCode;each(t.items,function(v,i){if(t.selectedValue==v.value)idx=i;});if(kc==38)v=t.items[idx-1];else if(kc==40)v=t.items[idx+1];else if(kc==13){v=t.selectedValue;t.selectedValue=null;t.settings.onselect(v);return Event.cancel(e);}if(v){t.hideMenu();t.select(v.value);}});}t._focused=1;});Event.add(t.id+'_text','blur',function(){Event.remove(t.id+'_text','keydown',t.keyDownHandler);t._focused=0;});if(tinymce.isIE6||!DOM.boxModel){Event.add(t.id,'mouseover',function(){if(!DOM.hasClass(t.id,cp+'Disabled'))DOM.addClass(t.id,cp+'Hover');});Event.add(t.id,'mouseout',function(){if(!DOM.hasClass(t.id,cp+'Disabled'))DOM.removeClass(t.id,cp+'Hover');});}t.onPostRender.dispatch(t,DOM.get(t.id));},destroy:function(){this.parent();Event.clear(this.id+'_text');}});})();(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,each=tinymce.each,Dispatcher=tinymce.util.Dispatcher;tinymce.create('tinymce.ui.NativeListBox:tinymce.ui.ListBox',{NativeListBox:function(id,s){this.parent(id,s);this.classPrefix='mceNativeListBox';},setDisabled:function(s){DOM.get(this.id).disabled=s;},isDisabled:function(){return DOM.get(this.id).disabled;},select:function(va){var t=this,fv,f;if(va==undefined)return t.selectByIndex(-1);if(va&&va.call)f=va;else{f=function(v){return v==va;};}if(va!=t.selectedValue){each(t.items,function(o,i){if(f(o.value)){fv=1;t.selectByIndex(i);return false;}});if(!fv)t.selectByIndex(-1);}},selectByIndex:function(idx){DOM.get(this.id).selectedIndex=idx+1;this.selectedValue=this.items[idx]?this.items[idx].value:null;},add:function(n,v,a){var o,t=this;a=a||{};a.value=v;if(t.isRendered())DOM.add(DOM.get(this.id),'option',a,n);o={title:n,value:v,attribs:a};t.items.push(o);t.onAdd.dispatch(t,o);},getLength:function(){return DOM.get(this.id).options.length-1;},renderHTML:function(){var h,t=this;h=DOM.createHTML('option',{value:''},'-- '+t.settings.title+' --');each(t.items,function(it){h+=DOM.createHTML('option',{value:it.value},it.title);});h=DOM.createHTML('select',{id:t.id,'class':'mceNativeListBox'},h);return h;},postRender:function(){var t=this,ch;t.rendered=true;function onChange(e){var v=t.items[e.target.selectedIndex-1];if(v&&(v=v.value)){t.onChange.dispatch(t,v);if(t.settings.onselect)t.settings.onselect(v);}};Event.add(t.id,'change',onChange);Event.add(t.id,'keydown',function(e){var bf;Event.remove(t.id,'change',ch);bf=Event.add(t.id,'blur',function(){Event.add(t.id,'change',onChange);Event.remove(t.id,'blur',bf);});if(e.keyCode==13||e.keyCode==32){onChange(e);return Event.cancel(e);}});t.onPostRender.dispatch(t,DOM.get(t.id));}});})();(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,each=tinymce.each;tinymce.create('tinymce.ui.MenuButton:tinymce.ui.Button',{MenuButton:function(id,s){this.parent(id,s);this.onRenderMenu=new tinymce.util.Dispatcher(this);s.menu_container=s.menu_container||DOM.doc.body;},showMenu:function(){var t=this,p1,p2,e=DOM.get(t.id),m;if(t.isDisabled())return;if(!t.isMenuRendered){t.renderMenu();t.isMenuRendered=true;}if(t.isMenuVisible)return t.hideMenu();p1=DOM.getPos(t.settings.menu_container);p2=DOM.getPos(e);m=t.menu;m.settings.offset_x=p2.x;m.settings.offset_y=p2.y;m.settings.vp_offset_x=p2.x;m.settings.vp_offset_y=p2.y;m.settings.keyboard_focus=t._focused;m.showMenu(0,e.clientHeight);Event.add(DOM.doc,'mousedown',t.hideMenu,t);t.setState('Selected',1);t.isMenuVisible=1;},renderMenu:function(){var t=this,m;m=t.settings.control_manager.createDropMenu(t.id+'_menu',{menu_line:1,'class':this.classPrefix+'Menu',icons:t.settings.icons});m.onHideMenu.add(t.hideMenu,t);t.onRenderMenu.dispatch(t,m);t.menu=m;},hideMenu:function(e){var t=this;if(e&&e.type=="mousedown"&&DOM.getParent(e.target,function(e){return e.id===t.id||e.id===t.id+'_open';}))return;if(!e||!DOM.getParent(e.target,function(n){return DOM.hasClass(n,'mceMenu');})){t.setState('Selected',0);Event.remove(DOM.doc,'mousedown',t.hideMenu,t);if(t.menu)t.menu.hideMenu();}t.isMenuVisible=0;},postRender:function(){var t=this,s=t.settings;Event.add(t.id,'click',function(){if(!t.isDisabled()){if(s.onclick)s.onclick(t.value);t.showMenu();}});}});})();(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,each=tinymce.each;tinymce.create('tinymce.ui.SplitButton:tinymce.ui.MenuButton',{SplitButton:function(id,s){this.parent(id,s);this.classPrefix='mceSplitButton';},renderHTML:function(){var h,t=this,s=t.settings,h1;h='';if(s.image)h1=DOM.createHTML('img ',{src:s.image,'class':'mceAction '+s['class']});else h1=DOM.createHTML('span',{'class':'mceAction '+s['class']},'');h+=''+DOM.createHTML('a',{id:t.id+'_action',href:'javascript:;','class':'mceAction '+s['class'],onclick:"return false;",onmousedown:'return false;',title:s.title},h1)+' | ';h1=DOM.createHTML('span',{'class':'mceOpen '+s['class']});h+=''+DOM.createHTML('a',{id:t.id+'_open',href:'javascript:;','class':'mceOpen '+s['class'],onclick:"return false;",onmousedown:'return false;',title:s.title},h1)+' | ';h+='
';return DOM.createHTML('table',{id:t.id,'class':'mceSplitButton mceSplitButtonEnabled '+s['class'],cellpadding:'0',cellspacing:'0',onmousedown:'return false;',title:s.title},h);},postRender:function(){var t=this,s=t.settings;if(s.onclick){Event.add(t.id+'_action','click',function(){if(!t.isDisabled())s.onclick(t.value);});}Event.add(t.id+'_open','click',t.showMenu,t);Event.add(t.id+'_open','focus',function(){t._focused=1;});Event.add(t.id+'_open','blur',function(){t._focused=0;});if(tinymce.isIE6||!DOM.boxModel){Event.add(t.id,'mouseover',function(){if(!DOM.hasClass(t.id,'mceSplitButtonDisabled'))DOM.addClass(t.id,'mceSplitButtonHover');});Event.add(t.id,'mouseout',function(){if(!DOM.hasClass(t.id,'mceSplitButtonDisabled'))DOM.removeClass(t.id,'mceSplitButtonHover');});}},destroy:function(){this.parent();Event.clear(this.id+'_action');Event.clear(this.id+'_open');}});})();(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,is=tinymce.is,each=tinymce.each;tinymce.create('tinymce.ui.ColorSplitButton:tinymce.ui.SplitButton',{ColorSplitButton:function(id,s){var t=this;t.parent(id,s);t.settings=s=tinymce.extend({colors:'000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF',grid_width:8,default_color:'#888888'},t.settings);t.onShowMenu=new tinymce.util.Dispatcher(t);t.onHideMenu=new tinymce.util.Dispatcher(t);t.value=s.default_color;},showMenu:function(){var t=this,r,p,e,p2;if(t.isDisabled())return;if(!t.isMenuRendered){t.renderMenu();t.isMenuRendered=true;}if(t.isMenuVisible)return t.hideMenu();e=DOM.get(t.id);DOM.show(t.id+'_menu');DOM.addClass(e,'mceSplitButtonSelected');p2=DOM.getPos(e);DOM.setStyles(t.id+'_menu',{left:p2.x,top:p2.y+e.clientHeight,zIndex:200000});e=0;Event.add(DOM.doc,'mousedown',t.hideMenu,t);if(t._focused){t._keyHandler=Event.add(t.id+'_menu','keydown',function(e){if(e.keyCode==27)t.hideMenu();});DOM.select('a',t.id+'_menu')[0].focus();}t.onShowMenu.dispatch(t);t.isMenuVisible=1;},hideMenu:function(e){var t=this;if(e&&e.type=="mousedown"&&DOM.getParent(e.target,function(e){return e.id===t.id+'_open';}))return;if(!e||!DOM.getParent(e.target,function(n){return DOM.hasClass(n,'mceSplitButtonMenu');})){DOM.removeClass(t.id,'mceSplitButtonSelected');Event.remove(DOM.doc,'mousedown',t.hideMenu,t);Event.remove(t.id+'_menu','keydown',t._keyHandler);DOM.hide(t.id+'_menu');}t.onHideMenu.dispatch(t);t.isMenuVisible=0;},renderMenu:function(){var t=this,m,i=0,s=t.settings,n,tb,tr,w;w=DOM.add(s.menu_container,'div',{id:t.id+'_menu','class':s['menu_class']+' '+s['class'],style:'position:absolute;left:0;top:-1000px;'});m=DOM.add(w,'div',{'class':s['class']+' mceSplitButtonMenu'});DOM.add(m,'span',{'class':'mceMenuLine'});n=DOM.add(m,'table',{'class':'mceColorSplitMenu'});tb=DOM.add(n,'tbody');i=0;each(is(s.colors,'array')?s.colors:s.colors.split(','),function(c){c=c.replace(/^#/,'');if(!i--){tr=DOM.add(tb,'tr');i=s.grid_width-1;}n=DOM.add(tr,'td');n=DOM.add(n,'a',{href:'javascript:;',style:{backgroundColor:'#'+c},mce_color:'#'+c});});if(s.more_colors_func){n=DOM.add(tb,'tr');n=DOM.add(n,'td',{colspan:s.grid_width,'class':'mceMoreColors'});n=DOM.add(n,'a',{id:t.id+'_more',href:'javascript:;',onclick:'return false;','class':'mceMoreColors'},s.more_colors_title);Event.add(n,'click',function(e){s.more_colors_func.call(s.more_colors_scope||this);return Event.cancel(e);});}DOM.addClass(m,'mceColorSplitMenu');Event.add(t.id+'_menu','click',function(e){var c;e=e.target;if(e.nodeName=='A'&&(c=e.getAttribute('mce_color')))t.setColor(c);return Event.cancel(e);});return w;},setColor:function(c){var t=this;DOM.setStyle(t.id+'_preview','backgroundColor',c);t.value=c;t.hideMenu();t.settings.onselect(c);},postRender:function(){var t=this,id=t.id;t.parent();DOM.add(id+'_action','div',{id:id+'_preview','class':'mceColorPreview'});DOM.setStyle(t.id+'_preview','backgroundColor',t.value);},destroy:function(){this.parent();Event.clear(this.id+'_menu');Event.clear(this.id+'_more');DOM.remove(this.id+'_menu');}});})();tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container',{renderHTML:function(){var t=this,h='',c,co,dom=tinymce.DOM,s=t.settings,i,pr,nx,cl;cl=t.controls;for(i=0;i'));}if(pr&&co.ListBox){if(pr.Button||pr.SplitButton)h+=dom.createHTML('td',{'class':'mceToolbarEnd'},dom.createHTML('span',null,''));}if(dom.stdMode)h+=''+co.renderHTML()+' | ';else h+=''+co.renderHTML()+' | ';if(nx&&co.ListBox){if(nx.Button||nx.SplitButton)h+=dom.createHTML('td',{'class':'mceToolbarStart'},dom.createHTML('span',null,''));}}c='mceToolbarEnd';if(co.Button)c+=' mceToolbarEndButton';else if(co.SplitButton)c+=' mceToolbarEndSplitButton';else if(co.ListBox)c+=' mceToolbarEndListBox';h+=dom.createHTML('td',{'class':c},dom.createHTML('span',null,''));return dom.createHTML('table',{id:t.id,'class':'mceToolbar'+(s['class']?' '+s['class']:''),cellpadding:'0',cellspacing:'0',align:t.settings.align||''},''+h+'
');}});(function(){var Dispatcher=tinymce.util.Dispatcher,each=tinymce.each;tinymce.create('tinymce.AddOnManager',{items:[],urls:{},lookup:{},onAdd:new Dispatcher(this),get:function(n){return this.lookup[n];},requireLangPack:function(n){var u,s=tinymce.EditorManager.settings;if(s&&s.language){u=this.urls[n]+'/langs/'+s.language+'.js';if(!tinymce.dom.Event.domLoaded&&!s.strict_mode)tinymce.ScriptLoader.load(u);else tinymce.ScriptLoader.add(u);}},add:function(id,o){this.items.push(o);this.lookup[id]=o;this.onAdd.dispatch(this,id,o);return o;},load:function(n,u,cb,s){var t=this;if(t.urls[n])return;if(u.indexOf('/')!=0&&u.indexOf('://')==-1)u=tinymce.baseURL+'/'+u;t.urls[n]=u.substring(0,u.lastIndexOf('/'));tinymce.ScriptLoader.add(u,cb,s);}});tinymce.PluginManager=new tinymce.AddOnManager();tinymce.ThemeManager=new tinymce.AddOnManager();}());(function(){var each=tinymce.each,extend=tinymce.extend,DOM=tinymce.DOM,Event=tinymce.dom.Event,ThemeManager=tinymce.ThemeManager,PluginManager=tinymce.PluginManager,explode=tinymce.explode;tinymce.create('static tinymce.EditorManager',{editors:{},i18n:{},activeEditor:null,preInit:function(){var t=this,lo=window.location;tinymce.documentBaseURL=lo.href.replace(/[\?#].*$/,'').replace(/[\/\\][^\/]+$/,'');if(!/[\/\\]$/.test(tinymce.documentBaseURL))tinymce.documentBaseURL+='/';tinymce.baseURL=new tinymce.util.URI(tinymce.documentBaseURL).toAbsolute(tinymce.baseURL);tinymce.EditorManager.baseURI=new tinymce.util.URI(tinymce.baseURL);if(document.domain&&lo.hostname!=document.domain)tinymce.relaxedDomain=document.domain;if(!tinymce.relaxedDomain&&tinymce.EditorManager.baseURI.host!=lo.hostname&&lo.hostname)document.domain=tinymce.relaxedDomain=lo.hostname.replace(/.*\.(.+\..+)$/,'$1');t.onBeforeUnload=new tinymce.util.Dispatcher(t);Event.add(window,'beforeunload',function(e){t.onBeforeUnload.dispatch(t,e);});},init:function(s){var t=this,pl,sl=tinymce.ScriptLoader,c,e,el=[],ed;function execCallback(se,n,s){var f=se[n];if(!f)return;if(tinymce.is(f,'string')){s=f.replace(/\.\w+$/,'');s=s?tinymce.resolve(s):0;f=tinymce.resolve(f);}return f.apply(s||this,Array.prototype.slice.call(arguments,2));};s=extend({theme:"simple",language:"en",strict_loading_mode:document.contentType=='application/xhtml+xml'},s);t.settings=s;if(!Event.domLoaded&&!s.strict_loading_mode){if(s.language)sl.add(tinymce.baseURL+'/langs/'+s.language+'.js');if(s.theme&&s.theme.charAt(0)!='-'&&!ThemeManager.urls[s.theme])ThemeManager.load(s.theme,'themes/'+s.theme+'/editor_template'+tinymce.suffix+'.js');if(s.plugins){pl=explode(s.plugins);if(tinymce.inArray(pl,'compat2x')!=-1)PluginManager.load('compat2x','plugins/compat2x/editor_plugin'+tinymce.suffix+'.js');each(pl,function(v){if(v&&v.charAt(0)!='-'&&!PluginManager.urls[v]){if(!tinymce.isWebKit&&v=='safari')return;PluginManager.load(v,'plugins/'+v+'/editor_plugin'+tinymce.suffix+'.js');}});}sl.loadQueue();}Event.add(document,'init',function(){var l,co;execCallback(s,'onpageload');if(s.browsers){l=false;each(explode(s.browsers),function(v){switch(v){case'ie':case'msie':if(tinymce.isIE)l=true;break;case'gecko':if(tinymce.isGecko)l=true;break;case'safari':case'webkit':if(tinymce.isWebKit)l=true;break;case'opera':if(tinymce.isOpera)l=true;break;}});if(!l)return;}switch(s.mode){case"exact":l=s.elements||'';if(l.length>0){each(explode(l),function(v){if(DOM.get(v)){ed=new tinymce.Editor(v,s);el.push(ed);ed.render(1);}else{c=0;each(document.forms,function(f){each(f.elements,function(e){if(e.name===v){v='mce_editor_'+c;DOM.setAttrib(e,'id',v);ed=new tinymce.Editor(v,s);el.push(ed);ed.render(1);}});});}});}break;case"textareas":case"specific_textareas":function hasClass(n,c){return c.constructor===RegExp?c.test(n.className):DOM.hasClass(n,c);};each(DOM.select('textarea'),function(v){if(s.editor_deselector&&hasClass(v,s.editor_deselector))return;if(!s.editor_selector||hasClass(v,s.editor_selector)){e=DOM.get(v.name);if(!v.id&&!e)v.id=v.name;if(!v.id||t.get(v.id))v.id=DOM.uniqueId();ed=new tinymce.Editor(v.id,s);el.push(ed);ed.render(1);}});break;}if(s.oninit){l=co=0;each(el,function(ed){co++;if(!ed.initialized){ed.onInit.add(function(){l++;if(l==co)execCallback(s,'oninit');});}else l++;if(l==co)execCallback(s,'oninit');});}});},get:function(id){return this.editors[id];},getInstanceById:function(id){return this.get(id);},add:function(e){this.editors[e.id]=e;this._setActive(e);return e;},remove:function(e){var t=this;if(!t.editors[e.id])return null;delete t.editors[e.id];if(t.activeEditor==e){each(t.editors,function(e){t._setActive(e);return false;});}e.destroy();return e;},execCommand:function(c,u,v){var t=this,ed=t.get(v),w;switch(c){case"mceFocus":ed.focus();return true;case"mceAddEditor":case"mceAddControl":if(!t.get(v))new tinymce.Editor(v,t.settings).render();return true;case"mceAddFrameControl":w=v.window;w.tinyMCE=tinyMCE;w.tinymce=tinymce;tinymce.DOM.doc=w.document;tinymce.DOM.win=w;ed=new tinymce.Editor(v.element_id,v);ed.render();if(tinymce.isIE){function clr(){ed.destroy();w.detachEvent('onunload',clr);w=w.tinyMCE=w.tinymce=null;};w.attachEvent('onunload',clr);}v.page_window=null;return true;case"mceRemoveEditor":case"mceRemoveControl":if(ed)ed.remove();return true;case'mceToggleEditor':if(!ed){t.execCommand('mceAddControl',0,v);return true;}if(ed.isHidden())ed.show();else ed.hide();return true;}if(t.activeEditor)return t.activeEditor.execCommand(c,u,v);return false;},execInstanceCommand:function(id,c,u,v){var ed=this.get(id);if(ed)return ed.execCommand(c,u,v);return false;},triggerSave:function(){each(this.editors,function(e){e.save();});},addI18n:function(p,o){var lo,i18n=this.i18n;if(!tinymce.is(p,'string')){each(p,function(o,lc){each(o,function(o,g){each(o,function(o,k){if(g==='common')i18n[lc+'.'+k]=o;else i18n[lc+'.'+g+'.'+k]=o;});});});}else{each(o,function(o,k){i18n[p+'.'+k]=o;});}},_setActive:function(e){this.selectedInstance=this.activeEditor=e;}});tinymce.EditorManager.preInit();})();var tinyMCE=window.tinyMCE=tinymce.EditorManager;(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,extend=tinymce.extend,Dispatcher=tinymce.util.Dispatcher;var each=tinymce.each,isGecko=tinymce.isGecko,isIE=tinymce.isIE,isWebKit=tinymce.isWebKit;var is=tinymce.is,ThemeManager=tinymce.ThemeManager,PluginManager=tinymce.PluginManager,EditorManager=tinymce.EditorManager;var inArray=tinymce.inArray,grep=tinymce.grep,explode=tinymce.explode;tinymce.create('tinymce.Editor',{Editor:function(id,s){var t=this;t.id=t.editorId=id;t.execCommands={};t.queryStateCommands={};t.queryValueCommands={};t.plugins={};each(['onPreInit','onBeforeRenderUI','onPostRender','onInit','onRemove','onActivate','onDeactivate','onClick','onEvent','onMouseUp','onMouseDown','onDblClick','onKeyDown','onKeyUp','onKeyPress','onContextMenu','onSubmit','onReset','onPaste','onPreProcess','onPostProcess','onBeforeSetContent','onBeforeGetContent','onSetContent','onGetContent','onLoadContent','onSaveContent','onNodeChange','onChange','onBeforeExecCommand','onExecCommand','onUndo','onRedo','onVisualAid','onSetProgressState'],function(e){t[e]=new Dispatcher(t);});t.settings=s=extend({id:id,language:'en',docs_language:'en',theme:'simple',skin:'default',delta_width:0,delta_height:0,popup_css:'',plugins:'',document_base_url:tinymce.documentBaseURL,add_form_submit_trigger:1,submit_patch:1,add_unload_trigger:1,convert_urls:1,relative_urls:1,remove_script_host:1,table_inline_editing:0,object_resizing:1,cleanup:1,accessibility_focus:1,custom_shortcuts:1,custom_undo_redo_keyboard_shortcuts:1,custom_undo_redo_restore_selection:1,custom_undo_redo:1,doctype:'',visual_table_class:'mceItemTable',visual:1,inline_styles:true,convert_fonts_to_spans:true,font_size_style_values:'xx-small,x-small,small,medium,large,x-large,xx-large',apply_source_formatting:1,directionality:'ltr',forced_root_block:'p',valid_elements:'@[id|class|style|title|dir';t.iframeHTML+='';if(tinymce.relaxedDomain)t.iframeHTML+='';bi=s.body_id||'tinymce';if(bi.indexOf('=')!=-1){bi=t.getParam('body_id','','hash');bi=bi[t.id]||bi;}bc=s.body_class||'';if(bc.indexOf('=')!=-1){bc=t.getParam('body_class','','hash');bc=bc[t.id]||'';}t.iframeHTML+='