</link> is not valid HTML
authoratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Jun 2010 21:43:59 +0000 (21:43 +0000)
committeratz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Jun 2010 21:43:59 +0000 (21:43 +0000)
Although the DTD *may* specify xhtml, since in practice we are serving
with Content-Type: text/html and
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
we should avoid tags that are illegal in html.

These errors are reported in chrome as:
    "Unmatched </link> encountered.  Ignoring tag."

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16643 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/reports/oils_rpt_common.xhtml
Open-ILS/web/templates/base.tt2
Open-ILS/web/templates/default/circ/selfcheck/main.tt2
Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2
Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2
Open-ILS/web/templates/default/vandelay/vandelay.tt2

index 9666f1f..1715bd3 100644 (file)
@@ -70,7 +70,7 @@
 <script type="text/javascript" src="oils_rpt_report_editor.js"></script>
 
 <link type='text/css' rel='stylesheet' href="/opac/common/css/fm_table.css"/>
 <script type="text/javascript" src="oils_rpt_report_editor.js"></script>
 
 <link type='text/css' rel='stylesheet' href="/opac/common/css/fm_table.css"/>
-<link rel="stylesheet" type="text/css" href="oils_rpt.css"> </link>
+<link rel="stylesheet" type="text/css" href="oils_rpt.css"/>
 
 <script type="text/javascript">function _l(l) { location.href = l + location.search; }</script>
 
 
 <script type="text/javascript">function _l(l) { location.href = l + location.search; }</script>
 
index 918bce2..6bb7874 100644 (file)
@@ -5,11 +5,11 @@
 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
     <head>
         <title>[% ctx.page_title %]</title>
 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
     <head>
         <title>[% ctx.page_title %]</title>
-       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
         <link rel='stylesheet' type='text/css'
         <link rel='stylesheet' type='text/css'
-            href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %].css'></link>
+            href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %].css' />
         <link rel='stylesheet' type='text/css'
         <link rel='stylesheet' type='text/css'
-            href='[% ctx.media_prefix %]/css/theme/[% ctx.skin %].css'></link>
+            href='[% ctx.media_prefix %]/css/theme/[% ctx.skin %].css' />
         <script type="text/javascript" src="[% ctx.media_prefix %]/js/dojo/dojo/dojo.js"
             djConfig="parseOnLoad: true, isDebug:false"></script>
         <script type="text/javascript" src="[% ctx.media_prefix %]/js/dojo/dojo/openils_dojo.js"></script>
         <script type="text/javascript" src="[% ctx.media_prefix %]/js/dojo/dojo/dojo.js"
             djConfig="parseOnLoad: true, isDebug:false"></script>
         <script type="text/javascript" src="[% ctx.media_prefix %]/js/dojo/dojo/openils_dojo.js"></script>
index 7ce0384..a887da4 100644 (file)
@@ -2,7 +2,7 @@
 [% WRAPPER default/base.tt2 %]
 <script src='[% ctx.media_prefix %]/js/ui/default/circ/selfcheck/selfcheck.js'> </script>
 <script src="[% ctx.media_prefix %]/js/ui/default/circ/selfcheck/payment.js"></script>
 [% WRAPPER default/base.tt2 %]
 <script src='[% ctx.media_prefix %]/js/ui/default/circ/selfcheck/selfcheck.js'> </script>
 <script src="[% ctx.media_prefix %]/js/ui/default/circ/selfcheck/payment.js"></script>
-<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/selfcheck.css'></link>
+<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/selfcheck.css'/>
 [% INCLUDE 'default/circ/selfcheck/audio_config.tt2' %]
 
 <div id='oils-selfck-top-div'>
 [% INCLUDE 'default/circ/selfcheck/audio_config.tt2' %]
 
 <div id='oils-selfck-top-div'>
index 40f57a7..f727938 100644 (file)
@@ -1,17 +1,15 @@
 [% WRAPPER 'default/base.tt2' %]
 [% WRAPPER 'default/base.tt2' %]
-<script src='[% ctx.media_prefix %]/js/ui/default/conify/global/action/survey/edit.js'></script>
-    <link rel='stylesheet' type='text/css'
-            href='[% ctx.media_prefix %]/css/skin/default/conify.css'></link>
-    <link rel='stylesheet' type='text/css'
-            href='[% ctx.media_prefix %]/css/theme/default/conify.css'></link>
-    <script type="text/javascript">
-        dojo.require('openils.Util');
-var surveyId = [%ctx.page_args.0 %];
-openils.Util.addOnLoad(function() { drawSurvey(surveyId) });
-
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/action/survey/edit.js'></script>
+<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/default/conify.css'/>
+<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/theme/default/conify.css'/>
+<script type="text/javascript">
+    dojo.require('openils.Util');
+    var surveyId = [%ctx.page_args.0 %];
+    openils.Util.addOnLoad(function() { drawSurvey(surveyId) });
 </script>
 </script>
+
 <!-- General survey info -->
 <!-- General survey info -->
-<div  dojoType="dijit.layout.ContentPane" layoutAlign="client">
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
     <div id='edit-pane'> </div>
 
 </div>
     <div id='edit-pane'> </div>
 
 </div>
index fef9088..ca574ed 100644 (file)
@@ -1,7 +1,7 @@
 [% WRAPPER default/base.tt2 %]
 [% ctx.page_title = 'Copy Location Order' %]
 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/asset/copy_location_order.js'> </script>
 [% WRAPPER default/base.tt2 %]
 [% ctx.page_title = 'Copy Location Order' %]
 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/asset/copy_location_order.js'> </script>
-<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/js/dojo/dojo/resources/dnd.css'></link>
+<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/js/dojo/dojo/resources/dnd.css'/>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
     <div>Copy Location Order</div>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
     <div>Copy Location Order</div>
index 29bc1d4..019245f 100644 (file)
@@ -2,9 +2,9 @@
 [% ctx.page_title = 'MARC Import/Export' %]
 [% ctx.dtd = '<!DOCTYPE html SYSTEM "'_ ctx.web_dir _'/opac/locale/' _ ctx.locale _ '/vandelay.dtd">' %]
 
 [% ctx.page_title = 'MARC Import/Export' %]
 [% ctx.dtd = '<!DOCTYPE html SYSTEM "'_ ctx.web_dir _'/opac/locale/' _ ctx.locale _ '/vandelay.dtd">' %]
 
-<script src='[% ctx.media_prefix %]/js/ui/default/vandelay/vandelay.js'> </script>
-<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/vandelay.css'></link>
-<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/theme/[% ctx.skin %]/vandelay.css'></link>
+<script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/vandelay/vandelay.js'> </script>
+<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/vandelay.css'/>
+<link rel='stylesheet' type='text/css' href='[% ctx.media_prefix %]/css/theme/[% ctx.skin %]/vandelay.css'/>
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign='top' id="vl-nav-bar" style="visibility: hidden;">
     [% INCLUDE 'default/vandelay/inc/toolbar.tt2' %]
 
 <div dojoType="dijit.layout.ContentPane" layoutAlign='top' id="vl-nav-bar" style="visibility: hidden;">
     [% INCLUDE 'default/vandelay/inc/toolbar.tt2' %]