synch'ing 2.2 and head

This commit is contained in:
tipaul 2005-06-20 14:10:00 +00:00
parent 5e44e797eb
commit 6b0ee5525b
65 changed files with 1938 additions and 771 deletions

View File

@ -301,11 +301,6 @@ sub manualinvoice{
$amountleft=refund('',$bornum,$amount);
}
if ($itemnum ne ''){
#FIXME to use ? before uncommenting
# my $sth=$dbh->prepare("Select * from items where barcode='$itemnum'");
# $sth->execute;
# my $data=$sth->fetchrow_hashref;
# $sth->finish;
$desc.=" ".$itemnum;
my $sth=$dbh->prepare("INSERT INTO accountlines
(borrowernumber, accountno, date, amount, description, accounttype, amountoutstanding, itemnumber)
@ -313,7 +308,6 @@ sub manualinvoice{
# $sth->execute($bornum, $accountno, $amount, $desc, $type, $amountleft, $data->{'itemnumber'});
$sth->execute($bornum, $accountno, $amount, $desc, $type, $amountleft, $itemnum);
} else {
$desc=$dbh->quote($desc);
my $sth=$dbh->prepare("INSERT INTO accountlines
(borrowernumber, accountno, date, amount, description, accounttype, amountoutstanding)
VALUES (?, ?, now(), ?, ?, ?, ?)");

View File

@ -104,7 +104,7 @@ number of elements in C<@orders>.
sub getbasketcontent {
my ($basketno,$supplier,$orderby)=@_;
my $dbh = C4::Context->dbh;
my $query="Select *,biblio.title,aqorders.ordernumber from aqorders,biblio,biblioitems
my $query="Select biblio.*,biblioitems.*,aqorders.*,aqorderbreakdown.*,biblio.title from aqorders,biblio,biblioitems
left join aqorderbreakdown on aqorderbreakdown.ordernumber=aqorders.ordernumber
where basketno='$basketno'
and biblio.biblionumber=aqorders.biblionumber and biblioitems.biblioitemnumber
@ -562,7 +562,7 @@ sub ordersearch {
my @searchterms = ($id);
map { push(@searchterms,"$_%","% $_%") } @data;
push(@searchterms,$search,$search,$biblio);
my $sth=$dbh->prepare("Select *,biblio.title from aqorders,biblioitems,biblio,aqbasket
my $sth=$dbh->prepare("Select biblio.*,biblioitems.*,aqorders.*,aqbasket.*,biblio.title from aqorders,biblioitems,biblio,aqbasket
where aqorders.biblioitemnumber = biblioitems.biblioitemnumber and
aqorders.basketno = aqbasket.basketno
and aqbasket.booksellerid = ?
@ -597,15 +597,17 @@ sub ordersearch {
sub histsearch {
my ($title,$author,$name)=@_;
my ($title,$author,$name,$from_placed_on,$to_placed_on)=@_;
my $dbh= C4::Context->dbh;
my $query = "select biblio.title,aqorders.basketno,name,aqbasket.creationdate,aqorders.datereceived, aqorders.quantity, aqorders.ecost
from aqorders,aqbasket,aqbooksellers,biblio
where aqorders.basketno=aqbasket.basketno and aqbasket.booksellerid=aqbooksellers.id and
biblio.biblionumber=aqorders.biblionumber";
my $query = "select biblio.title,aqorders.basketno,name,aqbasket.creationdate,aqorders.datereceived, aqorders.quantity, aqorders.ecost from aqorders,aqbasket,aqbooksellers,biblio
where aqorders.basketno=aqbasket.basketno and aqbasket.booksellerid=aqbooksellers.id and
biblio.biblionumber=aqorders.biblionumber";
$query .= " and biblio.title like ".$dbh->quote("%".$title."%") if $title;
$query .= " and biblio.author like ".$dbh->quote("%".$author."%") if $author;
$query .= " and name like ".$dbh->quote("%".$name."%") if $name;
$query .= " and creationdate >" .$dbh->quote($from_placed_on) if $from_placed_on;
$query .= " and creationdate<".$dbh->quote($to_placed_on) if $to_placed_on;
warn "C4:Acquisition : ".$query;
my $sth = $dbh->prepare($query);
$sth->execute;
my @order_loop;

View File

@ -399,7 +399,7 @@ sub checkauth {
$template->param(loginprompt => 1) unless $info{'nopermission'};
my $self_url = $query->url(-absolute => 1);
$template->param(url => $self_url);
$template->param(url => $self_url, LibraryName=> => C4::Context->preference("LibraryName"),);
$template->param(\%info);
$cookie=$query->cookie(-name => 'sessionID',
-value => $sessionID,

View File

@ -137,7 +137,6 @@ sub get_template_and_user {
$bordat[0] = $borr;
$template->param(USER_INFO => \@bordat,
);
# We are going to use the $flags returned by checkauth
# to create the template's parameters that will indicate
# which menus the user can access.
@ -163,29 +162,36 @@ sub get_template_and_user {
if ($flags->{catalogue} == 1) {
$template->param(CAN_user_catalogue => 1); }
if ($flags->{parameters} == 1) {
$template->param(CAN_user_parameters => 1);
$template->param(CAN_user_management => 1);
$template->param(CAN_user_tools => 1); }
if ($flags->{borrowers} == 1) {
$template->param(CAN_user_borrowers => 1); }
if ($flags->{permissions} == 1) {
$template->param(CAN_user_permission => 1); }
if ($flags->{reserveforothers} == 1) {
$template->param(CAN_user_reserveforothers => 1); }
if ($flags->{borrow} == 1) {
$template->param(CAN_user_borrow => 1); }
if ($flags->{reserveforself} == 1) {
$template->param(CAN_user_reserveforself => 1); }
if ($flags->{editcatalogue} == 1) {
$template->param(CAN_user_editcatalogue => 1); }
if ($flags->{updatecharges} == 1) {
$template->param(CAN_user_updatecharge => 1); }

View File

@ -666,7 +666,9 @@ sub AUTHhtml2marc {
$indicators{@$rtags[$i]}.=' ';
if (@$rtags[$i] <10) {
$prevvalue= @$rvalues[$i];
undef $field;
} else {
undef $prevvalue;
$field = MARC::Field->new( (sprintf "%03s",@$rtags[$i]), substr($indicators{@$rtags[$i]},0,1),substr($indicators{@$rtags[$i]},1,1), @$rsubfields[$i] => @$rvalues[$i]);
}
$prevtag = @$rtags[$i];
@ -674,7 +676,7 @@ sub AUTHhtml2marc {
if (@$rtags[$i] <10) {
$prevvalue=@$rvalues[$i];
} else {
if (@$rvalues[$i]) {
if (length(@$rvalues[$i])>0) {
$field->add_subfields(@$rsubfields[$i] => @$rvalues[$i]);
}
}
@ -682,8 +684,7 @@ sub AUTHhtml2marc {
}
}
# the last has not been included inside the loop... do it now !
$record->add_fields($field);
# warn $record->as_formatted;
$record->add_fields($field) if $field;
return $record;
}
@ -921,6 +922,9 @@ Paul POULAIN paul.poulain@free.fr
# $Id$
# $Log$
# Revision 1.19 2005/06/20 14:10:00 tipaul
# synch'ing 2.2 and head
#
# Revision 1.18 2005/06/07 10:00:47 tipaul
# adding $b to mainentry (in UNIMARC, for personal names, $a is the surname, $b is the firstname)
#

View File

@ -58,6 +58,7 @@ $VERSION = 0.01;
&NEWnewbiblio &NEWnewitem
&NEWmodbiblio &NEWmoditem
&NEWdelbiblio &NEWdelitem
&NEWmodbiblioframework
&MARCaddbiblio &MARCadditem
&MARCmodsubfield &MARCaddsubfield
@ -929,14 +930,14 @@ sub MARCkoha2marcBiblio {
&MARCkoha2marcOnefield( $sth, $record, "additionalauthors.author",
$row->{'author'},'' );
}
my $sth2 =
$sth2 =
$dbh->prepare(" SELECT subject FROM bibliosubject WHERE biblionumber=?");
$sth2->execute($biblionumber);
while ( my $row = $sth2->fetchrow_hashref ) {
&MARCkoha2marcOnefield( $sth, $record, "bibliosubject.subject",
$row->{'subject'},'' );
}
my $sth2 =
$sth2 =
$dbh->prepare(
" SELECT subtitle FROM bibliosubtitle WHERE biblionumber=?");
$sth2->execute($biblionumber);
@ -1043,7 +1044,9 @@ sub MARChtml2marc {
$indicators{@$rtags[$i]}.=' ';
if (@$rtags[$i] <10) {
$prevvalue= @$rvalues[$i];
undef $field;
} else {
undef $prevvalue;
$field = MARC::Field->new( (sprintf "%03s",@$rtags[$i]), substr($indicators{@$rtags[$i]},0,1),substr($indicators{@$rtags[$i]},1,1), @$rsubfields[$i] => @$rvalues[$i]);
# warn "1=>".@$rtags[$i].@$rsubfields[$i]." = ".@$rvalues[$i].": ".$field->as_formatted;
}
@ -1061,7 +1064,7 @@ sub MARChtml2marc {
}
}
# the last has not been included inside the loop... do it now !
$record->add_fields($field);
$record->add_fields($field) if $field;
# warn "HTML2MARC=".$record->as_formatted;
return $record;
}
@ -1100,7 +1103,7 @@ sub MARCmarc2koha {
$result->{'copyrightdate'} = $1;
}
# modify publicationyear to keep only the 1st year found
my $temp = $result->{'publicationyear'};
$temp = $result->{'publicationyear'};
$temp =~ m/c(\d\d\d\d)/; # search cYYYY first
if ($1>0) {
$result->{'publicationyear'} = $1;
@ -1274,6 +1277,12 @@ sub NEWnewbiblio {
return ( $bibid, $oldbibnum, $oldbibitemnum );
}
sub NEWmodbiblioframework {
my ($dbh,$bibid,$frameworkcode) =@_;
my $sth = $dbh->prepare("Update marc_biblio SET frameworkcode=? WHERE bibid=$bibid");
$sth->execute($frameworkcode);
return 1;
}
sub NEWmodbiblio {
my ($dbh,$record,$bibid,$frameworkcode) =@_;
$frameworkcode="" unless $frameworkcode;
@ -1347,7 +1356,7 @@ sub NEWnewitem {
my ( $itemnumber, $error ) = &OLDnewitems( $dbh, $item, $item->{barcode} );
# add itemnumber to MARC::Record before adding the item.
my $sth =
$sth =
$dbh->prepare(
"select tagfield,tagsubfield from marc_subfield_structure where frameworkcode=? and kohafield=?"
);
@ -1457,13 +1466,14 @@ sub OLDnewbiblio {
$sth->finish;
$sth =
$dbh->prepare(
"insert into biblio set biblionumber = ?, title = ?, author = ?, copyrightdate = ?, serial = ?, seriestitle = ?, notes = ?, abstract = ?"
"insert into biblio set biblionumber = ?, title = ?, author = ?, copyrightdate = ?, serial = ?, seriestitle = ?, notes = ?, abstract = ?, unititle = ?"
);
$sth->execute(
$bibnum, $biblio->{'title'},
$biblio->{'author'}, $biblio->{'copyrightdate'},
$biblio->{'serial'}, $biblio->{'seriestitle'},
$biblio->{'notes'}, $biblio->{'abstract'}
$biblio->{'notes'}, $biblio->{'abstract'},
$biblio->{'unititle'},
);
$sth->finish;
@ -2671,6 +2681,9 @@ Paul POULAIN paul.poulain@free.fr
# $Id$
# $Log$
# Revision 1.121 2005/06/20 14:10:00 tipaul
# synch'ing 2.2 and head
#
# Revision 1.120 2005/06/15 16:09:43 hdl
# Displaying dashed isbn.
#

View File

@ -46,6 +46,7 @@ Give all XYZ functions
@ISA = qw(Exporter);
@EXPORT = qw(&newsubscription &modsubscription &delsubscription &getsubscriptions &getsubscription
&getsubscriptionfrombiblionumber &get_subscription_list_from_biblionumber
&get_full_subscription_list_from_biblionumber
&modsubscriptionhistory &newissue
&getserials &serialchangestatus
&Find_Next_Date, &Get_Next_Seq
@ -100,6 +101,7 @@ sub GetLateIssues {
}
return @issuelist;
}
sub newsubscription {
my ($auser,$aqbooksellerid,$cost,$aqbudgetid,$biblionumber,
$startdate,$periodicity,$dow,$numberlength,$weeklength,$monthlength,
@ -139,6 +141,7 @@ sub newsubscription {
$sth->execute($serialseq, $subscriptionid, $val->{'biblionumber'}, 1, format_date_in_iso($startdate));
return $subscriptionid;
}
sub getsubscription {
my ($subscriptionid) = @_;
my $dbh = C4::Context->dbh;
@ -166,7 +169,7 @@ sub getsubscriptionfrombiblionumber {
sub get_subscription_list_from_biblionumber {
my ($biblionumber) = @_;
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare('select subscription.*,subscriptionhistory.*,aqbudget.bookfundid,aqbooksellers.name as aqbooksellername,biblio.title as bibliotitle
my $sth = $dbh->prepare('select subscription.*,subscriptionhistory.*, aqbudget.bookfundid,aqbooksellers.name as aqbooksellername,biblio.title as bibliotitle
from subscription
left join subscriptionhistory on subscription.subscriptionid=subscriptionhistory.subscriptionid
left join aqbudget on subscription.aqbudgetid=aqbudget.aqbudgetid
@ -177,14 +180,85 @@ sub get_subscription_list_from_biblionumber {
my @res;
while (my $subs = $sth->fetchrow_hashref) {
$subs->{startdate} = format_date($subs->{startdate});
$subs->{histstartdate} = format_date($subs->{histstartdate});
$subs->{opacnote} =~ s/\n/\<br\/\>/g;
$subs->{missinglist} =~ s/\n/\<br\/\>/g;
$subs->{recievedlist} =~ s/\n/\<br\/\>/g;
$subs->{"periodicity".$subs->{periodicity}} = 1;
if ($subs->{enddate} eq '0000-00-00') {
$subs->{enddate}='';
} else {
$subs->{enddate} = format_date($subs->{enddate});
}
push @res,$subs;
}
return \@res;
}
sub get_full_subscription_list_from_biblionumber {
my ($biblionumber) = @_;
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare('select serial.serialseq, serial.planneddate, serial.status, year(serial.planneddate) as year,subscription.*, aqbudget.bookfundid,aqbooksellers.name as aqbooksellername,biblio.title as bibliotitle
from serial left join subscription on (serial.subscriptionid=subscription.subscriptionid and subscription.biblionumber=serial.biblionumber)
left join aqbudget on subscription.aqbudgetid=aqbudget.aqbudgetid
left join aqbooksellers on subscription.aqbooksellerid=aqbooksellers.id
left join biblio on biblio.biblionumber=subscription.biblionumber
where subscription.biblionumber = ? order by year,serial.planneddate');
$sth->execute($biblionumber);
my @res;
my $year;
my $startdate;
my $aqbooksellername;
my $bibliotitle;
my @loopissues;
my $first;
while (my $subs = $sth->fetchrow_hashref) {
# my $sth2 = $dbh->prepare('select * from serial where serial.biblionumber = ? and serial.subscriptionid=? order by serial.planneddate');
# $sth2->execute($biblionumber,$subs->{'subscriptionid'});
# while (my $issues = $sth2->fetchrow_hashref){
# warn "planneddate ".$issues->{'planneddate'};
# warn "serialseq".$issues->{'serialseq'};
# }
if ($year and ($year==$subs->{year})){
if ($first eq 1){$first=0;}
my $temp=$res[scalar(@res)-1]->{'serials'};
push @$temp,
{'planneddate' => format_date($subs->{'planneddate'}),
'serialseq' => $subs->{'serialseq'},
'status1' => $subs->{'status'}==1,
'status2' => $subs->{'status'}==2,
'status3' => $subs->{'status'}==3,
'status4' => $subs->{'status'}==4,
};
}else {
$first=1 if (not $year);
$year= $subs->{'year'};
$startdate= format_date($subs->{'startdate'});
$aqbooksellername= $subs->{'aqbooksellername'};
$bibliotitle= $subs->{'bibliotitle'};
my @temp;
push @temp,
{'planneddate' => format_date($subs->{'planneddate'}),
'serialseq' => $subs->{'serialseq'},
'status1' => $subs->{'status'}==1,
'status2' => $subs->{'status'}==2,
'status3' => $subs->{'status'}==3,
'status4' => $subs->{'status'}==4,
};
push @res,{
'year'=>$year,
'startdate'=>$startdate,
'aqbooksellername'=>$aqbooksellername,
'bibliotitle'=>$bibliotitle,
'serials'=>\@temp,
'first'=>$first
};
}
}
return \@res;
}
sub modsubscription {
my ($auser,$aqbooksellerid,$cost,$aqbudgetid,$startdate,
@ -300,25 +374,10 @@ sub getlatestserials{
$line->{"planneddate"} = format_date($line->{"planneddate"});
push @serials,$line;
}
return \@serials;
}
sub serialdelete {
my ($serialid,$serialseq)=@_;
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare("select subscriptionid,status from serial where serialid=?");
$sth->execute($serialid);
my ($subscriptionid,$oldstatus) = $sth->fetchrow;
# change status & update subscriptionhistory
my $sth = $dbh->prepare("delete * from serial where serialid = ?");
$sth->execute($serialid);
$sth = $dbh->prepare("select missinglist,recievedlist from subscriptionhistory where subscriptionid=?");
$sth=$dbh->prepare("select count(*) from serial where subscriptionid=?");
$sth->execute($subscriptionid);
my ($missinglist,$recievedlist) = $sth->fetchrow;
$recievedlist =~ s/",$serialseq"//;
$missinglist =~ s/",$serialseq"//;
$sth=$dbh->prepare("update subscriptionhistory set recievedlist=?, missinglist=? where subscriptionid=?");
$sth->execute($recievedlist,$missinglist,$subscriptionid);
my ($totalissues) = $sth->fetchrow;
return ($totalissues,@serials);
}
sub serialchangestatus {
@ -369,13 +428,17 @@ sub newissue {
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare("insert into serial (serialseq,subscriptionid,biblionumber,status, planneddate) values (?,?,?,?,?)");
$sth->execute($serialseq,$subscriptionid,$biblionumber,$status, $planneddate);
}
sub delissue {
my ($serialseq,$subscriptionid) = @_;
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare("delete from serial where serialseq= ? and subscriptionid= ? ");
$sth->execute($serialseq,$subscriptionid);
$sth = $dbh->prepare("select missinglist,recievedlist from subscriptionhistory where subscriptionid=?");
$sth->execute($subscriptionid);
my ($missinglist,$recievedlist) = $sth->fetchrow;
if ($status eq 2) {
$recievedlist .= ",$serialseq";
}
if ($status eq 4) {
$missinglist .= ",$serialseq";
}
$sth=$dbh->prepare("update subscriptionhistory set recievedlist=?, missinglist=? where subscriptionid=?");
$sth->execute($recievedlist,$missinglist,$subscriptionid);
}
sub Get_Next_Date(@) {

View File

@ -608,7 +608,7 @@ sub TooMany ($$){
# check the 3 parameters
$sth->execute($cat_borrower, $type, $branch_borrower);
my $result = $sth->fetchrow_hashref;
# warn "==>".$result->{maxissueqty};
# warn "==>".$result->{maxissueqty};
if (defined($result)) {
$sth2->execute($borrower->{'borrowernumber'}, "%$type%");
my $alreadyissued = $sth2->fetchrow;
@ -627,7 +627,8 @@ sub TooMany ($$){
my $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth3->execute($borrower->{'borrowernumber'});
my $alreadyissued = $sth2->fetchrow;
my ($alreadyissued) = $sth3->fetchrow;
warn "HERE : $alreadyissued / ($result->{maxissueqty} for $borrower->{'borrowernumber'}";
return ("c $alreadyissued / ".($result->{maxissueqty}+0)) if ($result->{'maxissueqty'} <= $alreadyissued);
}
#check for borrowertype=*
@ -643,7 +644,7 @@ sub TooMany ($$){
my $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth3->execute($borrower->{'borrowernumber'});
my $alreadyissued = $sth2->fetchrow;
my $alreadyissued = $sth3->fetchrow;
return ("e $alreadyissued / ".($result->{maxissueqty}+0)) if ($result->{'maxissueqty'} <= $alreadyissued);
}
@ -667,7 +668,7 @@ sub TooMany ($$){
my $result = $sth->fetchrow_hashref;
if (defined($result)) {
$sth3->execute($borrower->{'borrowernumber'});
my $alreadyissued = $sth2->fetchrow;
my $alreadyissued = $sth3->fetchrow;
return ("h $alreadyissued / ".($result->{maxissueqty}+0)) if ($result->{'maxissueqty'} <= $alreadyissued);
}
return;
@ -698,6 +699,9 @@ sub canbookbeissued {
if ($borrower->{flags}->{'DBARRED'}) {
$issuingimpossible{DEBARRED} = 1;
}
if (&Date_Cmp(&ParseDate($borrower->{expiry}),&ParseDate("today"))<0) {
$issuingimpossible{EXPIRED} = 1;
}
#
# BORROWER STATUS
#
@ -766,7 +770,7 @@ sub canbookbeissued {
my $branches = getbranches();
my $branchname = $branches->{$res->{'branchcode'}}->{'branchname'};
$needsconfirmation{RESERVE_WAITING} = "$resborrower->{'firstname'} $resborrower->{'surname'} ($resborrower->{'cardnumber'}, $branchname)";
CancelReserve(0, $res->{'itemnumber'}, $res->{'borrowernumber'});
# CancelReserve(0, $res->{'itemnumber'}, $res->{'borrowernumber'}); Doesn't belong in a checking subroutine.
} elsif ($restype eq "Reserved") {
# The item is on reserve for someone else.
my ($resborrower, $flags)=getpatroninformation($env, $resbor,0);
@ -841,7 +845,9 @@ sub issuebook {
my ($resborrower, $flags)=getpatroninformation($env, $resbor,0);
my $branches = getbranches();
my $branchname = $branches->{$res->{'branchcode'}}->{'branchname'};
CancelReserve(0, $res->{'itemnumber'}, $res->{'borrowernumber'});
if ($cancelreserve){
CancelReserve(0, $res->{'itemnumber'}, $res->{'borrowernumber'});
}
} elsif ($restype eq "Reserved") {
warn "Reserved";
# The item is on reserve for someone else.
@ -852,11 +858,11 @@ sub issuebook {
# cancel reserves on this item
CancelReserve(0, $res->{'itemnumber'}, $res->{'borrowernumber'});
# also cancel reserve on biblio related to this item
my $st_Fbiblio = $dbh->prepare("select biblionumber from items where itemnumber=?");
$st_Fbiblio->execute($res->{'itemnumber'});
my $biblionumber = $st_Fbiblio->fetchrow;
CancelReserve($biblionumber,0,$res->{'borrowernumber'});
warn "CancelReserve $res->{'itemnumber'}, $res->{'borrowernumber'}";
#my $st_Fbiblio = $dbh->prepare("select biblionumber from items where itemnumber=?");
#$st_Fbiblio->execute($res->{'itemnumber'});
#my $biblionumber = $st_Fbiblio->fetchrow;
#CancelReserve($biblionumber,0,$res->{'borrowernumber'});
#warn "CancelReserve $res->{'itemnumber'}, $res->{'borrowernumber'}";
} else {
# my $tobrcd = ReserveWaiting($res->{'itemnumber'}, $res->{'borrowernumber'});
# transferbook($tobrcd,$barcode, 1);
@ -1618,6 +1624,15 @@ sub renewstatus {
$renewokay = 1;
}
$sth2->finish;
my ($resfound, $resrec) = CheckReserves($itemno);
if ($resfound) {
$renewokay = 0;
}
my ($resfound, $resrec) = CheckReserves($itemno);
if ($resfound) {
$renewokay = 0;
}
}
$sth1->finish;
return($renewokay);

View File

@ -151,8 +151,7 @@ sub CalcFine {
and items.biblioitemnumber=biblioitems.biblioitemnumber and
biblioitems.itemtype=itemtypes.itemtype and
categoryitem.itemtype=itemtypes.itemtype and
categoryitem.categorycode=? and
(items.itemlost <> 1 or items.itemlost is NULL)");
categoryitem.categorycode=? and (items.itemlost <> 1 or items.itemlost is NULL)");
# print $query;
$sth->execute($itemnumber,$bortype);
my $data=$sth->fetchrow_hashref;

View File

@ -99,13 +99,12 @@ sub modmember {
my (%data) = @_;
my $dbh = C4::Context->dbh;
$data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'});
$data{'joining'}=format_date_in_iso($data{'joining'});
$data{'expiry'}=format_date_in_iso($data{'expiry'});
my $query="update borrowers set title='$data{'title'}',expiry='$data{'expiry'}',
cardnumber='$data{'cardnumber'}',sex='$data{'sex'}',ethnotes='$data{'ethnicnotes'}',
streetaddress='$data{'streetaddress'}',faxnumber='$data{'faxnumber'}',firstname='$data{'firstname'}',
altnotes='$data{'altnotes'}',dateofbirth='$data{'dateofbirth'}',contactname='$data{'contactname'}',
emailaddress='$data{'emailaddress'}',dateenrolled='$data{'joining'}',streetcity='$data{'streetcity'}',
emailaddress='$data{'emailaddress'}',streetcity='$data{'streetcity'}',
altrelationship='$data{'altrelationship'}',othernames='$data{'othernames'}',phoneday='$data{'phoneday'}',
categorycode='$data{'categorycode'}',city='$data{'city'}',area='$data{'area'}',phone='$data{'phone'}',
borrowernotes='$data{'borrowernotes'}',altphone='$data{'altphone'}',surname='$data{'surname'}',
@ -130,7 +129,16 @@ sub newmember {
my (%data) = @_;
my $dbh = C4::Context->dbh;
$data{'dateofbirth'}=format_date_in_iso($data{'dateofbirth'});
$data{'joining'} = &ParseDate("today") unless $data{'joining'};
$data{'joining'}=format_date_in_iso($data{'joining'});
# if expirydate is not set, calculate it from borrower category subscription duration
unless ($data{'expiry'}) {
my $sth = $dbh->prepare("select enrolmentperiod from categories where categorycode=?");
$sth->execute($data{'categorycode'});
my ($enrolmentperiod) = $sth->fetchrow;
$enrolmentperiod = 12 unless ($enrolmentperiod);
$data{'expiry'} = &DateCalc($data{'joining'},"$enrolmentperiod years");
}
$data{'expiry'}=format_date_in_iso($data{'expiry'});
# $data{'borrowernumber'}=NewBorrowerNumber();
my $query="insert into borrowers (title,expiry,cardnumber,sex,ethnotes,streetaddress,faxnumber,

View File

@ -83,6 +83,7 @@ if (!$query){
interface => ($opac ne 'intranet'? '/opac-tmpl': '/intranet-tmpl'),
theme => $theme,
opacstylesheet => $opacstylesheet,
opacsmallimage => C4::Context->preference('opacsmallimage'),
lang => $lang);

View File

@ -339,7 +339,7 @@ sub catalogsearch {
my $counter = $offset;
# HINT : biblionumber as bn is important. The hash is fills biblionumber with items.biblionumber.
# so if you dont' has an item, you get a not nice empty value.
$sth = $dbh->prepare("SELECT biblio.biblionumber as bn,biblio.*, biblioitems.*,marc_biblio.bibid,itemtypes.notforloan,itemtypes.description
$sth = $dbh->prepare("SELECT biblio.biblionumber as bn,biblioitems.*,biblio.*, marc_biblio.bibid,itemtypes.notforloan,itemtypes.description
FROM biblio, marc_biblio
LEFT JOIN biblioitems on biblio.biblionumber = biblioitems.biblionumber
LEFT JOIN itemtypes on itemtypes.itemtype=biblioitems.itemtype
@ -350,7 +350,12 @@ sub catalogsearch {
my $totalitems=0;
my $oldline;
my ($oldbibid, $oldauthor, $oldtitle);
my $sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=?");
my $sth_itemCN;
if (C4::Context->preference('hidelostitem')) {
$sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=? and (itemlost = 0 or itemlost is NULL)");
} else {
$sth_itemCN = $dbh->prepare("select items.* from items where biblionumber=?");
}
my $sth_issue = $dbh->prepare("select date_due,returndate from issues where itemnumber=?");
# parse all biblios between start & end.
while (($counter <= $#result) && ($counter <= ($offset + $length))) {

View File

@ -1,7 +1,7 @@
<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
<div class="tabbed">
<form method="post" name="f">
<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="oldbiblionumber" --></h1>
<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="oldbiblionumber" --> With Framework :<!--TMPL_VAR Name="framework" --></b></h1>
<p>
<input type="hidden" name="op" value="addbiblio">
<input type="hidden" name="addfield_field">
@ -404,7 +404,10 @@ function active(numlayer)
document.getElementById(link).style.color="#FFFFFF";
} else {
document.getElementById(ong).style.visibility="hidden";
document.getElementById(link).style.color="#000000";
if (document.getElementById(link))
{
document.getElementById(link).style.color="#000000";
}
}
}
}
@ -514,6 +517,10 @@ function PopupZ3950() {
}
newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=800,height=400,toolbar=false,scrollbars=yes');
}
function Changefwk(FwkList) {
var fwk = FwkList.options[FwkList.selectedIndex].value;
window.location = "addbiblio.pl?oldbiblionumber=<!--TMPL_VAR Name="oldbiblionumber"-->&frameworkcode="+fwk;
}
function AddField(field) {
document.forms[0].op.value = "addfield";

View File

@ -5,12 +5,9 @@
<input type="hidden" name="bibid" value="<!-- TMPL_VAR NAME="bibid" -->">
<div class="tabbed">
<h1 class="catalogue"><!-- TMPL_VAR name="title" --> (<!-- TMPL_VAR name="author" --> biblionumber #<!-- TMPL_VAR NAME="biblionumber" -->)</h1>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
<a href="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>

View File

@ -12,29 +12,45 @@
</div>
<div id="bloc25">
<h2 class="catalogue">Biblios in koha</h2>
<table>
<tr>
<th class="catalogue">Title</th>
<th class="catalogue">Author</th>
<th class="catalogue">&copy;</th>
<th class="catalogue">&nbsp;</th>
<!-- TMPL_UNLESS NAME="NOTMARC" -->
<th class="catalogue">&nbsp;</th>
<!-- /TMPL_UNLESS -->
</tr>
<!-- TMPL_IF name="loop" -->
<!-- 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 name="loop" -->
<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 -->
No results found.
<!-- /TMPL_IF -->
</p>
</div>
<table>
<tr>
<th class="catalogue">Title</th>
<th class="catalogue">Author</th>
<th class="catalogue">&copy;</th>
<th class="catalogue">&nbsp;</th>
<!-- TMPL_UNLESS NAME="NOTMARC" -->
<td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">Duplicate</a></td>
<th class="catalogue">&nbsp;</th>
<!-- /TMPL_UNLESS -->
</tr>
<!-- TMPL_LOOP NAME="loop" -->
@ -85,15 +101,13 @@
<!-- TMPL_ELSE -->
No results found.
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF name="displaynext" -->
<a href="isbnsearch.pl?offset=<!-- TMPL_VAR NAME="nextstartfrom" -->&amp;<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/next.gif" border="0">
</a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" border="0">
<!-- /TMPL_IF -->
</p>
</p>
</div>
<!-- TMPL_ELSE -->
<p>None</p>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">
<h2 class="catalogue">Biblios in reservoir</h2>
<!-- TMPL_IF name="breeding_loop" -->
<table>
@ -106,7 +120,7 @@
<th class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="breeding_loop" -->
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
<!-- 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="isbn" --></td>

View File

@ -4,11 +4,15 @@
<h1 class="acquisition">Acquisitions</h1>
<div id="bloc25">
<h2 class="acquisition">Start, receive, modify order</h2>
<!-- TMPL_IF name="nobudget" -->
<p class="problem">You must define a budget in parameters</p>
<!-- TMPL_ELSE -->
<form action="/cgi-bin/koha/acqui/order.pl" method="post">
Supplier name : <input type="text" size="25" name="supplier">
<input type="submit" class="button acquisition" value="OK">
</form>
<p>or <a href="histsearch.pl" class="button acquisition">Search order history</a></p>
<!-- /TMPL_IF -->
</div>
<!-- currencies-->
@ -37,8 +41,10 @@
<!-- showbudget-->
<div id="bloc25">
<form action="/cgi-bin/koha/search.pl">
<h2 class="acquisition">budgets and bookfunds</h2>
<h2 class="acquisition">budgets and bookfunds</h2>
<!-- TMPL_IF name="nobudget" -->
<p class="problem">You must define a budget in parameters</p>
<!-- TMPL_ELSE -->
<table class="noborder">
<tr>
<th class="acquisition">Budgets</th>
@ -67,7 +73,7 @@
<p>
Use your reload button to get the most recent figures. Committed figures are approximate only, as exchange rates will affect the amount actually paid.
</p>
</form>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">

View File

@ -17,16 +17,21 @@
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_UNLESS -->
<div id="bloc25" style="align:right">
<p><!-- TMPL_VAR name="name" --></p>
<p><!-- TMPL_VAR name="address1" --></p>
<p><!-- TMPL_VAR name="address2" --></p>
<p><!-- TMPL_VAR name="address3" --></p>
<p><!-- TMPL_VAR name="address4" --></p>
</div>
<div id="bloc100">
<h2 class="acquisition">Order</h2>
<!-- TMPL_IF name="books_loop" -->
<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="acquisition doNotPrint">[order]</a></th>
<th class="acquisition">Isbn</th>
<th class="acquisition">Publisher<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode" class="acquisition">[order]</a></th>
<th class="acquisition">Title</th>
<th class="acquisition">Author</th>
<th class="acquisition">rrp</th>
<th class="acquisition doNotPrint">est</th>
<th class="acquisition">Qty</th>
@ -39,20 +44,34 @@
<!-- /TMPL_IF -->
</tr>
<!-- TMPL_LOOP NAME="books_loop" -->
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
<!-- TMPL_IF name="odd" -->
<tr class="hilighted">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<td class="doNotPrint"><!-- TMPL_VAR NAME="ordernumber" --></td>
<td><!-- TMPL_VAR NAME="publishercode" --></td>
<td><!-- TMPL_VAR NAME="isbn" --></td>
<!-- TMPL_IF name="closedate" -->
<td><!-- TMPL_VAR NAME="title" --></td>
<td>
<b><!-- TMPL_VAR NAME="title" --></b><br/>
<!-- TMPL_VAR NAME="author" -->
<!-- TMPL_IF name="isbn"-->- <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --><p class="doNotPrint"><i><!--TMPL_VAR name="notes" --></i></p><!-- /TMPL_IF -->
</td>
<!-- TMPL_ELSE -->
<td><a href="newbiblio.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td>
<p>
<a href="newbiblio.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="title" --></a><br/>
<!-- TMPL_VAR NAME="author" -->
<!-- TMPL_IF name="isbn"-->- <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --></p><p><i><!--TMPL_VAR name="notes" --></i><!-- /TMPL_IF -->
</p>
</td>
<!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="rrp" --></td>
<td class="doNotPrint"><!-- TMPL_VAR NAME="ecost" --></td>
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="line_total" --></td>
<td class="number"><!-- TMPL_VAR NAME="rrp" --></td>
<td class="doNotPrint number"><!-- TMPL_VAR NAME="ecost" --></td>
<td class="number"><!-- TMPL_VAR NAME="quantity" --></td>
<td class="number"><!-- TMPL_VAR NAME="line_total" --></td>
<td class="doNotPrint"><!-- TMPL_VAR NAME="bookfundid" --></td>
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
@ -68,19 +87,39 @@
<input type="hidden" name="number" value=<!-- TMPL_VAR NAME="count" -->>
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<tr>
<td colspan="4" rowspan=3>
<td colspan="2" class="acquisition">
&nbsp;
</td>
<th colspan="2" class="acquisition">SubTotal</th>
<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="sub_total" --></th>
</tr>
<tr>
<th colspan="2" class="acquisition">GST</th>
<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="gist" --></th>
</tr>
<tr>
<th colspan="2" class="acquisition">TOTAL</th>
<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="grand_total" --></th>
<td class="acquisition number">
<p>Sub total</p>
<p>GST</p>
<p>TOTAL (<!-- TMPL_VAR NAME="currency" -->)</p>
</td>
<td class="acquisition number">
<p><!-- TMPL_VAR NAME="sub_total_est" --></p>
<p><!-- TMPL_VAR NAME="gist_est" --></p>
<p><!-- TMPL_VAR NAME="grand_total_est" --></p>
</td>
<td class="acquisition number">
<p><!-- TMPL_VAR NAME="sub_total" --></p>
<p><!-- TMPL_VAR NAME="gist" --></p>
<p><!-- TMPL_VAR NAME="grand_total" --></p>
</td>
<td class="acquisition">
<p><!-- TMPL_VAR name="qty_total" --></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
<td class="acquisition">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
<td class="acquisition">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
</tr>
</table>
<!-- TMPL_ELSE -->

View File

@ -29,6 +29,65 @@
<th class="acquisition">
<input type="text" name="name" value="<!-- TMPL_VAR name="name" -->">
</th>
<th class="acquisition">
From <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" border="0" hspace="0" vspace="0" id="openCalendarFrom" style="cursor: pointer;" valign="top">
<input type="text" readonly="readonly" size="10" id="from" name="fromplacedon" value="<!-- TMPL_VAR name="from_placed_on" -->">
<script language="JavaScript" type="text/javascript">
function validate1(date) {
var day = date.getDate();
var month = date.getMonth() + 1;
var year = date.getFullYear();
var weekDay = date.getDay();
var dayMonth = month + '-' + day;
var dateString = year + '-' + month + '-' + day;
var dateTo = document.getElementById('to').value.split("-");
var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
if (date > limitDate) {
return true;
} else {
return false;
}
}
Calendar.setup(
{
inputField : "from",
ifFormat : "%Y-%m-%d",
button : "openCalendarFrom",
disableFunc : validate1,
dateStatusFunc : validate1
}
);
</script>
To <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" id="openCalendarTo" style="cursor: pointer;" valign="top" border="0" hspace="0" vspace="0">
<input readonly="readonly" size="10" id="to" name="toplacedon" value="<!-- TMPL_VAR name="to_placed_on" -->" type="text">
<script type="text/javascript">
function validate2(date) {
var day = date.getDate();
var month = date.getMonth() + 1;
var year = date.getFullYear();
var weekDay = date.getDay();
var dayMonth = month + '-' + day;
var dateString = year + '-' + month + '-' + day;
var dateFrom = document.getElementById('from').value.split("-");
var limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
if (limitDate > date) {
return true;
} else {
return false;
}
}
Calendar.setup(
{
inputField : "to",
ifFormat : "%Y-%m-%d",
button : "openCalendarTo",
disableFunc : validate2,
dateStatusFunc : validate2
}
);
</script>
</th>
<th class="acquisition">
&nbsp;
</th>
@ -76,4 +135,5 @@
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

View File

@ -3,7 +3,11 @@
<div class="tabbed">
<form method="post" name="f">
<h1 class="authority">Authority number <!-- TMPL_VAR NAME="authid" --></h1>
<!-- TMPL_IF name="authid" -->
<h1 class="authority">Modify authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<!-- TMPL_ELSE -->
<h1 class="authority">Adding authority (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<!-- /TMPL_IF -->
<p>
<input type="hidden" name="op" value="add">
<input type="hidden" name="addfield_field">
@ -20,25 +24,15 @@
<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>Duplicate suspected with <a href='javascript:openWindow("detail.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->&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><input type="checkbox" value=1 name="confirm_not_duplicate">confirm it's not a duplicate (and click on <input type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" class="button authority"> 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">
<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" -->" >edit items</a> from this duplicate Authority</p>
</ul>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="0XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
@ -184,8 +178,8 @@ function PopupZ3950() {
}
function AddField(field) {
document.forms[0].op.value = "addfield";
document.forms[0].addfield_field.value=field;
document.forms[1].op.value = "addfield";
document.forms[1].addfield_field.value=field;
document.f.submit();
}
</script>

View File

@ -1,7 +1,7 @@
<!-- TMPL_INCLUDE NAME="auth-top.inc" -->
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
<div class="tabbed">
<h1 class="authority">Authority number : <!-- TMPL_VAR NAME="authid" --></h1>
<h1 class="authority">Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png">
</a>

View File

@ -1,12 +1,16 @@
<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
<!-- TMPL_UNLESS name="popup" -->
<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">
<form Name="f">
<h1 class="catalogue">Biblionumber : <!-- TMPL_VAR NAME="biblionumber" --> <b>With Framework :<!--TMPL_VAR Name="framework" --></b>
</h1>
</form>
<a href="javascript:Addbiblio('')" class="button catalogue">
Edit biblio
</a>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
<a href="javascript:Addbiblio('duplicate')" class="button catalogue">
Duplicate
</a>
<a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue">
@ -40,6 +44,8 @@
<!-- TMPL_ELSE -->
<a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_UNLESS -->
<div class="tabs">
@ -397,6 +403,14 @@ function confirm_deletion() {
function Dopop(link) {
newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
}
function Changefwk(FwkList) {
var fwk = FwkList.options[FwkList.selectedIndex].value;
window.location = "MARCdetail.pl?bib=<!--TMPL_VAR Name="biblionumber"-->&frameworkcode="+fwk;
}
function Addbiblio(op) {
var fwk = document.forms[0].Frameworks.options[document.forms[0].Frameworks.selectedIndex].value;
window.location = "acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode="+fwk+"&op="+op;
}
</script>
</body>
</html>

View File

@ -66,14 +66,15 @@
<!-- TMPL_IF name="pages" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
<!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" --><br />
<!-- TMPL_IF name="isbn" --><label class="label100"><b>ISBN:</b> </label><!-- TMPL_VAR NAME="isbn" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="issn" --><label class="label100"><b>ISSN:</b> </label><!-- TMPL_VAR NAME="issn" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="seriestitle" --><label class="label100"><b>Collection:</b> </label><!-- TMPL_VAR NAME="seriestitle" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="subjects" --><label class="label100"><b>Subject(s):</b> </label>
<!-- TMPL_LOOP name="subjects" -->
<a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, <!-- /TMPL_LOOP -->
<a href="/cgi-bin/koha/search.pl?type=intra&subjectitems=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, <!-- /TMPL_LOOP -->
<br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="copyrightdate" --><label class="label100"><b>Year :</b> </label><!-- TMPL_VAR NAME="copyrightdate" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --><label class="label100"><b>Notes:</b> </label><!-- TMPL_VAR NAME="notes" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="unititle" --><label class="label100"><b>Unititle:</b> </label><!-- TMPL_VAR NAME="unititle" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="unititle" --><label class="label100"><b>Alt title:</b> </label><!-- TMPL_VAR NAME="unititle" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="dewey" --><label class="label100"><b>Dewey:</b></label><!-- TMPL_VAR name="dewey" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF name="url" --><label class="label100"><b>URL:</b> </label><a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a><br /><!-- /TMPL_IF -->
<label class="label100"><b>Item type : </b></label>
@ -83,7 +84,9 @@
<!-- TMPL_VAR NAME="itemtype" -->
<!-- /TMPL_IF -->
<br/>
<b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" -->
<!-- TMPL_IF name="count" -->
<p><b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" --></p>
<!-- /TMPL_IF -->
</td>
</tr>
</table>

View File

@ -9,7 +9,7 @@
<p><!-- TMPL_IF NAME="searchdesc" -->
You searched on <b><!-- TMPL_VAR NAME="searchdesc" --></b>
<!-- TMPL_ELSE -->
You did not specify any seach criteria<br>
You did not specify any search criteria<br>
<!-- /TMPL_IF --></p>
<p><!-- TMPL_VAR NAME="numrecords" --> results found</p>

View File

@ -1,22 +1,16 @@
<!-- TMPL_INCLUDE Name="circulation-top.inc" -->
<div id="mainbloc">
<div class="bloc25">
<a class="button" href="circulation.pl">
Next Borrower</a>
<a class="button" href="returns.pl">
Returns</a>
</div>
<h1>Circulation: Transfers</h1>
<h1 class="circulation">Circulation: Transfers</h1>
<b>Branch:</b> <!-- TMPL_VAR NAME="genbrname" --> &nbsp;
<b>Printer:</b> <!-- TMPL_VAR NAME="genprname" -->
<a href="selectbranchprinter.pl" class="button">Change Settings</a>
<a href="selectbranchprinter.pl" class="button circulation">Change Settings</a>
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->">
<input type="hidden" name="printer" value="<!-- TMPL_VAR NAME="printer" -->">
<!-- TMPL_IF Name="found" -->
<table>
<tr><th>Reserve Found</th></tr>
<tr><th class="circulation">Reserve Found</th></tr>
<tr><td>
<!-- TMPL_IF Name="reserved" -->
Reserved: reserve found for <!-- TMPL_VAR NAME="name" --> (<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->" onclick="openWindow(this,'Member', 480, 640); return false;"><!-- TMPL_VAR NAME="borcnum" --></a>).
@ -37,10 +31,10 @@ Returns</a>
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="bornum" -->">
<!-- TMPL_IF Name="waiting" --><input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->">
<input type="hidden" name="request" value="KillWaiting">
<input type="submit" value="Cancel" class="button">
<input type="submit" value="Cancel" class="button circulation">
<!-- /TMPL_IF -->
<!-- TMPL_IF Name="reserved" --><input type="hidden" name="request" value="SetWaiting">
<input type="submit" value="Waiting" class="button"><!-- /TMPL_IF -->
<input type="submit" value="Waiting" class="button circulation"><!-- /TMPL_IF -->
</form></p>
<!-- TMPL_IF Name="reserved" --><p>
@ -57,7 +51,7 @@ Returns</a>
<input type="hidden" name="tobranchcd" value="<!-- TMPL_VAR NAME="tobranchcd" -->">
<input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->">
<input type="hidden" name="request" value="KillReserved">
<input type="submit" value="Cancel" class="button">
<input type="submit" value="Cancel" class="button circulation">
</form></p>
<!-- /TMPL_IF -->
<p>
@ -69,14 +63,14 @@ Returns</a>
<input type="hidden" name="fb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="frombrcd" -->">
<input type="hidden" name="tb-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="tobrcd" -->">
<!-- /TMPL_LOOP -->
<input type="submit" value="Ignore" class="button">
<input type="submit" value="Ignore" class="button circulation">
</form></p>
</td></tr></table>
<!-- TMPL_ELSE -->
<table>
<tr><th>Messages</th></tr>
<tr><th class="circulation">Messages</th></tr>
<tr><td>
<!-- TMPL_IF Name="reqmessage" -->
<!-- TMPL_IF Name="cancelled" -->
@ -124,8 +118,8 @@ onclick="openWindow(this,'Member', 480, 640); return false;"><!-- TMPL_VAR NAME=
<!-- TMPL_IF Name="transferred" -->
<p>
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
<tr><th colspan="6">Transfered Items</th></tr>
<tr><th>Barcode</th><th>Title</th><th>Author</th><th>Type</th><th>From</th><th>To</th></tr>
<tr><th colspan="6" class="circulation">Transfered Items</th></tr>
<tr><th class="circulation">Barcode</th><th class="circulation">Title</th><th class="circulation">Author</th><th class="circulation">Type</th><th class="circulation">From</th><th class="circulation">To</th></tr>
<!-- TMPL_LOOP Name="trsfitemloop" -->
<tr><td align="center" bgcolor="<!-- TMPL_VAR NAME="color" -->">
<a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;type=intra" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcode" --></a></td>
@ -139,6 +133,12 @@ onclick="openWindow(this,'Member', 480, 640); return false;"><!-- TMPL_VAR NAME=
</table>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<div class="bloc25">
<a class="button circulation" href="circulation.pl">
Next Borrower</a>
<a class="button circulation" href="returns.pl">
Returns</a>
</div>
</div>
<!-- TMPL_INCLUDE Name="circulation-bottom.inc" -->

View File

@ -183,6 +183,9 @@
<!-- TMPL_IF NAME="NO_MORE_RENEWALS" -->
<p class="problem">No more renewals possible</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="EXPIRED" -->
<p class="problem">Borrower card expired</p>
<!-- /TMPL_IF -->
<br/>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->

View File

@ -1,7 +1,7 @@
<!-- TMPL_INCLUDE Name="circulation-top.inc" -->
<div id="mainbloc">
<h1>Circulation: Select Printer and Branch Settings</h1>
<h1 class="circulation">Circulation: Select Printer and Branch Settings</h1>
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
<p>
@ -29,7 +29,7 @@
</select>
<!-- /TMPL_IF --></p>
<p><input type="hidden" name="setcookies" value="1">
<input type="submit" value="Submit" type="changesettings" class="button"></p>
<input type="submit" value="Submit" type="changesettings" class="button circulation"></p>
</form>
</div>

View File

@ -20,6 +20,11 @@
<li>Auth value : means the value is not free, but in the authorised value list of the selected type</li>
<li>thesaurus : means that the value is not free, but can be searched in authority/thesaurus of the selected category</li>
<li>plugin : means the value is calculated or managed by a plugin. Plugins can do almost anything. For example, in UNIMARC there are plugins for every 1xx fields that are coded fields. The plugin is a huge help for cataloger ! There are also two plugins (unimarc_plugin_210c and unimarc_plugin_225a that can "magically" find the editor from an ISBN, and the collection list for the editor)</li>
<li>link : useless for instance</li>
<li>link : If you enter a field/subfield here (200b), a little glass appears after the subfield. If the user clic on the glass, a search is done on the DB for the field/subfield with the same value. Can be used for 2 main topic :
<ul>
<li>on a field like author (200f in UNIMARC), put 200f here, you will be able to see all biblios with the same author</li>
<li>on a field that is a link (4xx) to reach another biblio. For example, put 011a in 464$x, will find the serial that was previously with this issn. With the 4xx pligin, you get a powerful tool to manage biblios connected to biblios</li>
</ul>
</li>
</ul>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

View File

@ -0,0 +1,11 @@
<!-- TMPL_INCLUDE name="help-top.inc" -->
<h1>Circulation / Issues help</h1>
<p>Before you begin, it is very important that you take note of the branch and printer settings and change them if necessary. This should only have to be done the first time you do circulations from a workstation, after which a browser cookie will remember the correct settings. If you do circulations under the wrong branch settings (for example, your branch setting is "Suburb," but you are actually working at the "Downtown" branch), then Koha will reset the location of all items scanned to the incorrect branch (Suburb) and the statistical reports will credit all circulations to the wrong branch.</p>
<p>Now start by scanning the borrower's barcode or type in their name to find their account. Once Koha has found the borrower, you will see a new form for scanning or typing the item's identifying number (usually a barcode).</p>
<p>If you wish to have this item and all subsequent items in this transaction to have a date due other than the default date due defined for the item type, use the "Sticky Due Date" to set the date due before scanning the first item.</p>
<p>If the issuing has nothing specific, it will be done immediatly and shown (with other borrower issues) at bottom.</p>
<p>If the issuing is problematic, then another box will appear (in <b>RED</b>) and ask for confirmation if possible. If the issuing is really impossible (for example, the barcode does not exist), then you can't confirm the issue. If it is possible but has something that needs confirmation (like item being issued to another borrower, or borrower having issued too many items), then you must confirm the issuing. If the confirmation means another operation (if item is issued to another borrower, then issuing also means make the return), then it's also done</p>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

View File

@ -0,0 +1,10 @@
<!-- TMPL_INCLUDE name="help-top.inc" -->
<h1>Circulation / Returns help</h1>
<p>Before you begin, it is very important that you take note of the branch and printer settings and change them if necessary. This should only have to be done the first time you do circulations (or returns) from a workstation, after which a browser cookie will remember the correct settings. If you do returns under the wrong branch settings (for example, your branch setting is "Suburb," but you are actually working at the "Downtown" branch), then Koha will reset the location of all items scanned to the incorrect branch (Suburb).</p>
<p>Now simply scan or type the returned item's identifying number (usually a barcode) in the box provided.</p>
<p>The return is done and if there is something specific for the item or the borrower (like borrower having debts), a red box will warn you</p>
<p>If the item has been requested by someone else, you also are asked to validate the request. If you confirm it, item is changed to a "waiting" status and you should warn the borrower that the item is available</p>
<p>If the item is requested by someone in anothe branch, then you must validate the transfer too</p>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

View File

@ -0,0 +1,8 @@
<!-- TMPL_INCLUDE name="help-top.inc" -->
<h1>iso 2709 export</h1>
<p>This is a tool to export your bibliographic records in standard MARC communications format (ISO2709). It exports only the basic bibliographic information with no holdings information other than any holdings information originally loaded into Koha using the bulkmarcimport tool.</p>
<p>You are asked to provide a starting biblio record number and an ending number for the export. If you want to export all of your records, leave the start and end numbers blank.</p>
<p>Records are downloaded to the workstation that requests the export and are saved in a file called "marc.pl."</p>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

View File

@ -5,6 +5,16 @@
<title>KOHA: INTRANET: Acquisitions</title>
<link rel="stylesheet" type="text/css" media="print" href="<!-- TMPL_VAR name="themelang" -->/includes/common-print.css">
<link rel="stylesheet" type="text/css" media="screen" href="<!-- TMPL_VAR name="themelang" -->/includes/common-style.css">
<!-- Additions for 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>
<!-- /Additions for Calendar-system -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">
function Help() {

View File

@ -33,4 +33,6 @@ div#mainbloc,
div#bloc100
{
display: block;
}
}

View File

@ -74,6 +74,7 @@ table {
table.noborder {
border:0px;
border-collapse:collapse;
font-size:10pt;
margin : auto;
}
table.small {

View File

@ -54,7 +54,7 @@ a {
h1.catalogue{
text-align:center;
background-color:#ad11ad;
color: #FFFFFF;
color: #000000;
text-decoration: normal;
font-weight: bold;
}
@ -83,6 +83,25 @@ h1.reports{
font-weight: bold;
}
h2 {
margin-top:0px;
margin-bottom:4px;
text-align:center;
padding:0px;
font-size:125%;
padding-left:10px;
padding-right:10px;
padding-bottom:3px;
padding-top:3px;
}
h2.reports{
text-align:center;
background-color: #6b7cbe;
color: #FFFFFF;
text-decoration: normal;
font-weight: bold;
}
h1.circulation{
text-align:center;
background-color: #be6170;
@ -91,6 +110,15 @@ h1.circulation{
font-weight: bold;
}
h1.authority {
text-align:center;
background-color: #6b7cbe;
color:#000000;
text-decoration: normal;
font-weight: bold;
background-image:none;
}
h1.parameters{
text-align:center;
background-color: #86c268;
@ -120,13 +148,21 @@ a.catalogue:hover {
text-decoration: none;
cursor: hand;
background-color:#ad11ad;
color:#FFFFFF;
color:#000000;
font-weight: bold;
border:1px solid #000000;
line-height:200%;
}
a.members {
.little {
font-weight: normal;
font-size:10pt;
padding:0px 0px 0px 0px;
text-decoration: none;
line-height:100%;
}
.members {
font-weight: normal;
text-decoration: none;
cursor: hand;
@ -134,7 +170,7 @@ a.members {
font-weight: bold;
line-height:200%;
}
a.members:hover {
.members:hover {
background-color: #86c268;
border:1px solid #000000;
color: #000000;
@ -143,7 +179,7 @@ a.members:hover {
line-height:200%;
}
a.acquisition {
a.authority {
font-weight: normal;
text-decoration: none;
cursor: hand;
@ -151,7 +187,23 @@ a.acquisition {
font-weight: bold;
line-height:200%;
}
a.acquisition:hover {
a.authority:hover {
background-color: #6b7cbe;
border:1px solid #000000;
color: #000000;
text-decoration: none;
font-weight: bold;
}
.acquisition {
font-weight: normal;
text-decoration: none;
cursor: hand;
color:#777777;
font-weight: bold;
line-height:200%;
}
.acquisition:hover {
background-color: #ffdf61;
border:1px solid #000000;
color: #000000;
@ -168,6 +220,7 @@ a.reports {
font-weight: bold;
line-height:200%;
}
a.reports:hover {
background-color: #6b7cbe;
border:1px solid #000000;
@ -177,7 +230,7 @@ a.reports:hover {
line-height:200%;
}
a.circulation {
.circulation {
font-weight: normal;
text-decoration: none;
cursor: hand;
@ -185,7 +238,7 @@ a.circulation {
font-weight: bold;
line-height:200%;
}
a.circulation:hover {
.circulation:hover {
background-color: #be6170;
border:1px solid #000000;
color: #000000;
@ -261,3 +314,10 @@ a.bull:hover {
margin:0px;
padding:0px;
}
#bloc25, .bloc25 {
float:left;
border:1px solid #000000;
margin:0px;
padding:0px;
}

View File

@ -61,7 +61,7 @@ a.catalogue:hover {
</div>
<!-- /TMPL_UNLESS -->
<!-- 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>
<p> 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>
<p><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
<!-- /TMPL_IF -->

View File

@ -39,8 +39,6 @@
</div>
<!-- /TMPL_IF -->
<form action="/cgi-bin/koha/members/memberentry.pl" method="post">
<input type="hidden" name="joining" value="<!-- TMPL_VAR NAME="dateenrolled" -->">
<input type="hidden" name="expiry" value="<!-- TMPL_VAR NAME="expiry" -->">
<input type="hidden" name="type" value="borrowers">
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->">
<input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->">
@ -237,6 +235,17 @@
<tr>
<th colspan="5" >LIBRARY USE</th>
</tr>
<tr>
<!-- TMPL_IF NAME="addAction" -->
<td>Joining date (leave blank for today)</td>
<td><input type="text" name="joining" size="12" maxlength="10" value="<!-- TMPL_VAR name="joining" -->"></td>
<!-- TMPL_ELSE -->
<td>Joining date</td>
<td><!-- TMPL_VAR name="joining" --></td>
<!-- /TMPL_IF -->
<td>Expiry date (leave blank for auto calc)</td>
<td><input type="text" name="expiry" size="12" maxlength="10" value="<!-- TMPL_VAR name="expiry" -->"></td>
</tr>
<tr>
<td>Borrower message (appears in OPAC)</td>
<td colspan="4"><textarea name="textmessaging" cols="70" rows="3"><!-- TMPL_VAR NAME="textmessaging" --></textarea></td>

View File

@ -2,24 +2,26 @@
<div id="mainbloc">
<h1>Pay Fines for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></h1>
<form action="/cgi-bin/koha/pay.pl" method="post">
<table cellspacing="0" cellpadding="5" border="1">
<tr valign="top">
<td bgcolor="#99cc33" background="/images/background-mem.gif" colspan="4"><b>FINES &amp; CHARGES</b></td>
<td bgcolor="#99cc33" background="/images/background-mem.gif" colspan="4"><b>AMOUNT OWING</b></td>
<form action="/cgi-bin/koha/pay.pl" method="post">
<table>
<tr>
<th colspan="3">FINES &amp; CHARGES</th>
<th colspan="2">AMOUNT OWING</th>
</tr>
<!-- TMPL_LOOP NAME="loop_pay" -->
<tr valign="top">
<td><input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->"><input type="radio" name="payfine<!-- TMPL_VAR NAME="i" -->" value="no" checked="checked">Unpaid
<input type="radio" name="payfine<!-- TMPL_VAR NAME="i" -->" value="yes">Pay
<input type="radio" name="payfine<!-- TMPL_VAR NAME="i" -->" value="wo">Writeoff
<input type="hidden" name="itemnumber<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="itemnumber" -->">
<input type="hidden" name="accounttype<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="accounttype" -->">
<input type="hidden" name="amount<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="amount'}" -->">
<input type="hidden" name="out<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="amountoutstanding" -->">
<input type="hidden" name="bornum<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="bornum" -->">
<input type="hidden" name="accountno<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="accountno" -->">
<tr>
<td>
<input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->">
<input type="radio" name="payfine<!-- TMPL_VAR NAME="i" -->" value="no" checked="checked">Unpaid
<input type="radio" name="payfine<!-- TMPL_VAR NAME="i" -->" value="yes">Pay
<input type="radio" name="payfine<!-- TMPL_VAR NAME="i" -->" value="wo">Writeoff
<input type="hidden" name="itemnumber<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="itemnumber" -->">
<input type="hidden" name="accounttype<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="accounttype" -->">
<input type="hidden" name="amount<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="amount'}" -->">
<input type="hidden" name="out<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="amountoutstanding" -->">
<input type="hidden" name="bornum<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="bornum" -->">
<input type="hidden" name="accountno<!-- TMPL_VAR NAME="i" -->" value="<!-- TMPL_VAR NAME="accountno" -->">
</td>
<td><!-- TMPL_VAR NAME="description" --> <!-- TMPL_VAR NAME="title" --></td>
<td><!-- TMPL_VAR NAME="accounttype" --></td>
@ -28,17 +30,17 @@
</tr>
<!-- /TMPL_LOOP -->
<tr valign="top">
<td colspan="4" align="right"><b>Total Due</b></td>
<td><b><!-- TMPL_VAR NAME="total" --></b></td>
</tr>
<tr valign="top">
<th colspan="4" align="right">Total Due</th>
<th><!-- TMPL_VAR NAME="total" --></th>
</tr>
<tr>
<td colspan="5" align="right">
<input type="submit" name="submit" value="Pay" class="button"></td>
</tr>
</table>
</form>
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Return</a> to Member Record
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->" class="button member">Return to Member Record </a>
</div>
<!-- TMPL_INCLUDE NAME="members-bottom.inc" -->

View File

@ -35,21 +35,6 @@
<td>Define item types.</td>
</tr>
<tr>
<td valign=top width="25%"><a href="/cgi-bin/koha/admin/itemtypecategory.pl"> Item categories</a></td>
<td>Define item categories. (Non-Fiction, Fiction, Non-Fiction and Fiction...)</td>
</tr>
<tr>
<td valign=top width="25%"><a href="/cgi-bin/koha/admin/itemtypesubcategory.pl"> Item subcategories</a></td>
<td>Define item Subcategories. (Junior Fiction, Junior Non fiction.... Adult Fiction.)</td>
</tr>
<tr>
<td valign=top width="25%"><a href="/cgi-bin/koha/admin/mediatype.pl"> Item mediatypes</a></td>
<td>Define item mediatypes. (CD, Video, Book, Game...)</td>
</tr>
<tr>
<td valign="top" width="25%"><a href="/cgi-bin/koha/admin/categorie.pl">Borrower categories</a></td>
<td>Define the categories of borrowers.</td>

View File

@ -35,6 +35,18 @@
</tr>
<!-- /TMPL_IF -->
<!-- -------------------------------------------------------------------------------------------------------- -->
<!-- TMPL_IF NAME="itemtags" -->
<tr>
<td><b>Item tag</b></td>
<td>There is more than 1 MARC tag related to items tab (10) : <!-- TMPL_VAR name="itemtags" --></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td>OK</td>
<td><i>Only 1 marc tag mapped to items</i></td>
</tr>
<!-- /TMPL_IF -->
<!-- -------------------------------------------------------------------------------------------------------- -->
<!-- TMPL_IF NAME="itemtypes_empty" -->
<tr>
<td><b>itemtypes table empty</b></td>
@ -116,6 +128,21 @@
</tr>
<!-- /TMPL_IF -->
<!-- -------------------------------------------------------------------------------------------------------- -->
<!-- TMPL_IF NAME="frameworknull" -->
<tr>
<td><b>framework values</b></td>
<td>there is a null value in a frameworkcode. Check the following tables<br/>
<li>select * from marc_subfield_structure where frameworkcode is NULL</li>
<li>select * from marc_tag_structure where frameworkcode is NULL</li>
<li>select * from marc_biblio where frameworkcode is NULL</li></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td>OK</td>
<td><i>no NULL value in frameworkcode</i></td>
</tr>
<!-- /TMPL_IF -->
<!-- -------------------------------------------------------------------------------------------------------- -->
<!-- TMPL_IF NAME="total" -->
<tr>
<td><b>TOTAL</b></td>

View File

@ -1,5 +1,3 @@
<!-- clarification needed about this page. many questions... what is Lib? a Library? -->
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<div id="mainbloc">
@ -7,7 +5,7 @@
<!-- ------------------------------------------------------------------------ -->
<h1>
<!-- TMPL_IF NAME="use-heading-flags-p" -->
<!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit MARC subfields constraints<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit MARC subfields constraints for framework <!-- TMPL_IF name="frameworkcode" --><!-- TMPL_VAR NAME="frameworkcode" --><!-- TMPL_ELSE -->default<!-- /TMPL_IF --><!-- /TMPL_IF -->
<!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
</h1>
<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
@ -19,44 +17,44 @@
<td>
<h2 class="parameters">Tag <!-- TMPL_VAR NAME="tagfield" -->, Subfield <!-- TMPL_VAR NAME="tagsubfield" --></h2>
<h3>MARC constraints</h3>
<p>
<label>&nbsp;</label><!-- TMPL_VAR NAME="repeatable" --> repeatable
<!-- TMPL_VAR NAME="mandatory" --> mandatory
</p>
<p>
<label>&nbsp;</label>
<label>Search also</label><input type="text" name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20> (example for 200a : '200c','200d','200e'...)
</p>
<p><label>&nbsp;</label><label>Koha link:</label> <!-- TMPL_VAR NAME="kohafield" --></p>
<ul>
<p>
<!-- TMPL_VAR NAME="repeatable" --> repeatable
<!-- TMPL_VAR NAME="mandatory" --> mandatory
</p>
<!-- TMPL_IF name="frameworkcode" -->
<p>Search also: <i>(meaningful only for default framework)</i></p>
<!-- TMPL_ELSE -->
<p>
Search also: <input type="text" name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20> (example for 200a : '200c','200d','200e'...)
</p>
<!-- /TMPL_IF -->
<p>Koha link:<!-- TMPL_VAR NAME="kohafield" --></p>
</ul>
<h3>Editor constaints</h3>
<p> <label>&nbsp;</label>
<label>Text for librarian</label>
<input type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" -->" size="40" maxlength="80">
</p>
<p>
<label>&nbsp;</label>
<label>Text for OPAC</label> <input type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" -->" size="40" maxlength="80">
</p>
<p><label>&nbsp;</label><label>Managed in tab</label> <!-- TMPL_VAR NAME="tab" --> (ignore means that the subfield is NOT managed by Koha)</p>
<p><label>&nbsp;</label><!-- TMPL_VAR NAME="hidden" --> hidden (subfield is managed, but hidden. -should be filled by a plugin or thesaurus-)</p>
<p><label>&nbsp;</label><!-- TMPL_VAR NAME="isurl" --> URL (if checked, it means that the subfield is an URL and can be clicked</p>
<p>
<label>&nbsp;</label><label>Auth value:</label> <!-- TMPL_VAR NAME="authorised_value" -->
or thesaurus: <!-- TMPL_VAR NAME="authtypes" -->
or plugin: <!-- TMPL_VAR NAME="value_builder" -->
or link: <input type="text" name="link" value="<!-- TMPL_VAR NAME="link" -->" size="10" maxlength="5"> (exemple :200b)
</p>
<ul>
<p>Text for librarian: <input type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" -->" size="40" maxlength="80">
</p>
<p>Text for OPAC: <input type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" -->" size="40" maxlength="80">
</p>
<p>Managed in tab<!-- TMPL_VAR NAME="tab" --> (ignore means that the subfield is NOT managed by Koha)</p>
<p><!-- TMPL_VAR NAME="hidden" --> hidden (subfield is managed, but hidden. -should be filled by a plugin or thesaurus-)</p>
<p><!-- TMPL_VAR NAME="isurl" --> URL (if checked, it means that the subfield is an URL and can be clicked</p>
<p>
<label>Auth value:</label> <!-- TMPL_VAR NAME="authorised_value" -->
or thesaurus: <!-- TMPL_VAR NAME="authtypes" -->
or plugin: <!-- TMPL_VAR NAME="value_builder" -->
</p>
<p>
<label>&nbsp;</label>Link to field :
<input type="text" name="link" value="<!-- TMPL_VAR NAME="link" -->" size="10" maxlength="5"> (exemple :200b)
</p>
</ul>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<input type="submit" value="OK">
<p>Note: in the last column, you can choose:
<ul><li>An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table.</li>
<li>A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table.</li>
<li>A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically.</li>
</ul>
</p>
</form>
<!-- /TMPL_IF -->

View File

@ -111,46 +111,77 @@
<input type="submit" value="OK" class="button">
</form>
<!-- /TMPL_IF -->
<!-- ------------------------------------------------------------------------ -->
<!-- TMPL_IF NAME="else" -->
<div id="bloc25">
<h2 class="parameters">Select a framework</h2>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<select name="frameworkcode">
<option value="">Default</option>
<!-- TMPL_LOOP NAME="frameworkloop" -->
<option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="frameworktext" --></option>
<!-- /TMPL_LOOP -->
</select>
<input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
<input type="submit" value="OK" class="button">
</form>
<b>NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script.</b>
</div>
<div id="bloc100">
<div id="bloc25">
<h2 class="parameters">Select a framework</h2>
<form name="f" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<select name="frameworkcode">
<option value="">Default</option>
<!-- TMPL_LOOP NAME="frameworkloop" -->
<option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="frameworktext" --></option>
<!-- /TMPL_LOOP -->
</select>
<input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
<input type="submit" value="OK" class="button">
<p>
<i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" <!-- TMPL_IF Name="select_display"-->checked<!--/TMPL_IF --> OnChange="javascript:document.f.submit()">
</p>
</form>
<b>NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script.</b>
</div>
<div id="bloc100">
<table>
<tr>
<th>Tag</th>
<th>Lib</th>
<th>Repeatable</th>
<th>Mandatory</th>
<th>Authorised<br />value</th>
<th>Subfields</th>
<th>Edit</th>
<th>Delete</th>
<!-- TMPL_LOOP NAME="loop" -->
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
<td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
<td><!-- TMPL_VAR NAME="liblibrarian" --></td>
<td><!-- TMPL_IF NAME="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="authorised_value" --></td>
<td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->" class="button">subfields</a></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&amp;searchfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0"></a></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkdcode" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th>Tag</th>
<th>Lib</th>
<th>Repeatable</th>
<th>Mandatory</th>
<th>Authorised<br />value</th>
<th>Subfields</th>
<th>Edit</th>
<th>Delete</th>
<tr>
<!-- TMPL_IF NAME="select_display" -->
<!-- TMPL_LOOP NAME="loop" -->
<tr class="hilighted">
<td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
<td><!-- TMPL_VAR NAME="liblibrarian" --></td>
<td><!-- TMPL_IF NAME="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="authorised_value" --></td>
<td><a href="<!-- TMPL_VAR NAME="subfield_link" -->" class="button">subfields</a></td>
<td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0"></a></td>
<td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
</tr>
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
<td>
&nbsp;
</td>
<td colspan=7 border=0>
<!-- TMPL_LOOP NAME="subfields" -->
<p><label>&nbsp;</label>
Tab:<!-- TMPL_VAR NAME="tab" --> | $<!-- TMPL_VAR NAME="tagsubfield" -->
<!-- TMPL_VAR NAME="liblibrarian" --> <!-- TMPL_IF NAME="kohafield" --><!-- TMPL_VAR NAME="kohafield" --><!--/TMPL_IF --><!-- TMPL_IF NAME="repeatable" -->, repeatable<!-- /TMPL_IF --><!-- TMPL_IF NAME="mandatory" -->, Mandatory<!-- /TMPL_IF --><!-- TMPL_IF NAME="seealso" -->, See <!-- TMPL_VAR name="seealso" --><!--/TMPL_IF --><!-- TMPL_IF NAME="authorised_value" -->, <!-- TMPL_VAR NAME="authorised_value" --><!--/TMPL_IF --><!-- TMPL_IF NAME="authtypecode" -->, <!-- TMPL_VAR NAME="authtypecode" --><!--/TMPL_IF --><!-- TMPL_IF NAME="value_builder" -->, <!-- TMPL_VAR NAME="value_builder" --><!--/TMPL_IF -->
</p>
<!-- /TMPL_LOOP -->
</td>
</tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<!-- TMPL_LOOP NAME="loop" -->
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
<td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
<td><!-- TMPL_VAR NAME="liblibrarian" --></td>
<td><!-- TMPL_IF NAME="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="authorised_value" --></td>
<td><a href="<!-- TMPL_VAR NAME="subfield_link" -->" class="button">subfields</a></td>
<td><a href="<!-- TMPL_VAR NAME="edit" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0"></a></td>
<td><a href="<!-- TMPL_VAR NAME="delete" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
<!--/TMPL_IF -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="add_form">
</table>
@ -159,17 +190,23 @@
<input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->">
<input type="submit" class="button" value="Add Tag" title="Add Tag" alt="Add Tag" >
<!-- TMPL_IF NAME="isprevpage" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->">
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" --><!--TMPL_IF Name="select_display"-->&amp;select_display=True<!--/TMPL_IF -->">
<input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="previous" alt="previous" border="0">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="nextpage" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->">
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" --><!--TMPL_IF Name="select_display"-->&amp;select_display=True<!--/TMPL_IF -->">
<input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" alt="next" border="0">
</a>
<!-- /TMPL_IF -->
</form>
</form>
<script language="javascript" type="text/javascript">
function ChangeDisplay(checkbox) {
window.
}
</script>
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

View File

@ -1,205 +1,181 @@
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
<!-- TMPL_IF NAME="add_form" -->
<script language="javascript" type="text/javascript">
function _(s) { return s } // dummy function for gettext
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNotNull(f,noalert) {
if (f.value.length ==0) {
return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function toUC(f) {
var x=f.value.toUpperCase();
f.value=x;
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNum(v,maybenull) {
var n = new Number(v.value);
if (isNaN(n)) {
return false;
}
if (maybenull==0 && v.value=='') {
return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isDate(f) {
var t = Date.parse(f.value);
if (isNaN(t)) {
return false;
}
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Check(f) {
var ok=1;
var _alertString="";
var alertString2;
if (f.printername.value.length==0) {
_alertString += "\n- " + _("printer name missing");
}
if (f.printqueue.value.length==0) {
_alertString += "\n- " + _("Queue missing");
}
if (_alertString.length==0) {
document.Aform.submit();
} else {
alertString2 = _("Form not submitted because of the following problem(s)");
alertString2 += "\n------------------------------------------------------------------------------------\n";
alertString2 += _alertString;
alert(alertString2);
}
}
</script>
<!-- TMPL_IF NAME="searchfield" -->
<h1>Modify printer</h1>
<!-- TMPL_ELSE -->
<h1>Add printer</h1>
<!-- /TMPL_IF -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
<input type="hidden" name="op" value="add_validate">
<table>
<!-- TMPL_IF NAME="searchfield" -->
<tr>
<td>Printer Name</td>
<td>
<input type="hidden" name="printername" value="<!-- TMPL_VAR NAME="searchfield" -->"><!-- TMPL_VAR NAME="searchfield" -->
</td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td>Printer Name</td>
<td>
<input type="text" name="printername" size="50" maxlength="50">
</td>
</tr>
<!-- /TMPL_IF -->
<tr>
<td>Queue</td>
<td><input type="text" name="printqueue" size="50" maxlength="50" value="<!-- TMPL_VAR NAME="printqueue" -->"> </td>
</tr>
<tr>
<td>Type</td>
<td><input type="text" name="printtype" size="50" maxlength="50" value="<!-- TMPL_VAR NAME="printtype" -->"> </td>
</tr>
<tr>
<td> </td>
<td><input type="button" value="OK" onclick="Check(this.form)"></td>
</tr>
</table>
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="add_validate" -->
Data recorded
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="submit" value="OK">
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="delete_confirm" -->
<table border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#99cc33">
<td background="/images/background-mem.gif"><b>Printer</b></td>
<td background="/images/background-mem.gif"><b><!-- TMPL_VAR NAME="searchfield" --></b></td>
</tr>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="delete_confirmed">
<input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
<tr>
<td>Queue</td>
<td><!-- TMPL_VAR NAME="printqueue" --></td>
</tr>
<tr>
<td>Type</td>
<td><!-- TMPL_VAR NAME="printtype" --></td>
</tr>
<tr>
<td colspan="2" align="center">CONFIRM DELETION</td>
</tr>
<tr>
<td>
<input type="submit" value="YES">
</form>
</td>
<td>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="submit" value="NO">
</form>
</td>
</tr>
</table>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="delete_confirmed" -->
Data deleted
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="submit" value="OK">
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="else" -->
<h2>Printer admin</h2>
<form action="<!-- TMPL_VAR NAME="script_name">" method="post">
<input type="text" name="description" value="<!-- TMPL_VAR NAME="searchfield" -->">
<input type="reset" name="reset" value="clr">
</form>
<!-- TMPL_IF NAME="searchfield" -->
You searched for <b><!-- TMPL_VAR NAME="searchfield" --></b>
<!-- /TMPL_IF -->
<table border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#99cc33">
<td background="/images/background-mem.gif"><b>Name</b></td>
<td background="/images/background-mem.gif"><b>Queue</b></td>
<td background="/images/background-mem.gif"><b>Type</b></td>
<td background="/images/background-mem.gif"> </td>
<td background="/images/background-mem.gif"> </td>
</tr>
<!-- TMPL_LOOP NAME="loop" -->
<tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
<td><!-- TMPL_VAR NAME="printername" --></td>
<td><!-- TMPL_VAR NAME="printqueue" --></td>
<td><!-- TMPL_VAR NAME="printtype" --></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&amp;searchfield=<!-- TMPL_VAR NAME="printername" -->">Edit</a></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR NAME="printername" -->">Delete</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="add_form">
<div id="mainbloc">
<h1>Printer admin</h1>
<!-- TMPL_IF NAME="add_form" -->
<script language="javascript" type="text/javascript">
function _(s) { return s } // dummy function for gettext
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNotNull(f,noalert) {
if (f.value.length ==0) {
return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function toUC(f) {
var x=f.value.toUpperCase();
f.value=x;
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isNum(v,maybenull) {
var n = new Number(v.value);
if (isNaN(n)) {
return false;
}
if (maybenull==0 && v.value=='') {
return false;
}
return true;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function isDate(f) {
var t = Date.parse(f.value);
if (isNaN(t)) {
return false;
}
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Check(f) {
var ok=1;
var _alertString="";
var alertString2;
if (f.printername.value.length==0) {
_alertString += "\n- " + _("printer name missing");
}
if (f.printqueue.value.length==0) {
_alertString += "\n- " + _("Queue missing");
}
if (_alertString.length==0) {
document.Aform.submit();
} else {
alertString2 = _("Form not submitted because of the following problem(s)");
alertString2 += "\n------------------------------------------------------------------------------------\n";
alertString2 += _alertString;
alert(alertString2);
}
}
</script>
<div id="bloc25">
<!-- TMPL_IF NAME="searchfield" -->
<h2 class="parameters">Modify printer</h2>
<!-- TMPL_ELSE -->
<h2 class="parameters">Add printer</h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="offsetgtzero" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->">&lt;&lt; Prev</a>
<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
<input type="hidden" name="op" value="add_validate">
<!-- TMPL_IF NAME="searchfield" -->
<p><label>Printer Name</label><input type="hidden" name="printername" value="<!-- TMPL_VAR NAME="searchfield" -->"><!-- TMPL_VAR NAME="searchfield" --></p>
<!-- TMPL_ELSE -->
<p><label>Printer Name</label><input type="text" name="printername" size="50" maxlength="50"></p>
<!-- /TMPL_IF -->
<p><label>Queue</label><input type="text" name="printqueue" size="50" maxlength="50" value="<!-- TMPL_VAR NAME="printqueue" -->"> </p>
<p><label>Type</label><input type="text" name="printtype" size="50" maxlength="50" value="<!-- TMPL_VAR NAME="printtype" -->"> </p>
<p><input type="button" value="OK" onclick="Check(this.form)" class="button"></p>
</form>
</div>
<!-- /TMPL_IF -->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!-- TMPL_IF NAME="ltcount" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->">Next &gt;&gt;</a>
<!-- /TMPL_iF -->
<br>
<input type="submit" class="button" value="Add printer" alt="Add printer">
<br>
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="add_validate" -->
Data recorded
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="submit" value="OK" class="button">
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="delete_confirm" -->
<table border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#99cc33">
<td background="/images/background-mem.gif"><b>Printer</b></td>
<td background="/images/background-mem.gif"><b><!-- TMPL_VAR NAME="searchfield" --></b></td>
</tr>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="delete_confirmed">
<input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
<tr>
<td>Queue</td>
<td><!-- TMPL_VAR NAME="printqueue" --></td>
</tr>
<tr>
<td>Type</td>
<td><!-- TMPL_VAR NAME="printtype" --></td>
</tr>
<tr>
<td colspan="2" align="center">CONFIRM DELETION</td>
</tr>
<tr>
<td>
<input type="submit" value="YES">
</form>
</td>
<td>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="submit" value="NO">
</form>
</td>
</tr>
</table>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="delete_confirmed" -->
Data deleted
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="submit" value="OK">
</form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="else" -->
<form action="<!-- TMPL_VAR NAME="script_name">" method="post">
<input type="text" name="description" value="<!-- TMPL_VAR NAME="searchfield" -->">
<input type="reset" name="reset" value="clr">
</form>
<!-- TMPL_IF NAME="searchfield" -->
You searched for <b><!-- TMPL_VAR NAME="searchfield" --></b>
<!-- /TMPL_IF -->
<table border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#99cc33">
<td background="/images/background-mem.gif"><b>Name</b></td>
<td background="/images/background-mem.gif"><b>Queue</b></td>
<td background="/images/background-mem.gif"><b>Type</b></td>
<td background="/images/background-mem.gif"> </td>
<td background="/images/background-mem.gif"> </td>
</tr>
<!-- TMPL_LOOP NAME="loop" -->
<tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
<td><!-- TMPL_VAR NAME="printername" --></td>
<td><!-- TMPL_VAR NAME="printqueue" --></td>
<td><!-- TMPL_VAR NAME="printtype" --></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&amp;searchfield=<!-- TMPL_VAR NAME="printername" -->" class="button">Edit</a></td>
<td><a href="<!-- TMPL_VAR NAME="script_name" -->?op=delete_confirm&amp;searchfield=<!-- TMPL_VAR NAME="printername" -->" class="button">Delete</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="hidden" name="op" value="add_form">
<!-- TMPL_IF NAME="offsetgtzero" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->">&lt;&lt; Prev</a>
<!-- /TMPL_IF -->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!-- TMPL_IF NAME="ltcount" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->">Next &gt;&gt;</a>
<!-- /TMPL_iF -->
<br>
<input type="submit" class="button" value="Add printer" alt="Add printer">
<br>
</form>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

View File

@ -213,7 +213,7 @@
<th> </td>
</tr>
<!-- TMPL_LOOP NAME="loop" -->
<tr bgcolor="<!-- TMPL_VAR NAME="toggle" -->">
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="name" --></td>
<td><!-- TMPL_VAR NAME="host" --></td>
<td><!-- TMPL_VAR NAME="port" --></td>

View File

@ -72,6 +72,22 @@
<td>Borrower Category</td>
<td><input type="text" name="Filter" value=""></td>
</tr>
<tr class="hilighted">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Without issues since</td>
<td><input size="10" id="to" name="Filter" value="" type="text">
<img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" id="openCalendarTo" style="cursor: pointer;" valign="top" border="0" hspace="0" vspace="0">
<script type="text/javascript">
Calendar.setup(
{
inputField : "to",
ifFormat : "%Y-%m-%d",
button : "openCalendarTo",
}
);
</script></td>
</tr>
</tbody>
</table>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -24,19 +24,22 @@
var MSG_NO_RECORD_SELECTED = _("No biblio selected");
var MSG_NO_RECORD_ADDED = _("No biblio added");
function Dopop(link) {
newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
newin=window.open(link,'popup','width=700,height=500,toolbar=false,scrollbars=yes');
}
</script>
</head>
<body>
<!-- MENUS -->
<div id="menuline">
<img src="<!-- TMPL_VAR name="themelang" -->/images/front-background-small.gif" height="50" alt="koha logo" style="float: left" />
<div id="title">
<!-- TMPL_IF name="opacsmallimage" -->
<img src="<!-- TMPL_VAR name="opacsmallimage"-->" height="50" alt="koha logo"/>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR name="themelang" -->/images/front-background-small.gif" height="50" alt="koha logo"/>
<!-- /TMPL_IF -->
<div class="SmallLibraryName"><!--TMPL_VAR name="LibraryName"--></div>
<span class="spacer">&nbsp;</span>
<span class="spacer">&nbsp;</span>
</div>
<div id="menuline">
<a class="menu" href="/cgi-bin/koha/opac-main.pl" title="Koha home page">Home</a>
<span class="spacer">&nbsp;</span>
<a class="menu" href="/cgi-bin/koha/opac-search.pl" title="Advanced search">Advanced search</a>
<!-- TMPL_IF NAME="loggedinusername" -->
<!-- TMPL_IF name="virtualshelves" -->
@ -46,9 +49,7 @@
<a href="opac-suggestions.pl" class="menu">View & manage suggestions</a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<span class="spacer">&nbsp;</span>
<a class="menu" href="/cgi-bin/koha/opac-user.pl" title="Member Home page" >Personal page</a>
<span class="spacer">&nbsp;</span>
<a class="menu" href="javascript:openBasket()" title="Biblio basket">Biblio basket <span id="basket"><script language="javascript" type="text/javascript">if(basketcount){ document.write(basketcount) };</script></span></a>
</div>
<!-- MAIN BODY OF PAGE -->

View File

@ -50,7 +50,10 @@ label {
img {
border-width:0px;
text-align:left;
position:absolute;
display:inline;
float:left;
padding-left:10px;
padding-right:10px;
}
.relative { /* for images in relative position */
@ -90,11 +93,9 @@ h1 {
background-color:transparent;
font-weight:bold;
font-size: 115%;
text-align : center;
vertical-align:top;
padding: 2px;
width:100%;
margin-left:70px;
}
/* subtitles. headers of blocks */
@ -142,7 +143,7 @@ p.copyright {
table {
border:1px solid #000000;
border-collapse:collapse;
width:90%;
position:static;
}
/* header */
th {
@ -154,13 +155,20 @@ th {
border-left:1px solid #000000;
border-bottom:1px solid #000000;
border-top:1px solid #000000;
padding:5px;
}
/* standard cell */
tr {
display:table-row;
position:static;
}
td {
font-size:10pt;
border-left:1px solid #000000;
vertical-align:top;
position:static;
display:table-cell;
}
/* hilighted cell */
@ -354,9 +362,14 @@ select:hover {
display:inline;
}
#menuline {
float:left;
#title {
display:block;
margin-left:0px;
}
#menuline {
display:block;
margin-left:100px;
}
#bibliomenu {
@ -368,22 +381,40 @@ select:hover {
}
/* a little spacer. should not be used */
.spacer {
padding-left:20pt;
float:left;
}
.basketspacer {
padding-left:8pt;
float:left;
}
/* for SubscritptionHistory view */
div.tabsubs {
margin-left:150px;
position:inline;
}
div.tabsubs a {
font-size: small;
border: thin solid black;
margin-right: 2px;
padding: 10px 10px;
-moz-border-radius: 5px 5px 0px 0px;
}
div.tabsub {
background-color: #ACE6E6;
position:absolute;
visibility:hidden;
margin-left:150px;
margin-top:0px;
border:4px;
}
/* for MARC view */
div.tabs {
width:10px;
position:absolute;
width:15px;
display:block;
margin-left:50px;
margin-top:150px;
margin-top:70px;
margin-left:40px;
}
div.tabs a {
@ -395,14 +426,24 @@ div.tabs a {
-moz-border-radius: 5px 0px 0px 5px;
}
div.tabbloc {
position:absolute;
display:block;
top:140px;
left:62px;
margin-right:0px;
border: 1px solid black;
background-color:none;
}
div.tab {
background-color: #ACE6E6;
display: block;
visibility:hidden;
position:absolute;
margin-left:72px;
margin-top:150px;
margin-right:10%;
float:left;
margin-right:0px;
background-color:none;
}
.MARCtag { /* style for tag definition (700 - Statement of responsability) */

View File

@ -27,7 +27,6 @@
<!-- /TMPL_IF -->
<a class="button" href="javascript:addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->')">Add to basket</a>
</div>
<div class="tabs">
<!-- TMPL_IF name="0XX" -->
<a href="javascript:active(0)"><div id="link0">0</div></a>
@ -61,7 +60,7 @@
<!-- /TMPL_IF -->
<a href="javascript:active(10)">I<br/>t<br/>e<br/>m<br/>s</a>
</div>
<div class="tabbloc">
<div name="0XX" id="0XX" class="tab" style="visibility:visible">
<!-- TMPL_LOOP name="0XX" -->
<!-- TMPL_IF name="tag" -->
@ -319,6 +318,7 @@
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
<script language="JavaScript" type="text/javascript">
function active(numlayer)
{

View File

@ -1,38 +1,39 @@
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<div id="mainbloc">
<!-- TMPL_IF NAME="nopermission" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>Sorry, KOHA doesnt think you have permission for this page.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="timed_out" -->
<!-- This is what is displayed if login has timed out -->
<h2>Sorry, your session has timed out, please login again.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="different_ip" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>You are accessing koha from a different ip address! please login again.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="invalid_username_or_password" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>You entered an incorrect username or password, please try again.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="loginprompt" -->
<!-- login prompt time-->
<form action="<!-- TMPL_VAR NAME="url" -->" method="post">
<h1>Koha Login</h1>
<p><label>Cardnumber</label><input name="userid" /></p>
<p><label>Password</label><input type="password" name="password" /></p>
<!-- TMPL_LOOP NAME="INPUTS" -->
<input type="hidden" name='<!-- TMPL_VAR NAME="name" -->' value='<!-- TMPL_VAR NAME="value" -->' />
<!-- /TMPL_LOOP -->
<p><label>&nbsp;</label><input type="submit" value="login" class="button" /></p>
</form>
<!-- /TMPL_IF -->
<div id="bloc60">
<!-- TMPL_IF NAME="nopermission" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>Sorry, KOHA doesnt think you have permission for this page.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="timed_out" -->
<!-- This is what is displayed if login has timed out -->
<h2>Sorry, your session has timed out, please login again.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="different_ip" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>You are accessing koha from a different ip address! please login again.<h2>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="invalid_username_or_password" -->
<!-- This is what is displayed if user doesnt have permission -->
<h2>You entered an incorrect username or password, please try again.<h2>
<!-- /TMPL_IF -->
</div>
<div id="bloc60">
<!-- TMPL_IF NAME="loginprompt" -->
<!-- login prompt time-->
<form action="<!-- TMPL_VAR NAME="url" -->" method="post">
<h2>Koha Login</h2>
<p><label>Cardnumber</label><input name="userid" /></p>
<p><label>Password</label><input type="password" name="password" /></p>
<!-- TMPL_LOOP NAME="INPUTS" -->
<input type="hidden" name='<!-- TMPL_VAR NAME="name" -->' value='<!-- TMPL_VAR NAME="value" -->' />
<!-- /TMPL_LOOP -->
<p><label>&nbsp;</label><input type="submit" value="login" class="button" /></p>
</form>
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -64,11 +64,11 @@
<!-- TMPL_IF name="seriestitle" --><p><label><b>Collection:</b> </label><!-- TMPL_VAR NAME="seriestitle" --> <!-- TMPL_IF name="volume" -->vol. <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="subjects" --><p><label><b>Subject(s):</b> </label></p>
<!-- TMPL_LOOP name="subjects" -->
<p><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, </p> <!-- /TMPL_LOOP -->
<p><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator==&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, </p> <!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
<!-- TMPL_IF name="copyrightdate" --><p><label><b>Year :</b> </label><!-- TMPL_VAR NAME="copyrightdate" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --><p><label><b>Notes:</b> </label><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="unititle" --><p><label><b>Unititle:</b> </label><!-- TMPL_VAR NAME="unititle" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="unititle" --><p><label><b>Alt title:</b> </label><!-- TMPL_VAR NAME="unititle" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="dewey" --><p><label><b>Dewey:</b></label><!-- TMPL_VAR name="dewey" --></p><!-- /TMPL_IF -->
<!-- TMPL_IF name="url" --><p><label><b>URL:</b> </label><a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a></p><!-- /TMPL_IF -->
<p><label><b>Item type : </b></label>
@ -78,7 +78,9 @@
<!-- TMPL_VAR NAME="itemtype" -->
<!-- /TMPL_IF -->
</p>
<p><b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" --></p>
<!-- TMPL_IF name="count" -->
<p><b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" --></p>
<!-- /TMPL_IF -->
</td>
</tr>
</table>
@ -157,45 +159,12 @@
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_IF name="subscriptionsnumber" -->
<div id="bloc25">
<p>This is a serial subscription (There are <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p>
<!-- TMPL_LOOP Name="subscriptions" -->
<b class="catalogue"> Subscription #<!--TMPL_VAR Name="subscriptionid"--> </b>
<p><!--TMPL_VAR Name="subscriptionnotes"--> </p>
<!--TMPL_IF Name="latestserials"-->
<p> Here comes a list of the three latest issues related to this subscription :</p>
<table>
<!--TMPL_LOOP Name="latestserials"-->
<tr>
<td>
<!--TMPL_VAR Name="serialseq"-->
</td>
<td>
<!--TMPL_VAR Name="planneddate"-->
</td>
<td>
<!--TMPL_IF Name="status1"-->Waited
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status2"-->Arrived
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status3"-->Late
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status4"-->Missing
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status5"-->Not Issued
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!--/TMPL_IF-->
</td>
</tr>
<!--/TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<p> For more information : You can see <a href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Serial issues"> for Issues</a> we have and don't have</p>
</div>
<p>
This is a serial subscription (we have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions). You can see which
<a href="opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue" title="Serial issues">
Issues
</a> we have and don't have
</p>
<!-- /TMPL_IF -->
</div>
</div>

View File

@ -0,0 +1,166 @@
<!-- TMPL_INCLUDE name="popup-top.inc"-->
<body>
<div id="mainbloc">
<h1 class="catalogue">Dictionary Search</h1>
<form name="f" method="post" action="opac-dictionary.pl">
<div class="bloc25">
<h2 class="catalogue">Search on</h2>
<p>
<input type="hidden" name="op" value="do_search">
<label class="label100" for="keyword"></label>
<input type="hidden" name="marclist" value="<!-- TMPL_VAR Name="marclist" -->">
<input type="text" name="search" value="<!-- TMPL_VAR Name="search" -->" size="35">
<input type="submit" value="Start search" class="button catalogue">
<input type="hidden" name="type" value="<!-- TMPL_VAR Name="type" -->">
<input type="hidden" name="index" value="<!-- TMPL_VAR Name="anindex" ESCAPE="URL" -->">
</p>
</div>
</form>
<!-- TMPL_IF Name=search -->
<div class="bloc25">
<h2 class="catalogue">Dictionary Search results</h2>
<!-- TMPL_IF NAME="authresult" -->
<div id="resultnumber">
<p><!-- TMPL_IF NAME="displayprev" -->
<a class="resultnumber" href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">&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="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a class="resultnumber" href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">Next&gt;&gt;</a>
<!-- /TMPL_IF -->
</p>
<p class="resultcount">
<!-- TMPL_IF NAME="nbresults" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --><!-- TMPL_ELSE -->No results found.
<!-- /TMPL_IF -->
</p>
</div>
<div id="resultlist">
<table>
<tr>
<th colspan="3" class="catalogue">Authorities</th>
</tr>
<tr>
<th class="catalogue">Summary</th>
<th class="catalogue">Used in</th>
<th class="catalogue">Select</th>
</tr>
<!-- TMPL_LOOP NAME="authresult" -->
<tr>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="summary" -->
</td>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="used" --> biblio(s)
</td>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="mainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">select</a>
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="mainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">sel&amp;close</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- TMPL_ELSE -->
<h3 class="catalogue">No results in Authorities</h3>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name=catresult -->
<div id="resultnumber">
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --><!-- TMPL_ELSE -->No results found.
<!-- /TMPL_IF -->
</p>
</div>
<div id="resultlist">
<table>
<tr>
<th class="catalogue">Summary</th>
<th class="catalogue">Used in</th>
<th class="catalogue">Select</th>
</tr>
<!-- TMPL_LOOP NAME="catresult" -->
<tr>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="MARC_ON" -->
<!-- TMPL_VAR NAME="value" -->
<!-- TMPL_ELSE -->
<!-- TMPL_VAR NAME="value" -->
<!-- /TMPL_IF -->
</td>
<td align="center" <!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
<!-- TMPL_VAR NAME="count" --> biblio(s)
</td>
<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">Select</a>
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">Sel&amp;close</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div id="resultnumber">
<p><!-- TMPL_IF NAME="displayprev" -->
<a class="resultnumber" href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">&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="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a class="resultnumber" href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">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 -->No results found.
<!-- /TMPL_IF -->
</p>
</div>
<!-- /TMPL_IF -->
<script language="JavaScript" type="text/javascript">
function SelectEntry(myentry, myindex, wclose){
if (opener.document.f.value[myindex].value!=""){
opener.document.f.value[myindex].value=opener.document.f.value[myindex].value+" "+myentry
} else {
opener.document.f.value[myindex].value=myentry
}
if (wclose == 1) {
// alert("closing")
self.close();
}
}
</script>
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE name="opac-bottom.inc" -->

View File

@ -0,0 +1,64 @@
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<!-- TMPL_UNLESS name="popup" -->
<h1 class="catalogue">Subscription information for biblio #<!-- TMPL_VAR NAME="biblionumber" --> with title : <!-- TMPL_VAR name="bibliotitle" --></h1>
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">Back to biblio</a>
<!-- /TMPL_UNLESS -->
<div class="tabsubs">
<!-- TMPL_LOOP NAME="years" -->
<!-- TMPL_IF NAME="year" -->
<a class="tabsubs" href="javascript:active(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<a class="tabsubs" href="opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Compact view</a>
</div>
<!-- TMPL_LOOP NAME="years" -->
<div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" class="tabsub" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
<table>
<tr>
<th> Date
</th>
<th> Number
</th>
<th> Status
</th>
</tr>
<!-- TMPL_LOOP Name="serials" -->
<tr>
<td>
<!-- TMPL_VAR Name="planneddate" -->
</td>
<td>
<!-- TMPL_VAR Name="serialseq" -->
</td>
<td>
<!-- TMPL_IF Name="status1" -->Arrived<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status2" -->Waited<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status3" -->Late<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status4" -->Missing<!-- /TMPL_IF -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!--/TMPL_LOOP -->
<script language="JavaScript" type="text/javascript">
active(<!-- TMPL_VAR name="yearmin" -->);
function active(numlayer)
{
for (i=<!--TMPL_VAR Name="yearmin"-->; i<=<!--TMPL_VAR Name="yearmax"-->; i++ ) {
ong = i;
link = "link"+i;
if (numlayer==i) {
document.getElementById(ong).style.visibility="visible";
} else {
document.getElementById(ong).style.visibility="hidden";
}
}
}
</script>
</body>
</html>

View File

@ -14,7 +14,11 @@
<body>
<div id="leftbloc">
<img class="relative" src="<!-- TMPL_VAR NAME='themelang' -->/images/front-background-med.gif" title="koha" alt="koha" />
<!-- TMPL_IF name="opaclargeimage" -->
<img class="relative" src="<!-- TMPL_VAR name="opaclargeimage"-->" title="koha" alt="koha" />
<!-- TMPL_ELSE -->
<img class="relative" src="<!-- TMPL_VAR NAME='themelang' -->/images/front-background-med.gif" title="koha" alt="koha" />
<!-- /TMPL_IF -->
</div>
<div id="homebloc">

View File

@ -15,7 +15,7 @@
<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" onchange="sql_update()" size="35" />
<input type="text" name="value" size="35" />
</p>
<p>
<label class="label20">Title</label>
@ -23,14 +23,20 @@
<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" onchange="sql_update()" size="35" />
<input type="text" name="value" size="35" />
<a href="javascript:Dopop('opac-dictionary.pl?marclist=biblio.title&amp;type=intranet&amp;index=1',1)" class="button catalogue">
...
</a>
</p>
<p>
<label class="label20">Author</label> <input type="hidden" name="marclist" value="biblio.author" />
<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" onchange="sql_update()" size="35" />
<input type="text" name="value" size="35" />
<a href="javascript:Dopop('opac-dictionary.pl?marclist=biblio.author&amp;type=intranet&amp;index=2',2)" class="button catalogue">
...
</a>
</p>
<p>
<label class="label20">Subject</label>
@ -38,7 +44,18 @@
<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" onchange="sql_update()" size="35" />
<input type="text" name="value" size="35" />
<a href="javascript:Dopop('opac-dictionary.pl?marclist=bibliosubject.subject&amp;type=intranet&amp;index=3',3)" class="button catalogue">
...
</a>
</p>
<p>
<label class="label20">Series title</label>
<input type="hidden" name="marclist" value="biblio.seriestitle" />
<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" size="35"/>
</p>
<p>
<label class="label20">Series title</label>
@ -73,7 +90,7 @@
<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" onchange="sql_update()" />
<input type="text" name="value" />
</p>
<p>
<label class="label20">Call Number</label>
@ -81,7 +98,7 @@
<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" onchange="sql_update()" />
<input type="text" name="value" />
</p>
<p>
<label class="label20">ISBN</label>
@ -89,7 +106,7 @@
<input type="hidden" name="and_or" value="and" />
<input type="hidden" name="excluding" value="" />
<input type="hidden" name="operator" value="=" />
<input type="text" name="value" onchange="sql_update()" />
<input type="text" name="value" />
</p>
<p>
<label class="label20">Publisher</label>
@ -97,7 +114,7 @@
<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" onchange="sql_update()" />
<input type="text" name="value" />
</p>
<p>
<label class="label20">Published between</label>
@ -105,13 +122,13 @@
<input type="hidden" name="and_or" value="and" />
<input type="hidden" name="excluding" value="" />
<input type="hidden" name="operator" value=">=" />
<input type="text" name="value" size="6" maxlength="4" onchange="sql_update()" />
<input type="text" name="value" size="6" maxlength="4" />
and
<input type="hidden" name="marclist" value="biblioitems.publicationyear" />
<input type="hidden" name="and_or" value="and" />
<input type="hidden" name="excluding" value="" />
<input type="hidden" name="operator" value="<=" />
<input type="text" name="value" size="6" maxlength="4" onchange="sql_update()" />
<input type="text" name="value" size="6" maxlength="4" />
</p>
<p>
<label class="label20">Results per page</label>
@ -129,7 +146,7 @@
<option value="biblioitems.dewey">Dewey</option>
<option value="biblioitems.publicationyear">Publication Year</option>
<option value="biblioitems.publishercode">Publisher</option>
<option value="biblio.timestamp desc">Acquisition date</option>
<option value="biblio.timestamp">Acquisition date</option>
</select>
<select name="desc_or_asc" size="1">
<option value="ASC">Ascending</option>
@ -154,40 +171,9 @@
<h3>Partial search</h3>
<p>A search is done on every words you enter. Empty words are ignored. If you enter, for example "the two towers" in the title, the result list will contain all the books containing two AND tower in the title. The "the" will be discarded.</p>
<p>If you want to enter a partial word, add a * or a % at the end of the word. For example "two tower*" will retrieve "the two towers", "two white towers", "a tower and two cities"</p>
<h3>Dictionnary search</h3>
<p>if you clic on ... on the right of title/author/subject, you can search existing values in the library.</p>
</div>
</form>
<script type="text/javascript">
function sql_update() {
document.f.sql.value="";
for (i=0 ; i<document.f.marclist.length ; i++) {
if (document.f.value[i].value.length>0) {
document.f.sql.value = document.f.sql.value+
document.f.and_or[i].value + ' (' +
document.f.excluding[i].value + ' ' +
document.f.marclist[i].value + ' ' +
document.f.operator[i].value + ' ' +
'\''+document.f.value[i].value + '\') ';
}
}
}
function AddStatement() {
document.forms[0].op.value="AddStatement";
document.f.submit();
}
function PopupSuggestion() {
var strQuery="";
for (i=0 ; i<document.f.marclist.length ; i++) {
if (document.f.value[i].value.length>0) {
strQuery += " "+document.f.value[i].value;
}
}
newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes');
}
</script>
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -55,18 +55,17 @@
<td<!-- TMPL_IF name="even" --> class="hilighted"<!-- /TMPL_IF -->><input type="checkbox" name="bibid" value="<!-- TMPL_VAR NAME="biblionumber" -->"></td>
<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
<p>
<p>
<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
<b><a class="transparent" href="/cgi-bin/koha/opac-MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
<b><a class="transparent" href="/cgi-bin/koha/opac-MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="BiblioDefaultViewisbd" -->
<b><a class="transparent" href="/cgi-bin/koha/opac-ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="BiblioDefaultViewisbd" -->
<b><a class="transparent" href="/cgi-bin/koha/opac-ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<!-- TMPL_ELSE -->
<b><a class="transparent" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<!-- /TMPL_IF -->
<b><a class="transparent" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<!-- /TMPL_IF -->
</p>
<p><!-- TMPL_VAR NAME="author" -->
<!-- /TMPL_IF -->
</p>
<p><!-- TMPL_VAR NAME="author" -->
<!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
@ -116,7 +115,7 @@
&nbsp;
<!-- /TMPL_IF -->
</th>
<th colspan="2" align="right">
<th colspan="3" align="right">
<!-- TMPL_IF NAME="displaynext" -->
<a class="results" href="opac-search.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;orderby=<!-- TMPL_VAR NAME="orderby" -->&amp;type=intranet&amp;op=do_search">Next &gt;&gt;&gt;</a>
<!-- TMPL_ELSE -->

View File

@ -1,13 +1,14 @@
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="catalogue">Issues for a subscription</h1>
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">Back to biblio</a>
<form method="post" name="f">
<!-- TMPL_LOOP name="subscription_LOOP" -->
<div id="bloc60">
<h2 class="catalogue">Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h2>
<p>It began on <b><!-- TMPL_VAR name="startdate" --></b> and is issued every
<h1 class="catalogue">Issues for a subscription</h1>
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">Back to biblio</a>
<a class="button" href="opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=full">Complete view</a>
<!-- TMPL_LOOP name="subscription_LOOP" -->
<div id="bloc60">
<h2 class="catalogue">Subscription information for <!-- TMPL_VAR name="bibliotitle" --></h2>
<p>It began on <b><!-- TMPL_VAR name="histstartdate" --></b> and is issued every
<b>
<!--TMPL_IF name="periodicity1" -->
day
@ -43,45 +44,57 @@
2 years
<!-- /TMPL_IF -->
</b>
on
<b>
<!--TMPL_IF name="arrival1" -->
Monday
on <b>monday</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival2" -->
Tuesday
on <b>tuesday</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival3" -->
Wednesday
on <b>wednesday</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival4" -->
Thursday
on <b>thursday</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival5" -->
Friday
on <b>friday</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival6" -->
Saturday
on <b>saturday</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival7" -->
Sunday
on <b>sunday</b>
<!-- /TMPL_IF -->
</b>
for <b>
<!-- TMPL_IF name="numberlength" --><!-- TMPL_VAR name="numberlength" --> issues<!-- /TMPL_IF -->
<!-- TMPL_IF name="weeklength" --><!-- TMPL_VAR name="weeklength" --> weeks<!-- /TMPL_IF -->
<!-- TMPL_IF name="monthlength" --><!-- TMPL_VAR name="monthlength" --> months<!-- /TMPL_IF -->
</b>
since <b><!-- TMPl_VAR name="startdate" --></b>
</p>
<p>Last renewal of subscription was <b><!-- TMPl_VAR name="startdate" --></b></p>
<!-- TMPL_IF name="enddate" --><p><b>This subscription is now ended. The last issue was recieved on <!-- TMPL_VAR name="enddate" --></b></p><!-- /TMPL_IF name="enddate" -->
<!--TMPL_UNLESS Name=fullinfo -->
<p><!-- TMPL_VAR name="notes" --></p>
<!-- TMPL_IF name="opacnote" -->
<h2 class="catalogue">Issues summary</h2>
<p>
<!-- TMPL_VAR name="opacnote" -->
</p>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF name="opacnote" -->
<h2 class="catalogue">Issues summary</h2>
<p>
<!-- TMPL_VAR name="opacnote" -->
</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="recievedlist" -->
<h2 class="catalogue">Recieved issues</h2>
<p>
<!-- TMPL_VAR name="recievedlist" -->
</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="missinglist" -->
<h2 class="catalogue">Missing issues</h2>
<p>
<!-- TMPL_VAR name="missinglist" -->
</p>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_LOOP -->
</div>

View File

@ -4,13 +4,18 @@
<div class="bloc20">
<h2>Are our records correct?</h2>
<p>Library Card: <!-- TMPL_VAR NAME="cardnumber" --> </p>
<p><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></p>
<p><!-- TMPL_VAR NAME="streetaddress" -->, <!-- TMPL_VAR NAME="zipcode" --> <!-- TMPL_VAR NAME="city" --></p>
<p><!-- TMPL_VAR NAME="physstreet" -->, <!-- TMPL_VAR NAME="homezipcode" --> <!-- TMPL_VAR NAME="streetcity" --></p>
<p><!-- TMPL_VAR NAME="phone" --> <!-- TMPL_IF name="phone" -->(hm)<!-- /TMPL_IF --></p>
<p><!-- TMPL_VAR NAME="faxnumber" --> <!-- TMPL_IF name="fawnumber" -->(wk)<!-- /TMPL_IF --></p>
<p><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->
<p>Work address: <!-- TMPL_VAR NAME="streetaddress" -->, <!-- TMPL_VAR NAME="city" --></p>
<p>Home address: <!-- TMPL_VAR name='physstreet' --></p>
<p><!-- TMPL_IF name="phone" -->Home phone: <!-- TMPL_VAR NAME="phone" --><!-- /TMPL_IF --></p>
<p><!-- TMPL_IF name="faxnumber" -->Fax: <!-- TMPL_VAR NAME="faxnumber" --><!-- /TMPL_IF --></p>
<p><!-- TMPL_VAR NAME="emailaddress" --></p>
<p><a href="/cgi-bin/koha/opac-userupdate.pl" class="button">Update Record</a></p>
<!-- TMPL_IF name="textmessaging"-->
<h2>Message from the library</h2>
<!-- TMPL_VAR name="textmessaging" -->
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF NAME="amountoverfive" -->
<div class="bloc20">
@ -35,70 +40,79 @@
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="waiting_count" -->
<div class="bloc60">
<h2>You have reserved items waiting:</h2>
<ul>
<!-- TMPL_LOOP NAME="WAITING" -->
<li><!-- TMPL_VAR NAME="btitle" -->, pick up at: <b><!-- TMPL_VAR NAME="branch" --></b></li>
<!-- /TMPL_LOOP -->
</ul>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="waiting_count" -->
<div class="bloc60">
<h2>You have reserved items waiting:</h2>
<ul>
<!-- TMPL_LOOP NAME="WAITING" -->
<li><!-- TMPL_VAR NAME="btitle" -->, pick up at: <b><!-- TMPL_VAR NAME="branch" --></b></li>
<!-- /TMPL_LOOP -->
</ul>
</div>
<!-- /TMPL_IF -->
<div class="bloc60">
<!-- TMPL_IF NAME="issues_count" -->
<h2>You have <b><!-- TMPL_VAR NAME="issues_count" --></b> items currently issued.</h2>
<table>
<div class="bloc60">
<!-- TMPL_IF NAME="issues_count" -->
<h2>You have <b><!-- TMPL_VAR NAME="issues_count" --></b> items currently issued.</h2>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>Due date</th>
<th>Itemtype</th>
<th>Barcode</th>
<th>Charges</th>
<th>Renewable</th>
</tr>
<!-- TMPL_LOOP NAME="ISSUES" -->
<!-- TMPL_IF name="overdue"-->
<tr>
<td><!-- TMPL_VAR NAME="title" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><b>OVERDUE <!-- TMPL_VAR NAME="date_due" --></b></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="status" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
</tr>
<!-- TMPL_ELSE -->
<tr>
<td><!-- TMPL_VAR NAME="title" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="date_due" --></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="status" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
<h2>You have no items on issue.</h2>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF NAME="reserves_count" -->
<div class="bloc60">
<h2>You have <b><!-- TMPL_VAR NAME="reserves_count" --></b> items currently reserved.</h2>
<table cellspacing="0" align="center">
<tr>
<th>Title</th>
<th>Author</th>
<th>Due date</th>
<th>Itemtype</th>
<th>Barcode</th>
<th>Charges</th>
<th>Renewable</th>
<th>Reserve date</th>
</tr>
<!-- TMPL_LOOP NAME="ISSUES" -->
<tr>
<!-- TMPL_IF name="overdue"--><td class="problem"><!--TMPL_ELSE--><td><!--/TMPL_IF-->
<!-- TMPL_VAR NAME="title" --></td>
<!-- TMPL_IF name="overdue"--><td class="problem"><!--TMPL_ELSE--><td><!--/TMPL_IF-->
<!-- TMPL_VAR NAME="author" --></td>
<!-- TMPL_IF name="overdue"--><td class="problem"><!--TMPL_ELSE--><td><!--/TMPL_IF-->
<!-- TMPL_VAR NAME="date_due" --></td>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="status" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
</tr>
<!-- TMPL_LOOP NAME="RESERVES" -->
<tr valign="top">
<td><!-- TMPL_VAR NAME="btitle" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="reservedate" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
<h2>You have no items on issue.</h2>
<br />
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_IF NAME="reserves_count" -->
<div class="bloc60">
<h2>You have <b><!-- TMPL_VAR NAME="reserves_count" --></b> items currently reserved.</h2>
<table cellspacing="0" align="center">
<tr>
<th>Title</th>
<th>Author</th>
<th>Reserve date</th>
</tr>
<!-- TMPL_LOOP NAME="RESERVES" -->
<tr valign="top">
<td><!-- TMPL_VAR NAME="btitle" --></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="reservedate" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<br />
</div>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->

View File

@ -7,14 +7,15 @@ Your changes won't appear until the library has validated them.</i></p>
<!-- TMPL_LOOP name="BORROWER_INFO" -->
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
<p><label>Surname</label><input type="text" size="25" value="<!-- TMPL_VAR name='surname' -->" name="surname" /></p>
<p><label>Title</label><input type="text" size="25" value="<!-- TMPL_VAR name='title' -->" name="title" /></p>
<p><label>First name</label><input type="text" size="25" value="<!-- TMPL_VAR name='firstname' -->" name="firstname" /></p>
<p><label>Street address</label><input type="text" size="25" value="<!-- TMPL_VAR name='streetaddress' -->" name="streetaddress" /></p>
<p><label>City</label><input type="text" size="25" value="<!-- TMPL_VAR name='city' -->" name="city" /></p>
<p><label>Home phone</label><input type="text" size="25" value="<!-- TMPL_VAR name='phone' -->" name="phone" /></p>
<p><label>Work/Fax phone</label><input type="text" size="25" value="<!-- TMPL_VAR name='faxnumber' -->" name="faxnumber" /></p>
<p><label>Email</label><input type="text" size="25" value="<!-- TMPL_VAR name='emailaddress' -->" name="emailaddress" /></p>
<p><label>Surname</label><input type="text" size="35" value="<!-- TMPL_VAR name='surname' -->" name="surname" /></p>
<p><label>First name</label><input type="text" size="35" value="<!-- TMPL_VAR name='firstname' -->" name="firstname" /></p>
<p><label>Home address</label><input type="text" size="35" value="<!-- TMPL_VAR name='physstreet' -->" name="physstreet" /></p>
<p><label>Work address</label><input type="text" size="35" value="<!-- TMPL_VAR name='streetaddress' -->" name="streetaddress" /></p>
<p><label>City</label><input type="text" size="35" value="<!-- TMPL_VAR name='city' -->" name="city" /></p>
<p><label>Home phone</label><input type="text" size="35" value="<!-- TMPL_VAR name='phone' -->" name="phone" /></p>
<p><label>Work/Fax phone</label><input type="text" size="35" value="<!-- TMPL_VAR name='faxnumber' -->" name="faxnumber" /></p>
<p><label>Email</label><input type="text" size="35" value="<!-- TMPL_VAR name='emailaddress' -->" name="emailaddress" /></p>
<p><label>Notes</label><input type="text" size="35" value="<!-- TMPL_VAR name='title' -->" name="title" /></p>
<p><input type="submit" value="Submit" class="button" /></p>
</form>
</div>

View File

@ -0,0 +1 @@
do not remove this file, used to avoid cvs deleting this directory

View File

@ -128,12 +128,6 @@ if ($op eq 'add' or $op eq 'modify') {
} else {
print $input->redirect("/cgi-bin/koha/members/moremember.pl?bornum=$borrowernumber");
}
if($destination eq "circ"){
print $input->redirect("/cgi-bin/koha/circ/circulation.pl?findborrower=$data{'cardnumber'}");
} else {
print $input->redirect("/cgi-bin/koha/members/moremember.pl?bornum=$data{'borrowernumber'}");
}
}
}
if ($delete){
@ -241,7 +235,7 @@ if ($delete){
$template->param( actionType => $actionType,
destination => $destination,
member => $member,
borrowernumber => $borrowernumber,
address => $data->{'streetaddress'},
firstname => $data->{'firstname'},
surname => $data->{'surname'},
@ -267,8 +261,8 @@ if ($delete){
flagloop => \@flagdata,
relshiploop => \@relshipdata,
"title_".$data->{'title'} => " SELECTED ",
dateenrolled => $data->{'dateenrolled'},
expiry => $data->{'expiry'},
joining => format_date($data->{'dateenrolled'}),
expiry => format_date($data->{'expiry'}),
cardnumber => $cardnumber,
dateofbirth => $data->{'dateofbirth'},
sort1 => $data->{'sort1'},

View File

@ -2,7 +2,7 @@ package Install; #assumes Install.pm
# Copyright 2000-2002 Katipo Communications
# Contains parts Copyright 2003-5 MJ Ray
# Contains parts Copyright 2003-4 MJ Ray
#
# This file is part of Koha.
#
@ -859,8 +859,12 @@ sub checkperlmodules {
unless (eval {require Digest::MD5}) { push @missing,"Digest::MD5" };
unless (eval {require MARC::Record}) { push @missing,"MARC::Record" };
unless (eval {require Mail::Sendmail}) { push @missing,"Mail::Sendmail" };
unless (eval {require PDF::API2}) { push @missing,"PDF::API2" };
# The following modules are not mandatory, depends on how the library want to use Koha
unless (eval {require PDF::API2}) {
if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
push @missing,"You will need PDF::API2 for barcode generator"
}
}
unless (eval {require Net::LDAP}) {
if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
push @missing, "Net::LDAP";
@ -1951,9 +1955,9 @@ sub populatedatabase {
$branchcode or $branchcode='DEF';
startsysout();
system("$mysqldir/bin/mysql '-u$user' -e \"insert into branches (branchcode,branchname,issuing) values ('$branchcode', '$branch', 1)\" '$database'");
system("$mysqldir/bin/mysql '-u$user' -e \"insert into branchrelations (branchcode,categorycode) values ('MAIN', 'IS')\" '$database'");
system("$mysqldir/bin/mysql '-u$user' -e \"insert into branchrelations (branchcode,categorycode) values ('MAIN', 'CU')\" '$database'");
system("$mysqldir/bin/mysql -u$user -e \"insert into branches (branchcode,branchname,issuing) values ('$branchcode', '$branch', 1)\" $database");
system("$mysqldir/bin/mysql -u$user -e \"insert into branchrelations (branchcode,categorycode) values ('MAIN', 'IS')\" $database");
system("$mysqldir/bin/mysql -u$user -e \"insert into branchrelations (branchcode,categorycode) values ('MAIN', 'CU')\" $database");
my $printername='lp';
my $printerqueue='/dev/lp0';
@ -1972,7 +1976,7 @@ sub populatedatabase {
$printerqueue=~s/[^A-Za-z0-9]//g;
}
startsysout();
system("$mysqldir/bin/mysql '-u$user' -e \"insert into printers (printername,printqueue,printtype) values ('$printername', '$printerqueue', '')\" '$database'");
system("$mysqldir/bin/mysql -u$user -e \"insert into printers (printername,printqueue,printtype) values ('$printername', '$printerqueue', '')\" $database");
}
my $language;
if ($auto_install->{Language}) {
@ -1982,7 +1986,7 @@ sub populatedatabase {
$language=showmessage(getmessage('Language'), 'free', 'en');
}
startsysout();
system("$mysqldir/bin/mysql '-u$user' -e \"update systempreferences set value='$language' where variable='opaclanguages'\" '$database'");
system("$mysqldir/bin/mysql -u$user -e \"update systempreferences set value='$language' where variable='opaclanguages'\" $database");
my @dirs;
if (-d "scripts/misc/sql-datas") {
# ask for directory to look for files to append
@ -2153,7 +2157,7 @@ $year+=1900;
my $date= sprintf "%4d-%02d-%02d_%02d:%02d:%02d", $year, $month, $day,$hr,$min,$sec;
setmysqlclipass($pass);
open (MD, "$mysqldir/bin/mysqldump '--user=$user' --host=$hostname '$database'|");
open (MD, "$mysqldir/bin/mysqldump --user=$user --host=$hostname $database|");
(open BF, ">$backupdir/Koha.backup_$date") || (die "Error opening up backup file $backupdir/Koha.backup_$date: $!\n");

View File

@ -73,7 +73,8 @@ my $librarymail = 'librarystaff@library.com'; # all notices without mail are sen
# this text contains fields that are replaced by their value. Those fields must be written between brackets
# The following fields are available :
# <date> <itemcount> <firstname> <lastname> <address1> <address2> <address3> <city> <postcode>
my $mailtext = "\n\n\nDear library borrower\n\n\n <date>\n\n According to our records, you have <itemcount> items that are at\n least a week overdue for return to the library or renewal.\n If you have registered a password with the library, you may use it\n and your library card to login at http://XXX.org\n to check the status of your account, or you may call any of our branch\n Please be advised that all library services will be blocked\n if items are allowed to go more than 30 days overdue.\n\n Thank you for using your public libraries.\n\n\n <firstname> <lastname>\n <address1>\n <address2>\n <city> <postcode>\n\n\n\n\n\n";
my $mailtext = "\n\n\nDear library borrower\n\n\n <date>\n\n According to our records, you have <itemcount> items, the description of which follows, that are at\n least a week overdue for return to the library or renewal:\n title author barcode\n<titles>\n
If you have registered a password with the library, you may use it\n and your library card to login at http://XXX.org\n to check the status of your account, or you may call any of our branch\n Please be advised that all library services will be blocked\n if items are allowed to go more than 30 days overdue.\n\n Thank you for using your public libraries.\n\n\n <firstname> <lastname>\n <address1>\n <address2>\n <city> <postcode>\n\n\n\n\n\n";
#
# END OF PARAMETERS
#
@ -84,13 +85,16 @@ unshift @{$Mail::Sendmail::mailcfg{'smtp'}} , $smtpserver;
# set your own mail server name here
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare ("SELECT count(*), issues.borrowernumber,firstname,surname,streetaddress,physstreet,city,zipcode,emailaddress FROM issues,borrowers,categories WHERE returndate IS NULL AND TO_DAYS(NOW())-TO_DAYS(date_due) BETWEEN 0 and 500 AND issues.borrowernumber=borrowers.borrowernumber and borrowers.categorycode=categories.categorycode and categories.overduenoticerequired=1 group by issues.borrowernumber");
my $sth = $dbh->prepare ("SELECT COUNT(*), issues.borrowernumber,firstname,surname,streetaddress,physstreet,city,zipcode,emailaddress FROM issues,borrowers,categories WHERE returndate IS NULL AND TO_DAYS(NOW())-TO_DAYS(date_due) BETWEEN 0 and 500 AND issues.borrowernumber=borrowers.borrowernumber and borrowers.categorycode=categories.categorycode and categories.overduenoticerequired=1 group by issues.borrowernumber");
my $sth2 = $dbh->prepare("SELECT biblio.title,biblio.author,items.barcode FROM issues,items,biblio WHERE items.itemnumber=issues.itemnumber and biblio.biblionumber=items.biblionumber AND issues.borrowernumber=? AND returndate IS NULL AND TO_DAYS(NOW())-TO_DAYS(date_due) BETWEEN 0 and 500");
$sth->execute;
#
# my $itemcount = 0;
# my $row;
my $count = 0; # to keep track of how many notices are printed
my $e_count = 0; # and e-mailed
my $date=localtime;
my ($itemcount,$borrnum,$firstname,$lastname,$address1,$address2,$city,$postcode,$email);
while (($itemcount,$borrnum,$firstname,$lastname,$address1,$address2,$city,$postcode,$email) = $sth->fetchrow) {
@ -102,7 +106,16 @@ while (($itemcount,$borrnum,$firstname,$lastname,$address1,$address2,$city,$post
$notice =~ s/\<address2\>/$address2/g;
$notice =~ s/\<city\>/$city/g;
$notice =~ s/\<postcode\>/$postcode/g;
$notice =~ s/\<date\>/$date/g;
$sth2->execute($borrnum);
my $titles="";
my ($title, $author, $barcode);
while (($title, $author, $barcode) = $sth2->fetchrow){
$titles .= " ".($title?$title:"")." ".($author?$author:"")." ".($barcode?$barcode:"")."\n";
}
$notice =~ s/\<titles\>/$titles/g;
$sth2->finish;
# if not using e-mail notices, comment out the following lines
if ($email) { # or you might check for borrowers.preferredcont
if ($nomail) {
@ -135,7 +148,7 @@ if ($count) {
$notice .= <ODUES>;
if ($nomail) {
print "TO => $email\n";
print "TO => $email\n" if $email;
print "FROM => $from\n";
print "SUBJECT => Koha overdue\n";
print "MESSAGE => $notice\n";

View File

@ -0,0 +1,479 @@
RELEASE NOTES
=============
Koha is the 1st Open-Source Integrated Library System.
Released at first in New zealand, in 2000 januaray, it is maintained by a team of volunteers from around the globe, the Koha system is a full catalogue, opac, circulation and acquisitions system.
Koha 2.2 is more than 247 000 lines of code, developped by more than 30 differents developpers (excluding translators).
With the 2.2 version, Koha is now a mature product, with a lot of nice features. It's used in more than 50 libraries, from all kinds (public, schools, search, religious...), of all size (from 1 to 8 branches, from 1000 to 300 000 items).
========
WARNINGS
========
* The librarian interface is tested only with mozilla/firefox. Should work (partially) with IE. OPAC should work fine with any navigator.
=======
DIFFS
=======
Diff 2.2.2 => 2.2.3
*******************
DB MODIFS :
***********
(This new chapter in release notes will be in all new releases. It point any change in the DB. All changes are supposed to be handled by the DB updater, but here for your information)
DB structure : none
DB content : none
BUGFIXES
***** Critical & Minor mixed
=== ACQUISITION ===
* adding supplier info to basket.pl (for order printing)
=== OPAC ===
* minor fix in subject link (normal view)
=== CATALOGUE ===
=== CIRCULATION ===
=== BORROWERS ===
* better management of joining & expiry dates :
- dates can be manually typed when adding a borrower.
- Empty fields are automatically calculated (joining = today & expiry date calculated from borrower category)
- Expiry date can be modified
* checking expiry date when trying to issue a book & forbidding issuing when expiry date reached. ** IMPORTANT ** This check was not done before. Thus, you may be unable to issue books where you could before. You can update your database borrower by borrower or with the following SQL command on the server : "update borrowers set expiry='2005-31-12'". You can limit the update to a borrower category with "update borrowers set expiry='2005-31-12' where categorycode='A'" (all SQL commands must be typed without any ")
* template improvements & some bugfixes in fines management.
=== PARAMETERS ===
* in marctagstructure, next & previous button no more loose frameworkcode & link to default framework
=== REPORTS ===
* in "borrowers with no issues" wizard, adding "without issues since" (DOES NOT WORK)
=== ALL ===
IMPROVEMENTS
***** Major
=== CATALOGUE ===
* There is also a FindDuplicate feature for MARC Authorities
**** Minor
Diff 2.2.1 => 2.2.2
*******************
DB MODIFS :
***********
(This new chapter in release notes will be in all new releases. It point any change in the DB. All changes are supposed to be handled by the DB updater, but here for your information)
DB structure : none
DB content :
* new systempref MIME (OPENOFFICE.ORG or EXCEL) and delimiter (;). They are used by the Reports module, when exporting a report to a spreadsheet
* new userflags *management* and *tools* to separate systempreferences in 3 differents permissions (see below)
BUGFIXES
***** Critical & Minor mixed
=== ACQUISITION ===
* 3 bugfixes in suggestions :
- major : a suggestion was not shown in acquisition except when ordered by the suggestor itself.
- major : the mail to the suggestor was not sent.
- minor : the name was not shown in accepted by column, in acquisition
* virtual sheves in OPAC :
- The user needed to have librarian rights to be able to go to the virtual shelf page.
- Adding a book to an existing virtual shelf did not work
* when a line was deleted, it was still counted in bookseller number of pending line order (in order.pl).
* a non closed basket could be modified even if the supplier was set "inactive"
=== OPAC ===
* showing marcnotes in opac-detail (bug #920)
=== CATALOGUE ===
* some fixes in authority search (worked, but could fail to return results under certain circumstances)
* libopac now works : in Koha >> parameters >> biblioframework >> modify field or subfield. If you set "opac text" to a different value than librarian text, you'll have different headers/text for MARC fields (for example : "1st responsability" for librarians, "author" for end users)
* removed a limit to 255 char in field length in MARC editor (the DB can handle much more)
* tabs in MARC editor : the active tab is now hilighted & in biblio modif, empty tabs are not shown (as in biblio add)
* bugfixes in permissions (some pages required parameters where they should require editcatalogue)
* the z3950daemon was buggy (forgotten to port a bugfix in 2.0 branch. It works again)
=== CIRCULATION ===
* renewal date was improperly calculated. Now, returndate is calculated from today, not from previous returndate
* display waiting status only if item has arrived at pickup branch. Setting 'atdestination' variable if so. Changes are required in the template to take advantage of this.
* in circulation, when clicking on member, the member page is opened twice (in main window & in a popup). The popup has been removed.
=== BORROWERS ===
* bugfixes in parameters (when modifying a borrower, with alternate address)
* members flags (card lost, debarred, gone no address) are back in default template.
=== ALL ===
* some fixes for date & currency format
IMPROVEMENTS
***** Major
=== STATS ===
* The stat module is here !!! In Reports menu, you now have 4 powerful "wizards" (for catalogue, borrowers, issues and acquisitions). You can define 3 things in a report : what you want in columns, what you want in lines, and filters you want on datas. For issues & acquisitions, you also can choose what you want in each cell (count or amount, or loan length). You can get those results in your borwser, or in your spreadsheet (MS-Excel & OpenOffice.org work fine). This module will continue to be improved to get the possibility to retrieve bulk datas in your spreadsheat. It works quite well, but has still some bugs and weaknesses. You also get some nice "top XXX" stats.
=== CATALOGUE ===
* catalogue, changed the small "search glass" behaviour. It now appears only on subfields that have a "link" value. Avoid useless glasses and removes nothing. **** WARNING **** : if you don't change you MARC parameters, glasses DISAPPEAR, because no subfields have a link value. So you MUST "reactivate" them manually. If you want to enable the search glass on field 225$a (collection in UNIMARC), just put 225a to "link" field (Koha >> parameters >> framework >> 225 field >> subfield >> modify $a >> enter 225a in link input field (without quotes or anything else)
* showing item status in result list. The book status is in items.notforloan (every non 0 value meaning "book not for loan). The item status should be mapped to an item MARC subfield & this subfield should usually be connected to an authorised_value list.
* in authorities search forms, adding a "main entry" field ($a), to limit the search. The "anywhere" field is still here. An option has been added to search "contains" or "start by".
* item status (opac & librarian interfaces) The item status has been improved : It now can be :
- on order (= item has been ordered, but not yet arrived at the library)
- not for loan : if the "notforloan" field is mapped to an authorised value list, the right value is shown. Thus, an item can be "lost" or "being repaired", or whatever you put in the authorised values list. (reminder : the "notforloan" field, when 0 means 'ok, book can be issued', and all other values means 'nok, book can't be issued' (whatever the reason, that can be in the authorised value table)
* in catalogue search, the user can now order asc or desc.
* in catalogue search, the result list now show the itemtype in a column
* in catalogue search, if there is only 1 answer, open it directly, don't show a list of results with just 1 line.
* added an option to duplicate a biblio
* in search before adding a biblio, the search uses the standard Koha API. It means the user don't have to write the title exactly as in biblio.title (empty words are now excluded)
* changed behaviour for long fields : if a field contains more than 200 chars, the field will be edited as a textarea, not as a standard input. More conveinent.
* in item MARC editor, the item list is hidden if empty.
* in item MARC editor, the user can switch easily to the biblio again
* UNIMARC plugin for 4xx fields. In UNIMARC, 4xx are related to links. This plugin works like the authority popup, but search in biblio instead of authorities. To set it up, you must :
- define a 4xx$9 that will contain the biblio number of the linked biblio. In this 4xx$9 subfield, you must fill the "link to" with the field/subfield that is connected to biblio.biblionumber (090a by default).
- define the subfield you want in the 4xx field. This plugins deals "classic link" method (one of the 2 UNIMARC possibilities for links)
- choose one subfield and set unimarc_field_4xx.pl as plugin.
=== TOOLS ===
* added a tool in misc/merge_authority.pl to merge 2 authorities (and modify biblios using them) This script can also be used to update biblios that use an authority that has been modified.
* added a tool in misc/migration_tools/check_marc_definition.pl that can be helpful when you migrate your datas. It compare the datas in the DB and the setting of MARC structure
It show all fields/subfields that are in the MARC DB but NOT in any tab (= fields used but not visible) Usually, this means you made an error in your MARC editor. Sometimes, this is something normal.
* Useful for translators only : modified tmpl_process to copy files that are not translated (like images, css... previously, they were not copied, it had to be done manually. Errors occurs because changes in english css or images were not reported to the translation directory giving a buggy translation)
=== ALL ===
* added a stylesheet for the printer (useful in acquisition basket printing. The doNotPrint style can be used anywhere to remove a part of the screen during printing)
* new permissions : management & tools. You now have 2 new permissions :
- management : means the user can manage library parameters, but NOT system parameters.
- parameters : means the user can manage all parameters (including system parameters : marc structure, authorised values, system preferences. Was the only flag previously existing)
- tools : means the user can import/export datas & edit barcodes.
note that for compatibility reasons, a user having "parameters" can access everything.
* new permission scheme. In every template new variables are available. They are written CAN_user_permission, with permission being one of the permission flag. templates can now show or hidde menu entries depending on user permissions. For example, a user with just circ permissions should have only the "circulation" button on home page. Templates are NOT updated in this version (except for system parameters, as proof of concept), they will be in the next ones. But the scheme is ready.
**** Minor
=== OPAC ===
* added ISSN to simple biblio detail
* added glasses to OPAC marc view, with same behaviour as in librarian interface.
* overdues items are more visible on opac-user page
* removed menu at bottom of basket page. They are badly shown in some browsers
* in biblio basket, showing item info (location, callnumber and barcode)
* if a search give only 1 result, the user reach it directly (without a 1 line list)
=== ACQUISITION ===
* acquisition, module, adding a button to delete a line in order (was possible by setting qty to 0, but it's more user-friendly)
=== CATALOGUE ===
* in authorities, added a "main entry" search field. Will limit the search to the main entry of the main field of the authority (the $a of the tag_to_report field)
=== BORROWERS ===
* Show the current borrower in librarian interface, normal view of a biblio (with a link to jump to borrower page)
=== CIRCULATION ===
* in circulation, adding a button to edit the borrower & go back to the circ screen directly.
=== TOOLS ===
* changes in overdue_notice.pl script :
- moving all parameters at start of script => easier to maintain
- sending overdues for borrowers without mail to a "koha admin mail".
- ignoring borrowers with "overduenoticerequired" set to 0 (= don't send overduenotice)
- removing "print" to have a silent script (ie can be put in crontab)
Diff 2.2.0 => 2.2.1
*******************
BUGFIXES
***** Critical
* fix for http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=811 : The OPAC requires uses to log in to view virtual shelves, but it does not require a user with librarian privileges
* multiple biblio subtitles are correctly stored & shown in simple (non-MARC) view, even after a biblio modif.
* multiple main authors are now correctly handled in simple (non-MARC) view
* it was possible to create a cardnumber that was already defined
***** Minor
* in serials module >> add subscription >> select biblio : The next / previous page were invalid.
* in serials module >> add subscription >> select biblio : impossible to report the biblio when there is a quote in it (' was not escaped)
* "waiting" status was often inaccurate for a reserved material (should show "in transit" while not in destination branch)
* issn were not stored correctly in non-MARC DB on biblio modification
* in catalogue, modifs were not stored properly the non-MARC item DB. Affect only libraries without barcodes.
* in thesaurus structure, deleting a tag delete the tag in each authtype, not only in the selected authtype.
* plugin unimarc_225a (seriestitle) did not show the seriestitle list, when there was no ISBN
* in authority structure, trying to delete a tag in an authority type, deleted the tag in the default authority type.
* in authority structure, trying to define the 400$0 created a "400$@" ("subfield" for fields <100)
* many bugfixes for a better mod_perl support
* bug in acquisition : the title was also stored as subtitle.
IMPROVEMENTS
***** Major
* serial subscriptions : modifs to handdle correctly more than 1 subscription of the same biblio. Enter subscription detail in subscription notes (like "for branch XX" or "for 2nd floor"). The subscription details are all shown in OPAC.
* serial subscriptions : you can now delete a subscription that is not yet active (= has only 1 issue in "waiting" state)
* adding series title and publication year limits in opac-search form.
* improvements and fixes in Nelsonville templates
* adding a brief/detailled display in biblio basket view.
**** Minor
* in biblio basket, adding the possibility to open a biblio (in the main window) by clicking on the title
* circulation >> issue : showing borrowernumber code just after the borrower name.
* the search on barcodes has been changed to "start" instead of "contains". It's more logic
* in ISBD & MARC view, codes like itemtypes, authorized values... are shown in complete form, not as code.
* do not show reserve fees if they are not applicable (0)
* show a message for libraries with no reserve possible, when the user clic on "request" button.
* adding a "un-debar" button in circulation screen, to unset "debarred" flag for a borrower (ported from nelsonville templates)
* adding a link to member page to jump to issues page directly (ported from nelsonville templates)
* Adding two print versions of the member details screen (ported from nelsonville templates)
- moremember-print.tmpl is a full-page view with information about the patron, issues, and reserves
- moremember-receipt.tmpl is a brief view with information about issues, designed to be appropriate for a slip printer.
* member detail : adding opac login in main page
* adding notforloan column in admin/itemtypes list
* in unimarc_field_225a plugin (collection chooser), ordering the list alphabetically
* in member search, adding an option to order result by name or cardnumber
* added the price in order history
Diff 2.2RC5 => 2.2.0
********************
BUGFIXES
***** Critical
* rolling back lock_tables_privs = 'Y' during install stage (too many problems) The option is shown in bulkmacimport instead.
* bugfix for the search on a MARC detail, when you clic on the magnifying glass (caused an internal server error)
***** Minor
* error in authority => biblio 'jumper' that make the jump fail (was a remaining ')
* when modifying a biblio, on a repeated field with many subfields, the test to show empty subfields in X>1 was wrong : the missing subfields of the 1st field were repeated.
Example :
606 has $a$x$z
1st is 606$a (so $x$z empty)
2nd is 606$a$x
The marc editor in the 2nd field showed before this fix :
606 $a a_value
$x another_value
$x
$z
(the 2nd $x being useless)
* Authorities : Minor changes in summary "exploding" (the 3 digits AFTER the subfield were not on the right place).
* partial support of the "linkage" MARC feature : if you enter a "link" on a MARC subfield, the magnifying glass won't search on the field, but on the linked field. I agree it's a partial support. Will be improved, but I need to investigate MARC21 & UNIMARC diffs on this topic.
IMPROVEMENTS
***** Major
* New systempref parameter : opacstylesheet If this parameter is set to a stylesheet URL, this stylesheet will be used instead of the opactheme one. With this parameter, you can have your own stylesheet for OPAC, that will be used and kept when you update your version of Koha. The systempref must be a complete URL (http://www.koha.org/stylesheet/somestylesheet.css for example)
* improvements in shelves management in OPAC (synch'ing with librarian interface) : the user can modify a bookshelf, add a book into a bookshelf from the biblio, create a bookshelf "on the fly", from the bookshelf popup.
* new directory migration_tools in $KOHA/misc Will store various migration tools. bulkmarcimport has been moved here.
**** Minor
* minor change in MARCdetail : when a field is repeated, the field header is not repeated but replaced by a nice little empty space.
Diff 2.2RC4 => 2.2RC5
*********************
BUGFIXES
***** Critical
* limiting the number of search term to 8. There was no limit before, but 8 words seems to be the upper limit mySQL can deal with (in less than a second. tested on a DB with 13 000 items) In 2.4, a new DB structure will highly speed things and this limit will be removed. FindDuplicate is activated again.
* bugfixes in french translation (that made cataloguing in french impossible)
* set lock_tables_privs = 'Y' during install stage. Note this requires a mysql version not too old.
***** Minor
* during update, if the user enter a different directory for backup than the default one, the updater does not obey and stores in default directory anyway !
* minor (spelling) fix for adding an organization
* member search (bug 851) : stripping out comma and apostrophe from search terms
* various methods to split subjects (depending on OS, a <CR> / <CR><LF> problem)
IMPROVEMENTS
***** Major
* circulation / issue : adding a button to cancel an issue when a confirmation is required (bug #858)
* circulation / issue : adding a checkbox to confirm reserve cancel when a reserved book is issued by someone else (bug #858)
* virtual shelves : adding feature to create a virtual shelf on the fly, when adding a biblio, and feature to modify a virtual shelf name/status
* catalogue : adding a systempref to define default view in OPAC (either normal, MARC or ISBD). Created automatically during install or update. Check that you have a Koha >> parameters >> systempreferences >> BiblioDefaultView, Variable type : Choice, Variable options : normal|marc|isbd
**** Minor
* an improvement has been done in DB calls that needs a new index. It's automatically added in fresh installs, but for updates, run the following SQL command :
ALTER TABLE `marc_subfield_structure` ADD INDEX ( `kohafield` )
* adding a systempref to define default view in OPAC (either normal, MARC or ISBD). Created automatically during install or update. Check that you have a Koha >> parameters >> systempreferences >> BiblioDefaultView, Variable type : Choice, Variable options : normal|marc|isbd
* the list of authorities types is now ordered by authtypetext. Thus you can use the "space trick" : if you add a space before an authtype text, it's shown first. Useful when you have an authority type that you use more often than others.
* authoritiy list shown in authtypetext order (so authtypetext with a space appear first, hint used everywhere else for lists)
* some minor html changes (like changing "images" numbers in "text" numbers for result list page numbers.
Diff 2.2RC3 => 2.2RC4
*********************
BUGFIXES
***** Critical
1 CRITICAL bug in acquisition (another one...) : when MARC=ON, and an order line is created from an existing biblio (to buy another item), the MARC biblio is lost and replaced by the non marc one (that has a lot less informations...). To solve the problem, the biblio can no more be modified after the order has been placed. Less feature, but more reliable ! (not simple solution to solve this problem. Would imply to rewrite the MARC biblio from the non marc datas, and no API is provided for this yet)
2 CRITICAL bugfix in Biblio.pm, removing &branches declaration (was due to an untested cvs rollback, opac-search.pl was crashing)
3 CRITICAL bugfix in Biblio.pm when MARC=OFF. subjects were stored and immediatly deleted. And not stored correctly in MARC part of the biblio. (thanks to Waylon Robertson)
***** Minor
1 bugfix in updatedatabase (auth_header creation table). Don't affect previous install of 2.2, only upgrades 2.0 => 2.2
2 reading rec : Fixing link to toggle between full and limited display
3 bugfix for moremember.pl that no longer outputed item type for issues
4 defaulting actual cost to estimated cost (was 0 by default)
5 bugfix : in biblio search, - and other signs where not properly managed. Leroy-Beaulieu could not be found
6 the popup of the 210c plugin closes when a collection is choosed
7 bugfix : could not select a biblio in subscription creation if the book was not for loan
8 minor fixes in spelling in subscription
9 adding acquisition in default userflags. This flag can be set for librarians that have access to acquisition
10 in subscription enddate calculation, bugfix when subscription based on number of issues (worked when based on subscription length)
11 in subscription next issue date calculation, bugfix when subscription frequency is 1/quarter.
12 datelastseen is updated when the book is returned
13 moredetail.pl shows incorrect date, incorrectly formatted (bug #689)
14 DuplicateFinder has been disabled : sometimes goes into a looonnnggg lasting loop.
15 when a query returns only one result, adding it to basket did not work.
16 deletion of a suggestion was buggy. Now fixed
17 for installation of Koha under Windows there is a bug with subject splitting. Now fixed. (thanks to Waylon Robertson)
IMPROVEMENTS
***** Major
1 a lot in book shelves
2 Submitting with no barcode in issues should clear for next patron (bug #865)
3 screen added to see late issues from a given bookseller
4 Koha should now work under mod_perl (Release Manager don't use mod_perl. fixes comes from A. Tarallo, Argentina, that ensure Koha works fine with mod_perl with the patches applied)
**** Minor
1 show also item tags into marc list of fields (in librarian search interface)
2 email sent basket : the sender can give it's name, in case the basket is sent to a friend, not to itself
3 removing useless string in isbd view
4 cataloguing, in isbnsearch, after searching a title/ISBN, the librarian can choose the framework (+ it's a cataloguing screen, not an acquisition one)
5 serials : in issues management, the waited/late issues bloc is before the collection state bloc.
6 serials : the intranet note has been removed, it's useless
7 after an authority is added/modified, go to this fresh authority (instead of authority-home)
8 search option in auth-top
9 in OPAC, the itemcallnumber search is a "start by" search (was a contains)
10 opac note is defaulted to '' (was 0, that means nothing)
11 adding blank to relshiploop (altrelationship) loop (Bug ???)
12 when deleting an itemtype, don't check issuingrules, but delete them too
13 For MARC=OFF installation, Waylon submitted a script to rebuild MARC part of the catalogue. It's in misc/updatemarc_subjects.pl (thanks to Waylon Robertson)
Diff 2.2RC2 => 2.2RC3
*********************
* CRITICAL bug in acquisition : biblio badly stored in MARC part of Koha, deleting another biblio...
* CRITICAL problem : the duplicate finder (when adding a biblio) has performances problems under certains circumstances.
* bug #862 fixed : Upgrade does not work (from 2.2RC1 to 2.2RC2)
* bugfix in acquisition, when a line is modified, aqorderbreakdown was duplicated. (Seems it was a mysql return value depending on mysql version)
* bugfix in setting user permissions (they were stored, but not shown correctly after)
* bugfix in translation error for basket sent in OPAC
* bugfix in 225a plugin (editor chooser)
* adding itemcallnumber entry in systempreferences during install
* error in biblio detail showing when MARC=ON (bug from RC2, did not exist before)
* bug in acceptorreject OPAC suggestion (bug from RC2, did not exist before)
* Not really a bug but : stopword must not be empty. If it's empty, the search fail.
* During install, the user can load french and english stopwords if he want.
* French librarian interface seems OK
* addbook (1st page when MARC=ON) is a catalogue screen, not an acquisition one
* The barcode is shown in the list of books issued by a borrower in opac-user page.
Diff 2.2RC1 => 2.2RC2
*********************
* bugfix for import in reservoir : title and isbn where not extracted.
* bugfix in OPAC : it was possible to reserve books that where "notforloan"
* bugfix in circulation : no warning when a reserve was made on a book that you try to issue to someone else.
* bugfix & improvement for catalogue management behaviour when MARC=OFF
* bugfix in bookshelves (in CVS, probably not in official tar.gz)
* bugfix in online help (in CVS, probably not in official tar.gz)
=============
INSTALLATION
=============
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./installer.pl
* READ and FOLLOW the instructions
READING what is on screen during installation is VERY important. Some decisions you make during install stage are very hard to reproduce after.
UPGRADE from previous 2.0.0preX or RCx version
*******
* Download the package
* tar xvfz koha-version.tar.gz
* cd koha-version
* ./koha.upgrade
* Follow the instructions
UPGRADE from previous 1.2.x version :
********
UPGRADE TO A 2.0.0 version before upgrading
UPGRADE from a 2.1.x version is NOT AVAILABLE. Don't install 2.2 on a 2.1.x test database. A lot of DB changes have been done since 2.1.x & cannot be handled by the DB updater.
=============
NEW FEATURES
=============
Koha 2.2 has, of course, all the previous features from Koha (acquisition, cataloguing, circulation, members modules, OPAC, complete MARC support...) plus the following new ones :
General :
*********
* (almost) complete rewrite of librarian GUI : now Koha uses CSS, and is easier to use. However, users of Koha 2.0.0 won't be lost, as the general organisation of the product has not changed.
* Online Help : an online help is available everywhere in the librarian interface. It's complete in the parameters section of Koha and for new features. It will be completed for the rest of the product.
* Better LDAP suport : Koha 2.2 can be "connected" to a LDAP server and get all borrower informations from there (including borrower category where applicable). However, to avoid problems for libraries without LDAP server, the LDAP features have been stored in modules/C4/Auth_with_ldap.pm file. The standard Auth.pm don't use it. If you want LDAP, just perldoc Auth_with_ldap.pm and manually tune your Auth package !
* Auto installer : if you install koha with ./install -i /path/to/auto_install_file, then Koha will be installed almost without question. A very usefull feature for developpers that want to install/uninstall Koha quite often. A sample of auto_install_file is provided in misc/auto_install_file.
* Uninstaller : run misc/uninstall.pl, provide the mysql root password. that's all. Koha is completely deleted and can be reinstalled. With the previous feature, it's a very nice solution for test platform.
* mod_perl : Koha should now work under mod_perl, that gives a big performance boost (Release Manager don't use mod_perl. fixes comes from A. Tarallo, Argentina, that ensure Koha works fine with mod_perl with the patches applied)
* Nelsonville have shared their templates. They are available as NPL theme.
* Language : in this version, only english and french versions are fully functionnal. Spanish and chinese are provided, but not fully functionnal. Polish, German, Arabic, Hebrew, and many other languages have volunteers and should be here in a future 2.2.x
BE CAREFUL with uninstaller :
1- This script does not ask for confirmation after mysql root password.
2- This script uses /etc/koha.conf. If you have more than 1 koha on your server, use /etc/koha.conf for a "deletable-test" one.
Acquisition :
*************
* suggestion : borrowers can suggest items to buy in OPAC. Then, the librarian can manage (accept or refuse) and order them.
* possibility to close a basket, he can't be modified then
* order a basket by publisher or by bookfund/publisher
* search order history
Cataloguing :
*************
* Cataloguing frameworks : you can define as many frameworks as you want. A framework describes how a material is catalogued (which fields, subfields, which constraints on them...)
* MARC authorities : Koha now supports authorities in MARC. You can define the MARC structure for authorities like for biblios.
* New contraints can be set for subfields :
- subfield is hidden : appears in MARC editor, but not in OPAC.
- subfield is an URL : the field can be cliqued
- related fields : a search made on a subfield also uses other subfields automatically. Using this feature, a search on "title" can search title, but also subtitle, uniform title,...
* Item location can now be done on 3 levels : the branch, the location (room), the callnumber.
* The callnumber can now be calculated from the LC, the dewey, or be freely (and manually) entered.
* Duplicate finder : this powerful feature help your cataloguers avoiding duplicate biblios.
* ISBD view : in librarian interface as well as in OPAC biblios can be shown in standard (default) presentation, in MARC (human readable) or ISBD. The ISBD view can be tuned by the librarian team. There is also a systempref to define default view in OPAC (either normal, MARC or ISBD). Created automatically during install or update. Check that you have a Koha >> parameters >> systempreferences >> BiblioDefaultView, Variable type : Choice, Variable options : normal|marc|isbd
* UNIMARC plugin for every 1xx fields : ESNMP have developped all the plugins for UNIMARC fields 1xx. Those fields are coded fields.
Serial cataloguing :
********************
Koha 2.2 manage serial subscriptions and issuing of those subscriptions. (Only a few words to describe a very important & complete module !)
Catalogue search :
******************
* Search in OPAC and librarian interface has been improved. They now are exactly the same.
* Spelling suggestion : before sending a request, the user can ask for spelling suggestion. This shows other forms of words entered that would give results. Give poor results for instance, the Koha team is thinking to a true spellchecking.
* The user can select the order of the results and the number of results shown.
Members :
*********
* The borrowernote field is shown on issue and transfer.
* The textmessaging field appears in OPAC when the user logs in.
Circulation :
*************
* New issuing rules : Issuing can be set for branch / borrower type / item category, by number of days and number of items available.
* "joker" issuing rules : the library can set issuing rules for "any branch" or "any borrower type", or "any item category".
Both issuing rules are cumulative : a library can set issuing rules to 10 books, 5 CD, but 12 total (books or CD).
OPAC :
******
In Koha 2.2, koha has :
* baskets. A basket can be printed or sent by mail to the borrower
* virtual shelves : a virtual shelf can be created and filled by any logged borrower. A given virtual shelf can be private or public. Or even free-for-all.
* language chooser : the borrower can change the language on the fly. The default language being still choosen by the library
* complete CSS definition. With a new systempref parameter : opacstylesheet. If this parameter is set to a stylesheet URL, this stylesheet will be used instead of the opactheme one. With this parameter, you can have your own stylesheet for OPAC, that will be used and kept when you update your version of Koha. The systempref must be a complete URL (http://www.koha.org/stylesheet/somestylesheet.css for example)
Barcode printing :
******************
A new module has been added to the parameters section : barcode printing. It requires the PDF::Api2 Perl package and can print barcode on
============
Koha Future
============
The future of Koha is being discussed on mailing lists and on koha wiki : http://www.saas.nsw.edu.au/koha_wiki/index.php?page=KohaRoadmap2.2.x

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,12 @@
The included sample_usmarc.mrc can be used to demonstrate
import of a set of MARC21 (iso2709) records. The set includes
about 3K records. Note that if you want holdings to work
correctly you'll have to tweak the records to match your
local configuration. To import the records use the
bulkmarcimport tool in misc/migration_tools/
If you have questions feel free to ask them on the list
or email me directly.
Joshua Ferraro
jmf at liblime dot com