[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en/includes opac-top.inc,1.7,1.8

Paul POULAIN tipaul at users.sourceforge.net
Mon Jan 3 11:58:48 CET 2005


Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22299/koha-tmpl/opac-tmpl/css/en/includes

Modified Files:
	opac-top.inc 
Log Message:
adding "opacstylesheet" systempreference.
if this parameter is defined, the url is used instead of the default one.
So, you can have your own stylesheet somewhere, and use it instead of the official Koha one.

Index: opac-top.inc
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/includes/opac-top.inc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** opac-top.inc	24 Nov 2004 16:08:55 -0000	1.7
--- opac-top.inc	3 Jan 2005 10:58:46 -0000	1.8
***************
*** 4,8 ****
  <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
! 	<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang"-->/includes/opac.css" />
  	<title><!--TMPL_VAR name="LibraryName"--></title>
  	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/basket.js"></script>
--- 4,12 ----
  <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
! 	<!-- TMPL_IF name="opacstylesheet" -->
! 		<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="opacstylesheet"-->" />
! 	<!-- TMPL_ELSE -->
! 		<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang"-->/includes/opac.css" />
! 	<!-- /TMPL_IF -->
  	<title><!--TMPL_VAR name="LibraryName"--></title>
  	<script type="text/javascript" language="javascript" src="<!-- TMPL_VAR NAME="themelang" -->/includes/basket.js"></script>
***************
*** 20,24 ****
  	var MSG_NO_RECORD_ADDED = _("No biblio added");
  	function Dopop(link) {
! 		newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
  	}
  	</script>
--- 24,28 ----
  	var MSG_NO_RECORD_ADDED = _("No biblio added");
  	function Dopop(link) {
! 		newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
  	}
  	</script>





More information about the Koha-cvs mailing list