Fix <script> attributes to match XHTML spec
authorDaniel Gustafsson <daniel@yesql.se>
Wed, 28 Jun 2017 07:25:24 +0000 (09:25 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Wed, 28 Jun 2017 07:25:24 +0000 (09:25 +0200)
The language attribute is deprecated and should no longer be used,
while the use of the type attribute is mandated for identifying the
script content.

36 files changed:
template.jinja/confreg/bulkpay_list.html
template.jinja/confreg/conference_feedback.html
template.jinja/confreg/confirm_addons.html
template.jinja/confreg/regform.html
template.jinja/confreg/regform_confirm.html
template.jinja/confreg/session_feedback.html
template/accounting/closeyear.html
template/accounting/ledgerreport.html
template/accounting/main.html
template/accounting/yearreports.html
template/admin/base_site.html
template/admin/newsevents/event/change_form.html
template/admin/newsevents/news/change_form.html
template/braintreepayment/invoice_payment.html
template/confreg/admin_cross_conference_mail.html
template/confreg/admin_waitlist.html
template/confreg/bulkpay_list.html
template/confreg/confadmin_base.html
template/confreg/conference_feedback.html
template/confreg/confirm_addons.html
template/confreg/mobile/index.html
template/confreg/prepaid_create_form.html
template/confreg/prepaid_create_list.html
template/confreg/regform.html
template/confreg/regform_confirm.html
template/confreg/reports.html
template/confreg/session_feedback.html
template/confreg/sessionvotes.html
template/confreg/timereport.html
template/confsponsor/admin_benefit.html
template/confsponsor/admin_sponsor.html
template/confsponsor/signup.html
template/confsponsor/sponsor.html
template/confwiki/admin_edit_form.html
template/confwiki/signup_admin_edit_form.html
template/invoices/invoiceform.html

index 91462d575f664ef5e440c584ce9f81cfae700512..cc726cb7c31014908c8818904e881e8d00f10ce7 100644 (file)
@@ -1,7 +1,7 @@
 {%extends "base.html" %}
 {%block title%}Conference registration bulk payments{%endblock%}
 {%block extrahead%}
-<script language="javascript">
+<script type="text/javascript">
 function confirmInvoice() {
    return confirm('Once you proceed to payment, an invoice will be generated for all registrations, and you will no longer be able to change it. The individual registrations can also no longer be changed.\n\nThis invoice will be addressed to the person, company and address specified on this page - please take a moment to review those fields if you need to.\n\nThe invoice will be delivered as a PDF in your browser, no paper invoice will be sent.\n\nAre you sure you want to proceed to payment?');
 }
index 52d49a8ed667057cb9ea76f69923feaa1aed6761..73fab513dc7999bc681e2e479bec63a1ac261e03 100644 (file)
@@ -2,7 +2,7 @@
 {%block title%}Conference Feedback - {{conference}}{%endblock%}
 {%block extrahead%}
 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
-<script language="javascript">
+<script type="text/javascript">
 google.load("visualization", "1", {packages:["corechart"]});
 google.setOnLoadCallback(drawCharts);
 function prep_datatable() {
index ec93a87693c26d5892a7884b921a754450d7a352..d11f494ab15918eb5a543c0d2ffba58d8262b33b 100644 (file)
@@ -18,7 +18,7 @@ form input[type=submit] {
    width: 200px !important;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 function confirmInvoice() {
    return confirm('Once you proceed to payment, an invoice will be generated for your registration, and you will no longer be able to change it.\n\nThis invoice will be addressed to the person, company and address specified in the registration.\n\nThe invoice will be delivered as a PDF in your browser, no paper invoice will be sent.\n\nAre you sure you want to proceed to payment?');
 }
index 897708a33169726eefdef4f3e05f7ae9fa6b2a28..4d7a305d09021c5ec6a1f1d8559a0c2747c19264 100644 (file)
@@ -1,7 +1,7 @@
 {%extends "base.html" %}
 {%block title%}Conference Registration - {{conference}}{%endblock%}
 {%block extrahead%}
-<script language="javascript">
+<script type="text/javascript">
 function confirmCancel() {
    return confirm('Are you sure you want to cancel and remove your registration?');
 }
index 822cea9adb891dc03afaa33d9f57a54f8d0e4d1e..bfa83d825d3f960a13db0e65e33d582af0188133 100644 (file)
@@ -26,7 +26,7 @@ div.warnfld ul li {
    font-weight: normal !important;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 function confirmInvoice() {
   {%if totalcost == 0 %}return true;{%else%}
    return confirm('Once you proceed to payment, an invoice will be generated for your registration, and you will no longer be able to change it.\n\nThis invoice will be addressed to the person, company and address specified in the registration - please take a moment to review those fields if you need to.\n\nThe invoice will be delivered as a PDF in your browser, no paper invoice will be sent.\n\nNote that if your registration should be part of a bulk payment, you should NOT proceed with this step!\n\nAre you sure you want to proceed to payment?');
@@ -35,7 +35,7 @@ function confirmInvoice() {
 </script>
 
 {%if regalert%}
-<script language="javascript" defer>
+<script type="text/javascript" defer>
    window.onload = function() {
    alert('{{regalert|escapejs}}');
    }
index f32e6cf3bdaf5b0b6c08283dce64a1137e0017e5..755238586957e9879bd90d2a09fdc5e3f12bb7a6 100644 (file)
@@ -2,7 +2,7 @@
 {%block title%}Conference Session - {{conference}}{%endblock%}
 {%block extrahead%}
 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
-<script language="javascript">
+<script type="text/javascript">
 google.load("visualization", "1", {packages:["corechart"]});
 google.setOnLoadCallback(drawCharts);
 function prep_datatable() {
index 54190769cb85fa468af3893327715cb662525be3..49e4d7989b7ee257923b8f923add70d489ef6727 100644 (file)
@@ -2,7 +2,7 @@
 {%load humanize%}
 {%block title%}Accounting - close year{%endblock%}
 {%block extrahead%}
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
 <style>
 ul.messages {
   list-style-type: none;
@@ -23,7 +23,7 @@ div#pgContainer {
    width: 1200px;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 function confirmCloseYear() {
    return confirm('Are you absolutely sure you want to close this year?\n\nThere really is no going back! And you can no longer make changes to the year!\n');
 }
index 6d1516a4b02013cb2dd19d573886a0eb7d93d4aa..871718e473e54535b87c78d52e937205450780e1 100644 (file)
@@ -57,9 +57,9 @@ table.ledgertable tr td.objectfield {
 </style>
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
 
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript">
 function refreshlocation() {
       o = $('#objsel').val();
       y = $('#yearsel').val();
index faf9388e4b97939ead094babd8109b689c40aaf7..e40e225563a9a48813e0fd6eb6801de50db07085 100644 (file)
@@ -2,9 +2,9 @@
 {%load humanize%}
 {%block title%}Accounting{%endblock%}
 {%block extrahead%}
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script src="/media/jq/chosen.jquery.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/chosen.jquery.min.js"></script>
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
 <link rel="stylesheet" href="/media/jq/chosen.min.css" />
 <style>
@@ -106,7 +106,7 @@ button {
    font-size: small;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 function confirmClose() {
    return confirm('Are you sure you want to close this entry?\n\nOnce closed, an entry cannot be reopened!');
 }
index cebd67657c99db70b80572625b3e721e5fef1349..6fd850d35ed937ea751f0a1b9011df3a624141a9 100644 (file)
@@ -76,9 +76,9 @@ table.reporttable tr.finalrow td.amount {
 </style>
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
 
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript">
 function refreshlocation() {
       o = $('#objsel').val();
       y = $('#yearsel').val();
index cb5bfadf1588f6a67e6aaf8584d420e856f61340..50365e1b98cd57f37a50a0687689b3007762bb0e 100644 (file)
@@ -11,8 +11,8 @@ Shortcuts:
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" type="text/css">
 <link href="/media/selectable/css/dj.selectable.css" type="text/css" media="all" rel="stylesheet">
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
 <script type="text/javascript" src="/media/selectable/js/jquery.dj.selectable.js"></script>
 <style>
 ul.selectable-deck li.selectable-deck-item a.selectable-deck-remove {
index 6461e5c914ecb1bd3ba2dede055a1d501ebd7952..2ae0835ac874cf3dcb7b08fd1ebf8e941d356301 100644 (file)
@@ -11,7 +11,7 @@ Note that the summary field can use
 <link rel="stylesheet" type="text/css" href="/media/css/showdown_preview.css" />
 <script type="text/javascript" src="/media/showdown/showdown.js"></script>
 <script type="text/javascript" src="/media/js/showdown_preview.js"></script>
-<script language="javascript">
+<script type="text/javascript">
    window.onload = function() {
       attach_showdown_preview('id_summary');
    }
index 6461e5c914ecb1bd3ba2dede055a1d501ebd7952..2ae0835ac874cf3dcb7b08fd1ebf8e941d356301 100644 (file)
@@ -11,7 +11,7 @@ Note that the summary field can use
 <link rel="stylesheet" type="text/css" href="/media/css/showdown_preview.css" />
 <script type="text/javascript" src="/media/showdown/showdown.js"></script>
 <script type="text/javascript" src="/media/js/showdown_preview.js"></script>
-<script language="javascript">
+<script type="text/javascript">
    window.onload = function() {
       attach_showdown_preview('id_summary');
    }
index 77e0bbea4bc601708781fb7f2dec13eb42cc275d..3b9da3e0bcbc5c2591147ab379e629d55416202f 100644 (file)
@@ -1,8 +1,8 @@
 {%extends "base.html" %}
 {%block title%}Invoice payment{%endblock%}
 {%block extrahead%}
-<script src="https://js.braintreegateway.com/v2/braintree.js"></script>
-<script>
+<script type="text/javascript" src="https://js.braintreegateway.com/v2/braintree.js"></script>
+<script type="text/javascript">
 braintree.setup('{{token}}', "dropin", {
   container: "payment-form",
   onReady: function() {
index c9c2106e5da1c2b77a393ec39227039b9769d1b0..f25dd2f7f01bea454ccc82dcee3ba8c043257ae1 100644 (file)
@@ -12,7 +12,7 @@ table.mailform input[type=text],textarea,select {
    width: 500px;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 $(function() {
    $('#id_attendees_of, #id_attendees_not_of').selectize({'plugins': ['remove_button']});
 });
index 28259ecc2455e103e6352aaeb27c42c5a78d2dfc..098cccfb7c70ff68476e4b67eacd51502c63139b 100644 (file)
@@ -2,9 +2,9 @@
 {%block title%}Conference waitlist{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
 
-<script language="javascript">
+<script type="text/javascript">
 $(function() {
   $('.dlg').each(function(idx, el) {
     $(el).dialog({
index 124b886567c2cecff4bdf70fae33ae10c88ba787..04bee5fb76b8d5ce5f891e310e1a5fd8fc65ddf7 100644 (file)
@@ -1,7 +1,7 @@
 {%extends conftemplbase %}
 {%block title%}Conference registration bulk payments{%endblock%}
 {%block extrahead%}
-<script language="javascript">
+<script type="text/javascript">
 function confirmInvoice() {
    return confirm('Once you proceed to payment, an invoice will be generated for all registrations, and you will no longer be able to change it. The individual registrations can also no longer be changed.\n\nThis invoice will be addressed to the person, company and address specified on this page - please take a moment to review those fields if you need to.\n\nThe invoice will be delivered as a PDF in your browser, no paper invoice will be sent.\n\nAre you sure you want to proceed to payment?');
 }
index 86145198982eb4512030c80ecc1b53613a336c2e..0cfa4d0afa953f6ad0308ad094d080ddb5d406d6 100644 (file)
@@ -9,8 +9,8 @@
   <link rel="shortcut icon" href="/favicon.ico" />
   <link rel="stylesheet" media="screen" href="/media/css/bootstrap.min.css" />
   <link rel="stylesheet" media="screen" href="/media/css/confadmin.css" />
-  <script src="/media/jq/jquery-1.8.2.min.js"></script>
-  <script src="/media/js/bootstrap.min.js"></script>
+  <script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+  <script type="text/javascript" src="/media/js/bootstrap.min.js"></script>
 {%block extrahead%}{%endblock%}
  </head>
  <body>
index beee3ab52e6aac744163defa16028d4def1446f9..2cb4a1c0ba65b8da88b1a27eda9edacd9a5a94f5 100644 (file)
@@ -3,7 +3,7 @@
 {%block title%}Conference Feedback - {{conference}}{%endblock%}
 {%block extrahead%}
 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
-<script language="javascript">
+<script type="text/javascript">
 google.load("visualization", "1", {packages:["corechart"]});
 google.setOnLoadCallback(drawCharts);
 function prep_datatable() {
index 5c7f51d52e666e2ca334370083637e0dfcfa075b..aec33c5f9c3712f5cd61aa758ecbef50aabd5bd7 100644 (file)
@@ -20,7 +20,7 @@ form input[type=submit] {
    width: 200px !important;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 function confirmInvoice() {
    return confirm('Once you proceed to payment, an invoice will be generated for your registration, and you will no longer be able to change it.\n\nThis invoice will be addressed to the person, company and address specified in the registration.\n\nThe invoice will be delivered as a PDF in your browser, no paper invoice will be sent.\n\nAre you sure you want to proceed to payment?');
 }
index b0aa6339d84974763bbe012aab345d41dd6a2bbe..84cfe2d2474d07cf0d14adf79d1690640cf2be10 100644 (file)
@@ -3,8 +3,8 @@
     <title>{{conf.conferencename}}</title> 
     <meta name="viewport" content="width=device-width, initial-scale=1"> 
     <link rel="stylesheet" href="/media/jq/jquery.mobile-1.2.0.min.css" />
-    <script src="/media/jq/jquery-1.8.2.min.js"></script>
-    <script src="/media/jq/jquery.mobile-1.2.0.min.js"></script>
+    <script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+    <script type="text/javascript" src="/media/jq/jquery.mobile-1.2.0.min.js"></script>
     <style>
 span.st { font-size: 0.8em; }
 span.spk { font-size: 0.7em; }
@@ -12,7 +12,7 @@ span.spk { font-size: 0.7em; }
 </head> 
 <body> 
 
-<script language="javascript">
+<script type="text/javascript">
 
 function supports_html5_storage() {
   try {
index 6da923595261ece780cfc3b1e38cbc2330d5b425..9c0328cfcea786eb602de52592f7678fc746f6e5 100644 (file)
@@ -2,10 +2,10 @@
 {%block title%}Create prepaid vouchers{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
 
-<script language="javascript">
+<script type="text/javascript">
 function lookup_user() {
    $('#user-lookup').dialog('open');
 }
index 1112412b69cd5a68d91f3e34d404f14fccc5c2ba..d433794834c02e662bfad6fcf9613be1dce34000 100644 (file)
@@ -1,8 +1,8 @@
 {%extends "navbase.html" %}
 {%block title%}Prepaid vouchers{%endblock%}
 {%block extrahead%}
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript">
 function sendEmail() {
    if (confirm('Are you sure you want to send an email with these vouchers to {{batch.buyer.email|escapejs}}?')) {
       $.ajax({
index 5792ac01f8fb4e590aff93414b8f463919eeb9d5..4be9874a9cdf4c6bced17888c64837b81ce1d84d 100644 (file)
@@ -2,7 +2,7 @@
 {%load markup%}
 {%block title%}Conference Registration - {{conference}}{%endblock%}
 {%block extrahead%}
-<script language="javascript">
+<script type="text/javascript">
 function confirmCancel() {
    return confirm('Are you sure you want to cancel and remove your registration?');
 }
index 8745fb901a93d999bcba72f3f83270610030845d..40a2555ed9783bbcf681cfd1563c7df176615e2f 100644 (file)
@@ -28,7 +28,7 @@ div.warnfld ul li {
    font-weight: normal !important;
 }
 </style>
-<script language="javascript">
+<script type="text/javascript">
 function confirmInvoice() {
   {%if totalcost == 0 %}return true;{%else%}
    return confirm('Once you proceed to payment, an invoice will be generated for your registration, and you will no longer be able to change it.\n\nThis invoice will be addressed to the person, company and address specified in the registration - please take a moment to review those fields if you need to.\n\nThe invoice will be delivered as a PDF in your browser, no paper invoice will be sent.\n\nNote that if your registration should be part of a bulk payment, you should NOT proceed with this step!\n\nAre you sure you want to proceed to payment?');
@@ -37,7 +37,7 @@ function confirmInvoice() {
 </script>
 
 {%if regalert%}
-<script language="javascript" defer>
+<script type="text/javascript" defer>
    window.onload = function() {
    alert('{{regalert|escapejs}}');
    }
index 1b6a3397221e909cdee7a08b5f968f1056f8ca4b..99b647f6a058808f2ce90785c0e436556138c644 100644 (file)
@@ -2,8 +2,8 @@
 {%block title%}Reports{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
 <style>
 #fieldlist { list-style-type: none; margin: 0; padding: 0; }
 #fieldlist li { cursor: move;}
@@ -75,7 +75,7 @@
 <input type="submit" value="Generate report" />
 </form>
 
-<script>
+<script type="text/javascript">
 $(function() {
     $( "#fieldlist" ).sortable();
     $( "#fieldlist" ).disableSelection();
index 2c9bf534bd07b4de0879cddbe8cddf3ae1392f8c..cb706da89d4a2bd4ad98298a48fe86ea73cdb7f9 100644 (file)
@@ -3,7 +3,7 @@
 {%block title%}Conference Session - {{conference}}{%endblock%}
 {%block extrahead%}
 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
-<script language="javascript">
+<script type="text/javascript">
 google.load("visualization", "1", {packages:["corechart"]});
 google.setOnLoadCallback(drawCharts);
 function prep_datatable() {
index ef1453da23201ddd2d0670ed12c8a4fea986e5b1..70ec77b1c020eb4620bdde8c7097afa4a6635ca1 100644 (file)
@@ -3,9 +3,9 @@
 {%block title%}Vote for sessions{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
 
-<script language="javascript">
+<script type="text/javascript">
 $(function() {
   $('.dlg').each(function(idx, el) {
     $(el).dialog({
index 3999f62cdee8953c8e4a13fb47541f96d98c884a..dcdc803aea9ff7116f189ff04c92710399432668 100644 (file)
@@ -3,7 +3,7 @@
 {%block extrahead%}
 {%if graphdata%}
     <script type="text/javascript" src="https://www.google.com/jsapi"></script>
-    <script language="javascript">
+    <script type="text/javascript">
   google.load("visualization", "1", {packages:["corechart"]});
   google.setOnLoadCallback(drawChart);
   function drawChart() {
@@ -35,7 +35,7 @@
   }
 </script>
     {%endif%}
-<script language="javascript">
+<script type="text/javascript">
 $(function() {
   /* Set up the filtering box for conferences */
   $('#id_conferences').after('<div style="display: inline; vertical-align: top; margin-left: 20px;">Filter: <input type="text" id="conffilter"></div>');
index 88bd9ce496e69be727975f6411b529cc9c1db816..d36f7500b143f4792b389b6a5e81529d2219e582 100644 (file)
@@ -3,8 +3,8 @@
 {%block title%}Conference Sponsorship - {{sponsor}}{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript">
   $(function() {
     $(".benefit_list").accordion({
       collapsible: true,
index 99f7eb623721bad48846a3c9995ffeba3258bfe0..a9a1db0acf0ceacbae59473bdc026e82b8c0d0d3 100644 (file)
@@ -3,8 +3,8 @@
 {%block title%}Conference Sponsorship - {{sponsor}}{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript">
   function confirmConfirm() {
     return confirm('Are you sure you want to confirm this sponsor?\n\nThis should *only* be done if the sponsor contract is both signed and countersigned!');
   }
index 91ba46fc04cce6da48ee10150d287cf097fcad2d..9aaa3d7ae90031e6711daedeaccc32732b18c72a 100644 (file)
@@ -3,9 +3,9 @@
 {%block title%}Conference Sponsorship Signup - {{conference}}{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript">
   $(function() {
     $(".benefit_list").accordion({
       collapsible: true,
index 75f1de049db51d56575538d5d70ecfeef830b951..01ed98b302c98e25e81279a86485c8fbf48c79b3 100644 (file)
@@ -3,9 +3,9 @@
 {%block title%}Conference Sponsorship - {{sponsor.conference}}{%endblock%}
 {%block extrahead%}
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript">
   $(function() {
     $(".benefit_list").accordion({
       collapsible: true,
index 22a1d622cd2bd991e365d5d81b60285590b5aa70..65115a63da3305382409ca80e605c9acd899a96a 100644 (file)
@@ -15,7 +15,7 @@ table.pageform input[type=text],textarea,select {
 }
 </style>
 
-<script language="javascript">
+<script type="text/javascript">
 $(function() {
    $('#id_author').selectize();
    $('#id_viewer_regtype, #id_editor_regtype, #id_viewer_attendee, #id_editor_attendee').selectize({plugins: ['remove_button']});
index 353cd5831edeaae4497edca6bbd80808af5f6dae..9f912c7bbe1e0c50a1d272737d2947a2bbf7ec1a 100644 (file)
@@ -15,7 +15,7 @@ table.signupform input[type=text],textarea,select {
 }
 </style>
 
-<script language="javascript">
+<script type="text/javascript">
 $(function() {
    $('#id_author').selectize();
    $('#id_regtypes, #id_attendees').selectize({plugins: ['remove_button']});
index 2cd44d7cee560773dc0377c8831c0fcb4b291930..25740ef295e79f7333831462a459c98f0cd7aaf2 100644 (file)
@@ -14,14 +14,14 @@ ul.messages {
 }
 </style>
 <link rel="stylesheet" href="/media/jq/jquery-ui.min.css" />
-<script src="/media/jq/jquery-1.8.2.min.js"></script>
-<script src="/media/jq/jquery-ui.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-1.8.2.min.js"></script>
+<script type="text/javascript" src="/media/jq/jquery-ui.min.js"></script>
 <script type="text/javascript" src="/media/js/selectize.min.js"></script>
 <script type="text/javascript" src="/media/selectable/js/jquery.dj.selectable.js"></script>
 <link rel="stylesheet" href="/media/css/selectize.css" />
 <link rel="stylesheet" href="/media/css/selectize.default.css" />
 
-<script language="javascript">
+<script type="text/javascript">
 function sendEmail() {
    var reason = $('#emailreason').val();
    var q = '';