synch'ing 2.2 and head

This commit is contained in:
tipaul 2005-05-04 08:50:48 +00:00
parent 7aad473042
commit 4dea4ae494
27 changed files with 613 additions and 257 deletions

View File

@ -44,6 +44,7 @@ use C4::Context;
use C4::Output;
use C4::Interface::CGI::Output;
use C4::Search;
use C4::Date;
use HTML::Template;
sub StringSearch {
@ -182,8 +183,8 @@ if ($op eq 'add_form') {
while (my ($aqbudgetid,$startdate,$enddate,$budgetamount) = $sth2->fetchrow) {
my %budgetrow_data;
$budgetrow_data{aqbudgetid} = $aqbudgetid;
$budgetrow_data{startdate} = $startdate;
$budgetrow_data{enddate} = $enddate;
$budgetrow_data{startdate} = format_date($startdate);
$budgetrow_data{enddate} = format_date($enddate);
$budgetrow_data{budgetamount} = $budgetamount;
push @budget_loop,\%budgetrow_data;
}

View File

@ -125,7 +125,7 @@ if ($op eq 'add_form') {
} elsif ($op eq 'delete_confirm') {
$template->param(delete_confirm => 1);
my $dbh = C4::Context->dbh;
my $sth=$dbh->prepare("select printername,printqueue,printtype from printers where printername=");
my $sth=$dbh->prepare("select printername,printqueue,printtype from printers where printername=?");
$sth->execute($searchfield);
my $data=$sth->fetchrow_hashref;
$sth->finish;

View File

@ -163,7 +163,7 @@ if ($op eq 'add_form') {
my $env;
my ($count,$results)=StringSearch($env,$searchfield,'web');
my @loop;
my $toggle = 'white';
my $toggle = 0;
for (my $i=$offset; $i < ($offset+$pagesize<$count?$offset+$pagesize:$count); $i++){
my $urlsearchfield=$results->[$i]{name};
@ -180,13 +180,13 @@ if ($op eq 'add_form') {
toggle => $toggle);
push @loop, \%row;
if ( $toggle eq 'white' )
if ( $toggle eq 0 )
{
$toggle = '#ffffcc';
$toggle = 1;
}
else
{
$toggle = 'white';
$toggle = 0;
}
}

View File

@ -160,7 +160,6 @@ sub create_input () {
sub build_tabs ($$$$) {
my($template, $record, $dbh,$encoding) = @_;
# warn "=>".$record->as_formatted if $record;
# fill arrays
my @loop_data =();
my $tag;
@ -335,31 +334,26 @@ if ($op eq "add") {
my $record = AUTHhtml2marc($dbh,\@tags,\@subfields,\@values,%indicators);
# MARC::Record built => now, record in DB
# check for a duplicate
my ($duplicateauthnumber,$duplicateauthid,$duplicateauthvalue) = FindDuplicate($record,$authtypecode) if ($op eq "add") && (!$is_a_modif);
my ($duplicateauthid,$duplicateauthvalue) = FindDuplicate($record,$authtypecode) if ($op eq "add") && (!$is_a_modif);
my $confirm_not_duplicate = $input->param('confirm_not_duplicate');
# it is not a duplicate (determined either by Koha itself or by user checking it's not a duplicate)
if (!$duplicateauthnumber or $confirm_not_duplicate) {
# MARC::Record built => now, record in DB
if (!$duplicateauthid or $confirm_not_duplicate) {
if ($is_a_modif) {
AUTHmodauthority($dbh,$authid,$record,$authtypecode);
} else {
($authid) = AUTHaddauthority($dbh,$record,$authid,$authtypecode);
}
# now, redirect to additem page
# now, redirect to detail page
print $input->redirect("detail.pl?authid=$authid");
build_tabs ($template, $record, $dbh,$encoding);
build_hidden_data;
exit;
} else {
# it may be a duplicate, warn the user and do nothing
build_tabs ($template, $record, $dbh,$encoding);
build_hidden_data;
$template->param(
duplicateauthnumber => $duplicateauthnumber,
duplicateauthid => $duplicateauthid,
duplicateauthvalue => $duplicateauthvalue,
);
warn " AUTH : ".$record->as_formatted,
build_tabs ($template, $record, $dbh,$encoding);
build_hidden_data;
duplicateauthid => $duplicateauthid,
duplicateauthvalue => $duplicateauthvalue,
);
}
#------------------------------------------------------------------------------------------------------------------------------
} elsif ($op eq "addfield") {
@ -423,8 +417,10 @@ if ($op eq "add") {
build_hidden_data;
}
# build_tabs ($template, $record, $dbh,$encoding);
# build_hidden_data;
if ($authid) {
build_tabs ($template, $record, $dbh,$encoding);
build_hidden_data;
}
$template->param(
authid => $authid,
# oldbiblionumtagfield => $oldbiblionumtagfield,

View File

@ -86,7 +86,6 @@ my @datearr = localtime(time());
# FIXME - Could just use POSIX::strftime("%Y%m%d", localtime);
my $todaysdate = (1900+$datearr[5]).sprintf ("%0.2d", ($datearr[4]+1)).sprintf ("%0.2d", ($datearr[3]));
# my $message;
# check and see if we should print
if ($barcode eq '' && $print eq 'maybe'){
@ -103,11 +102,13 @@ my $todaysdate = (1900+$datearr[5]).sprintf ("%0.2d", ($datearr[4]+1)).sprintf (
# if there is a list of find borrowers....
#
my $borrowerslist;
my $message;
if ($findborrower) {
my ($count,$borrowers)=BornameSearch(\%env,$findborrower,'cardnumber','web');
my @borrowers=@$borrowers;
if ($#borrowers == -1) {
$query->param('findborrower', '');
$message = "'$findborrower'";
} elsif ($#borrowers == 0) {
$query->param('borrnumber', $borrowers[0]->{'borrowernumber'});
$query->param('barcode','');
@ -219,7 +220,7 @@ if ($borrower) {
}
push @realtodayissues,$book;
}
# parses previous & build Template array
foreach my $book (sort {$a->{'date_due'} cmp $b->{'date_due'}} @previousissues){
my $dd = $book->{'date_due'};
@ -256,7 +257,7 @@ my $CGIselectborrower;
if ($borrowerslist) {
foreach (sort {$a->{'surname'}.$a->{'firstname'} cmp $b->{'surname'}.$b->{'firstname'}} @$borrowerslist){
push @values,$_->{'borrowernumber'};
$labels{$_->{'borrowernumber'}} ="$_->{'surname'}, $_->{'firstname'} ($_->{'cardnumber'})";
$labels{$_->{'borrowernumber'}} ="$_->{'surname'}, $_->{'firstname'} ... ($_->{'cardnumber'} - $_->{'categorycode'}) ... $_->{'streetaddress'} ";
}
$CGIselectborrower=CGI::scrolling_list( -name => 'borrnumber',
-values => \@values,
@ -290,6 +291,7 @@ $template->param(
amountold => $amountold,
barcode => $barcode,
stickyduedate => $stickyduedate,
message => $message,
CGIselectborrower => $CGIselectborrower,
todayissues => \@realtodayissues,
previssues => \@realprevissues,

View File

@ -103,6 +103,9 @@ my $file;
#---------------
# log cleared, as marcimport is (almost) rewritten from scratch.
# $Log$
# Revision 1.4 2005/05/04 08:52:13 tipaul
# synch'ing 2.2 and head
#
# Revision 1.3 2005/03/23 09:57:47 doxulting
# Adding a parameter to allow acces to people with management/tools flags
#
@ -204,3 +207,212 @@ my $file;
# * z3950 functionnality is dropped from "marcimport" will be added somewhere else.
# * templates are in a new acqui.simple sub directory, and the marcimport template directory will become obsolete soon.I think this is more logic
#
#!/usr/bin/perl
# $Id$
# Script for handling import of MARC data into Koha db
# and Z39.50 lookups
# Koha library project www.koha.org
# Licensed under the GPL
# Copyright 2000-2002 Katipo Communications
#
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
use strict;
# standard or CPAN modules used
use CGI;
use DBI;
# Koha modules used
use C4::Context;
use C4::Output;
use C4::Interface::CGI::Output;
use C4::Input;
use C4::Biblio;
use MARC::File::USMARC;
use HTML::Template;
use C4::Output;
use C4::Auth;
use C4::Breeding;
#------------------
# Constants
my $includes = C4::Context->config('includes') ||
"/usr/local/www/hdl/htdocs/includes";
# HTML colors for alternating lines
my $lc1='#dddddd';
my $lc2='#ddaaaa';
#-------------
#-------------
# Initialize
my $userid=$ENV{'REMOTE_USER'};
my $input = new CGI;
my $dbh = C4::Context->dbh;
my $uploadmarc=$input->param('uploadmarc');
my $overwrite_biblio = $input->param('overwrite_biblio');
my $filename = $input->param('filename');
my $syntax = $input->param('syntax');
my ($template, $loggedinuser, $cookie)
= get_template_and_user({template_name => "import/breeding.tmpl",
query => $input,
type => "intranet",
authnotrequired => 0,
flagsrequired => {parameters => 1, management => 1, tools => 1},
debug => 1,
});
$template->param(SCRIPT_NAME => $ENV{'SCRIPT_NAME'},
uploadmarc => $uploadmarc);
if ($uploadmarc && length($uploadmarc)>0) {
my $marcrecord='';
while (<$uploadmarc>) {
$marcrecord.=$_;
}
my ($notmarcrecord,$alreadyindb,$alreadyinfarm,$imported) = ImportBreeding($marcrecord,$overwrite_biblio,$filename,$syntax,int(rand(99999)));
$template->param(imported => $imported,
alreadyindb => $alreadyindb,
alreadyinfarm => $alreadyinfarm,
notmarcrecord => $notmarcrecord,
total => $imported+$alreadyindb+$alreadyinfarm+$notmarcrecord,
);
}
output_html_with_http_headers $input, $cookie, $template->output;
my $menu;
my $file;
#---------------
# log cleared, as marcimport is (almost) rewritten from scratch.
# $Log$
# Revision 1.4 2005/05/04 08:52:13 tipaul
# synch'ing 2.2 and head
#
# Revision 1.2.4.1 2005/04/07 10:10:52 tipaul
# copying processz3950queue from 2.0 branch. The 2.2 version misses an important fix
#
# Revision 1.2 2003/10/06 09:10:38 slef
# Removing config info from z3950*sh and using C4::Context in processz3950queue (Fixed bug 39)
#
# Revision 1.1 2003/06/04 13:46:25 tipaul
# moving breeding farm import to parameters page (GUI) and to new import/ directory (code structure)
#
# Revision 1.33 2003/04/29 16:48:36 tipaul
# really proud of this commit :-)
# z3950 search and import seems to works fine.
# Let me explain how :
# * a "search z3950" button is added in the addbiblio template.
# * when clicked, a popup appears and z3950/search.pl is called
# * z3950/search.pl calls addz3950search in the DB
# * the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
# * as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
# * when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled
#
# Note :
# * character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
# * the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
#
# Revision 1.32 2003/04/22 12:22:54 tipaul
# 1st draft for z3950 client import.
# moving Breeding farm script to a perl package C4/Breeding.pm
#
# Revision 1.31 2003/02/19 01:01:07 wolfpac444
# Removed the unecessary $dbh argument from being passed.
# Resolved a few minor FIXMEs.
#
# Revision 1.30 2003/02/02 07:18:38 acli
# Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
#
# Create output_html_with_http_headers function to contain the "print $query
# ->header(-type => guesstype...),..." call. This is in preparation for
# non-HTML output (e.g., text/xml) and charset conversion before output in
# the future.
#
# Created C4/Interface/CGI/Template.pm to hold convenience functions specific
# to the CGI interface using HTML::Template
#
# Modified moremembers.pl to make the "sex" field localizable for languages
# where M and F doesn't make sense
#
# Revision 1.29 2003/01/28 15:28:31 tipaul
# removing use MARC::Charset
# Was a buggy test
#
# Revision 1.28 2003/01/28 15:00:31 tipaul
# user can now search in breeding farm with isbn/issn or title. Title/name are stored in breeding farm and showed when a search is done
#
# Revision 1.27 2003/01/26 23:21:49 acli
# Handle non-latin1 charsets
#
# Revision 1.26 2003/01/23 12:26:41 tipaul
# upgrading import in breeding farm (you can now search on ISBN or on title) AND character encoding.
#
# Revision 1.25 2003/01/21 08:13:50 tipaul
# character encoding ISO646 => 8859-1, first draft
#
# Revision 1.24 2003/01/14 16:41:17 tipaul
# bugfix : use gettemplate_and_user instead of gettemplate.
# fix a blank screen in 1.3.3 in "import in breeding farm"
#
# Revision 1.23 2003/01/06 13:06:28 tipaul
# removing trailing #
#
# Revision 1.22 2002/11/12 15:58:43 tipaul
# road to 1.3.2 :
# * many bugfixes
# * adding value_builder : you can map a subfield in the marc_subfield_structure to a sub stored in "value_builder" directory. In this directory you can create screen used to build values with any method. In this commit is a 1st draft of the builder for 100$a unimarc french subfield, which is composed of 35 digits, with 12 differents values (only the 4th first are provided for instance)
#
# Revision 1.21 2002/10/22 15:50:23 tipaul
# road to 1.3.2 : adding a biblio in MARC format.
# seems to work a few.
# still to do :
# * manage html checks (mandatory subfields...)
# * add list of acceptable values (authorities)
# * manage ## in MARC format
# * manage correctly repeatable fields
# and probably a LOT of bugfixes
#
# Revision 1.20 2002/10/16 12:46:19 arensb
# Added a FIXME comment.
#
# Revision 1.19 2002/10/15 10:14:44 tipaul
# road to 1.3.2. Full rewrite of marcimport.pl.
# The acquisition system in MARC version will work like this :
# * marcimport will put marc records into a "breeding farm" table.
# * when the user want to add a biblio, he enters first the ISBN/ISSN of the biblio. koha searches into breeding farm and if the record exists, it is shown to the user to help him adding the biblio. When the biblio is added, it's deleted from the breeding farm.
#
# This commit :
# * modify acqui.simple home page (addbooks.pl)
# * adds import into breeding farm
#
# Please note that :
# * z3950 functionnality is dropped from "marcimport" will be added somewhere else.
# * templates are in a new acqui.simple sub directory, and the marcimport template directory will become obsolete soon.I think this is more logic
#

View File

@ -1,8 +1,7 @@
<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
<div class="tabbed">
<form method="post" name="f">
<h1 class="catalogue">MARC biblio : <!-- TMPL_VAR NAME="oldbiblionumber" --></h1>
<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="oldbiblionumber" --></h1>
<p>
<input type="hidden" name="op" value="addbiblio">
<input type="hidden" name="addfield_field">
@ -19,34 +18,34 @@
<div class="tabs">
<!-- TMPL_IF name="0XX" -->
<a href="javascript:active(0)">0</a>
<a href="javascript:active(0)" id="link0">0</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="1XX" -->
<a href="javascript:active(1)">1</a>
<a href="javascript:active(1)" id="link1">1</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="2XX" -->
<a href="javascript:active(2)">2</a>
<a href="javascript:active(2)" id="link2">2</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="3XX" -->
<a href="javascript:active(3)">3</a>
<a href="javascript:active(3)" id="link3">3</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="4XX" -->
<a href="javascript:active(4)">4</a>
<a href="javascript:active(4)" id="link4">4</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="5XX" -->
<a href="javascript:active(5)">5</a>
<a href="javascript:active(5)" id="link5">5</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="6XX" -->
<a href="javascript:active(6)">6</a>
<a href="javascript:active(6)" id="link6">6</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="7XX" -->
<a href="javascript:active(7)">7</a>
<a href="javascript:active(7)" id="link7">7</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="8XX" -->
<a href="javascript:active(8)">8</a>
<a href="javascript:active(8)" id="link8">8</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="9XX" -->
<a href="javascript:active(9)">9</a>
<a href="javascript:active(9)" id="link9">9</a>
<!-- /TMPL_IF -->
</div>
@ -402,11 +401,14 @@ function active(numlayer)
link = "link"+i;
if (numlayer==i) {
document.getElementById(ong).style.visibility="visible";
document.getElementById(link).style.color="#FFFFFF";
} else {
document.getElementById(ong).style.visibility="hidden";
document.getElementById(link).style.color="#000000";
}
}
}
active(0);
function Check(f) {
// Scan for nonempty fields
var field_is_nonempty_p = new Array();
@ -422,7 +424,6 @@ function Check(f) {
// Scan for missing mandatory subfields
var total_missing_mandatory_subfields = 0;
var missing_mandatory_subfields = new Array();
for (i=0 ; i<f.field_value.length-2 ; i++) {
if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
// We should not flag an error unless the tag is also
@ -439,8 +440,10 @@ function Check(f) {
{
missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML + " (tab " + document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
}
}
} else {
// alert("I = "+i);
document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
}
}
@ -449,14 +452,13 @@ function Check(f) {
var total_missing_mandatory_tags = 0;
var seen_mandatory_tag_p = new Array();
var missing_mandatory_tags = new Array();
for (i=0 ; i<f.field_value.length ; i++) {
var j = f.tag[i].value;
if (!field_is_nonempty_p[j] && f.tag_mandatory[i].value == 1) {
if (seen_mandatory_tag_p[j] != 1) {
seen_mandatory_tag_p[j] = 1;
total_missing_mandatory_tags++;
if (document.getElementById("error"+i).parentNode.tagName == "B")
if (document.getElementById("error"+i).parentNode.tagName == "B")
{
missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + " (tab " + document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
@ -479,7 +481,7 @@ function Check(f) {
{
alertString2 += "\n--->"+ missing_mandatory_tags[i];
}
alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" mandatory fields empty (see bold subfields)");
alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" mandatory fields empty (see bold subfields)");
for (i=0; i<missing_mandatory_subfields.length; i++)
{
alertString2 += "\n--->"+ missing_mandatory_subfields[i];
@ -510,7 +512,7 @@ function PopupZ3950() {
strQuery += "&issn="+document.forms[0].field_value[i].value;
}
}
newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=500,height=400,toolbar=false,scrollbars=yes');
newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=800,height=400,toolbar=false,scrollbars=yes');
}
function AddField(field) {

View File

@ -11,8 +11,24 @@
<div id="bloc25">
<form action="isbnsearch.pl">
<h2 class="catalogue">To add a new biblio/item, scan or type the ISBN/ISSN number</h2>
<p><label class="label20">ISBN</label> <input type="text" name="isbn" /></p>
<p><label class="label20">Title</label> <input type="text" name="title" /></p>
<p>
<label class="label100" for="title">Title</label>
<input type="hidden" name="marclist" value="biblio.title">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="contains">
<input type="text" name="value" id="title"size="35">
</p>
<p>
<label class="label100" for="title">ISBN</label>
<input type="hidden" name="marclist" value="biblioitems.isbn">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="start">
<input type="text" name="value" id="title"size="35">
</p>
<p><input type="submit" value="Go" class="button catalogue" /></p>
</form>
<!-- TMPL_IF NAME="NOTMARC" -->

View File

@ -3,32 +3,49 @@
<form method="post" action="additem.pl" name="f">
<input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->">
<input type="hidden" name="bibid" value="<!-- TMPL_VAR NAME="bibid" -->">
<h2 class="catalogue">
MARC biblionumber : <!-- TMPL_VAR NAME="biblionumber" -->
</h2>
<div id="bloc25">
<div name="10XX" id="10XX">
<h2 class="catalogue">Existing items</h2>
<table>
<tr>
<!-- TMPL_LOOP NAME="item_header_loop" -->
<th class="catalogue">
<TMPL_VAR NAME="header_value">
</th>
<!-- /TMPL_LOOP -->
<th colspan="2" class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="item_loop" -->
<tr>
<!-- TMPL_VAR NAME="item_value" -->
<td><a href="additem.pl?op=edititem&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->&amp;itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
<td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div class="tabbed">
<h1 class="catalogue">biblionumber : <!-- TMPL_VAR NAME="biblionumber" --></h1>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Edit biblio
</a>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
Duplicate
</a>
<a href="../MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
MARC
</a>
<a href="../detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Normal
</a>
<a href="../ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
ISBD
</a>
</div>
<div id="bloc100">
<!-- TMPL_IF name="item_loop" -->
<div id="bloc25">
<div name="10XX" id="10XX">
<h2 class="catalogue">Existing items</h2>
<table>
<tr>
<!-- TMPL_LOOP NAME="item_header_loop" -->
<th class="catalogue">
<TMPL_VAR NAME="header_value">
</th>
<!-- /TMPL_LOOP -->
<th colspan="2" class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="item_loop" -->
<tr>
<!-- TMPL_VAR NAME="item_value" -->
<td><a href="additem.pl?op=edititem&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->&amp;itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
<td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
<!-- /TMPL_IF -->
<div id="bloc25">
<!-- TMPL_IF name="opisadd" -->
<h2 class="catalogue">New Item</h2>
<!-- TMPL_ELSE -->

View File

@ -2,13 +2,15 @@
<div id="mainbloc">
<h1 class="catalogue">Biblio Search Results</h1>
<div id="bloc25">
<h2 class="catalogue">You searched on <!-- TMPL_IF name="isbn" -->ISBN <!-- TMPL_VAR NAME="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF name="title" -->title <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></h2>
<!-- TMPL_IF name="total" -->
<p><!-- TMPL_VAR NAME="total" --> results found</p>
<p>Results <i><!-- TMPL_VAR NAME="showoffset" --></i> to <i><!-- TMPL_VAR NAME="total" --></i> displayed</p>
<h2 class="catalogue">You searched on </h2>
<!-- TMPL_IF name="isbn" -->
<p>ISBN <!-- TMPL_VAR NAME="isbn" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="title" -->
<p>title <!-- TMPL_VAR NAME="title" --></p>
<!-- /TMPL_IF -->
</div>
<div id="bloc100">
<div id="bloc25">
<h2 class="catalogue">Biblios in koha</h2>
<table>
<tr>
@ -35,27 +37,53 @@
<td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">Duplicate</a></td>
<!-- /TMPL_UNLESS -->
</tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<tr><td colspan="4">Nothing found</td></tr>
<!-- /TMPL_IF -->
</table>
<p class="center">
<!-- Row of numbers corresponding to search result pages -->
<!-- TMPL_IF name="displayprev" -->
<a href="isbnsearch.pl?offset=<!-- TMPL_VAR NAME="prevstartfrom" -->&amp;<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/prev.gif" border="0">
</a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" border="0">
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF name="highlight" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
<!-- TMPL_LOOP NAME="loop" -->
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="title" --></a>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="copyrightdate" --></td>
<!-- TMPL_IF NAME="NOTMARC" -->
<td><a href="additem-nomarc.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Add items</a></td>
<!-- TMPL_ELSE -->
<td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Edit...</a></td>
<!-- /TMPL_IF -->
<!-- TMPL_UNLESS NAME="NOTMARC" -->
<td>
<a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
Duplicate
</a>
</td>
<!-- /TMPL_UNLESS -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<div id="resultnumber">
<p>
<!-- TMPL_IF NAME="displayprev" -->
<a class="resultnumber" href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
&lt;&lt;Previous
</a>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF NAME="highlight" -->
<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
<!-- TMPL_ELSE -->
<a class="resultnumber" href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
<!-- TMPL_VAR NAME="number" -->
</a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a class="resultnumber" href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
Next&gt;&gt;
</a>
<!-- /TMPL_IF -->
</p>
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
<!-- TMPL_ELSE -->
<a href="isbnsearch.pl?offset=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
</a>
No results found.
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF name="displaynext" -->
@ -70,12 +98,12 @@
<!-- TMPL_IF name="breeding_loop" -->
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>ISBN</th>
<th>coming from</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th class="catalogue">Title</th>
<th class="catalogue">Author</th>
<th class="catalogue">ISBN</th>
<th class="catalogue">coming from</th>
<th class="catalogue">&nbsp;</th>
<th class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="breeding_loop" -->
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
@ -86,14 +114,17 @@
<!-- TMPL_IF NAME="NOTMARC" -->
<!-- TMPL_ELSE -->
<td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
<td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" class="button catalogue">Add biblio</a></td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
<p class="center">Nothing found</p>
<p>None</p>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">
<h2 class="catalogue">Add biblio</h2>
<p class="center">
<!-- TMPL_IF NAME="NOTMARC" -->
<a href="addbiblio-nomarc.pl?isbn=<!-- TMPL_VAR NAME="isbn" -->" class="button catalogue">Add New Biblio</a>

View File

@ -23,7 +23,7 @@
<table>
<tr valign="top" bgcolor="#ffdf61">
<th class="acquisition doNotPrint">Order</th>
<th class="acquisition">Publisher<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode" class="doNotPrint">[order]</a></th>
<th class="acquisition">Publisher<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode" class="acquisition doNotPrint">[order]</a></th>
<th class="acquisition">Isbn</th>
<th class="acquisition">Title</th>
<th class="acquisition">Author</th>
@ -32,10 +32,11 @@
<th class="acquisition">Qty</th>
<th class="acquisition">Total</th>
<th class="acquisition doNotPrint">Fund <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[order]</a></th>
<!-- TMPL_UNLESS name="closedate" -->
<th class="doNotPrint">Remove</th>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
<th class="acquisition doNotPrint">Remove</th>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_IF -->
</tr>
<!-- TMPL_LOOP NAME="books_loop" -->
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
@ -53,13 +54,15 @@
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="line_total" --></td>
<td class="doNotPrint"><!-- TMPL_VAR NAME="bookfundid" --></td>
<!-- TMPL_UNLESS name="closedate" -->
<td class="doNotPrint">
<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
<td class="doNotPrint">
<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
<input type="hidden" name="number" value=<!-- TMPL_VAR NAME="count" -->>
@ -84,23 +87,25 @@
<p>Basket empty</p>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_UNLESS name="closedate" -->
<div id="bloc25">
<h2 class="acquisition">Add order line</h2>
<form action="/cgi-bin/koha/acqui/newbasket2.pl" method="post">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<p>from an existing biblio: </b><input type="text" size="25" name="search"><input type="submit" class="button acquisition" value="Search"></p>
<p>or
<a href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">
from a suggestion
</a>
<a href="/cgi-bin/koha/acqui/newbiblio.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">
New biblio
</a>
</p>
</form>
</div>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
<div id="bloc25">
<h2 class="acquisition">Add order line</h2>
<form action="/cgi-bin/koha/acqui/newbasket2.pl" method="post">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<p>from an existing biblio: </b><input type="text" size="25" name="search"><input type="submit" class="button acquisition" value="Search"></p>
<p>or
<a href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">
from a suggestion
</a>
<a href="/cgi-bin/koha/acqui/newbiblio.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">
New biblio
</a>
</p>
</form>
</div>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->

View File

@ -51,9 +51,8 @@ function messenger(X,Y,etc){
}
function check(f) {
quantity=f.quantity.value;
title=f.title.value;
quantity=f.quantity.value
title=f.title.value
if (title == "") {
alert("Title can't be empty");
return false;

View File

@ -46,7 +46,11 @@
closed on <!-- TMPL_VAR NAME="closedate" -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">View</a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">modify</a>
<!-- TMPL_IF name="active" -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">modify</a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">View</a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</td>
</tr>

View File

@ -64,9 +64,7 @@
<tr>
<td colspan="5" rowspan=2 bgcolor="#ffdf61">
<b>HELP</b>
<br>
The total at the bottom of the page should be within a few cents of the total for the invoice.<p>
When you have finished this invoice save the changes.
<p>The total at the bottom of the page should be within a few cents of the total for the invoice.</p>
</td>
<td colspan="2" align="right"><b>GST</b></td>
<td><!-- TMPL_VAR NAME="gst" --></td>

View File

@ -44,7 +44,7 @@
<!-- TMPL_VAR NAME="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="firstnamesuggestedby" -->
</td>
<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
<!-- TMPL_VAR NAME="usermanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="firstnamemanagedby" -->
<!-- TMPL_VAR NAME="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="firstnamemanagedby" -->
</td>
<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
<!-- TMPL_IF name="biblionumber" -->

View File

@ -20,8 +20,8 @@
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<select name="operator">
<option value="contains">contains</option>
<option value="start">start by</option>
<option value="contains">contains</option>
</select>
<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
</p>

View File

@ -18,6 +18,16 @@
</div>
<br><br><br><br><br><br><br><br><br><br><br>
<!-- TMPL_IF name="duplicateauthid" -->
<div class="problem">
<p>Duplicate suspected with <a href='javascript:openWindow("detail.pl?authid=<!-- TMPL_VAR name="duplicateauthnumber" -->&popup=1", "Duplicate Authority")' class="button authority"><!-- TMPL_VAR name="duplicateauthvalue" --></a></p>
<p>You must either :</p>
<ul>
<p><input type="checkbox" value=1 name="confirm_not_duplicate">confirm it's not a duplicate (and click on Add Auth again)</p>
<p>Go to <a href="authorities.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->" >original authority</a></p>
</ul>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="duplicateauthnumber" -->
<div class="problem">

View File

@ -36,9 +36,9 @@
<script language="JavaScript" type="text/javascript">
function confirm_deletion() {
var is_confirmed = confirm('Are you sure you want to delete this biblio?');
var is_confirmed = confirm('Are you sure you want to delete this authority?');
if (is_confirmed) {
window.location="acqui.simple/addbiblio.pl?op=delete&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->";
window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
}
}
function Dopop(link) {

View File

@ -19,8 +19,8 @@
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<select name="operator">
<option value="contains">contains</option>
<option value="start">start by</option>
<option value="contains">contains</option>
</select>
<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
</p>

View File

@ -57,6 +57,24 @@
</td>
</tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_UNLESS name="hassubscriptionexpired" -->
<tr>
<td>
Manual issue <input type="text" name="serialseq" size=30 maxlength=100>
</td>
<td>
<input type="text" name="planneddate" size=10 maxlength=15>
</td>
<td>
<input type="hidden" name="serialid" value="0">
<select name="status" size="1">
<option value="2">Arrived</option>
<option value="3" selected>Late</option>
<option value="4">Missing</option>
</select>
</td>
</tr>
<!-- /TMPL_UNLESS -->
</table>
<input type="submit" value="Save changes" accesskey="w" class="button bull">
<!-- TMPL_IF name="hassubscriptionexpired" -->

View File

@ -41,9 +41,9 @@
<option value="2">1/week</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity3" -->
<option value="3" selected>1/2 weeks</option>
<option value="3" selected>1/2 weeks (2/month)</option>
<!-- TMPL_ELSE -->
<option value="3">1/2 weeks</option>
<option value="3">1/2 weeks (2/months)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity4" -->
<option value="4" selected>1/3 weeks</option>
@ -56,24 +56,20 @@
<option value="5">1/month</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity6" -->
<option value="6" selected>1/2 months</option>
<option value="6" selected>1/2 months (6/year)</option>
<!-- TMPL_ELSE -->
<option value="6">1/2 months</option>
<option value="6">1/2 months (6/year)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity7" -->
<option value="7" selected>1/3 months</option>
<option value="7" selected>1/3 months (1/quarter)</option>
<!-- TMPL_ELSE -->
<option value="7">1/3 months</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity8" -->
<option value="8" selected>1/quarter</option>
<!-- TMPL_ELSE -->
<option value="8">1/quarter</option>
<option value="7">1/3 months (1/quarter)</option>
<!-- /TMPL_IF -->
<!-- periodicity8 is 1/quarter, exactly like periodicity7 -->
<!-- TMPL_IF name="periodicity9" -->
<option value="9" selected>1/2 quarters</option>
<option value="9" selected>2/years</option>
<!-- TMPL_ELSE -->
<option value="9">1/2 quarters</option>
<option value="9">2/years</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity10" -->
<option value="10" selected>1/year</option>

View File

@ -6,7 +6,9 @@
<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Issues</a>
<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Biblio</a>
<!-- TMPL_UNLESS name="totalissues" -->
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del" class="button bull">Delete subscription</a>
<a href="javascript:confirm_deletion()" class="button bull">
delete
</a>
<!-- /TMPL_UNLESS -->
<form method="post" name="f">
<div id="bloc25">
@ -15,8 +17,8 @@
<p><label>Supplier </label><!-- TMPL_VAR name="aqbooksellername" --></p>
<p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
<p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
<p><label class="label100">Biblio</label><!-- TMPL_VAR name="bibliotitle" --></p>
<p><label class="label100">Notes:</label><!-- TMPL_VAR name="notes" --></p>
<p><label>Biblio</label><i>(<!-- TMPL_VAR name="biblionumber" -->)</i> <!-- TMPL_VAR name="bibliotitle" --></p>
<p><label>Notes:</label><!-- TMPL_VAR name="notes" --></p>
</div>
<div id="bloc25">
<h2 class="bull">Planning</h2>
@ -38,16 +40,16 @@
1/Month
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity6" -->
1/2 Monthes
1/2 Months (6/year)
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity7" -->
1/3 Monthes
1/quarter
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity8" -->
1/quarter
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity9" -->
1/2 quarters
2/year
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity10" -->
1/year
@ -176,5 +178,13 @@
</table>
</div>
</div>
<script>
function _(s) { return s } // dummy function for gettext
function confirm_deletion() {
var is_confirmed = confirm(_('Are you sure you want to delete this subscription?'));
if (is_confirmed) {
window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
}
}
</script>
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

View File

@ -2,11 +2,28 @@
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
<div id="mainbloc">
<div id="bibliomenu">
<h1 class="catalogue">MARC biblio : <!-- TMPL_VAR NAME="bibid" --></h1>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Edit biblio
</a>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
Duplicate
</a>
<a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue">
Edit item
</a>
<a href="javascript:confirm_deletion()" class="button catalogue">
delete
</a>
<a href="MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Complete
</a>
<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Normal
</a>
<a href="MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
MARC
<a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
ISBD
</a>
<a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
Add to shelf
@ -14,11 +31,15 @@
<a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
Print
</a>
<!-- TMPL_UNLESS name="norequests" -->
<a class="button catalogue" href="/cgi-bin/koha/reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">
Request
</a>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="subscriptionsnumber" -->
<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Subscription(s)
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="norequests" -->
<!-- TMPL_ELSE -->
<a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
<!-- /TMPL_IF -->
</div>
<div id="bloc100">

View File

@ -2,10 +2,13 @@
<!-- TMPL_UNLESS name="popup" -->
<div class="tabbed">
<h1 class="catalogue">MARC biblionumber : <!-- TMPL_VAR NAME="biblionumber" --></h1>
<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="biblionumber" --></h1>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Edit biblio
</a>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
Duplicate
</a>
<a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue">
Edit item
</a>
@ -13,6 +16,9 @@
<a href="javascript:confirm_deletion()" class="button catalogue">
delete
</a>
<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Complete
</a>
<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Normal
</a>
@ -82,16 +88,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -112,16 +116,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -142,16 +144,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -172,16 +172,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -202,16 +200,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -232,16 +228,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -262,16 +256,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -292,16 +284,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -322,16 +312,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->
@ -352,16 +340,14 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Search on this Field's Value">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Auth</a>
<!-- /TMPL_IF -->

View File

@ -3,14 +3,45 @@
<div id="mainbloc">
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
<h1 class="catalogue"><!-- TMPL_VAR NAME="title" --> (<!-- TMPL_VAR NAME="author" -->) <!-- TMPL_VAR NAME="class" --></h1>
<a href="MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">MARC</a>
<a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">ISBD</a>
<a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">Add to shelf</a>
<a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">Print</a>
<!-- TMPL_IF NAME="norequests" -->
<!-- TMPL_ELSE -->
<a class="button catalogue" href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Requests</a>
<!-- /TMPL_IF -->
<div class="bibliomenu">
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Edit biblio
</a>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
Duplicate
</a>
<a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue">
Edit item
</a>
<a href="javascript:confirm_deletion()" class="button catalogue">
delete
</a>
<a href="MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Complete
</a>
<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Normal
</a>
<a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
ISBD
</a>
<a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
Add to shelf
</a>
<a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
Print
</a>
<!-- TMPL_IF name="subscriptionsnumber" -->
<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Subscription(s)
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="norequests" -->
<!-- TMPL_ELSE -->
<a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">
<table class="small">
<!-- BIBLIO RECORD TABLE -->

View File

@ -30,10 +30,11 @@
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="borrowernumber" -->
<h2 class="circulation">Borrower information</h2>
<p>
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" --> " onclick="openWindow(this,'Member', 480, 640)">
<!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)
<p><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" --> " class="button circulation">
detail
</a>
<a href="/cgi-bin/koha/members/memberentry.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->&amp;modify=edit&amp;destination=circ" class="button circulation">edit</a>
</p>
<p>
<!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME="city" -->
@ -286,7 +287,7 @@ SUMMARY : TODAY & PREVIOUS ISSUES
</td>
<td class="problem"><!-- TMPL_VAR NAME="title" --></td>
<td class="problem"><!-- TMPL_VAR NAME="author" --></td>
<td class="problem"><!-- TMPL_VAR NAME="dewey" --> <!-- TMPL_VAR NAME="subclass" --></td>
<td class="problem"><!-- TMPL_VAR NAME="itemcallnumber" --></td>
<!-- TMPL_ELSE -->
<td>
<!-- TMPL_VAR NAME="dd" -->

View File

@ -87,7 +87,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
">
<input type="submit" value="Print" class="button circulation">
<input type="submit" value="Yes" class="button circulation">
</form>
<!-- /TMPL_IF -->
</div>