[open-ils-commits] r16643 - in trunk/Open-ILS/web: reports templates templates/default/circ/selfcheck templates/default/conify/global/action/survey templates/default/conify/global/asset templates/default/vandelay (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jun 9 17:44:05 EDT 2010
Author: atz
Date: 2010-06-09 17:43:59 -0400 (Wed, 09 Jun 2010)
New Revision: 16643
Modified:
trunk/Open-ILS/web/reports/oils_rpt_common.xhtml
trunk/Open-ILS/web/templates/base.tt2
trunk/Open-ILS/web/templates/default/circ/selfcheck/main.tt2
trunk/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2
trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2
trunk/Open-ILS/web/templates/default/vandelay/vandelay.tt2
Log:
</link> is not valid HTML
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."
Modified: trunk/Open-ILS/web/reports/oils_rpt_common.xhtml
===================================================================
--- trunk/Open-ILS/web/reports/oils_rpt_common.xhtml 2010-06-09 21:43:58 UTC (rev 16642)
+++ trunk/Open-ILS/web/reports/oils_rpt_common.xhtml 2010-06-09 21:43:59 UTC (rev 16643)
@@ -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"/>
-<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>
Modified: trunk/Open-ILS/web/templates/base.tt2
===================================================================
--- trunk/Open-ILS/web/templates/base.tt2 2010-06-09 21:43:58 UTC (rev 16642)
+++ trunk/Open-ILS/web/templates/base.tt2 2010-06-09 21:43:59 UTC (rev 16643)
@@ -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>
- <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'
- 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'
- 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>
Modified: trunk/Open-ILS/web/templates/default/circ/selfcheck/main.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/circ/selfcheck/main.tt2 2010-06-09 21:43:58 UTC (rev 16642)
+++ trunk/Open-ILS/web/templates/default/circ/selfcheck/main.tt2 2010-06-09 21:43:59 UTC (rev 16643)
@@ -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>
-<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'>
Modified: trunk/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 2010-06-09 21:43:58 UTC (rev 16642)
+++ trunk/Open-ILS/web/templates/default/conify/global/action/survey/edit.tt2 2010-06-09 21:43:59 UTC (rev 16643)
@@ -1,17 +1,15 @@
[% 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>
+
<!-- General survey info -->
-<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
+<div dojoType="dijit.layout.ContentPane" layoutAlign="client">
<div id='edit-pane'> </div>
</div>
Modified: trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2 2010-06-09 21:43:58 UTC (rev 16642)
+++ trunk/Open-ILS/web/templates/default/conify/global/asset/copy_location_order.tt2 2010-06-09 21:43:59 UTC (rev 16643)
@@ -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>
-<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>
Modified: trunk/Open-ILS/web/templates/default/vandelay/vandelay.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/vandelay/vandelay.tt2 2010-06-09 21:43:58 UTC (rev 16642)
+++ trunk/Open-ILS/web/templates/default/vandelay/vandelay.tt2 2010-06-09 21:43:59 UTC (rev 16643)
@@ -2,9 +2,9 @@
[% 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' %]
More information about the open-ils-commits
mailing list