[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en images/che...
paul poulain
paul at koha-fr.org
Fri Mar 9 16:42:39 CET 2007
CVSROOT: /sources/koha
Module name: koha
Changes by: paul poulain <tipaul> 07/03/09 15:42:39
Added files:
koha-tmpl/intranet-tmpl/prog/en/images: checkall.gif
koha.org-logo.gif
patron-blank.png
search-audio-books.gif
search-books.gif
search-kids.gif
search-large-print.gif
search-local-history.gif
search-movies.gif
search-music.gif
search-reference.gif
search-software-web.gif
up.png
koha-tmpl/intranet-tmpl/prog/en/includes: action-catalogue.inc
doc-head-barcodes.inc
doc-head-close-addbiblio.inc
error-bottom.inc
error-top.inc
hierarchy.css
installer-doc-head-close.inc
intranet-print.css
menu-barcodes.inc
menu-bookshelves.inc
menu-reports.inc
san-op.css
koha-tmpl/intranet-tmpl/prog/en/includes/calendar: menuarrow.gif
koha-tmpl/intranet-tmpl/prog/en/installer: auth.tmpl step1.tmpl
step2.tmpl step3.tmpl
koha-tmpl/intranet-tmpl/prog/en/maint: catmaintain.tmpl
koha-tmpl/intranet-tmpl/prog/en/reports: reservereport.tmpl
koha-tmpl/intranet-tmpl/prog/en/serials: checkexpiration.tmpl
serials-collection.tmpl
serials-edit.tmpl
serials-recieve.tmpl
Log message:
rel_3_0 moved to HEAD (introducing new files)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/checkall.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/koha.org-logo.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/patron-blank.png?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-audio-books.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-books.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-kids.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-large-print.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-local-history.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-movies.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-music.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-reference.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/search-software-web.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/images/up.png?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/action-catalogue.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-barcodes.inc?cvsroot=koha&rev=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close-addbiblio.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/error-bottom.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/error-top.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/hierarchy.css?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-print.css?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/menu-barcodes.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/menu-bookshelves.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/menu-reports.inc?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/san-op.css?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/includes/calendar/menuarrow.gif?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/installer/auth.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/installer/step1.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/installer/step2.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/installer/step3.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/maint/catmaintain.tmpl?cvsroot=koha&rev=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/reports/reservereport.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/serials/checkexpiration.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/serials/serials-collection.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/serials/serials-edit.tmpl?cvsroot=koha&rev=1.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/serials/serials-recieve.tmpl?cvsroot=koha&rev=1.4
Patches:
Index: images/checkall.gif
===================================================================
RCS file: images/checkall.gif
diff -N images/checkall.gif
Binary files /dev/null and /tmp/cvsZYOJOF differ
Index: images/koha.org-logo.gif
===================================================================
RCS file: images/koha.org-logo.gif
diff -N images/koha.org-logo.gif
Binary files /dev/null and /tmp/cvsCWuFpG differ
Index: images/patron-blank.png
===================================================================
RCS file: images/patron-blank.png
diff -N images/patron-blank.png
Binary files /dev/null and /tmp/cvsL89NSE differ
Index: images/search-audio-books.gif
===================================================================
RCS file: images/search-audio-books.gif
diff -N images/search-audio-books.gif
Binary files /dev/null and /tmp/cvsg6XTwF differ
Index: images/search-books.gif
===================================================================
RCS file: images/search-books.gif
diff -N images/search-books.gif
Binary files /dev/null and /tmp/cvs3S4QnI differ
Index: images/search-kids.gif
===================================================================
RCS file: images/search-kids.gif
diff -N images/search-kids.gif
Binary files /dev/null and /tmp/cvsIjerRG differ
Index: images/search-large-print.gif
===================================================================
RCS file: images/search-large-print.gif
diff -N images/search-large-print.gif
Binary files /dev/null and /tmp/cvsVH14oH differ
Index: images/search-local-history.gif
===================================================================
RCS file: images/search-local-history.gif
diff -N images/search-local-history.gif
Binary files /dev/null and /tmp/cvs4jTHxK differ
Index: images/search-movies.gif
===================================================================
RCS file: images/search-movies.gif
diff -N images/search-movies.gif
Binary files /dev/null and /tmp/cvsBuBPmL differ
Index: images/search-music.gif
===================================================================
RCS file: images/search-music.gif
diff -N images/search-music.gif
Binary files /dev/null and /tmp/cvsMDBIKJ differ
Index: images/search-reference.gif
===================================================================
RCS file: images/search-reference.gif
diff -N images/search-reference.gif
Binary files /dev/null and /tmp/cvs5S7AiK differ
Index: images/search-software-web.gif
===================================================================
RCS file: images/search-software-web.gif
diff -N images/search-software-web.gif
Binary files /dev/null and /tmp/cvsqV9miN differ
Index: images/up.png
===================================================================
RCS file: images/up.png
diff -N images/up.png
Binary files /dev/null and /tmp/cvs1dOIKL differ
Index: includes/action-catalogue.inc
===================================================================
RCS file: includes/action-catalogue.inc
diff -N includes/action-catalogue.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/action-catalogue.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,57 @@
+ <div id="action">
+
+ <div class="edit">
+ <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=<!--TMPL_VAR Name="current_framework" -->&op=">
+ Edit biblio
+ </a>
+ <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=<!--TMPL_VAR Name="current_framework" -->&op=duplicate">
+ Duplicate
+ </a>
+ <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+ Edit item
+ </a>
+ <a href="javascript:confirm_deletion()">
+ Delete
+ </a>
+ </div>
+
+ <div class="view">
+ <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+ Complete
+ </a>
+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+ Normal
+ </a>
+ <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+ ISBD
+ </a>
+ </div>
+
+ <div class="others">
+ <a href="#" onclick="JavaScript:window.open('/cgi-bin/koha/bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->','Add_to_bookshelf','width=500,height=400,toolbar=false,scrollbars=yes'); return false;">
+ Add to shelf
+ </a>
+ <a href="/cgi-bin/koha/catalogue/detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+ Print
+ </a>
+ <!-- TMPL_IF name="subscriptionsnumber" -->
+ <a href="/cgi-bin/koha/serials/serials-home.pl?searched=1&title_filter=<!-- TMPL_VAR NAME="subscriptiontitle" -->">
+ Subscription(s)
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="norequests" -->
+ <!-- TMPL_ELSE -->
+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
+ Request
+ </a>
+ <!-- /TMPL_IF -->
+
+ <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&title=<!-- TMPL_VAR NAME="title"-->&author=<!-- TMPL_VAR NAME="author"-->" >
+ Issue history
+ </a>
+
+ <!-- TMPL_IF NAME="CAN_user_parameters"-->
+ <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&module=CATALOGUING&action=MODIFY&object=<!-- TMPL_VAR NAME="biblionumber"-->">Modification Log</a>
+ <!-- /TMPL_IF -->
+ </div>
+ </div>
Index: includes/doc-head-barcodes.inc
===================================================================
RCS file: includes/doc-head-barcodes.inc
diff -N includes/doc-head-barcodes.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/doc-head-barcodes.inc 9 Mar 2007 15:42:39 -0000 1.3
@@ -0,0 +1,5 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>
\ No newline at end of file
Index: includes/doc-head-close-addbiblio.inc
===================================================================
RCS file: includes/doc-head-close-addbiblio.inc
diff -N includes/doc-head-close-addbiblio.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/doc-head-close-addbiblio.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,9 @@
+</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<link rel="shortcut icon" href="<!-- TMPL_VAR NAME='themelang' -->/includes/favicon.ico" type="image/x-icon" />
+<style type="text/css">
+ @import url(<!-- TMPL_VAR NAME='themelang' -->/includes/intranet.css);
+</style>
+</head>
+
+<body>
\ No newline at end of file
Index: includes/error-bottom.inc
===================================================================
RCS file: includes/error-bottom.inc
diff -N includes/error-bottom.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/error-bottom.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,17 @@
+<br clear="all">
+<p> </p>
+
+<div class="center">
+<a href="/cgi-bin/koha/mainpage.pl">Home</a> ||
+<a href="/cgi-bin/koha/catalogue/search.pl">Catalogue</a> ||
+<a href="/cgi-bin/koha/members/members-home.pl">Members</a> ||
+<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ||
+<a href="/cgi-bin/koha/circ/circulation.pl">Circulation</a> ||
+<a href="/cgi-bin/koha/reports-home.pl">Reports</a> ||
+<a href="/cgi-bin/koha/admin-home.pl">Parameters</a> ||
+<a href="/cgi-bin/koha/about.pl">About</a> ||
+Help
+</div>
+
+</body>
+</html>
Index: includes/error-top.inc
===================================================================
RCS file: includes/error-top.inc
diff -N includes/error-top.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/error-top.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+<title>KOHA: INTRANET: Catalogue</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf8">
+
+<script language="JavaScript">
+<!-- Hide from old browsers
+function openWindow(targeturl, windowname) {
+newwin =
+window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
+}
+// end hiding -->
+</script>
+
+<script language="JavaScript" type="text/javascript">
+function Help() {
+ newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
+}
+</script>
+
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
+<style type="text/css">
+.catalogue {
+ background-color:#ad11ad;
+ color:#FFFFFF;
+ background-image:none;
+ text-decoration: normal;
+ }
+a.catalogue:hover {
+ background-color: #ad11ad;
+ color: #FFFFFF;
+ text-decoration: none;
+ }
+</style>
+</head>
+
+<body>
+<!-- MENUS -->
+<div id="menubar">
+ <span class="koha">KOHA</span>
+ <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
+ <a class="acquisition" href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
+ <a class="catalogue" href="/cgi-bin/koha/catalogue/search.pl">Catalogue</a>
+ <a class="circulation" href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
+ <a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
+ <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
+ <a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
+ <a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
+ <a class="about" href="/cgi-bin/koha/about.pl">About</a>
+ <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Help</a>
+</div>
+<div id="submenu">
+ <span class="koha">options >> </span>
+ <a href="/cgi-bin/koha/catalogue/search.pl" class="submenu2">search</a>
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl" class="submenu">Virtual shelves</a>
+ <a href="/cgi-bin/koha/cataloguing/addbiblio.pl" class="submenu2">Add biblio</a>
+ <a href="/cgi-bin/koha/maint/catmaintain.pl" class="submenu">Cat maintenance</a>
+</div>
+<!-- TMPL_IF NAME="loggedinusername" -->
+ <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
+<!-- TMPL_ELSE -->
+ <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
+<!-- /TMPL_IF -->
Index: includes/hierarchy.css
===================================================================
RCS file: includes/hierarchy.css
diff -N includes/hierarchy.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/hierarchy.css 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,105 @@
+.hierarchies {
+ background-color:#fff;
+ color:#000000;
+ padding:5px;
+ margin-left:50px;
+ -moz-border-radius:6px;
+ display:block;
+ font-size:10px;
+}
+.hierarchy {
+ padding:5px;
+ width:90%;
+ -moz-border-radius:6px;
+ display:block;
+}
+.child {
+ display:none;
+ margin-left : 50px;
+ width:150%;
+}
+.child a:hover{
+ background-color:#BFCFFF;
+}
+.parent {
+ display:none;
+ margin-left : -50px;
+}
+.parent a:hover{
+ background-color:#BFCFFF;
+}
+.child0{
+ width : 20%;
+ text-align : left;
+}
+.child0 a:hover{
+ background-color:#BFCFFF;
+}
+.child1{
+ width : 20%;
+ text-align : left;
+ margin-left : 50px;
+}
+.child1 a:hover{
+ background-color:#BFCFFF;
+}
+.child2{
+ width : 20%;
+ text-align : left;
+ margin-left : 100px;
+}
+.child2 a:hover{
+ background-color:#BFCFFF;
+}
+.child3{
+ width : 20%;
+ text-align : left;
+ margin-left : 150px;
+}
+.child3 a:hover{
+ background-color:#BFCFFF;
+}
+.child4{
+ width : 20%;
+ text-align : left;
+ margin-left : 200px;
+}
+.child4 a:hover{
+ background-color:#BFCFFF;
+}
+.child5{
+ width : 20%;
+ text-align : left;
+ margin-left : 250px;
+}
+.child5 a:hover{
+ background-color:#BFCFFF;
+}
+.child6{
+ width : 20%;
+ text-align : left;
+ margin-left : 300px;
+}
+.child6 a:hover{
+ background-color:#BFCFFF;
+}
+.child7{
+ width : 20%;
+ text-align : left;
+ margin-left : 350px;
+}
+.child7 a:hover{
+ background-color:#BFCFFF;
+}
+.child8{
+ width : 10%;
+ text-align : left;
+ margin-left : 400px;
+}
+.child8 a:hover{
+ background-color:#BFCFFF;
+}
+.parents{
+ display:inline;
+ cursor:crosshair;
+}
\ No newline at end of file
Index: includes/installer-doc-head-close.inc
===================================================================
RCS file: includes/installer-doc-head-close.inc
diff -N includes/installer-doc-head-close.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/installer-doc-head-close.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,65 @@
+</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+<style type="text/css" media="screen">
+
+html { background: #eee; }
+
+body {
+ background: #fff;
+ color: #000;
+ font-family: Georgia, "Times New Roman", Times, serif;
+ margin-left: 20%;
+ margin-right: 20%;
+ padding: .2em 2em;
+}
+
+h1 {
+ color: #006;
+ font-size: 18px;
+ font-weight: lighter;
+}
+
+h2 { font-size: 16px; }
+
+h3 {
+ color: #006;
+ font-size: 18px;
+ font-weight: lighter;
+}
+
+p, li, dt {
+ line-height: 140%;
+ padding-bottom: 2px;
+}
+
+ul, ol { padding: 5px 5px 5px 20px; }
+
+#logo { margin-bottom: 2em; }
+
+.step a, .step input { font-size: 2em; }
+
+td input { font-size: 1.5em; }
+
+.step, th { text-align: right; }
+
+#bloc25, .bloc25 {
+ float:left;
+ border:1px solid #000000;
+ margin:0px;
+ padding:0px;
+
+}
+
+#footer {
+ text-align: center;
+ border-top: 1px solid #ccc;
+ padding-top: 1em;
+ font-style: italic;
+}
+
+</style>
+</head>
+
+<body>
+<h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/en/images/koha.org-logo.gif" /></h1>
Index: includes/intranet-print.css
===================================================================
RCS file: includes/intranet-print.css
diff -N includes/intranet-print.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/intranet-print.css 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,235 @@
+body {
+ font-family : Verdana, Geneva, Arial, sans-serif;
+ font-size : .9em;
+}
+
+table {
+ border-collapse : inherit;
+ border : 1px solid #CCCCCC;
+ margin : 1em 0;
+}
+
+caption {
+ font-size : 140%;
+ text-align : left;
+ font-weight : bold;
+}
+
+td,th {
+ /*border-left : 1px solid #CCCCCC;
+ border-bottom : 1px solid #CCCCCC;*/
+ border : 1px solid #CCCCCC;
+ padding : 5px;
+}
+
+th {
+ background-color : #CCCCCC;
+ border-left : 1px solid #999999;
+ border-bottom : 1px solid #999999;
+}
+
+th[scope=row] {
+ background-color : #EEEEEE;
+ text-align : right;
+}
+
+input {
+ font-size:0.9em;
+}
+
+select {
+ font-size:0.9em;
+}
+
+input[type=submit], input[type=button], input[type=reset] {
+ background-color : #6699CC;
+ color : #FFFFFF;
+ font-size : 1em;
+ font-weight : bold;
+}
+
+.searchresults table tr:hover{
+ background-color: #CCFFFF;
+}
+
+tr.highlight td, tr.highlight th {
+ background-color : #EEEEEE;
+}
+
+.here {
+ color: black;
+ text-decoration:none;
+}
+
+#problem {
+ color: red;
+ background-color:white;
+ font-weight : bold;
+}
+
+#admin_stopwords_select UL {
+ width: 600px;
+}
+
+#admin_stopwords_select UL LI {
+ white-space: nowrap;
+}
+
+legend {
+ font-size:120%;
+ font-weight:bold;
+}
+
+.problem {
+ color: white;
+ background-color:red;
+ font-weight : bold;
+}
+
+/* css styles for reserves color alerts */
+.onloan {
+ background-color: #FFED3D;
+}
+
+.reserved {
+ background-color: #8EBAFF;
+}
+
+.transfered {
+ background-color: #F9FF9A;
+}
+
+.inwait {
+ background-color: #33CC99;
+}
+
+.other {
+ background-color: #FF0000;
+}
+
+.available {
+ background-color: white;
+}
+
+.unavailable {
+ background-color: #FFED3D;
+}
+
+.hasexpirated {
+ text-decoration: line-through;
+}
+
+/* style for search terms in catalogsearch */
+.term {
+ background-color:yellow;
+}
+
+/* end of css styles for reserves color alerts */
+
+/* MAIN MENU STYLES */
+#mainmenu {
+display:none;
+}
+
+/* submenus styles */
+#submenu {
+ display:none;
+}
+/*Action button*/
+#action {
+ display:none;
+}
+
+/* Main body style */
+#main {
+ margin-left:0%;
+}
+
+/* facets bloc */
+#facets {
+ display:none;
+}
+
+/* the USER information block */
+#librarian_information {
+ display:none;
+}
+
+/* css style for reregistration alert */
+
+.reregistrinfo {
+ color: #6699cc;
+ font-weight : bold;
+ background-color : #eeeeee;
+}
+/* MARC editor */
+
+/* styles for the 11 buttons that the user can click on */
+/* the design of the active tab button (only 1 at a given time)*/
+.tab_active {
+ color: #6699CC;
+ background-color : #CCCCCC;
+ font-size : 1em;
+ border: 2px inset;
+ font-weight : bold;
+ text-decoration:none;
+ display: inline;
+ text-decoration:none;
+ margin-left:10px;
+}
+
+#onlinehelp {
+ display:none;
+}
+
+/* the design of the INactives tab buttons (all other tabs) */
+.tab_inactive {
+ background-color : #6699CC;
+ color : #FFFFFF;
+ font-size : 1em;
+ font-weight : bold;
+ display:inline;
+ border: 2px outset;
+ text-decoration:none;
+ margin-left:10px;
+}
+
+/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
+#tabs a {
+ color:white;
+ text-decoration:none;
+ padding-right:10px;
+ padding-left:10px;
+}
+
+/* specify that we to do when the mouse is on 1 button */
+#tabs a:hover {
+ border: 2px inset;
+}
+
+#tabs {
+ margin-top:45px;
+ margin-bottom:5px;
+}
+
+/* styles for the 11 content blocks */
+/* the property for hidden tabs */
+.content_hidden {
+ height:0px; /* you propably don't need to change this one */
+ visibility:hidden; /* you propably don't need to change this one */
+ display:none;
+}
+
+/* the property for the displayed tab */
+.content_visible {
+ height:0px; /* you propably don't need to change this one */
+ visibility:visible; /* you propably don't need to change this one */
+ display:block;
+}
+
+.lineSelected {
+ background-color:yellow;
+}
+.DoNotPrint {
+ display:none;
+}
\ No newline at end of file
Index: includes/menu-barcodes.inc
===================================================================
RCS file: includes/menu-barcodes.inc
diff -N includes/menu-barcodes.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/menu-barcodes.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,7 @@
+<div id="submenu">
+ <a href="/cgi-bin/koha/barcodes/barcodes.pl">home</a>
+ <a href="/cgi-bin/koha/barcodes/barcodesGenerator.pl">barcodes generator</a>
+ <a href="/cgi-bin/koha/barcodes/label-home.pl">label</a>
+</div>
+
+<div id="main">
Index: includes/menu-bookshelves.inc
===================================================================
RCS file: includes/menu-bookshelves.inc
diff -N includes/menu-bookshelves.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/menu-bookshelves.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,5 @@
+<div id="submenu">
+ <a href="/cgi-bin/koha/bookshelves/shelves.pl">Shelves</a>
+</div>
+
+<div id="main">
\ No newline at end of file
Index: includes/menu-reports.inc
===================================================================
RCS file: includes/menu-reports.inc
diff -N includes/menu-reports.inc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/menu-reports.inc 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,5 @@
+<div id="submenu">
+ <a href="/cgi-bin/koha/reports/reports-home.pl">home</a>
+</div>
+
+<div id="main">
Index: includes/san-op.css
===================================================================
RCS file: includes/san-op.css
diff -N includes/san-op.css
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ includes/san-op.css 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,414 @@
+body {
+ font-family : Verdana, Geneva, Arial, sans-serif;
+ font-size : 1.0em;
+ background-color : #eeeeee;
+ text-align: left;
+}
+
+h1 {
+ font-size: 1.9em;
+ background-color : #384b73;
+ color : white;
+ text-align: center;
+ padding-bottom : 6px;
+ display:block;
+}
+
+h2 {
+ color : #384b73;
+ text-align: left;
+ padding-bottom : 6px;
+ display:block;
+ font-size:110%;
+}
+h3 {
+ color : #384b73;
+ text-align: left;
+ padding-bottom : 6px;
+ display:inline;
+ font-size:100%;
+ font-weight:normal;
+}
+
+label {
+ font-style:italic;
+ vertical-align:top;
+/* display:block;
+ float:left;
+ text-align:right;
+ width:8em;
+ margin-right:0.2em;*/
+}
+
+p {
+ margin-bottom:0px;
+ margin-top:0px;
+ margin-left:10px;
+ margin-right:10px;
+ padding:0px;
+}
+
+/* Alternate css proposal : uncomment this (and comment #action a below), and action menu will appear on the right, vertically */
+/*
+#action {
+float:right;
+}
+#action a {
+ background-color : #eec95a;
+ color : #FFFFFF;
+ font-size : 1em;
+ border: 3px;
+ font-weight : bold;
+ margin-right:5px;
+ margin-bottom:5px;
+ text-decoration:none;
+ display: block;
+}
+*/
+
+#action {
+ margin-top:5px;
+ margin-bottom:20px;
+}
+#action a {
+ background-color : #eec95a;
+ color : #FFFFFF;
+ font-size : 1em;
+ border: 2px outset;
+ font-weight : bold;
+ margin:0px 5px 0px 0px;
+ padding-right:5px;
+ padding-left:5px;
+ text-decoration:none;
+ display: inline;
+}
+#action a:hover {
+ border: 2px inset;
+ background-color:#384b73;
+}
+
+a:link, a:visited, a:active {
+ text-decoration : underline;
+ color :navy;
+}
+a:hover {
+ text-decoration : none;
+ color : orange;
+}
+
+table {
+ border-collapse : collapse;
+ border-top : 1px solid #CCCCCC;
+ border-right : 1px solid #CCCCCC;
+ margin : 1em 0;
+}
+
+caption {
+ font-size : 140%;
+ text-align : left;
+ font-weight : bold;
+}
+
+td,th {
+ border-left : 1px solid #CCCCCC;
+ border-bottom : 1px solid #CCCCCC;
+ padding : 5px;
+}
+
+th {
+ background-color : #384b73;
+ color : white;
+ border-left : 1px solid #999999;
+ border-bottom : 1px solid #999999;
+}
+
+th[scope=row] {
+ background-color : #EEEEEE;
+ color:black;
+ text-align : right;
+}
+
+input {
+ font-size:0.8em;
+}
+
+select {
+ font-size:0.8em;
+ border : 1px solid black;
+ padding : 1px;
+}
+
+li {
+margin : 0px 0px 0px 10px;
+}
+
+input[type=submit], input[type=button], input[type=reset] {
+ font-size:0.8em;
+ background-color : #eec95a;
+ color : #FFFFFF;
+ font-size : 1em;
+ border-width:2px;
+ font-weight : bold;
+}
+input:hover[type=submit], input:hover[type=button], input:hover[type=reset] {
+ border:2px inset;
+}
+
+input[type=text] {
+ font-size : 0.8em;
+ font-weight : bold;
+ border : 1px solid black;
+ margin : 0px 2px 0px 0px;
+ padding : 2px;
+}
+
+tr.highlight td, tr.highlight th {
+ background-color : #FFF;
+}
+
+#problem {
+ color: red;
+ background-color: #eee;
+ font-weight : bold;
+}
+
+legend {
+ font-size: 1.3em;
+ font-weight:bold;
+ background-color : #384b73;
+ color : white;
+ padding : 0px 5px 0px 5px;
+}
+fieldset {
+ border : 1px solid #374b73;
+ display: inline;
+ vertical-align:top;
+}
+
+.problem {
+ color: white;
+ background-color:red;
+}
+
+/* css styles for reserves color alerts */
+.onloan {
+ background-color: #FFED3D;
+}
+
+.reserved {
+ background-color: #8EBAFF;
+}
+
+.transfered {
+ background-color: #F9FF9A;
+}
+
+.inwait {
+ background-color: #33CC99;
+}
+
+.other {
+ background-color: #FF0000;
+}
+
+/* end of css styles for reserves color alerts */
+
+/* MAIN MENU STYLES */
+#mainmenu {
+ display:block;
+ float:left;
+ font-weight : normal;
+ background-color : #eee;
+ margin-right: 5px;
+ padding-right: 5px;
+ border-right:1px solid black;
+ font-size:0.8em;
+}
+
+#mainmenu a {
+ display:block;
+ margin-bottom:0px;
+ padding-left :5px;
+ text-decoration:none;
+ font-weight:bold;
+ color:black;
+}
+
+
+#mainmenu a:hover {
+ display:block;
+ margin-bottom:0px;
+ padding-left :5px;
+ text-decoration:none;
+ font-weight:bold;
+ background-color:#6699cc;
+ color:white;
+}
+
+#mainmenu ul a {
+ display:block;
+ margin-bottom:5px;
+ padding-left :5px;
+ text-decoration:none;
+ font-weight:normal;
+ color:black;
+}
+#mainmenu ul a:hover {
+ display:block;
+ margin-bottom:5px;
+ padding-left :5px;
+ text-decoration:none;
+ font-weight:normal;
+ background-color:#6699cc;
+ color:white;
+}
+
+#mainmenu ul {
+ list-style-type: none;
+ padding-left:20px;
+ margin-bottom:0px;
+ margin-top:0px;
+}
+
+#mainmenu li {
+ list-style-type: none;
+ padding-left:0px;
+ margin-left:0px;
+ margin-bottom:0px;
+ margin-top:0px;
+}
+
+#mainmenu label {
+ width:4em;
+}
+/* submenus styles */
+#submenu {
+ margin-left:0%;
+ font-weight : normal;
+ /*display:left;*/
+}
+
+#submenu a {
+ margin:5px;
+ padding : 0px 0px 4px 0px;
+ text-decoration:none;
+ color:black;
+ padding-right:15px;
+ font-size:1em;
+}
+
+#submenu a:hover {
+ margin:5px;
+ padding : 0px 0px 4px 0px;
+ background-color:#6699cc;
+ color:white;
+ padding-right:15px;
+ font-size:1em;
+}
+
+/* Main body style */
+#main {
+ margin-left:20%;
+ margin-bottom:0px;
+ padding-bottom:0px;
+}
+
+/* facets bloc */
+#facets {
+ float:left;
+/* background-color:#CCCCCC; */
+ margin-right:20px;
+ border:1px solid black;
+ font-size:75%;
+}
+
+#facets ul {
+ list-style-type: none;
+ padding-left:0px;
+ margin-bottom:0px;
+ margin-top:0px;
+}
+
+/* the USER information block */
+#librarian_information {
+/* position:absolute; */
+ float:right;
+ font-size:10pt;
+}
+/* css style for reregistration alert */
+
+.reregistrinfo {
+ color: #6699cc;
+ font-weight : bold;
+ background-color : #eeeeee;
+}
+
+/* MARC editor */
+
+/* styles for the 11 buttons that the user can click on */
+/* the design of the active tab button (only 1 at a given time)*/
+.tab_active {
+ background-color : #eec95a;
+ font-size : 1em;
+ border: 2px inset;
+ font-weight : bold;
+ text-decoration:none;
+ display: inline;
+ color:white;
+ text-decoration:none;
+ margin-left:10px;
+}
+/* the design of the INactives tab buttons (all other tabs) */
+.tab_inactive {
+ background-color:#384b73;
+ font-size : 1em;
+ border: 2px outset;
+ font-weight : bold;
+ display: inline;
+ color:white;
+ text-decoration:none;
+ margin-left:10px;
+}
+
+/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
+#tabs a {
+ color:white;
+ text-decoration:none;
+ padding-right:10px;
+ padding-left:10px;
+}
+
+/* specify that we to do when the mouse is on 1 button */
+#tabs a:hover {
+ border: 2px inset;
+}
+
+#tabs {
+ margin-top:45px;
+ margin-bottom:5px;
+}
+
+/* styles for the 11 content blocks */
+/* the property for hidden tabs */
+.content_hidden {
+ height:0px; /* you propably don't need to change this one */
+ visibility:hidden; /* you propably don't need to change this one */
+}
+/* the property for the displayed tab */
+.content_visible {
+ height:0px; /* you propably don't need to change this one */
+ visibility:visible; /* you propably don't need to change this one */
+}
+
+#onlinehelp {
+ float:right;
+}
+
+.term {
+ background-color:yellow;
+}
+
+.searchresults table tr:hover{
+ background-color:#ffffde
+
+}
Index: includes/calendar/menuarrow.gif
===================================================================
RCS file: includes/calendar/menuarrow.gif
diff -N includes/calendar/menuarrow.gif
Binary files /dev/null and /tmp/cvs3eLu7T differ
Index: installer/auth.tmpl
===================================================================
RCS file: installer/auth.tmpl
diff -N installer/auth.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ installer/auth.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,48 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+ <!-- TMPL_IF NAME="nopermission" -->Koha › Error: Access Denied<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="timed_out" -->Koha › Error: Session Timed Out --<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="different_ip" -->Koha › Error: IP Address Change -- <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="invalid_username_or_password" -->Koha › Error Invalid Username or Password -- <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="loginprompt" -->Koha › Welcome to the Koha Web Installer<!-- /TMPL_IF -->
+ <!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
+<!-- TMPL_IF NAME="nopermission" -->
+<!-- This is what is displayed if user doesn't have permission --><h3>Login Error</h3>
+<p>Sorry, Koha doesn't think you have permission for this page.</p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="timed_out" -->
+<!-- This is what is displayed if login has timed out -->
+<h3>Login Error</h3><p>Sorry, your session has timed out. Please login again.</p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="different_ip" -->
+<!-- This is what is displayed if user's IP has changed -->
+<h3>Login Error</h3><p>You are accessing Koha from a different IP address! Please login again.</p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="invalid_username_or_password" -->
+<!-- This is what is displayed if the username or password doesn't work -->
+<h3>Login Error</h3><p>You entered an incorrect username or password. Please try again.</p>
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="loginprompt" -->
+<!-- login prompt time-->
+<form action="<!-- TMPL_VAR NAME="url" -->" method="post" name="mainform" id="mainform">
+<!-- TMPL_LOOP NAME="INPUTS" -->
+ <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
+<!-- /TMPL_LOOP -->
+<h3>Welcome to the Koha Web Installer</h3>
+<p>Before we begin, please verify you have the correct credentials to continue. Please log in
+with the username and password given to you by your systems administrator and located in your
+<code>koha.xml</code>.</p>
+<table>
+ <caption>Please enter your username and password</caption>
+ <tr><th scope="row"><label for="userid">Username:</label></th><td><input name="userid" id="userid" /></td></tr>
+ <tr><th scope="row"><label for="password">Password:</label></th><td><input type="password" name="password" id="password" /></td></tr>
+ </table>
+<p><input type="submit" value="Submit" /></p>
+</form>
+
+<!-- /TMPL_IF -->
+
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
Index: installer/step1.tmpl
===================================================================
RCS file: installer/step1.tmpl
diff -N installer/step1.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ installer/step1.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,85 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha › Web Installer › Step 1
+<!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
+<h1>Koha › Web Installer › Step 1</h1>
+<!--TMPL_UNLESS Name="language"-->
+<p>You are about to install Koha.</p>
+<form name="language" method="post">
+
+<p>Please pick up your language from the following list. If your langauge is not
+listed, please inform your systems administrator.</p>
+
+<select name="language">
+ <!--TMPL_LOOP Name="languages"-->
+ <option value="<!--TMPL_VAR Name="value" -->""><!--TMPL_VAR Name="description"-->
+<!-- </option> -->
+ <!--/TMPL_LOOP -->
+</select>
+</p>
+
+<p> Click Next to continue <input value="Next >>" type="submit"></p>
+</form>
+<!--/TMPL_UNLESS-->
+<!--TMPL_IF Name="language"-->
+ <!--TMPL_UNLESS Name="checkmodule"-->
+ <!--TMPL_IF Name="missing"-->
+ <p>Some perl modules are missing.<br />
+ <ul>
+ <!--TMPL_LOOP Name="missing"-->
+ <li><!--TMPL_VAR Name="name"-->
+ <!--TMPL_IF Name="usagemail"-->
+ <br/> This module is used whenever Koha has to send email.
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="usagebarcode"-->
+ <br/> This module is needed if you intend to print barcodes.
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="usagespine"-->
+ <br/> This module is needed if you intend to print spine labels.
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="usageLDAP"-->
+ <br/> This module is needed if you intend to use LDAP for authentication.
+ <!--/TMPL_IF-->
+ </li>
+ <!--/TMPL_LOOP-->
+ Please consider installing these modules before continuing.
+ <pre>
+ <!--TMPL_LOOP Name="missing"-->
+ perl -MCPAN -e "install <!--TMPL_VAR Name="name"-->";
+ <!--/TMPL_LOOP-->
+ </pre>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="problems"-->
+ <p>I encountered some problems.</p>
+ <ul>
+ <!--TMPL_IF Name="perlversion"-->
+ <li>Your perl version seems to be obsolete.
+ Please upgrade to a newer version of Perl (at least Version 5.006001).</li>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="perllocation"-->
+ <li>Your perl installation is not in /usr/bin/.
+ This version of the Web Installer expects perl to be in /usr/bin/.</li>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="zebra"-->
+ <li>Zebra server doesn't seem to be installed or I can't find it.
+ Please install it before continuing.</li>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="mysql"-->
+ <li>MySQL server doesn't seem to be installed or I can't find it.
+ Please install it before continuing.</li>
+ <!--/TMPL_IF-->
+ <!--TMPL_IF Name="yaz"-->
+ <li>Yaz doesn't seem to be installed or I can't find it.
+ Please install it before continuing.</li>
+ <!--/TMPL_IF-->
+ </ul>
+ <!--/TMPL_IF-->
+ <!--/TMPL_UNLESS-->
+ <!--TMPL_IF Name="checkmodule"-->
+<form name="checkmodules" action="install.pl">
+<p> All dependencies installed.
+</p>
+<input type="hidden" name="step" value="2" />
+<p>Please click next to continue <input value="Next >>" type="submit"></p>
+</form>
+ <!--/TMPL_IF-->
+<!--/TMPL_IF-->
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
Index: installer/step2.tmpl
===================================================================
RCS file: installer/step2.tmpl
diff -N installer/step2.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ installer/step2.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,54 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha › Web Installer › Step 2
+<!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
+<h1>Koha › Web Installer › Step 2</h1>
+<h2 align="center">Database settings:</h2>
+<ul>
+<li><em>database name : </em><!--TMPL_VAR NAME="dbname"--></li>
+<li><em>database host : </em><!--TMPL_VAR NAME="hostname"--></li>
+<li><em>database port : </em><!--TMPL_VAR NAME="port"--> (probably OK if blank)</li>
+<li><em>database user : </em><!--TMPL_VAR NAME="user"--></li>
+</ul>
+<div>
+<!--TMPL_IF NAME="mysqlconnection"-->
+<form name="checkmysqlparameters" type="post" action="install.pl">
+ <!--TMPL_IF NAME="checkdatabaseaccess"-->
+ <p>Connection established.</p>
+ <!--TMPL_IF NAME="checkdatabasecreated"-->
+ <p>Database <code><!--TMPL_VAR NAME="dbname"--></code> exists.</p>
+ <!--TMPL_IF NAME="checkgrantaccess"-->
+ <p>User <code><!--TMPL_VAR NAME="user"--></code> has all required privileges on database <code><!--TMPL_VAR Name="dbname"--></code>.</p>
+ <!--TMPL_ELSE-->
+ <p class="error">user <code><!--TMPL_VAR NAME="user"--></code> doesn't have enough privilege on database <code><!--TMPL_VAR Name="dbname"--></code> </p>
+ <p class="tip"> Ask for or make a change in the user's privileges. Need help? See <a href=http://dev.mysql.com/doc/refman/4.1/en/grant.html>this page</a>. User <code><!--TMPL_VAR NAME="user"--></code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code><!--TMPL_VAR Name="dbname"--></code></p>
+ <!--/TMPL_IF-->
+ <!--TMPL_ELSE-->
+ <p class="error">No database named <code><!--TMPL_VAR NAME="dbname"--></code> detected.</p>
+ <p class="tip">Please create the database before continuing.</p>
+ <!--/TMPL_IF-->
+ <!--TMPL_ELSE-->
+ <div class="error"><!--TMPL_VAR name="error"--> : <!--TMPL_VAR NAME="message"-->
+ </div>
+ <div class="tip">
+ <ul>
+ <li>Check that your database is running.</li>
+ <li>Check your database settings in <code>koha.xml</code>. </li>
+ <li>Check the hostname setting in <code>koha.xml</code>.
+ Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
+ </div>
+ <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
+ <!--/TMPL_IF-->
+ <!-- TMPL_IF NAME="error" --><!-- TMPL_ELSE -->
+<input type="hidden" name="step" value="3" />
+<p> Click Next to continue <input value="Next >>" type="submit"></p>
+<!-- /TMPL_IF -->
+</form>
+<!--TMPL_ELSE-->
+<form name="checkinformation" type="post" action="install.pl">
+<input type="hidden" name="step" value="2" />
+<input type="hidden" name="checkmysql" value="1" />
+<p> Please click Next to continue if this information is correct <input value="Next >>" type="submit"></p>
+</form>
+<!--/TMPL_IF-->
+</div>
+</body>
+</html>
Index: installer/step3.tmpl
===================================================================
RCS file: installer/step3.tmpl
diff -N installer/step3.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ installer/step3.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,183 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha › Web Installer › Step 3
+<!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
+<h1>Koha › Web Installer › Step 3</h1>
+<!--TMPL_IF NAME="selectframeworks"-->
+<script language="JavaScript">
+<!--
+
+var sURL = unescape(window.location.pathname);
+
+function doLoad()
+{
+ // the timeout value should be the same as in the "refresh" meta-tag
+ setTimeout( "refresh()", 2*1000 );
+}
+
+function refresh(value)
+{
+ // This version of the refresh function will cause a new
+ // entry in the visitor's history. It is provided for
+ // those browsers that only support JavaScript 1.0.
+ //
+ sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
+ window.location.href = sURL;
+}
+
+//-->
+</script>
+
+<script language="JavaScript1.1">
+<!--
+function refresh(value)
+{
+ // This version does NOT cause an entry in the browser's
+ // page view history. Most browsers will always retrieve
+ // the document from the web-server whether it is already
+ // in the browsers page-cache or not.
+ //
+ sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
+ window.location.replace( sURL );
+}
+//-->
+</script>
+
+<script language="JavaScript1.2">
+<!--
+function refresh(value)
+{
+ // This version of the refresh function will be invoked
+ // for browsers that support JavaScript version 1.2
+ //
+
+ // The argument to the location.reload function determines
+ // if the browser should retrieve the document from the
+ // web-server. In our example all we need to do is cause
+ // the JavaScript block in the document body to be
+ // re-evaluated. If we needed to pull the document from
+ // the web-server again (such as where the document contents
+ // change dynamically) we would pass the argument as 'true'.
+ //
+ sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
+ window.location.replace( sURL );
+}
+//-->
+</script>
+</head>
+<body>
+<script language="JavaScript">
+function Hide(link) {
+ subfield = document.getElementById('bloc'+link);
+ var initstyle=subfield.style.display;
+ if (initstyle == 'block') subfield.style.display = 'none' ;
+ if (initstyle == 'none') subfield.style.display = 'block' ;
+}
+</script>
+<!--/TMPL_IF-->
+
+<!--TMPL_IF Name="selectframeworks"-->
+ <h2 align="center">Selecting Frameworks</h2>
+ <form name="frameworkselection" method="post" action="install.pl">
+ <input type="hidden" name="step" value="3" />
+ <input type="hidden" name="op" value="addframeworks" />
+ <p>Please select a framework language you want to import:</p>
+ <p><select name="fwklanguage" onchange="javascript:refresh(this.value)">
+ <!--TMPL_LOOP Name="languagelist" -->
+ <!--TMPL_IF Name="checked"--><option value="<!--TMPL_VAR Name="dirname"-->" selected ><!--TMPL_VAR Name="languagedescription"--></option>
+ <!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="dirname"-->"><!--TMPL_VAR Name="languagedescription"--></option>
+ <!--/TMPL_IF-->
+ <!--/TMPL_LOOP-->
+ </select>
+ </p>
+ <p><!--TMPL_LOOP Name="levelloop"-->
+ <a id="link<!--TMPL_VAR Name="code"-->" style="color: grey; cursor: se-resize;" onclick="Hide('<!--TMPL_VAR Name="code"-->')">+</a>
+ <!--TMPL_VAR Name="label"-->
+ <!--/TMPL_LOOP-->
+ </p>
+ <p>
+ <!--TMPL_LOOP Name="levelloop"-->
+ <div id="bloc<!--TMPL_VAR Name="code"-->" style="display:none">
+ <h3><!--TMPL_VAR Name="label"--></h3>
+ <!--TMPL_LOOP Name="frameworks"-->
+ <p><em><!--TMPL_VAR Name="fwkname"--></em>
+ <!--TMPL_IF Name="mandatory"--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked />
+ <!--TMPl_ELSE--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
+ <!--/TMPL_IF--><br />
+ <!--TMPL_VAR Name="fwkdescription"-->
+ </p>
+ <!--/TMPL_LOOP-->
+ </div>
+ </p>
+ <!--/TMPL_LOOP-->
+ <p>Hint: You can select specific frameworks from each framework set by clicking on the <code>+</code> to expand.</p>
+ <p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete,
+ please be patient</p>
+ <p><input type="submit" value="import" />
+ </p>
+ </form>
+ </p>
+<!--/TMPL_IF-->
+<!--TMPL_IF Name="addframeworks"-->
+ <h2 align="center">Data added</h2>
+ <p>Language :<!--TMPL_VAR Name="fwklanguage"--></p>
+ <!--TMPL_LOOP Name="list"-->
+ <h3> <!--TMPL_VAR Name="level"--></h3>
+ <p>
+ <ul>
+ <!--TMPL_LOOP Name="fwklist"-->
+ <li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><font color="red"><b></b><!--TMPL_VAR Name="error"--></font><!--/TMPL_IF--> </li>
+ <!--/TMPL_LOOP-->
+ </ul>
+ </p>
+ <!--/TMPL_LOOP-->
+ <p>Installation complete.<br/>
+ <p>Click on Finish to complete and load the Koha Staff Interface.
+ The installer will be disabled for security reasons.
+ <form name="finish">
+ <input type="hidden" name="step" value="3" />
+ <input type="hidden" name="op" value="finish" />
+ <input type="submit" value="Finish" /></form>
+ </p>
+ </p>
+<!--/TMPL_IF-->
+
+<!--TMPL_IF Name="importdatastructure"-->
+ <!--TMPL_IF Name="error"-->
+ <p>The following error occcurred while importing the database structure:</p>
+ <p class="error"><!-- TMPL_VAR NAME="error" --> </p>
+ <p>Please contact your system administrator</p>
+ <!-- TMPL_ELSE -->
+ <h2 align="center">Success</h2>
+ <ul>
+ <li>Database tables created</li>
+ </ul>
+ <a href="install.pl?step=3" class="button">Click here</a> to continue.
+ <!-- /TMPL_IF -->
+<!--/TMPL_IF-->
+<!--TMPL_IF Name="proposeimport"-->
+ <p>Now we're ready to create the database tables and fill them with some default data.</p>
+<a href="install.pl?step=3&op=importdatastructure" class="button">Click here</a> to continue.
+
+<!--/TMPL_IF-->
+<!--TMPL_IF Name="default"-->
+
+You can now <a href="install.pl?step=3&op=updatestructure" class="button">update your database</a>
+structure to the latest version if you are upgrading from a previous version of Koha.
+</p>
+<p>Otherwise, <a href="install.pl?step=3&op=selectframeworks" class="button">select frameworks to import</a> to continue the installation.</p>
+
+<!--/TMPL_IF-->
+<!--TMPL_IF Name="updatestructure"-->
+ <div><h2 align="center">Updating Mysql database</h2>
+ <!--TMPL_IF Name="updatereport"-->
+ <p>Update report :</p>
+ <p>
+ <!--TMPL_VAR Name="updatereport"-->
+ </p>
+ <!--TMPL_ELSE-->
+ <p>Everything went OK.</p>
+ <!--/TMPL_IF-->
+<a href="install.pl?step=3&op=selectframeworks" class="button">Continue to Framework Selection</a>
+ </div>
+<!--/TMPL_IF-->
+</body>
+</html>
Index: maint/catmaintain.tmpl
===================================================================
RCS file: maint/catmaintain.tmpl
diff -N maint/catmaintain.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ maint/catmaintain.tmpl 9 Mar 2007 15:42:39 -0000 1.3
@@ -0,0 +1,106 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalog Maintenance<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<!-- TMPL_IF NAME=allsub-p -->
+<table>
+<caption>Results</caption>
+<!-- TMPL_LOOP NAME="loop" -->
+<tr><td><a href="/cgi-bin/koha/maint/catmaintain.pl?type=allsub&sub=<!-- TMPL_VAR NAME="sub" escape=url -->" onclick="messenger('/cgi-bin/koha/maint/catmaintain.pl?type=modsub&sub=<!-- TMPL_VAR NAME=sub2 escape=url -->');window1.focus()"><!-- TMPL_VAR NAME="subject" escape=html --></a></td></tr>
+<!-- /TMPL_LOOP -->
+</table>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=modsub-p -->
+<form action="/cgi-bin/koha/maint/catmaintain.pl" method="post">
+This will change the subject headings on <strong>all</strong> the records this subject is applied to.
+<table>
+<caption>Subject Heading Global Update</caption>
+<tr><th scope="row"><label for="sub">Subject:</label></th><td><input type="text" value="<!-- TMPL_VAR NAME="sub" escape=html -->" name="sub" id="sub" size="40" /><input type="hidden" name="type" value="upsub" />
+<input type="hidden" name="oldsub" value="<!-- TMPL_VAR NAME="sub" escape=html -->" /></td></tr>
+</table>
+<input type="submit" value="Modify" />
+</form>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=upsub-p -->
+Successfully modified <!-- TMPL_VAR NAME="oldsub" escape=html -->
+is now <!-- TMPL_VAR NAME="sub" escape=html -->
+<!-- <![ IGNORE [
+<p><a href="/cgi-bin/koha/maint/catmaintain.pl" onclick="window0.focus()">Back to catalogue maintenance</a><br>
+<a href=nowhere onclick="self.close()">Close this window</a>
+]]> -->
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=undel-p -->
+<table>
+<thead>
+<tr><th>Title</th><th>Author</th><th>Undelete</th></tr>
+<!-- TMPL_LOOP NAME="loop" -->
+<tr>
+<td><!-- TMPL_VAR NAME="title" escape=html --></td>
+<td><!-- TMPL_VAR NAME="author" escape=html --></td>
+<td><a href="/cgi-bin/koha/maint/catmaintain.pl?<!-- TMPL_VAR NAME="undelete" escape="url" -->">Undelete</a></td>
+</tr>
+<!-- /TMPL_LOOP -->
+</table>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=finun-p -->
+<h3>Succesfully undeleted</h3>
+<p><a href="/cgi-bin/koha/maint/catmaintain.pl">Back to Catalogue Maintenance</a></p>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=fixitemtype-p -->
+<form method="post" action="/cgi-bin/koha/maint/catmaintain.pl">
+<table>
+<tr><th scope="row"><label for="itemtype">Itemtype:</label></th><td><input type="hidden" name="bi" value="<!-- TMPL_VAR NAME="bi" escape=html>" />
+<input type="hidden" name="type" value="updatetype" />
+<input type="text" name="itemtype" id="itemtype" value="<!-- TMPL_VAR NAME="item" escape=html>" /></td></tr>
+</table>
+<input type="submit" value="Change" />
+</form>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=updatetype-p -->
+<h3>Updated successfully</h3>
+<p><a href="/cgi-bin/koha/maint/catmaintain.pl">Back to Catalogue Maintenance</a></p>
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_IF NAME=mainmenu-p -->
+
+<h1>Catalog Maintenance</h1>
+<form action="/cgi-bin/koha/maint/catmaintain.pl" method="post">
+<table>
+<caption>Subject Maintenance</caption>
+<tr><th scope="row"><label for="sub">Show all subjects beginning with: </label></th><td><input type="text" name="sub" id="sub"><input type="hidden" name="type" value="allsub" /></td></tr>
+</table>
+<input type="submit" value="Show" />
+</form>
+
+<form action="/cgi-bin/koha/search.pl" method="post">
+<table>
+<caption>Group Maintenance</caption>
+<tr><th scope="row"><label for="title">Show all Titles beginning with:</label></th><td><input type="hidden" name="type" value="catmain"><input type="text" name="title" id="title" /></td></tr>
+<tr><th scope="row"><label for="item">Item Number:</label></th><td><input type="text" size="25" id="item" name="item" /></td></tr>
+</table>
+<input type="submit" value="Show" />
+</form>
+
+<form action="/cgi-bin/koha/maint/catmaintain.pl" method="post">
+<table>
+<caption>Undelete Biblio</caption>
+<tr><th scope="row"><label for="title">Show all Titles beginning with</label></th><td><input type="text" name="title" id="title" /><input type="hidden" name="type" value="undel" /></td></tr>
+</table>
+<input type="submit" value="Show" />
+</form>
+
+<!-- /TMPL_IF -->
+
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: reports/reservereport.tmpl
===================================================================
RCS file: reports/reservereport.tmpl
diff -N reports/reservereport.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ reports/reservereport.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,25 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Reserve Report: All Reserves<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<table>
+ <tr><th>Name</th><th>Reserve Date</th><th>Title</th><th>Class</th></tr>
+ <!-- TMPL_LOOP Name="dataloop" -->
+ <tr>
+ <td>
+ <!-- TMPL_VAR Name="name" -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="reservedate" -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="title" -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="classification" -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+</table>
+<p><!-- TMPL_VAR Name="count" --></p>
+
+
+<!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->
Index: serials/checkexpiration.tmpl
===================================================================
RCS file: serials/checkexpiration.tmpl
diff -N serials/checkexpiration.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ serials/checkexpiration.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,145 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+ Koha -- Serials expiration
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<!-- Additions to enable Calendar system -->
+<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-system.css">
+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar.js"></script>
+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-en.js"></script>
+<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/includes/calendar/calendar-setup.js"></script>
+<!-- End of additions -->
+
+<!-- TMPL_INCLUDE NAME="menus.inc" -->
+<!-- TMPL_INCLUDE NAME="menu-serials.inc" -->
+
+<h1>Check expiration</h1>
+
+<fieldset>
+ <legend>Select record which will expire</legend>
+
+ <form name="f"
+ action="/cgi-bin/koha/serials/checkexpiration.pl"
+ method="POST"
+ onsubmit="return CheckForm(this);">
+
+ <label for="title">Filter on title </label>
+ <input id="title" type="texte" name="title" size="15" value="<!--TMPL_VAR NAME="title"-->"/>
+ <br />
+ <label for="issn">Filter on ISSN</label>
+ <input id="issn" type="texte" name="issn" size="15" value="<!-- TMPL_VAR NAME="issn"-->"/>
+ <br />
+ <label for="date">with expiration date before</label>
+ <input id="date" type="texte" name="date" size="10" value="<!-- TMPL_VAR NAME="date"-->"/>
+ <script type="text/javascript">
+ Calendar.setup(
+ {
+ inputField : "date",
+ ifFormat : "%Y-%m-%d",
+ }
+ );
+ </script>
+ <input type="submit" value="Search" />
+ </form>
+</fieldset>
+
+<!-- TMPL_IF NAME="subscriptions_loop"-->
+<p>
+ <b><!-- TMPL_VAR NAME="numsubscription"--></b> subscription(s)
+ <!-- TMPL_IF NAME="title"-->
+ with title like <b><!-- TMPL_VAR NAME="title"--></b>
+ <!-- TMPL_IF NAME="issn"-->and <!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="issn"-->
+ issn like <b><!-- TMPL_VAR NAME="issn" --></b>
+ <!-- /TMPL_IF -->
+ will expirate bebore <b><!-- TMPL_VAR NAME="date" --></b>
+</p>
+<div class="searchresults">
+ <table>
+ <tr>
+ <th>
+ issn
+ </th>
+ <th>
+ title
+ </th>
+ <th>
+ Note
+ </th>
+ <th>
+ Expiration date
+ </th>
+ </tr>
+ <!-- TMPL_LOOP NAME="subscriptions_loop"-->
+ <!-- TMPL_IF NAME="toogle"-->
+ <tr class="highlight">
+ <!-- TMPL_ELSE -->
+ <tr>
+ <!-- /TMPL_IF -->
+ <td>
+ <!-- TMPL_VAR NAME="issn" -->
+ </td>
+ <td>
+ <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
+ <a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
+ <!-- TMPL_IF NAME="title"-->
+ <!-- TMPL_VAR NAME="title" -->
+ <!-- TMPL_ELSE -->
+ |
+ <!-- /TMPL_IF -->
+ </a>
+ <!-- TMPL_ELSE -->
+ <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
+ <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
+ <!-- TMPL_IF NAME="title"-->
+ <!-- TMPL_VAR NAME="title" -->
+ <!-- TMPL_ELSE -->
+ |
+ <!-- /TMPL_IF -->
+ </a>
+ <!-- TMPL_ELSE -->
+ <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
+ <!-- TMPL_IF NAME="title"-->
+ <!-- TMPL_VAR NAME="title" -->
+ <!-- TMPL_ELSE -->
+ |
+ <!-- /TMPL_IF -->
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+ </td>
+ <td>
+ <!-- TMPL_VAR NAME="notes"-->
+ </td>
+ <td>
+ <!-- TMPL_VAR NAME="expirationdate" -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+</div>
+<!-- /TMPL_IF -->
+
+<script type="text/javascript" language="JavaScript">
+// <![CDATA[
+ document.f.datenumber.focus();
+
+ /**
+ * Function CheckForm
+ * This function checks the form before submit
+ */
+ function CheckForm(form){
+ if(form.datenumber.value){
+ return true;
+ }
+ else {
+ alert("you must write a date !");
+ document.f.datenumber.focus();
+ return false;
+ }
+ }
+ // ]]>
+</script>
+
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: serials/serials-collection.tmpl
===================================================================
RCS file: serials/serials-collection.tmpl
diff -N serials/serials-collection.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ serials/serials-collection.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,311 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+<!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Serials
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<!--TMPL_INCLUDE NAME="menus.inc" -->
+<!--TMPL_INCLUDE NAME="menu-serials.inc" -->
+
+
+<script language="JavaScript" type="text/javascript">
+showlayer(<!-- TMPL_VAR NAME="yearmax"-->);
+
+function showlayer(numlayer)
+{
+ var yeardata=document.getElementsByName("yeardata");
+ for (i=0; i<yeardata.length; i++ ) {
+ ong=yeardata[i].getAttribute('id');
+ if (numlayer==ong) {
+ yeardata[i].setAttribute("class","content_visible");
+ var tabactive=document.getElementById('link'+numlayer);
+ tabactive.removeAttribute("class");
+ tabactive.setAttribute("class","tab_active");
+ } else {
+ yeardata[i].removeAttribute("class");
+ yeardata[i].setAttribute("class","content_hidden");
+ try {
+ var tabactive=document.getElementById('link'+ong);
+ tabactive.removeAttribute("class");
+ tabactive.setAttribute("class","tab_inactive");
+ }
+ catch(e){};
+ }
+ }
+}
+function addsubscriptionid()
+{
+ var tab=new Array();
+ var serialids = document.edition.serialid;
+ for (i=0; i<serialids.length; i++){
+ if (serialids[i].checked == true){
+ var found=false;
+ for (var val in tab){
+ if (tab[val] == document.getElementsByName("subs")[i].getAttribute('val')){found = true;}
+ }
+ if (found == false){
+ tab=tab.concat((document.getElementsByName("subs")[i].getAttribute('val')));
+ }
+ }
+ }
+ var string="";
+ for (var val in tab){
+ string = string + tab[val] + ",";
+ }
+ string=string.substring(0,string.length -1);
+ document.edition.subscriptionid.value=string;
+}
+function popup(link) {
+ newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
+}
+</script>
+
+<!-- TMPL_UNLESS name="popup" -->
+
+ <h1>Serial Collection information for<br/> <em><!-- TMPL_VAR name="bibliotitle" --></em></h1>
+<!-- /TMPL_UNLESS -->
+
+<div id="action">
+<!--TMPL_IF Name="subscr"-->
+ <a href="serials-collection.pl?biblionumber=<!--TMPL_VAR Name="biblionumber" -->">See any subscription attached to this biblio</a>
+<!--/TMPL_IF-->
+<!--TMPL_UNLESS Name="onesubscription"-->
+<!--TMPL_LOOP Name="subscriptions"-->
+ <span title="#<!-- TMPL_VAR name="subscriptionid" -->--<!--TMPL_IF name="periodicity1" -->
+ 1/day
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity2" -->
+ 1/week
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity3" -->
+ 1/2 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity4" -->
+ 1/3 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity5" -->
+ 1/Month
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity6" -->
+ 1/2 Months (6/year)
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity7" -->
+ 1/quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity8" -->
+ 1/quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity9" -->
+ 2/year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity10" -->
+ 1/year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity11" -->
+ 1/2 years
+ <!-- /TMPL_IF -->--
+ <!-- TMPL_IF name="numberpattern1" -->
+ Number
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern2" -->
+ Volume, Number, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern3" -->
+ Volume, Number
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern4" -->
+ Volume, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern5" -->
+ Number, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern6" -->
+ Seasonal only
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern7" -->
+ None of the above
+ <!-- /TMPL_IF -->--<!-- TMPL_VAR name="branchcode" -->
+ --<!-- TMPL_VAR name="callnumber" -->--<!-- TMPL_VAR name="notes" -->">
+ <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Subscription #<!-- TMPL_VAR name="subscriptionid" --></a> </span>
+<!--/TMPL_LOOP -->
+<!--/TMPL_UNLESS-->
+</div>
+<!--TMPL_IF Name="subscriptions"-->
+<font size ="-2">
+<table>
+<!--TMPL_IF Name="onesubscription"-->
+<caption> Subscription Summary</caption>
+<!--TMPL_ELSE-->
+<caption> Subscription Summaries</caption>
+<!--/TMPL_IF-->
+<tr>
+ <th>Subs </th>
+ <th>Freq</th>
+ <th>Num pattern</th>
+ <th>Branch</th>
+ <th>Call Number</th>
+ <th>Notes</th>
+ <th>Renew</th>
+</tr>
+<!--TMPL_LOOP Name="subscriptions"-->
+ <tr>
+ <td>#<!-- TMPL_VAR name="subscriptionid" --> </td>
+ <td> <!--TMPL_IF name="periodicity1" -->
+ 1/day
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity2" -->
+ 1/week
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity3" -->
+ 1/2 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity4" -->
+ 1/3 weeks
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity5" -->
+ 1/Month
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity6" -->
+ 1/2 Months (6/year)
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity7" -->
+ 1/quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity8" -->
+ 1/quarter
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity9" -->
+ 2/year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity10" -->
+ 1/year
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="periodicity11" -->
+ 1/2 years
+ <!-- /TMPL_IF --></td>
+ <td>
+ <!-- TMPL_IF name="numberpattern1" -->
+ Number
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern2" -->
+ Volume, Number, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern3" -->
+ Volume, Number
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern4" -->
+ Volume, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern5" -->
+ Number, Issue
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern6" -->
+ Seasonal only
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="numberpattern7" -->
+ None of the above
+ <!-- /TMPL_IF --></td>
+ <td> <!-- TMPL_VAR name="branchcode" --></td>
+ <td> <!-- TMPL_VAR name="callnumber" --></td>
+ <td> <!-- TMPL_VAR name="notes" --> <!--TMPL_IF name="subscriptionexpired"--><br /><span class="problem"> Subscription Expired</span>
+ <!--/TMPL_IF-->
+ </td>
+ <!--TMPL_IF name="abouttoexpire"--><td class="problem"> <a onclick="javascript:popup('subscription-renew.pl?subscriptionid=<!--TMPL_VAR Name="subscriptionid"-->')">Renew</a></td>
+ <!--TMPL_ELSE-->
+ <!--TMPL_IF name="subscriptionexpired"--><td class="problem"> <a onclick="javascript:popup('subscription-renew.pl?subscriptionid=<!--TMPL_VAR Name="subscriptionid"-->')">Renew</a></td>
+ <!--TMPL_ELSE-->
+ <td> </td>
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF-->
+
+ </tr>
+<!--/TMPL_LOOP -->
+</table>
+</font>
+<!--/TMPL_IF -->
+ <div class="tabsubs">
+ <!-- TMPL_LOOP NAME="years" -->
+ <!-- TMPL_IF NAME="year" -->
+ <!-- TMPL_IF NAME="first" -->
+ <a id="link<!-- TMPL_VAR NAME="year" -->" class="tab_active" href="javascript:showlayer(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
+ <!-- TMPL_ELSE -->
+ <a id="link<!-- TMPL_VAR NAME="year" -->" class="tab_inactive" href="javascript:showlayer(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+<!-- <a class="tabsubs" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>-->
+ </div>
+
+<form name="edition" action="serials-edit.pl">
+ <!-- TMPL_LOOP NAME="years" -->
+ <!--TMPL_IF Name="first" -->
+ <div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="content_visible" >
+ <!--TMPL_ELSE -->
+ <div name="yeardata" id="<!-- TMPL_VAR NAME="year" -->" class="content_hidden">
+ <!--/TMPL_IF -->
+<p><input type="submit" value="Edit serials"></p>
+ <table width="400px">
+ <tr>
+<!--TMPL_UNLESS Name="onesubscription"-->
+ <th> # Subs.
+ </th>
+<!--/TMPL_UNLESS-->
+ <th>Date published
+ </th>
+ <th>Date received
+ </th>
+ <th> Number
+ </th>
+ <th> Status
+ </th>
+ <th> Notes
+ </th>
+ <th>branch
+ </th>
+ <th>Edit
+ </th>
+ </tr>
+ <!-- TMPL_LOOP Name="serials" -->
+ <tr name="branch <!--TMPL_VAR Name=branchcode"-->">
+<!--TMPL_UNLESS Name="onesubscription"-->
+ <td><a href="serials-collection.pl?subscriptionid=<!--TMPL_VAR Name="subscriptionid"-->"><!--TMPL_VAR Name="subscriptionid"--></a></td>
+<!--/TMPL_UNLESS-->
+ <td>
+ <!-- TMPL_VAR Name="publisheddate" -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="planneddate" -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="serialseq" -->
+ </td>
+ <td>
+ <!-- TMPL_IF Name="status1" -->Waited<!-- /TMPL_IF -->
+ <!-- TMPL_IF Name="status2" -->Arrived<!-- /TMPL_IF -->
+ <!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
+ <!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
+ <!-- TMPL_IF Name="status7" -->Claimed<!-- /TMPL_IF -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="notes" -->
+ </td>
+ <td>
+ <!-- TMPL_VAR Name="branchcode" -->
+ </td>
+ <td>
+ <div visibility="hidden" name="subs" val="<!--TMPL_VAR Name="subscriptionid"-->"></div>
+ <!--TMPL_IF Name="subscriptionexpired"-->
+ <input type="checkbox" name="serialid" value="<!--TMPL_VAR Name="serialid"-->" disabled />
+ <!--TMPL_ELSE-->
+ <input type="checkbox" name="serialid" value="<!--TMPL_VAR Name="serialid"-->" onclick="javascript:addsubscriptionid();"/>
+ <!--/TMPL_IF -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ <p><input type="submit" value="Edit serials"></p>
+ </div>
+ <!--/TMPL_LOOP -->
+ <input type="hidden" name="subscriptionid" value="<!--TMPL_VAR Name="subscriptionidlist"-->">
+
+</form>
+
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: serials/serials-edit.tmpl
===================================================================
RCS file: serials/serials-edit.tmpl
diff -N serials/serials-edit.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ serials/serials-edit.tmpl 9 Mar 2007 15:42:39 -0000 1.2
@@ -0,0 +1,326 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Subscription edit<!--
+TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<!-- TMPL_INCLUDE NAME="menus.inc" -->
+<!--TMPL_INCLUDE NAME="menu-serials.inc" -->
+
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<h1>Serial Edition: <!-- TMPL_VAR name="bibliotitle" --></h1>
+<form method="post" name="f" action="serials-edit.pl" >
+<!--onsubmit="return barcode_check()">-->
+<div id="action">
+ <input type="submit" value="Save" class="button" accesskey="w" /> <!--onClick="Check(this.form)" -->
+ <a href="serials-collection.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="serial Collection for <!--TMPL_VAR Name="bibliotitle"-->">Serial collection</a>
+ <!--TMPL_LOOP Name="subscriptions"-->
+ <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="detail of the subscription">Subscription #<!-- TMPL_VAR name="subscriptionid" --></a>
+ <!--/TMPL_LOOP-->
+ <!-- <a href="/cgi-bin/koha/serials/serials-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Search All Subscriptions</a> -->
+ <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show Biblio</a>
+</div>
+<!--TMPL_IF Name="barcode_not_unique" -->
+Error : Barcode Not Unique For serialseq <!--TMPL_VAR Name="errserialseq"-->
+<!--/TMPL_IF -->
+
+ <input type="hidden" name="op" value="serialchangestatus">
+ <table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr>
+ <th>
+ Numbered
+ </th>
+ <th>
+ Published on
+ </th>
+ <th>
+ planned for
+ </th>
+ <th>
+ Status
+ </th>
+ <th>
+ Notes
+ </th>
+ </tr>
+<!-- TMPL_LOOP name="serialslist" -->
+ <tr>
+ <td>
+ <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->" />
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
+ <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+ <input type="hidden" name="itemcount" value="<!-- TMPL_VAR name="issuesatonce" -->" />
+ <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" -->" />
+ Issue <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100">
+ </td>
+ <td>
+ <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
+ </td>
+ <td>
+ <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
+ </td>
+ <td>
+ <!--TMPL_IF Name="subscriptionexpired"-->
+ <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->" disabled >
+ <!--TMPL_ELSE-->
+ <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->" OnChange="javascript:if (this.value==2){unHideItems('items'+<!-- TMPL_VAR NAME="subscriptionid" -->+<!-- TMPL_VAR NAME="serialid" -->,'label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')}" >
+ <!--/TMPL_IF-->
+ <!--TMPL_IF name="status1" -->
+ <option value="1" selected>Waited</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status2" -->
+ <option value="2" selected>Arrived</option>
+ <!--TMPL_ELSE -->
+ <option value="2">Arrived</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status3" -->
+ <option value="3" selected>Late</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Late</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status4" -->
+ <option value="4" selected>Missing</option>
+ <!-- TMPL_ELSE -->
+ <option value="4">Missing</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status7" -->
+ <option value="7" selected>Claimed</option>
+ <!-- TMPL_ELSE -->
+ <option value="7">Claimed</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status5" -->
+ <option value="5" selected>Not Available</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">Not Available</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status6" -->
+ <option value="6" selected>Delete</option>
+ <!-- TMPL_ELSE -->
+ <option value="6">Delete</option>
+ <!-- /TMPL_IF -->
+ </select>
+
+ </td>
+ <td>
+ <input type="text" name="notes" value="<!-- TMPL_VAR name="sernotes" -->" size=20 maxlength=255>
+ </td>
+ </tr>
+ <!--TMPL_UNLESS Name="subscriptionexpired"-->
+ <!--TMPL_IF Name="serialsadditems"-->
+ <tr>
+ <td colspan="5">
+ <a id="label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->" style="color: grey; font-size: 80%; cursor: se-resize;" onclick="unHideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')">
+ Items </a>
+ <fieldset style="display:none;" id="items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->">
+ <legend><a style="cursor: se-resize;" onclick="HideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')">
+ Items</a>
+ </legend>
+ <div id="cataloguing_additem_itemlist">
+ <!-- TMPL_LOOP NAME="items" -->
+ <div id="item<!-- TMPL_VAR NAME="serialid" --><!-- TMPL_VAR NAME="countitems" -->" class="items">
+ <!-- TMPL_LOOP NAME="iteminformation" -->
+ <p>
+ <div id="subfield<!-- TMPL_VAR NAME="serialid" --><!-- TMPL_VAR NAME="countitems" --><!-- TMPL_VAR NAME="countsubfield" -->" class="subfield"> <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
+ <!-- TMPL_VAR NAME="marc_value" -->
+ <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
+ <input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
+ <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
+ <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
+ </div>
+ </p>
+ <!-- /tmpl_loop -->
+
+ <input type="hidden" name="moditem" value="" />
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
+ <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
+ <input type="hidden" name="serial" value="<!-- TMPL_VAR NAME="serialid" -->" />
+ <input type="hidden" name="bibnum" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+ <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
+ <input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
+ </div>
+ <!--/TMPL_LOOP-->
+ </div>
+ </fieldset>
+ </td>
+ </tr>
+ <!-- /TMPL_IF -->
+ <!--/TMPL_UNLESS -->
+<!-- /TMPL_LOOP -->
+<!-- TMPL_LOOP name="newserialloop" -->
+ <!--TMPL_UNLESS Name="subscriptionexpired"-->
+ <tr>
+ <td>
+ <input type="hidden" name="serialid" value="NEW" />
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->" />
+ <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+ <input type="hidden" name="itemcount" value="<!-- TMPL_VAR name="issuesatonce" -->" />
+ <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" -->" />
+ <b>Subs. <!-- TMPL_VAR name="subscriptionid" --></b> New Issue <input type="text" name="serialseq" value="" size="20" maxlength="100" OnChange="javascript:if (this.value!=''){unHideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!-- TMPL_VAR NAME="serialid" -->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')} else {HideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!-- TMPL_VAR NAME="serialid" -->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')}"/>
+ </td>
+ <td>
+ <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
+ </td>
+ <td>
+ <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
+ </td>
+ <td>
+ <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->" >
+ <!--TMPL_IF name="status1" -->
+ <option value="1" selected>Waited</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status2" -->
+ <option value="2" selected>Arrived</option>
+ <!--TMPL_ELSE -->
+ <option value="2">Arrived</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status3" -->
+ <option value="3" selected>Late</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Late</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status4" -->
+ <option value="4" selected>Missing</option>
+ <!-- TMPL_ELSE -->
+ <option value="4">Missing</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status7" -->
+ <option value="7" selected>Claimed</option>
+ <!-- TMPL_ELSE -->
+ <option value="7">Claimed</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status5" -->
+ <option value="5" selected>Not Available</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">Not Available</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status6" -->
+ <option value="6" selected>Delete</option>
+ <!-- TMPL_ELSE -->
+ <option value="6">Delete</option>
+ <!-- /TMPL_IF -->
+ </select>
+
+ </td>
+ <td>
+ <input type="text" name="notes" value="" size=20 maxlength=255>
+ </td>
+ </tr>
+ <!--TMPL_IF Name="serialsadditems"-->
+ <tr>
+ <td colspan="5">
+ <a id="label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->" style="color: grey; font-size: 80%; cursor: se-resize;" onclick="unHideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')">
+ Item</a>
+ <fieldset style="display:none;" id="items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->">
+ <legend><a style="cursor: se-resize;" onclick="HideItems('items<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->','label<!-- TMPL_VAR NAME="subscriptionid" --><!--TMPL_VAR Name="serialid"-->')">
+ Item</a>
+ </legend>
+ <div id="cataloguing_additem_itemlist">
+ <div id="item<!-- TMPL_VAR NAME="serialid" --><!-- TMPL_VAR NAME="countitems" -->" class="items">
+ <!-- TMPL_LOOP NAME="iteminformation" -->
+ <p>
+ <div id="subfield<!-- TMPL_VAR NAME="serialid" --><!-- TMPL_VAR NAME="countitems" --><!-- TMPL_VAR NAME="countsubfield" -->" class="subfield"> <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
+ <!-- TMPL_VAR NAME="marc_value" -->
+ <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
+ <input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
+ <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
+ <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
+ </div>
+ </p>
+ <!-- /tmpl_loop -->
+
+ <input type="hidden" name="moditem" value="" />
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
+ <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
+ <input type="hidden" name="serial" value="<!-- TMPL_VAR NAME="serialid" -->" />
+ <input type="hidden" name="bibnum" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
+ <input type="hidden" name="itemid" value="<!-- TMPL_VAR NAME="itemid" -->" />
+ <input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
+ </div>
+ </div>
+ </fieldset>
+ </td>
+ </tr>
+ <!-- /TMPL_IF -->
+ <!--/TMPL_UNLESS -->
+<!-- /TMPL_LOOP -->
+
+</table>
+</div>
+</form>
+
+<script language="JavaScript" type="text/javascript">
+
+function popup(subscriptionid) {
+ window.open("subscription-renew.pl?subscriptionid="+subscriptionid,"subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
+}
+
+function barcode_check(){
+ <!-- TMPL_IF NAME="count" -->
+ var count = <!-- TMPL_VAR NAME="count" -->;
+ for(var i=1;i<=count;i++){
+
+ var barcodenum = "barcode"+i;
+ var statusnum = "status"+i;
+ var elembarcode = "document.getElementById('"+barcodenum+"')";
+ var elemstatus = "document.getElementById('"+statusnum+"')";
+// alert(elembarcode+"\n"+eval(elembarcode+".value));
+// alert(elemstatus+"\n"+eval(elemstatus+".value"));
+ if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
+ var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
+ if (answer){
+ document.f.submit();
+ } else {
+ return false;
+ }
+ }
+ if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
+ var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?");
+ if (answer){
+ document.f.submit();
+ } else {
+ return false;
+ }
+ }
+ }
+ <!--/TMPL_IF-->
+}
+
+function _(s) { return s } // dummy function for gettext
+function Check(f) {
+ var total_errors=0;
+// alert(f.field_value.length);
+ for (i=0 ; i<f.field_value.length ; i++) {
+// alert (f.field_value[i].value);
+ if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
+ document.getElementById("error"+i).style.backgroundColor="#FF0000";
+ total_errors++;
+ } else {
+// document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
+ }
+ }
+ var alertString2;
+ if (total_errors==0) {
+ document.f.submit();
+ } else {
+ alertString2 = _("Form not submitted because of the following problem(s)");
+ alertString2 += "\n------------------------------------------------------------------------------------\n";
+ alertString2 += "\n- "+ total_errors+_(" mandatory fields empty (see bold subfields)");
+ alert(alertString2);
+ }
+}
+<!--TMPL_IF Name="serialsadditems"-->
+function unHideItems(index,labelindex) {
+ subfield = document.getElementById(index);
+ subfield.style.display = 'block';
+ label = document.getElementById(labelindex);
+ label.style.display='none';
+}
+function HideItems(index,labelindex) {
+ subfield = document.getElementById(index);
+ subfield.style.display = 'none';
+ label = document.getElementById(labelindex);
+ label.style.display='block';
+}
+<!--/TMPL_IF>
+</script>
+
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
Index: serials/serials-recieve.tmpl
===================================================================
RCS file: serials/serials-recieve.tmpl
diff -N serials/serials-recieve.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ serials/serials-recieve.tmpl 9 Mar 2007 15:42:39 -0000 1.4
@@ -0,0 +1,304 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Subscription edit<!--
+TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<!-- TMPL_INCLUDE NAME="menus.inc" -->
+<!--TMPL_INCLUDE NAME="menu-serials.inc" -->
+
+<!--------------------------MAIN BODY OF PAGE-------------------------->
+<h1>Check In subscription for: <!-- TMPL_VAR name="bibliotitle" --></h1>
+<div id="action">
+ <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="detail of the subscription">Subscription Details</a>
+ <!-- <a href="/cgi-bin/koha/serials/serials-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Search All Subscriptions</a> -->
+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Show Biblio</a>
+ <!-- TMPL_IF NAME="routing" -->
+ <a href="routing.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" title="subscription routing list">Routing list</a>
+ <!-- /TMPL_IF -->
+</div>
+
+<h2>waited or late numbers</h2>
+ <form method="post" name="f" action="serials-recieve.pl" onsubmit="return barcode_check()">
+ <input type="hidden" name="op" value="serialchangestatus">
+ <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
+ <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
+ <table cellspacing="0" cellpadding="0" border="0" class="collapse">
+ <tr>
+ <th>
+ Numbered
+ </th>
+ <th>
+ Published on
+ </th>
+ <th>
+ planned for
+ </th>
+ <th>
+ Status
+ </th>
+ <th>
+ Notes
+ </th>
+ </tr>
+ <!-- TMPL_LOOP name="serialslist" -->
+ <tr>
+ <td>
+ Issue <input type="text" name="serialseq" value="<!-- TMPL_VAR name="serialseq" -->" size="20" maxlength="100">
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ Callnumber <input type="text" name="itemcallnumber" value="<!--TMPL_VAR NAME="callnumber"-->" size=15 maxlength=100>
+ Barcode <input type="text" name="barcode" value="<!-- TMPL_VAR NAME="barcode"-->" id="barcode<!-- TMPL_VAR NAME="num" -->" size=20 maxlength=20>
+ <!--/TMPL_IF -->
+ </td>
+ <td>
+ <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!--/TMPL_IF -->
+ </td>
+ <td>
+ <input type="text" name="planneddate" value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <select name="branch" size="1">
+ <option value="">Branch</option>
+ <!-- TMPL_LOOP name="branchloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!--/TMPL_IF -->
+ </td>
+ <td>
+ <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="serialid" -->">
+ <select name="status" size="1" id="status<!-- TMPL_VAR NAME="num" -->">
+ <!--TMPL_IF name="status1" -->
+ <option value="1" selected>Waited</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status2" -->
+ <option value="2" selected>Arrived</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">Arrived</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status3" -->
+ <option value="3" selected>Late</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Late</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status4" -->
+ <option value="4" selected>Missing</option>
+ <!-- TMPL_ELSE -->
+ <option value="4">Missing</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status5" -->
+ <option value="5" selected>Not Available</option>
+ <!-- TMPL_ELSE -->
+ <option value="5">Not Available</option>
+ <!-- /TMPL_IF -->
+ <!--TMPL_IF name="status6" -->
+ <option value="6" selected>Delete</option>
+ <!-- TMPL_ELSE -->
+ <option value="6">Delete</option>
+ <!-- /TMPL_IF -->
+ </select>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!--TMPL_IF Name="itemstatus"-->
+ <!--TMPL_IF Name="choice"-->
+ <!-- TMPL_LOOP name="itemstatusloop" -->
+ <!-- TMPL_VAR name="itemlib" -->: <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->checked<!-- /TMPL_IF -->>
+ <!-- /TMPL_LOOP -->
+ <!--TMPL_ELSE-->
+ <select name="itemstatus" size="1">
+ <option value="">Item Status</option>
+ <!-- TMPL_LOOP name="itemstatusloop" -->
+ <option value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlib" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!--/TMPL_IF-->
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF -->
+
+ </td>
+ <td>
+ <input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=20 maxlength=255>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!--TMPL_IF Name="itemlocation"-->
+ <select name="location" size="1">
+ <option value="">Location</option>
+ <!-- TMPL_LOOP name="itemlocationloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlocationname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF-->
+ <!--/TMPL_IF -->
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_UNLESS name="hassubscriptionexpired" -->
+ <tr>
+ <td>
+ Manual issue <input type="text" name="serialseq" size=30 maxlength=100 value="<!-- TMPL_VAR NAME="missingseq" -->">
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ Callnumber <input type="text" name="itemcallnumber" value="" size=10 maxlength=15>
+ Barcode <input type="text" name="barcode" value="" size=20 maxlength=20>
+ <!--/TMPL_IF-->
+ </td>
+ <td>
+ <input type="text" name="publisheddate" value="<!-- TMPL_VAR name="publisheddate" -->" size=10 maxlength=15>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!--/TMPL_IF -->
+ </td>
+ <td>
+ <input type="text" name="planneddate" size=10 maxlength=15 value="<!-- TMPL_VAR NAME="missingdate" -->">
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <select name="branch" size="1">
+ <option value="">Branch</option>
+ <!-- TMPL_LOOP name="branchloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!--/TMPL_IF-->
+ </td>
+ <td>
+ <!-- TMPL_IF NAME="frommissing" -->
+ <input type="hidden" name="serialid" value="<!-- TMPL_VAR name="missingid" -->">
+ <!-- TMPL_ELSE -->
+ <input type="hidden" name="serialid" value="0">
+ <!--/TMPL_IF-->
+ <select name="status" size="1">
+ <!-- TMPL_IF NAME="frommissing" -->
+ <option value="2" selected >Arrived</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">Arrived</option>
+
+ <!--/TMPL_IF-->
+ <!-- TMPL_IF NAME="frommissing" -->
+ <option value="3">Late</option>
+ <!--TMPL_ELSE-->
+ <option value="3" selected>Late</option>
+ <!--/TMPL_IF-->
+ <option value="4">Missing</option>
+ <option value="5">Not Available</option>
+
+
+ </select>
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!-- TMPL_IF Name="itemstatus"-->
+ <!--TMPL_IF Name="choice"-->
+ <!-- TMPL_LOOP name="itemstatusloop" -->
+ <!-- TMPL_VAR name="itemlib" -->: <input type="checkbox" name="itemstatus" value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->checked<!-- /TMPL_IF -->>
+ <!-- /TMPL_LOOP -->
+ <!--TMPL_ELSE-->
+ <select name="itemstatus" size="1">
+ <option value="">Item Status</option>
+ <!-- TMPL_LOOP name="itemstatusloop" -->
+ <option value="<!-- TMPL_VAR name="itemval" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlib" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF -->
+ <!--/TMPL_IF-->
+ </td>
+ <td>
+
+ <!--TMPL_IF Name="serialadditems" -->
+ <br /><br />
+ <!-- TMPL_IF Name="itemlocation"-->
+ <select name="location" size="1">
+ <option value="">Location</option>
+ <!-- TMPL_LOOP name="itemlocationloop" -->
+ <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemlocationname" --></option>
+ <!-- /TMPL_LOOP -->
+ </select>
+ <!-- TMPL_ELSE -->
+
+ <!--/TMPL_IF -->
+ <!--/TMPL_IF-->
+ </td>
+ </tr>
+ <!-- /TMPL_UNLESS -->
+ </table>
+ <input type="submit" value="Save changes" accesskey="w" class="button">
+ <!-- TMPL_IF name="hassubscriptionexpired" -->
+ <h3>Subscription has expired.</h3>
+ <p><b>Waited last issue status can't be changed. <a href="#" onClick="popup()" class="button">Renew</a> your subscription</b></p>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="abouttoexpire" -->
+ <h3>Note: Subscription is about to expire next issue.</h3>
+ <script type="text/javascript">
+ <!--
+ alert("Subscription is about to expire next issue");
+ //-->
+ </script>
+ <!-- /TMPL_IF -->
+ </form>
+
+ <h2>Subscription summary</h2>
+ <form method="post" name="f2" action="serials-recieve.pl">
+ <input type="hidden" name="op" value="modsubscriptionhistory">
+ <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" -->">
+ <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
+ <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
+ <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
+ <p><label>Starting date:</label><input type="text" name="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"> (the date of the 1st subscription)</p>
+ <p><label>Ending date:</label><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->">(if empty : subscription still active)</p>
+ <p>Recieved issues</p>
+ <p> <textarea name="recievedlist" COLS=60 ROWS=5><!-- TMPL_VAR name="recievedlist" --></textarea></p>
+ <p>Missing issues</p>
+ <p> <textarea name="missinglist" COLS=60 ROWS=2><!-- TMPL_VAR name="missinglist" --></textarea></p>
+ <p>Opac's note</p>
+ <p> <textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR name="opacnote" --></textarea></p>
+ <input type="submit" value="Save changes" class="button">
+ </form>
+
+</div>
+<script language="JavaScript" type="text/javascript">
+
+function popup() {
+ window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR
+name="subscriptionid">","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
+}
+
+function barcode_check(){
+ <!-- TMPL_IF NAME="count" -->
+ var count = '<!-- TMPL_VAR NAME="count" -->';
+ for(var i=1;i<=count;i++){
+
+ var barcodenum = "barcode"+i;
+ var statusnum = "status"+i;
+ var elembarcode = "document.getElementById('"+barcodenum+"')";
+ var elemstatus = "document.getElementById('"+statusnum+"')";
+// alert(elembarcode+"\n"+eval(elembarcode+".value));
+// alert(elemstatus+"\n"+eval(elemstatus+".value"));
+ if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
+ var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
+ if (answer){
+ document.f.submit();
+ } else {
+ return false;
+ }
+ }
+ if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
+ var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?");
+ if (answer){
+ document.f.submit();
+ } else {
+ return false;
+ }
+ }
+ }
+ <!-- /TMPL_IF -->
+}
+</script>
+
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
More information about the Koha-cvs
mailing list