[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en/includes doc-he... [dev_week]

Owen Leonard oleonard at athenscounty.lib.oh.us
Wed Sep 6 16:13:14 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Owen Leonard <oleonard>	06/09/06 14:13:14

Modified files:
	koha-tmpl/opac-tmpl/npl/en/includes: doc-head-close.inc 

Log message:
	Correcting some TMPL markup, adding option to hide OpacNav

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/includes/doc-head-close.inc?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.11.2.7&r2=1.1.2.11.2.8

Patches:
Index: doc-head-close.inc
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/includes/doc-head-close.inc,v
retrieving revision 1.1.2.11.2.7
retrieving revision 1.1.2.11.2.8
diff -u -b -r1.1.2.11.2.7 -r1.1.2.11.2.8
--- doc-head-close.inc	23 Aug 2006 16:41:07 -0000	1.1.2.11.2.7
+++ doc-head-close.inc	6 Sep 2006 14:13:14 -0000	1.1.2.11.2.8
@@ -5,7 +5,8 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <!-- /TMPL_IF -->
 <meta http-equiv="Content-Language" content="en-us" />
-<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang">/includes/favicon.ico" type="image/x-icon" />
+<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
+<!-- TMPL_IF NAME="searchdesc" --><!-- TMPL_IF name="total" --><link rel="alternate" type="application/rss+xml" title="RSS" href="http://a9.com/-/opensearch/search/B0007WF826/<!-- TMPL_VAR NAME="searchdesc" -->?count=10&amp;startPage=1" /><!-- /TMPL_IF --><!-- /TMPL_IF -->
     <!-- TMPL_IF name="opacstylesheet" -->
 <style type="text/css">
     @import url(<!-- TMPL_VAR NAME='themelang' -->/includes/<!-- TMPL_VAR NAME="opacstylesheet" -->);
@@ -16,7 +17,6 @@
     @import url(<!-- TMPL_VAR NAME="themelang" -->/includes/<!-- TMPL_VAR NAME="opaclayoutstylesheet" -->);
 </style>
     <!-- /TMPL_IF -->
-
 <!-- TMPL_IF NAME="livesearch" -->
 <style type="text/css">
 	@import url(<!-- TMPL_VAR NAME="themelang" -->/includes/livesearch.css);
@@ -35,7 +35,7 @@
  	var newwin;
 	
 	// Open the popup window if it doesn't already exist and give it focus.
-	function PopWin(targeturl, windowname) {
+function PopWin(targeturl, windowname) {
 	
 		if (!newwin || newwin.closed) newwin = window.open(targeturl,windowname, "height=300,width=400,scrollbars=yes,resizable=yes");
 	  newwin.focus();
@@ -43,7 +43,7 @@
 	
   // Set the value of the form field to the passed value and optionally shift
 	// focus and close the popup.
-	function FillForm(val,formname,formfield) {
+function FillForm(val,formname,formfield) {
 	
 		document.forms[formname].elements[formfield].value = val;
 
@@ -54,9 +54,7 @@
 		newwin.close();
 	}
  
-
-
-	function openDictionary(dict, search, target) {
+function openDictionary(dict, search, target) {
 	    if ((dict == 'all') || (dict == 'publicationyear')) {
 	        alert("The selected field is not correct to search on dictionary.");
 		} else {
@@ -66,13 +64,13 @@
 	}
 
 	</script>
-	<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/catsearch.js"></script>
-	<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/main.js"></script>
+	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/catsearch.js"></script>
+	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/main.js"></script>
 	<!-- TMPL_IF NAME="AmazonContent" -->
-	<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/amazonimages.js"></script>
+	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/amazonimages.js"></script>
 	<!-- /TMPL_IF -->
-	<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/script.js"></script>
-	<script type="text/javascript" language="javascript" src="<TMPL_VAR NAME="themelang">/includes/basket.js"></script>
+	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/script.js"></script>
+	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/basket.js"></script>
 	<script type="text/javascript" language="javascript">
 	var MSG_BASKET_EMPTY = "You book bag is currently empty";
 	var MSG_RECORD_IN_BASKET = "This item is already in your book bag";
@@ -83,4 +81,3 @@
 	var MSG_NO_RECORD_ADDED = "No item was added to your book bag";
 </script>
 </head>
-<body<!-- TMPL_IF NAME="OpacNav" --> id="withnav"<!-- /TMPL_IF -->>





More information about the Koha-cvs mailing list