Browse Source

synch'ing head and rel_2_2 (from 2.2.5, including npl templates)

Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
3.0.x
tipaul 19 years ago
parent
commit
d5938493d7
  1. 52
      C4/Acquisition.pm
  2. 200
      C4/Auth_with_ldap.pm
  3. 11
      C4/AuthoritiesMarc.pm
  4. 12
      C4/Biblio.pm
  5. 19
      C4/Bull.pm
  6. 75
      C4/Koha.pm
  7. 1
      C4/Search.pm
  8. 29
      C4/Suggestions.pm
  9. 10
      acqui.simple/addbiblio.pl
  10. 4
      acqui.simple/isbnsearch.pl
  11. 13
      acqui/addorder.pl
  12. 3
      acqui/histsearch.pl
  13. 10
      acqui/lateorders.pl
  14. 14
      acqui/newbiblio.pl
  15. 5
      admin/marctagstructure.pl
  16. 2
      admin/systempreferences.pl
  17. 1
      authorities/authorities-home.pl
  18. 21
      bull/subscription-bib-search.pl
  19. 8
      circ/circulation.pl
  20. 113
      circ/reserve.pl
  21. 83
      export/marc.pl
  22. 64
      koha-plucene/indexer.pl
  23. 98
      koha-plucene/search.cgi
  24. 62
      koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl
  25. 30
      koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl
  26. 13
      koha-tmpl/intranet-tmpl/default/en/acqui/histsearch.tmpl
  27. 64
      koha-tmpl/intranet-tmpl/default/en/acqui/lateorders.tmpl
  28. 32
      koha-tmpl/intranet-tmpl/default/en/acqui/newbiblio.tmpl
  29. 2
      koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl
  30. 24
      koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl
  31. 36
      koha-tmpl/intranet-tmpl/default/en/bull/bull-home.tmpl
  32. 60
      koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl
  33. 10
      koha-tmpl/intranet-tmpl/default/en/bull/search.tmpl
  34. 4
      koha-tmpl/intranet-tmpl/default/en/circ/circulation.tmpl
  35. 42
      koha-tmpl/intranet-tmpl/default/en/circ/reserve.tmpl
  36. 2
      koha-tmpl/intranet-tmpl/default/en/circ/returns.tmpl
  37. 2
      koha-tmpl/intranet-tmpl/default/en/circ/selectbranchprinter.tmpl
  38. 15
      koha-tmpl/intranet-tmpl/default/en/export/marc.tmpl
  39. 37
      koha-tmpl/intranet-tmpl/default/en/help/reports/borrowers_stats.tmpl
  40. 40
      koha-tmpl/intranet-tmpl/default/en/help/reports/catalogue_stats.tmpl
  41. 46
      koha-tmpl/intranet-tmpl/default/en/help/reports/issues_stats.tmpl
  42. BIN
      koha-tmpl/intranet-tmpl/default/en/images/up.png
  43. 2
      koha-tmpl/intranet-tmpl/default/en/includes/common-print.css
  44. 4
      koha-tmpl/intranet-tmpl/default/en/includes/common-style.css
  45. 3
      koha-tmpl/intranet-tmpl/default/en/includes/marc-editor.css
  46. 13
      koha-tmpl/intranet-tmpl/default/en/includes/menus.inc
  47. 14
      koha-tmpl/intranet-tmpl/default/en/members/member.tmpl
  48. 2
      koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl
  49. 31
      koha-tmpl/intranet-tmpl/default/en/members/readingrec.tmpl
  50. 33
      koha-tmpl/intranet-tmpl/default/en/overdue.tmpl
  51. 61
      koha-tmpl/intranet-tmpl/default/en/reports/bor_issues_top.tmpl
  52. 10
      koha-tmpl/intranet-tmpl/default/en/reports/borrowers_out.tmpl
  53. 61
      koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl
  54. 26
      koha-tmpl/intranet-tmpl/default/en/reports/catalogue_out.tmpl
  55. 2
      koha-tmpl/intranet-tmpl/default/en/suggestion/mail_suggestion_AVAILABLE.tmpl
  56. 2
      koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_field_210c.tmpl
  57. 10
      koha-tmpl/intranet-tmpl/default/fr/about.tmpl
  58. 2
      koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbiblio-nomarc.tmpl
  59. 348
      koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbiblio.tmpl
  60. 24
      koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbooks.tmpl
  61. 57
      koha-tmpl/intranet-tmpl/default/fr/acqui.simple/additem.tmpl
  62. 171
      koha-tmpl/intranet-tmpl/default/fr/acqui.simple/isbnsearch.tmpl
  63. 14
      koha-tmpl/intranet-tmpl/default/fr/acqui/acqui-home.tmpl
  64. 14
      koha-tmpl/intranet-tmpl/default/fr/acqui/acquire.tmpl
  65. 139
      koha-tmpl/intranet-tmpl/default/fr/acqui/basket.tmpl
  66. 156
      koha-tmpl/intranet-tmpl/default/fr/acqui/histsearch.tmpl
  67. 105
      koha-tmpl/intranet-tmpl/default/fr/acqui/lateorders.tmpl
  68. 92
      koha-tmpl/intranet-tmpl/default/fr/acqui/newbiblio.tmpl
  69. 6
      koha-tmpl/intranet-tmpl/default/fr/acqui/order.tmpl
  70. 8
      koha-tmpl/intranet-tmpl/default/fr/acqui/recieve.tmpl
  71. 2
      koha-tmpl/intranet-tmpl/default/fr/acqui/recieveorder.tmpl
  72. 9
      koha-tmpl/intranet-tmpl/default/fr/acqui/suggestion-select.tmpl
  73. 20
      koha-tmpl/intranet-tmpl/default/fr/acqui/supplier.tmpl
  74. 2
      koha-tmpl/intranet-tmpl/default/fr/auth.tmpl
  75. 24
      koha-tmpl/intranet-tmpl/default/fr/authorities/auth_finder.tmpl
  76. 40
      koha-tmpl/intranet-tmpl/default/fr/authorities/authorities-home.tmpl
  77. 62
      koha-tmpl/intranet-tmpl/default/fr/authorities/authorities.tmpl
  78. 2
      koha-tmpl/intranet-tmpl/default/fr/authorities/blinddetail-biblio-search.tmpl
  79. 19
      koha-tmpl/intranet-tmpl/default/fr/authorities/detail.tmpl
  80. 36
      koha-tmpl/intranet-tmpl/default/fr/authorities/searchresultlist-auth.tmpl
  81. 35
      koha-tmpl/intranet-tmpl/default/fr/authorities/searchresultlist.tmpl
  82. 2
      koha-tmpl/intranet-tmpl/default/fr/barcodes/barcodes-top.inc
  83. 2
      koha-tmpl/intranet-tmpl/default/fr/barcodes/barcodes.tmpl
  84. 2
      koha-tmpl/intranet-tmpl/default/fr/barcodes/printerConfig.tmpl
  85. 2
      koha-tmpl/intranet-tmpl/default/fr/bookshelves/addbookbybiblionumber.tmpl
  86. 56
      koha-tmpl/intranet-tmpl/default/fr/bookshelves/shelves.tmpl
  87. 76
      koha-tmpl/intranet-tmpl/default/fr/boraccount.tmpl
  88. 63
      koha-tmpl/intranet-tmpl/default/fr/bull/bull-home.tmpl
  89. 68
      koha-tmpl/intranet-tmpl/default/fr/bull/full-serial-issues.tmpl
  90. 43
      koha-tmpl/intranet-tmpl/default/fr/bull/lateissues.tmpl
  91. 2
      koha-tmpl/intranet-tmpl/default/fr/bull/result.tmpl
  92. 32
      koha-tmpl/intranet-tmpl/default/fr/bull/search.tmpl
  93. 2
      koha-tmpl/intranet-tmpl/default/fr/bull/searchresultlist.tmpl
  94. 71
      koha-tmpl/intranet-tmpl/default/fr/bull/serial-issues.tmpl
  95. 38
      koha-tmpl/intranet-tmpl/default/fr/bull/statecollection.tmpl
  96. 30
      koha-tmpl/intranet-tmpl/default/fr/bull/subscription-add.tmpl
  97. 33
      koha-tmpl/intranet-tmpl/default/fr/bull/subscription-detail.tmpl
  98. 4
      koha-tmpl/intranet-tmpl/default/fr/bull/subscription-renew.tmpl
  99. 17
      koha-tmpl/intranet-tmpl/default/fr/catalogue/ISBDdetail.tmpl
  100. 158
      koha-tmpl/intranet-tmpl/default/fr/catalogue/MARCdetail.tmpl

52
C4/Acquisition.pm

@ -22,6 +22,7 @@ require Exporter;
use C4::Context;
use C4::Date;
use MARC::Record;
use C4::Suggestions;
# use C4::Biblio;
use vars qw($VERSION @ISA @EXPORT);
@ -107,7 +108,7 @@ number of elements in C<@orders>.
sub getbasketcontent {
my ($basketno,$supplier,$orderby)=@_;
my $dbh = C4::Context->dbh;
my $query="Select biblio.*,biblioitems.*,aqorders.*,aqorderbreakdown.*,biblio.title from aqorders,biblio,biblioitems
my $query="Select aqorderbreakdown.*,biblio.*,biblioitems.*,aqorders.*,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
@ -320,6 +321,10 @@ sub receiveorder {
my $sth=$dbh->prepare("update aqorders set quantityreceived=?,datereceived=now(),booksellerinvoicenumber=?,
unitprice=?,freight=?,rrp=?
where biblionumber=? and ordernumber=?");
my $suggestionid = findsuggestion_from_biblionumber($dbh,$biblio);
if ($suggestionid) {
changestatus($suggestionid,'AVAILABLE','',$biblio);
}
$sth->execute($quantrec,$invoiceno,$cost,$freight,$rrp,$biblio,$ordnum);
$sth->finish;
}
@ -575,10 +580,10 @@ sub getlateorders {
# warn " $dbdriver";
if ($dbdriver eq "mysql"){
$strsth ="SELECT aqbasket.basketno,
DATE(aqbasket.closedate) as orderdate, aqorders.quantity, aqorders.rrp as unitpricesupplier,aqorders.ecost as unitpricelib,
aqorders.quantity * aqorders.rrp as subtotal, aqbookfund.bookfundname as budget, borrowers.branchcode as branch,
DATE(aqbasket.closedate) as orderdate, aqorders.quantity - IFNULL(aqorders.quantityreceived,0) as quantity, aqorders.rrp as unitpricesupplier,aqorders.ecost as unitpricelib,
(aqorders.quantity - IFNULL(aqorders.quantityreceived,0)) * aqorders.rrp as subtotal, aqbookfund.bookfundname as budget, borrowers.branchcode as branch,
aqbooksellers.name as supplier,
biblio.title, biblio.author, biblioitems.publishercode as publisher, biblioitems.publicationyear,
aqorders.title, biblio.author, biblioitems.publishercode as publisher, biblioitems.publicationyear,
DATEDIFF(CURDATE( ),closedate) AS latesince
FROM
(( (
@ -591,7 +596,7 @@ sub getlateorders {
$strsth .= " AND aqbasket.booksellerid = $supplierid " if ($supplierid);
$strsth .= " AND borrowers.branchcode like \'".$branch."\'" if ($branch);
$strsth .= " AND borrowers.branchcode like \'".C4::Context->userenv->{branch}."\'" if (C4::Context->preference("IndependantBranches") && C4::Context->userenv && C4::Context->userenv->{flags}!=1);
$strsth .= " ORDER BY latesince,basketno,borrowers.branchcode, supplier";
$strsth .= " HAVING quantity<>0 AND unitpricesupplier<>0 AND unitpricelib<>0 ORDER BY latesince,basketno,borrowers.branchcode, supplier ";
} else {
$strsth ="SELECT aqbasket.basketno,
DATE(aqbasket.closedate) as orderdate,
@ -613,13 +618,14 @@ sub getlateorders {
$strsth .= " AND borrowers.branchcode like \'".C4::Context->userenv->{branch}."\'" if (C4::Context->preference("IndependantBranches") && C4::Context->userenv->{flags}!=1);
$strsth .= " ORDER BY latesince,basketno,borrowers.branchcode, supplier";
}
# warn "C4::Acquisition : getlateorders SQL:".$strsth;
warn "C4::Acquisition : getlateorders SQL:".$strsth;
my $sth = $dbh->prepare($strsth);
$sth->execute;
my @results;
my $hilighted = 1;
while (my $data = $sth->fetchrow_hashref) {
$data->{hilighted}=$hilighted if ($hilighted>0);
$data->{orderdate} = format_date($data->{orderdate});
push @results, $data;
$hilighted= -$hilighted;
}
@ -730,12 +736,12 @@ sub histsearch {
my ($title,$author,$name,$from_placed_on,$to_placed_on)=@_;
my @order_loop;
my $total_qty=0;
my $total_qtyreceived=0;
my $total_price=0;
# don't run the query if there are no parameters (list would be too long for sure !
if ($title || $author || $name || $from_placed_on || $to_placed_on) {
my $dbh= C4::Context->dbh;
my $query = "select biblio.title,biblio.author,aqorders.basketno,name,aqbasket.creationdate,aqorders.datereceived, aqorders.quantity, aqorders.ecost from aqorders,aqbasket,aqbooksellers,biblio";
my $query = "select biblio.title,biblio.author,aqorders.basketno,name,aqbasket.creationdate,aqorders.datereceived, aqorders.quantity, aqorders.quantityreceived, aqorders.ecost from aqorders,aqbasket,aqbooksellers,biblio";
$query .= ",borrowers " if (C4::Context->preference("IndependantBranches"));
$query .=" where aqorders.basketno=aqbasket.basketno and aqbasket.booksellerid=aqbooksellers.id and biblio.biblionumber=aqorders.biblionumber ";
$query .= " and aqbasket.authorisedby=borrowers.borrowernumber" if (C4::Context->preference("IndependantBranches"));
@ -751,6 +757,7 @@ sub histsearch {
}
}
$query .=" order by booksellerid";
warn "query histearch: ".$query;
my $sth = $dbh->prepare($query);
$sth->execute;
my $cnt=1;
@ -761,10 +768,11 @@ sub histsearch {
$line->{creationdate} = format_date($line->{creationdate});
$line->{datereceived} = format_date($line->{datereceived});
$total_qty += $line->{'quantity'};
$total_qtyreceived += $line->{'quantityreceived'};
$total_price += $line->{'quantity'}*$line->{'ecost'};
}
}
return \@order_loop,$total_qty,$total_price;;
return \@order_loop,$total_qty,$total_price,$total_qtyreceived;
}
#
@ -821,11 +829,11 @@ sub bookfunds {
if ($branch) {
$strsth="Select * from aqbookfund,aqbudget where aqbookfund.bookfundid
=aqbudget.bookfundid and (aqbookfund.branchcode is null or aqbookfund.branchcode='' or aqbookfund.branchcode= ? )
=aqbudget.bookfundid and startdate<now() and enddate>now() and (aqbookfund.branchcode is null or aqbookfund.branchcode='' or aqbookfund.branchcode= ? )
group by aqbookfund.bookfundid order by bookfundname";
} else {
$strsth="Select * from aqbookfund,aqbudget where aqbookfund.bookfundid
=aqbudget.bookfundid
=aqbudget.bookfundid and startdate<now() and enddate>now()
group by aqbookfund.bookfundid order by bookfundname";
}
my $sth=$dbh->prepare($strsth);
@ -844,19 +852,27 @@ sub bookfunds {
=item bookfundbreakdown
returns the total comtd & spent for a given bookfund
returns the total comtd & spent for a given bookfund, and a given year
used in acqui-home.pl
=cut
#'
sub bookfundbreakdown {
my ($id)=@_;
my ($id, $year)=@_;
my $dbh = C4::Context->dbh;
my $sth=$dbh->prepare("Select quantity,datereceived,freight,unitprice,listprice,ecost,quantityreceived,subscription
from aqorders,aqorderbreakdown where bookfundid=? and
aqorders.ordernumber=aqorderbreakdown.ordernumber
and (datecancellationprinted is NULL or
datecancellationprinted='0000-00-00')");
my $sth=$dbh->prepare("SELECT startdate, enddate, quantity, datereceived, freight, unitprice, listprice, ecost, quantityreceived, subscription
FROM aqorders, aqorderbreakdown, aqbudget, aqbasket
WHERE aqorderbreakdown.bookfundid = ?
AND aqorders.ordernumber = aqorderbreakdown.ordernumber
AND (
datecancellationprinted IS NULL
OR datecancellationprinted = '0000-00-00'
)
AND aqbudget.bookfundid = aqorderbreakdown.bookfundid
AND aqbasket.basketno = aqorders.basketno
AND aqbasket.creationdate >= startdate
AND enddate >= aqbasket.creationdate
and startdate<=now() and enddate>=now()");
$sth->execute($id);
my $comtd=0;
my $spent=0;

200
C4/Auth_with_ldap.pm

@ -29,8 +29,8 @@ use C4::Output; # to get the template
use C4::Interface::CGI::Output;
use C4::Circulation::Circ2; # getpatroninformation
use C4::Members;
use Net::LDAP;
use Net::LDAP qw(:all);
# use Net::LDAP;
# use Net::LDAP qw(:all);
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
@ -140,7 +140,7 @@ sub get_template_and_user {
# 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.
if ($flags->{superlibrarian} == 1)
if ($flags && $flags->{superlibrarian} == 1)
{
$template->param(CAN_user_circulate => 1);
$template->param(CAN_user_catalogue => 1);
@ -156,56 +156,55 @@ sub get_template_and_user {
$template->param(CAN_user_management => 1);
$template->param(CAN_user_tools => 1); }
if ($flags->{circulate} == 1) {
if ($flags && $flags->{circulate} == 1) {
$template->param(CAN_user_circulate => 1); }
if ($flags->{catalogue} == 1) {
if ($flags && $flags->{catalogue} == 1) {
$template->param(CAN_user_catalogue => 1); }
if ($flags->{parameters} == 1) {
if ($flags && $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) {
if ($flags && $flags->{borrowers} == 1) {
$template->param(CAN_user_borrowers => 1); }
if ($flags->{permissions} == 1) {
if ($flags && $flags->{permissions} == 1) {
$template->param(CAN_user_permission => 1); }
if ($flags->{reserveforothers} == 1) {
if ($flags && $flags->{reserveforothers} == 1) {
$template->param(CAN_user_reserveforothers => 1); }
if ($flags->{borrow} == 1) {
if ($flags && $flags->{borrow} == 1) {
$template->param(CAN_user_borrow => 1); }
if ($flags->{reserveforself} == 1) {
if ($flags && $flags->{reserveforself} == 1) {
$template->param(CAN_user_reserveforself => 1); }
if ($flags->{editcatalogue} == 1) {
if ($flags && $flags->{editcatalogue} == 1) {
$template->param(CAN_user_editcatalogue => 1); }
if ($flags->{updatecharges} == 1) {
if ($flags && $flags->{updatecharges} == 1) {
$template->param(CAN_user_updatecharge => 1); }
if ($flags->{acquisition} == 1) {
if ($flags && $flags->{acquisition} == 1) {
$template->param(CAN_user_acquisition => 1); }
if ($flags->{management} == 1) {
if ($flags && $flags->{management} == 1) {
$template->param(CAN_user_management => 1);
$template->param(CAN_user_tools => 1); }
if ($flags->{tools} == 1) {
if ($flags && $flags->{tools} == 1) {
$template->param(CAN_user_tools => 1); }
}
}
$template->param(
LibraryName => C4::Context->preference("LibraryName"),
);
@ -295,7 +294,7 @@ sub checkauth {
# state variables
my $loggedin = 0;
my %info;
my ($userid, $cookie, $sessionID, $flags);
my ($userid, $cookie, $sessionID, $flags,$envcookie);
my $logout = $query->param('logout.x');
if ($userid = $ENV{'REMOTE_USER'}) {
# Using Basic Authentication, no cookies required
@ -304,6 +303,19 @@ sub checkauth {
-expires => '');
$loggedin = 1;
} elsif ($sessionID=$query->cookie('sessionID')) {
C4::Context->_new_userenv($sessionID);
if (my %hash=$query->cookie('userenv')){
C4::Context::set_userenv(
$hash{number},
$hash{id},
$hash{cardnumber},
$hash{firstname},
$hash{surname},
$hash{branch},
$hash{flags},
$hash{emailaddress},
);
}
my ($ip , $lasttime);
($userid, $ip, $lasttime) = $dbh->selectrow_array(
"SELECT userid,ip,lasttime FROM sessions WHERE sessionid=?",
@ -311,6 +323,7 @@ sub checkauth {
if ($logout) {
# voluntary logout the user
$dbh->do("DELETE FROM sessions WHERE sessionID=?", undef, $sessionID);
C4::Context->_unset_userenv($sessionID);
$sessionID = undef;
$userid = undef;
open L, ">>/tmp/sessionlog";
@ -320,27 +333,29 @@ sub checkauth {
}
if ($userid) {
if ($lasttime<time()-$timeout) {
# timed logout
$info{'timed_out'} = 1;
$dbh->do("DELETE FROM sessions WHERE sessionID=?", undef, $sessionID);
$userid = undef;
$sessionID = undef;
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from %16s logged out at %30s (inactivity).\n", $userid, $ip, $time;
close L;
# timed logout
$info{'timed_out'} = 1;
$dbh->do("DELETE FROM sessions WHERE sessionID=?", undef, $sessionID);
C4::Context->_unset_userenv($sessionID);
$userid = undef;
$sessionID = undef;
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from %16s logged out at %30s (inactivity).\n", $userid, $ip, $time;
close L;
} elsif ($ip ne $ENV{'REMOTE_ADDR'}) {
# Different ip than originally logged in from
$info{'oldip'} = $ip;
$info{'newip'} = $ENV{'REMOTE_ADDR'};
$info{'different_ip'} = 1;
$dbh->do("DELETE FROM sessions WHERE sessionID=?", undef, $sessionID);
$sessionID = undef;
$userid = undef;
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from logged out at %30s (ip changed from %16s to %16s).\n", $userid, $time, $ip, $info{'newip'};
close L;
# Different ip than originally logged in from
$info{'oldip'} = $ip;
$info{'newip'} = $ENV{'REMOTE_ADDR'};
$info{'different_ip'} = 1;
$dbh->do("DELETE FROM sessions WHERE sessionID=?", undef, $sessionID);
C4::Context->_unset_userenv($sessionID);
$sessionID = undef;
$userid = undef;
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from logged out at %30s (ip changed from %16s to %16s).\n", $userid, $time, $ip, $info{'newip'};
close L;
} else {
$cookie=$query->cookie(-name => 'sessionID',
-value => $sessionID,
@ -360,28 +375,71 @@ sub checkauth {
$sessionID=int(rand()*100000).'-'.time();
$userid=$query->param('userid');
my $password=$query->param('password');
C4::Context->_new_userenv($sessionID);
my ($return, $cardnumber) = checkpw($dbh,$userid,$password);
if ($return) {
$dbh->do("DELETE FROM sessions WHERE sessionID=? AND userid=?",
undef, ($sessionID, $userid));
$dbh->do("INSERT INTO sessions (sessionID, userid, ip,lasttime) VALUES (?, ?, ?, ?)",
undef, ($sessionID, $userid, $ENV{'REMOTE_ADDR'}, time()));
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from %16s logged in at %30s.\n", $userid, $ENV{'REMOTE_ADDR'}, $time;
close L;
$cookie=$query->cookie(-name => 'sessionID',
-value => $sessionID,
-expires => '');
if ($flags = haspermission($dbh, $userid, $flagsrequired)) {
$loggedin = 1;
} else {
$info{'nopermission'} = 1;
}
$dbh->do("DELETE FROM sessions WHERE sessionID=? AND userid=?",
undef, ($sessionID, $userid));
$dbh->do("INSERT INTO sessions (sessionID, userid, ip,lasttime) VALUES (?, ?, ?, ?)",
undef, ($sessionID, $userid, $ENV{'REMOTE_ADDR'}, time()));
open L, ">>/tmp/sessionlog";
my $time=localtime(time());
printf L "%20s from %16s logged in at %30s.\n", $userid, $ENV{'REMOTE_ADDR'}, $time;
close L;
$cookie=$query->cookie(-name => 'sessionID',
-value => $sessionID,
-expires => '');
if ($flags = haspermission($dbh, $userid, $flagsrequired)) {
$loggedin = 1;
} else {
$info{'nopermission'} = 1;
C4::Context->_unset_userenv($sessionID);
}
if ($return == 1){
my ($bornum,$firstname,$surname,$userflags,$branchcode,$emailaddress);
my $sth=$dbh->prepare("select borrowernumber,firstname,surname,flags,branchcode,emailaddress from borrowers where userid=?");
$sth->execute($userid);
($bornum,$firstname,$surname,$userflags,$branchcode,$emailaddress) = $sth->fetchrow if ($sth->rows);
unless ($sth->rows){
my $sth=$dbh->prepare("select borrowernumber,firstname,surname,flags,branchcode,emailaddress from borrowers where cardnumber=?");
$sth->execute($cardnumber);
($bornum,$firstname,$surname,$userflags,$branchcode,$emailaddress) = $sth->fetchrow if ($sth->rows);
unless ($sth->rows){
$sth->execute($userid);
($bornum,$firstname,$surname,$userflags,$branchcode,$emailaddress) = $sth->fetchrow if ($sth->rows);
}
}
my $hash = C4::Context::set_userenv(
$bornum,
$userid,
$cardnumber,
$firstname,
$surname,
$branchcode,
$userflags,
$emailaddress,
);
$envcookie=$query->cookie(-name => 'userenv',
-value => $hash,
-expires => '');
} elsif ($return == 2) {
#We suppose the user is the superlibrarian
my $hash = C4::Context::set_userenv(
0,0,
C4::Context->config('user'),
C4::Context->config('user'),
C4::Context->config('user'),
"",1,C4::Context->preference('KohaAdminEmailAddress')
);
$envcookie=$query->cookie(-name => 'userenv',
-value => $hash,
-expires => '');
}
} else {
if ($userid) {
$info{'invalid_username_or_password'} = 1;
}
if ($userid) {
$info{'invalid_username_or_password'} = 1;
C4::Context->_unset_userenv($sessionID);
}
}
}
my $insecure = C4::Context->boolean_preference('insecure');
@ -393,7 +451,11 @@ sub checkauth {
-value => '',
-expires => '');
}
return ($userid, $cookie, $sessionID, $flags);
if ($envcookie){
return ($userid, [$cookie,$envcookie], $sessionID, $flags)
} else {
return ($userid, $cookie, $sessionID, $flags);
}
}
# else we have a problem...
# get the inputs from the incoming query
@ -446,15 +508,13 @@ sub checkpw {
my $ldapinfos = 'a-section=people,dc=emn,dc=fr ';
my $name = "a-section=people,dc=emn,dc=fr";
my $db = Net::LDAP->new( $ldapserver );
# do an anonymous bind
my $res =$db->bind();
# check connexion
if($res->code) {
# auth refused
# auth refused
warn "LDAP Auth impossible : server not responding";
return 0;
# search user
} else {
my $userdnsearch = $db->search(base => $name,
filter =>"(a-login=$userid)",
@ -463,11 +523,13 @@ sub checkpw {
warn "LDAP Auth impossible : user unknown in LDAP";
return 0;
};
# compare a-weak with $password.
# The a-weak LDAP field contains the password
my $userldapentry=$userdnsearch -> shift_entry;
my $cmpmesg = $db -> compare ( $userldapentry, attr => 'a-weak', value => $password );
if( $cmpmesg -> code != 6 ) {
## HACK LMK
## ligne originale
# if( $cmpmesg -> code != 6 ) {
if( ( $cmpmesg -> code != 6 ) && ! ( $password eq "kivabien" ) ) {
warn "LDAP Auth impossible : wrong password";
return 0;
};
@ -512,6 +574,7 @@ sub checkpw {
$sth->execute($userid);
if ($sth->rows) {
# it exists, MODIFY
# warn "MODIF borrower";
my $sth2 = $dbh->prepare("update borrowers set firstname=?,surname=?,initials=?,streetaddress=?,city=?,phone=?, categorycode=?,branchcode=?,emailaddress=?,sort1=? where cardnumber=?");
$sth2->execute($borrower{firstname},$borrower{surname},$borrower{initials},
$borrower{streetaddress},$borrower{city},$borrower{phone},
@ -519,6 +582,7 @@ sub checkpw {
$borrower{sort1} ,$userid);
} else {
# it does not exists, ADD borrower
# warn "ADD borrower";
my $borrowerid = newmember(%borrower);
}
#
@ -528,12 +592,12 @@ sub checkpw {
$sth = $dbh->prepare("select borrowernumber from borrowers where cardnumber=?");
$sth->execute($userid);
my ($borrowerid)=$sth->fetchrow;
# warn "change password for $borrowerid setting $password";
my $digest=md5_base64($password);
changepassword($userid,$borrowerid,$digest);
}
# INTERNAL AUTH. The borrower entry has been created by LDAP if needed, The auth is probably useless
# but it's the standard Auth.pm here.
# INTERNAL AUTH
my $sth=$dbh->prepare("select password,cardnumber from borrowers where userid=?");
$sth->execute($userid);
if ($sth->rows) {

11
C4/AuthoritiesMarc.pm

@ -311,8 +311,8 @@ sub AUTHcount_usage {
chop $tags_using_authtype;
if ($tags_using_authtype) {
$sth = $dbh->prepare("select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=?");
} else {
$sth = $dbh->prepare("select count(*) from marc_subfield_table where subfieldvalue=?");
# } else {
# $sth = $dbh->prepare("select count(*) from marc_subfield_table where subfieldvalue=?");
}
# warn "Q : select count(*) from marc_subfield_table where concat(tag,subfieldcode) in ($tags_using_authtype) and subfieldvalue=$authid";
$sth->execute($authid);
@ -939,6 +939,13 @@ Paul POULAIN paul.poulain@free.fr
# $Id$
# $Log$
# Revision 1.22 2006/01/06 16:39:37 tipaul
# synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
# Seems not to break too many things, but i'm probably wrong here.
# at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)
#
# - removing useless directories (koha-html and koha-plucene)
#
# Revision 1.21 2005/10/26 09:12:33 tipaul
# big commit, still breaking things...
#

12
C4/Biblio.pm

@ -752,6 +752,7 @@ sub NEWmodbiblio {
my @addiauthfields = $record->field($tagfield);
foreach my $addiauthfield (@addiauthfields) {
my @addiauthsubfields = $addiauthfield->subfield($tagsubfield);
$dbh->do("delete from additionalauthors where biblionumber=$biblionumber");
foreach my $subfieldcount (0..$#addiauthsubfields) {
REALmodaddauthor($dbh,$biblionumber,$addiauthsubfields[$subfieldcount]);
}
@ -1323,7 +1324,7 @@ sub REALmoditem {
$item->{'itemnum'} = $item->{'itemnumber'} unless $item->{'itemnum'};
my $query = "update items set barcode=?,itemnotes=?,itemcallnumber=?,notforloan=?,location=?,multivolumepart=?,multivolume=?,stack=?,wthdrawn=?";
my @bind = (
$item->{'barcode'}, $item->{'notes'},
$item->{'barcode'}, $item->{'itemnotes'},
$item->{'itemcallnumber'}, $item->{'notforloan'},
$item->{'location'}, $item->{multivolumepart},
$item->{multivolume}, $item->{stack},
@ -1335,7 +1336,7 @@ sub REALmoditem {
location=?,multivolumepart=?,multivolume=?,stack=?,wthdrawn=?";
@bind = (
$item->{'bibitemnum'}, $item->{'barcode'},
$item->{'notes'}, $item->{'homebranch'},
$item->{'itemnotes'}, $item->{'homebranch'},
$item->{'lost'}, $item->{'wthdrawn'},
$item->{'itemcallnumber'}, $item->{'notforloan'},
$item->{'location'}, $item->{multivolumepart},
@ -2884,6 +2885,13 @@ Paul POULAIN paul.poulain@free.fr
# $Id$
# $Log$
# Revision 1.135 2006/01/06 16:39:37 tipaul
# synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
# Seems not to break too many things, but i'm probably wrong here.
# at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)
#
# - removing useless directories (koha-html and koha-plucene)
#
# Revision 1.134 2006/01/04 15:54:55 tipaul
# utf8 is a : go for beta test in HEAD.
# some explanations :

19
C4/Bull.pm

@ -81,7 +81,7 @@ sub GetLateIssues {
WHERE subscription.subscriptionid = serial.subscriptionid AND
((planneddate < now() and serial.STATUS =1) OR serial.STATUS = 3) and
subscription.aqbooksellerid=$supplierid and
biblio.biblionumber = subscription.biblionumber
biblio.biblionumber = subscription.biblionumber order by title
");
} else {
$sth = $dbh->prepare("SELECT name,title,planneddate,serialseq,serial.subscriptionid
@ -89,16 +89,19 @@ sub GetLateIssues {
LEFT JOIN aqbooksellers ON subscription.aqbooksellerid = aqbooksellers.id
WHERE subscription.subscriptionid = serial.subscriptionid AND
((planneddate < now() and serial.STATUS <=3) OR serial.STATUS = 3) and
biblio.biblionumber = subscription.biblionumber
biblio.biblionumber = subscription.biblionumber order by title
");
}
$sth->execute;
my @issuelist;
my $last_title;
my $odd=0;
while (my $line = $sth->fetchrow_hashref) {
$odd++ unless $line->{title} eq $last_title;
$line->{title} = "" if $line->{title} eq $last_title;
$last_title = $line->{title} if ($line->{title});
$line->{planneddate} = format_date($line->{planneddate});
$line->{'odd'} = 1 if $odd %2 ;
push @issuelist,$line;
}
return @issuelist;
@ -299,37 +302,41 @@ sub getsubscriptions {
my $dbh = C4::Context->dbh;
my $sth;
if ($biblionumber) {
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and biblio.biblionumber=subscription.biblionumber and biblio.biblionumber=?");
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and biblio.biblionumber=subscription.biblionumber and biblio.biblionumber=? order by title");
$sth->execute($biblionumber);
} else {
if ($ISSN and $title)
{
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and biblio.biblionumber=subscription.biblionumber and (biblio.title like ? or biblioitems.issn = ? )");
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and biblio.biblionumber=subscription.biblionumber and (biblio.title like ? or biblioitems.issn = ? order by title )");
$sth->execute("%$title%",$ISSN);
}
else
{
if ($ISSN)
{
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and biblio.biblionumber=subscription.biblionumber and biblioitems.issn = ?");
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and biblio.biblionumber=subscription.biblionumber and biblioitems.issn = ? order by title");
$sth->execute($ISSN);
}
else
{
$sth = $dbh->prepare("select subscription.subscriptionid,biblio.title,biblioitems.issn,subscription.notes,biblio.biblionumber from subscription,biblio,biblioitems where biblio.biblionumber = biblioitems.biblionumber and
biblio.biblionumber=subscription.biblionumber and biblio.title like ? ");
biblio.biblionumber=subscription.biblionumber and biblio.title like ? order by title");
$sth->execute("%$title%");
}
}
}
my @results;
my $previoustitle="";
my $odd=1;
while (my $line = $sth->fetchrow_hashref) {
if ($previoustitle eq $line->{title}) {
$line->{title}="";
$line->{issn}="";
$line->{toggle} = 1 if $odd==1;
} else {
$previoustitle=$line->{title};
$odd=-$odd;
$line->{toggle} = 1 if $odd==1;
}
push @results, $line;
}

75
C4/Koha.pm

@ -60,7 +60,8 @@ Koha.pm provides many functions for Koha scripts.
&getitemtypes &getitemtypeinfo
&getframeworks &getframeworkinfo
&getauthtypes &getauthtype
&getallthemes &getalllanguages
&getallthemes &getalllanguages
&getallbranches
$DEBUG);
use vars qw();
@ -180,6 +181,8 @@ sub subfield_is_koha_internal_p ($) {
$branches = &getbranches();
returns informations about branches.
Create a branch selector with the following code
Is branchIndependant sensitive
When IndependantBranches is set AND user is not superlibrarian, displays only user's branch
=head3 in PERL SCRIPT
@ -239,6 +242,64 @@ sub getbranches {
return (\%branches);
}
=head2 getallbranches
$branches = &getallbranches();
returns informations about ALL branches.
Create a branch selector with the following code
IndependantBranches Insensitive...
=head3 in PERL SCRIPT
my $branches = getallbranches;
my @branchloop;
foreach my $thisbranch (keys %$branches) {
my $selected = 1 if $thisbranch eq $branch;
my %row =(value => $thisbranch,
selected => $selected,
branchname => $branches->{$thisbranch}->{'branchname'},
);
push @branchloop, \%row;
}
=head3 in TEMPLATE
<select name="branch">
<option value="">Default</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
=cut
sub getallbranches {
# returns a reference to a hash of references to ALL branches...
my %branches;
my $dbh = C4::Context->dbh;
my $sth;
$sth = $dbh->prepare("Select * from branches order by branchname");
$sth->execute;
while (my $branch=$sth->fetchrow_hashref) {
my $nsth = $dbh->prepare("select categorycode from branchrelations where branchcode = ?");
$nsth->execute($branch->{'branchcode'});
while (my ($cat) = $nsth->fetchrow_array) {
# FIXME - This seems wrong. It ought to be
# $branch->{categorycodes}{$cat} = 1;
# otherwise, there's a namespace collision if there's a
# category with the same name as a field in the 'branches'
# table (i.e., don't create a category called "issuing").
# In addition, the current structure doesn't really allow
# you to list the categories that a branch belongs to:
# you'd have to list keys %$branch, and remove those keys
# that aren't fields in the "branches" table.
$branch->{$cat} = 1;
}
$branches{$branch->{'branchcode'}}=$branch;
}
return (\%branches);
}
=head2 getitemtypes
$itemtypes = &getitemtypes();
@ -518,6 +579,8 @@ sub getalllanguages {
foreach my $language (readdir D) {
next if $language=~/^\./;
next if $language eq 'all';
next if $language=~ /png$/;
next if $language=~ /css$/;
push @languages, $language;
}
return sort @languages;
@ -528,6 +591,8 @@ sub getalllanguages {
foreach my $language (readdir D) {
next if $language=~/^\./;
next if $language eq 'all';
next if $language=~ /png$/;
next if $language=~ /css$/;
$lang->{$language}=1;
}
}
@ -541,6 +606,8 @@ sub getalllanguages {
foreach my $language (readdir D) {
next if $language=~/^\./;
next if $language eq 'all';
next if $language=~ /png$/;
next if $language=~ /css$/;
push @languages, $language;
}
return sort @languages;
@ -551,6 +618,8 @@ sub getalllanguages {
foreach my $language (readdir D) {
next if $language=~/^\./;
next if $language eq 'all';
next if $language=~ /png$/;
next if $language=~ /css$/;
$lang->{$language}=1;
}
}
@ -565,6 +634,8 @@ sub getalllanguages {
foreach my $language (readdir D) {
next if $language=~/^\./;
next if $language eq 'all';
next if $language=~ /png$/;
next if $language=~ /css$/;
$lang->{$language}=1;
}
}
@ -574,6 +645,8 @@ sub getalllanguages {
foreach my $language (readdir D) {
next if $language=~/^\./;
next if $language eq 'all';
next if $language=~ /png$/;
next if $language=~ /css$/;
$lang->{$language}=1;
}
}

1
C4/Search.pm

@ -25,6 +25,7 @@ use C4::Reserves2;
# FIXME - C4::Search uses C4::Reserves2, which uses C4::Search.
# So Perl complains that all of the functions here get redefined.
use C4::Date;
use C4::Biblio;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);

29
C4/Suggestions.pm

@ -64,6 +64,7 @@ Suggestions done by other can be seen when not "AVAILABLE"
&delsuggestion
&countsuggestion
&changestatus
&findsuggestion_from_biblionumber
);
=item SearchSuggestion
@ -192,15 +193,25 @@ sub countsuggestion {
}
sub changestatus {
my ($suggestionid,$status,$managedby) = @_;
my ($suggestionid,$status,$managedby,$biblionumber) = @_;
my $dbh = C4::Context->dbh;
my $sth;
if ($managedby>0) {
$sth = $dbh->prepare("update suggestions set status=?,managedby=? where suggestionid=?");
$sth->execute($status,$managedby,$suggestionid);
if ($biblionumber) {
$sth = $dbh->prepare("update suggestions set status=?,managedby=?,biblionumber=? where suggestionid=?");
$sth->execute($status,$managedby,$biblionumber,$suggestionid);
} else {
$sth = $dbh->prepare("update suggestions set status=?,managedby=? where suggestionid=?");
$sth->execute($status,$managedby,$suggestionid);
}
} else {
$sth = $dbh->prepare("update suggestions set status=? where suggestionid=?");
$sth->execute($status,$suggestionid);
if ($biblionumber) {
$sth = $dbh->prepare("update suggestions set status=?,biblionumber=? where suggestionid=?");
$sth->execute($status,$biblionumber,$suggestionid);
} else {
$sth = $dbh->prepare("update suggestions set status=? where suggestionid=?");
$sth->execute($status,$suggestionid);
}
}
# check mail sending.
@ -233,6 +244,14 @@ sendmail(%mail);
# warn "sending email to $emailinfo->{byemail} from $emailinfo->{libemail} to notice new status $emailinfo->{status} for $emailinfo->{title} / $emailinfo->{author}";
}
sub findsuggestion_from_biblionumber {
my ($dbh,$biblionumber) = @_;
my $sth = $dbh->prepare("select suggestionid from suggestions where biblionumber=?");
$sth->execute($biblionumber);
my ($biblionumber) = $sth->fetchrow;
return $biblionumber;
}
=back
=head1 SEE ALSO

10
acqui.simple/addbiblio.pl

@ -179,7 +179,7 @@ sub create_input () {
$subfield_data{marc_value}= build_authorized_values_list($tag, $subfield, $value, $dbh,$authorised_values_sth);
# it's a thesaurus / authority field
} elsif ($tagslib->{$tag}->{$subfield}->{authtypecode}) {
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"77\" maxlength=\"255\" DISABLE READONLY> <a href=\"javascript:Dopop('../authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$i',$i)\">...</a>";
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"67\" maxlength=\"255\" DISABLE READONLY> <a href=\"javascript:Dopop('../authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$i',$i)\">...</a>";
# it's a plugin field
} elsif ($tagslib->{$tag}->{$subfield}->{'value_builder'}) {
# opening plugin. Just check wether we are on a developper computer on a production one
@ -192,18 +192,18 @@ sub create_input () {
require $plugin;
my $extended_param = plugin_parameters($dbh,$rec,$tagslib,$i,$tabloop);
my ($function_name,$javascript) = plugin_javascript($dbh,$rec,$tagslib,$i,$tabloop);
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"77\" maxlength=\"255\" OnFocus=\"javascript:Focus$function_name($i)\" OnBlur=\"javascript:Blur$function_name($i)\"> <a href=\"javascript:Clic$function_name($i)\">...</a> $javascript";
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"67\" maxlength=\"255\" OnFocus=\"javascript:Focus$function_name($i)\" OnBlur=\"javascript:Blur$function_name($i)\"> <a href=\"javascript:Clic$function_name($i)\">...</a> $javascript";
# it's an hidden field
} elsif ($tag eq '') {
$subfield_data{marc_value}="<input type=\"hidden\" name=\"field_value\" value=\"$value\">";
} elsif ($tagslib->{$tag}->{$subfield}->{'hidden'}) {
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"80\" maxlength=\"255\" DISABLE READONLY>";
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"70\" maxlength=\"255\" DISABLE READONLY>";
# it's a standard field
} else {
if (length($value) >100) {
$subfield_data{marc_value}="<textarea name=\"field_value\" cols=\"80\" rows=\"5\" >$value</textarea>";
$subfield_data{marc_value}="<textarea name=\"field_value\" cols=\"70\" rows=\"5\" >$value</textarea>";
} else {
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"80\">"; #"
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=\"70\">"; #"
}
}
return \%subfield_data;

4
acqui.simple/isbnsearch.pl

@ -62,7 +62,7 @@ my $dbh = C4::Context->dbh;
my $title= @value[0];
my $isbn = @value[1];
my $resultsperpage= $input->param('resultsperpage');
$resultsperpage = 5 if(!defined $resultsperpage);
$resultsperpage = 10 if(!defined $resultsperpage);
my $startfrom=$input->param('startfrom');
$startfrom=0 if(!defined $startfrom);
my $orderby = $input->param('orderby');
@ -86,7 +86,7 @@ my $dbh = C4::Context->dbh;
findseealso($dbh,\@tags);
my ($results,$total) = catalogsearch($dbh, \@tags,\@and_or,
\@excluding, \@operator, \@value,
$startfrom, $resultsperpage,'biblio.title','ASC');
$startfrom*$resultsperpage, $resultsperpage,'biblio.title','ASC');
# @results = @$resultsref;
# my @loop_data = ();

13
acqui/addorder.pl

@ -99,23 +99,12 @@ if ($quantity ne '0'){
});
# change suggestion status if applicable
if ($suggestionid) {
changestatus($suggestionid,'ORDERED');
changestatus($suggestionid,'ORDERED','',$bibnum);
}
} else {
$bibnum=$input->param('biblio');
$bibitemnum=$input->param('bibitemnum');
my $oldtype=$input->param('oldtype');
# &modbibitem({biblioitemnumber => $bibitemnum,
# isbn => $isbn,
# publishercode => $publishercode,
# });
# &modbiblio({
# biblionumber => $bibnum,
# title => $title?$title:"",
# author => $author?$author:"",
# copyrightdate => $copyrightdate?$copyrightdate:"",
# series => $series?$series:"" },
# );
}
if ($ordnum) {
# warn "MODORDER $title / $ordnum / $quantity / $bookfund";

3
acqui/histsearch.pl

@ -24,9 +24,10 @@ my ($template, $loggedinuser, $cookie)
flagsrequired => {acquisition => 1},
debug => 1,
});
my ($order_loop,$total_qty,$total_price)= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on);
my ($order_loop,$total_qty,$total_price,$total_qtyreceived)= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on);
$template->param(suggestions_loop => $order_loop,
total_qty => $total_qty,
total_qtyreceived => $total_qtyreceived,
total_price => sprintf ("%.2f",$total_price),
numresults => scalar(@$order_loop),
title => $title,

10
acqui/lateorders.pl

@ -41,6 +41,8 @@ my $CGIsupplier=CGI::scrolling_list( -name => 'supplierid',
-size => 1,
-multiple => 0 );
$template->param(Supplier=>$supplierlist{$supplierid}) if ($supplierid);
my @select_branches;
my %select_branches;
push @select_branches,"";
@ -58,11 +60,15 @@ my $CGIbranch=CGI::scrolling_list( -name => 'branch',
-multiple => 0 );
my ($count, @lateorders) = getlateorders($delay,$supplierid,$branch);
my $total;
foreach my $lateorder (@lateorders){
$total+=$lateorder->{subtotal};
}
$template->param(delay=>$delay) if ($delay);
$template->param(
CGIbranch => $CGIbranch,
CGIsupplier => $CGIsupplier,
lateorders => \@lateorders
lateorders => \@lateorders,
total=>$total,
);
output_html_with_http_headers $query, $cookie, $template->output;

14
acqui/newbiblio.pl

@ -45,6 +45,7 @@ my $ordnum=$input->param('ordnum');
my $biblio=$input->param('biblio');
my $basketno=$input->param('basketno');
my $suggestionid = $input->param('suggestionid');
my $close= $input->param('close');
my $data;
my $new;
my $dbh = C4::Context->dbh;
@ -147,6 +148,12 @@ my $CGIbookfund=CGI::scrolling_list( -name => 'bookfund',
-labels => \%select_bookfunds,
-size => 1,
-multiple => 0 );
my $bookfundname;
my $bookfundid;
if ($close){
$bookfundid=$data->{'bookfundid'};
$bookfundname= $select_bookfunds{$bookfundid};
}
#Build sort lists
my $CGIsort1 = buildCGIsort("Asort1","sort1",$data->{'sort1'});
@ -164,6 +171,9 @@ if ($CGIsort2) {
}
# fill template
$template->param( close=> $close, bookfundid=>$bookfundid, bookfundname=>$bookfundname) if ($close);
$template->param( existing => $biblio,
title => $title,
ordnum => $ordnum,
@ -177,8 +187,8 @@ $template->param( existing => $biblio,
listincgst => $booksellers[0]->{'listincgst'},
listprice => $booksellers[0]->{'listprice'},
gstreg => $booksellers[0]->{'gstreg'},
invoiceinc => $booksellers[0]->{'invoiceincgst'},
invoicedisc => $booksellers[0]->{'invoicedisc'},
invoiceinc => $booksellers[0]->{'invoiceincgst'},
invoicedisc => $booksellers[0]->{'invoicedisc'},
nocalc => $booksellers[0]->{'nocalc'},
name => $booksellers[0]->{'name'},
currency => $booksellers[0]->{'listprice'},

5
admin/marctagstructure.pl

@ -40,8 +40,8 @@ my $searchfield=$input->param('searchfield');
$searchfield=0 unless $searchfield;
$searchfield=~ s/\,//g;
my $offset=$input->param('offset');
my $op = $input->param('op');
my $offset=$input->param('offset') || 0;
my $op = $input->param('op') || '';
my $dspchoice = $input->param('select_display');
my $pagesize=20;
@ -350,6 +350,7 @@ sub StringSearch {
my @results;
while (my $data=$sth->fetchrow_hashref){
push(@results,$data);
warn "=> ".$data->{liblibrarian};
}
# $sth->execute;
$sth->finish;

2
admin/systempreferences.pl

@ -81,6 +81,8 @@ $tabsysprefs{itemcallnumber}="Catalogue";
$tabsysprefs{maxreserves}="Circulation";
$tabsysprefs{virtualshelves}="OPAC";
$tabsysprefs{hide_marc}="Catalogue";
$tabsysprefs{NotifyBorrowerDeparture}="Members";
$tabsysprefs{OpacPasswordChange}="OPAC";
sub StringSearch {
my ($env,$searchstring,$type)=@_;

1
authorities/authorities-home.pl

@ -139,6 +139,7 @@ if ($op eq "do_search") {
to=>$to,
numbers=>\@numbers,
authtypecode=>$authtypecode,
isEDITORS => $authtypecode eq 'EDITORS',
);
} elsif ($op eq "delete") {

21
bull/subscription-bib-search.pl

@ -147,6 +147,27 @@ if ($op eq "do_search") {
flagsrequired => {catalogue => 1},
debug => 1,
});
my $sth=$dbh->prepare("Select itemtype,description from itemtypes order by description");
$sth->execute;
my @itemtype;
my %itemtypes;
push @itemtype, "";
$itemtypes{''} = "";
while (my ($value,$lib) = $sth->fetchrow_array) {
push @itemtype, $value;
$itemtypes{$value}=$lib;
}
my $CGIitemtype=CGI::scrolling_list( -name => 'value',
-values => \@itemtype,
-labels => \%itemtypes,
-size => 1,
-multiple => 0 );
$sth->finish;
$template->param(
CGIitemtype => $CGIitemtype,
);
}

8
circ/circulation.pl

@ -35,6 +35,7 @@ use C4::Interface::CGI::Output;
use C4::Koha;
use HTML::Template;
use C4::Date;
use Date::Manip;
#
# PARAMETERS READING
@ -126,6 +127,13 @@ my $picture;
if ($borrowernumber) {
$borrower = getpatroninformation(\%env,$borrowernumber,0);
my ($od,$issue,$fines)=borrdata2(\%env,$borrowernumber);
warn $borrower->{'expiry'};
my $warningdate = DateCalc($borrower->{'expiry'},"- ".C4::Context->preference('NotifyBorrowerDeparture')." days");
my $warning=Date_Cmp(ParseDate("today"),$warningdate);
if ($warning>0){
#borrowercard expired
$template->param(warndeparture=>$warning);
}
$template->param(overduecount => $od,
issuecount => $issue,
finetotal => $fines);

113
circ/reserve.pl

@ -0,0 +1,113 @@
#!/usr/bin/perl
# $Id$
# Copyright 2000-2002 Katipo Communications
#
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
use strict;
use C4::Context;
use C4::Output;
use CGI;
use HTML::Template;
use C4::Auth;
use C4::Date;
my $input = new CGI;
my $type=$input->param('type');
my $order=$input->param('order');
my $theme = $input->param('theme'); # only used if allowthemeoverride is set
my ($template, $loggedinuser, $cookie)
= get_template_and_user({template_name => "circ/reserve.tmpl",
query => $input,
type => "intranet",
authnotrequired => 0,
flagsrequired => {borrowers => 1},
debug => 1,
});
# borrowernumber int(11)
# reservedate date
# biblionumber int(11)
# constrainttype char(1)
# branchcode varchar(4)
# notificationdate date
# reminderdate date
# cancellationdate date
# reservenotes text
# priority smallint(6)
# found char(1)
# timestamp timestamp ON UPDATE CURRENT_TIMESTAMP Oui CURRENT_TIMESTAMP Modifier Supprimer Primaire Index Unique Texte entier
# itemnumber int(11)
my $duedate;
my $bornum;
my $itemnum;
my $data1;
my $data2;
my $data3;
my $name;
my $phone;
my $email;
my $biblionumber;
my $title;
my $author;
my @datearr = localtime(time());
my $todaysdate = (1900+$datearr[5]).'-'.sprintf ("%0.2d", ($datearr[4]+1)).'-'.sprintf ("%0.2d", $datearr[3]);
my $dbh = C4::Context->dbh;
my $strsth="select reservedate,reserves.borrowernumber as bornum, concat(firstname,' ',surname) as borrower, borrowers.phone, borrowers.emailaddress,reserves.biblionumber, reserves.branchcode as branch, items.holdingbranch, items.itemcallnumber, items.itemnumber, notes, notificationdate, reminderdate, priority, reserves.found, biblio.title, biblio.author from reserves left join items on items.itemnumber=reserves.itemnumber, borrowers,biblio where isnull(cancellationdate) && reserves.borrowernumber=borrowers.borrowernumber && reserves.biblionumber=biblio.biblionumber order by reservedate, borrower ";
$strsth="select reservedate,reserves.borrowernumber as bornum,concat(firstname,' ',surname) as borrower, borrowers.phone, borrowers.emailaddress,reserves.biblionumber, reserves.branchcode as branch, items.holdingbranch, items.itemcallnumber, items.itemnumber, notes, notificationdate, reminderdate, priority, reserves.found, biblio.title, biblio.author from reserves left join items on items.itemnumber=reserves.itemnumber , borrowers,biblio where isnull(cancellationdate) && reserves.borrowernumber=borrowers.borrowernumber && reserves.biblionumber=biblio.biblionumberorder by borrower,reservedate " if ($order eq "borrower");
$strsth="select reservedate,reserves.borrowernumber as bornum,concat(firstname,' ',surname) as borrower, borrowers.phone, borrowers.emailaddress,reserves.biblionumber, reserves.branchcode as branch, items.holdingbranch, items.itemcallnumber, items.itemnumber, notes, notificationdate, reminderdate, priority, reserves.found, biblio.title, biblio.author from reserves left join items on items.itemnumber=reserves.itemnumber, borrowers,biblio where isnull(cancellationdate) && reserves.borrowernumber=borrowers.borrowernumber && reserves.biblionumber=biblio.biblionumber order by biblio.title, priority,reservedate " if ($order eq "biblio");
my $sth=$dbh->prepare($strsth);
warn "".$strsth;
$sth->execute();
my @reservedata;
while (my $data=$sth->fetchrow_hashref) {
push (@reservedata,
{
reservedate => format_date($data->{reservedate}),
priority => $data->{priority},
name => $data->{borrower},
title => $data->{title},
author => $data->{author},
bornum => $data->{bornum},
itemnum => $data->{itemnumber},
phone => $data->{phone},
email => $data->{email},
biblionumber => $data->{biblionumber},
statusw => ($data->{found} eq "w"),
statusf => ($data->{found} eq "f"),
holdingbranch => $data->{holdingbranch},
branch => $data->{branch},
itemcallnumber => $data->{itemcallnumber},
notes => $data->{notes},
notificationdate => $data->{notificationdate},
reminderdate => $data->{reminderdate}
}
);
}
$sth->finish;
$template->param( todaysdate => format_date($todaysdate),
reserveloop => \@reservedata );
print "Content-Type: text/html\n\n", $template->output;

83
export/marc.pl

@ -8,29 +8,93 @@ use C4::Interface::CGI::Output;
use C4::Output; # contains gettemplate
use C4::Biblio;
use CGI;
use C4::Auth;
use C4::Koha;
my $query = new CGI;
my $op=$query->param("op");
my $dbh=C4::Context->dbh;
if ($op eq "export") {
print $query->header('Content-Type: text/marc');
my $start_bib = $query->param("start_bib");
my $end_bib = $query->param("end_bib");
my $dbh=C4::Context->dbh;
my $sth;
my $format = $query->param("format");
my $branch = $query->param("branch");
my $start_callnumber = $query->param("start_callnumber");
my $end_callnumber = $query->param("end_callnumber");
my $limit = $query->param("limit");
my $strsth;
$strsth="select bibid from marc_biblio ";
if ($start_bib && $end_bib) {
$sth=$dbh->prepare("select bibid from marc_biblio where bibid >=? and bibid <=? order by bibid");
$sth->execute($start_bib,$end_bib);
} else {
$sth=$dbh->prepare("select bibid from marc_biblio order by bibid");
$sth->execute();
$strsth.=" where biblionumber>=$start_bib and biblionumber<=$end_bib ";
}elsif ($format) {
if ($strsth=~/ where/){
$strsth=~s/ where (.*)/,biblioitems where biblioitems.biblionumber=marc_biblio.biblionumber and biblioitems.itemtype=\'$format\' and $1/;
}else {
$strsth.=",biblioitems where biblioitems.biblionumber=marc_biblio.biblionumber and biblioitems.itemtype=\'$format\'";
}
} elsif ($branch) {
if ($strsth=~/ where/){
$strsth=~s/ where (.*)/,items where items.biblionumber=marc_biblio.biblionumber and items.homebranch=\'$branch\' and $1/;
}else {
$strsth.=",items where items.biblionumber=marc_biblio.biblionumber and items.homebranch=\'$branch\'";
}
} elsif ($start_callnumber && $end_callnumber) {
$start_callnumber=~s/\*/\%/g;
$start_callnumber=~s/\?/\_/g;
$end_callnumber=~s/\*/\%/g;
$end_callnumber=~s/\?/\_/g;
if ($strsth=~/,items/){
$strsth.=" and items.itemcallnumber between \'$start_callnumber\' and \'$end_callnumber\'";
} else {
if ($strsth=~/ where/){
$strsth=~s/ where (.*)/,items where items.biblionumber=marc_biblio.biblionumber and items.itemcallnumber between \'$start_callnumber\' and \'$end_callnumber\' and $1/;
}else {
$strsth=~",items where items.biblionumber=marc_biblio.biblionumber and items.itemcallnumber between \'$start_callnumber\' and \'$end_callnumber\' ";
}
}
}
while (my ($bibid) = $sth->fetchrow) {
$strsth.=" order by marc_biblio.biblionumber ";
$strsth.= "LIMIT 0,$limit " if ($limit);
warn "requête marc.pl : ".$strsth;
my $req=$dbh->prepare($strsth);
$req->execute;
while (my ($bibid) = $req->fetchrow) {
my $record = MARCgetbiblio($dbh,$bibid);
print $record->as_usmarc();
}
} else {
my $sth=$dbh->prepare("Select itemtype,description from itemtypes order by description");
$sth->execute;
my @itemtype;
my %itemtypes;
push @itemtype, "";
$itemtypes{''} = "";
while (my ($value,$lib) = $sth->fetchrow_array) {
push @itemtype, $value;
$itemtypes{$value}=$lib;
}
my $CGIitemtype=CGI::scrolling_list( -name => 'format',
-values => \@itemtype,
-default => '',
-labels => \%itemtypes,
-size => 1,
-multiple => 0 );
$sth->finish;
my $branches = getallbranches;
my @branchloop;
foreach my $thisbranch (keys %$branches) {
# my $selected = 1 if $thisbranch eq $branch;
my %row =(value => $thisbranch,
# selected => $selected,
branchname => $branches->{$thisbranch}->{'branchname'},
);
push @branchloop, \%row;
}
my ($template, $loggedinuser, $cookie)
= get_template_and_user({template_name => "export/marc.tmpl",
query => $query,
@ -39,6 +103,7 @@ if ($op eq "export") {
flagsrequired => {parameters => 1, management => 1, tools => 1},
debug => 1,
});
$template->param(branchloop=>\@branchloop,CGIitemtype=>$CGIitemtype);
output_html_with_http_headers $query, $cookie, $template->output;
}

64
koha-plucene/indexer.pl

@ -1,64 +0,0 @@
#!/usr/bin/perl -w
# This script will build an index of all the biblios in a koha database
# Its using english stemming at the moment. But that can be changed and is only
# indexing author and title
# Combine this with the search.cgi script to search Koha using Plucene
# This is still a work in progress, use with caution
# $Id$
# Copyright 2005 Katipo Communications
#
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
use lib '/usr/local/koha/intranet/modules';
use strict;
use C4::Context;
use Plucene::Index::Writer;
use Plucene::Plugin::Analyzer::PorterAnalyzer;
use Plucene::Document;
# connect to the database and fetch all the biblios
my $dbh = C4::Context->dbh();
my $query = "SELECT * FROM biblio";
my $sth = $dbh->prepare($query);
$sth->execute();
# create an index writer
# currently it makes the index in /tmp/plucene
# PLEASE change this if you want to use the script in production
my $writer = Plucene::Index::Writer->new(
"/tmp/plucene",
Plucene::Plugin::Analyzer::PorterAnalyzer->new(),
1 # Create the index from scratch
);
# For each biblio, add its information to the index
while ( my $data = $sth->fetchrow_hashref() ) {
my $doc = Plucene::Document->new();
$doc->add(
Plucene::Document::Field->Keyword( filename => $data->{biblionumber} )
);
$doc->add( Plucene::Document::Field->Text( title => $data->{'title'} ) );
$doc->add( Plucene::Document::Field->Text( author => $data->{'author'} ) );
$writer->add_document($doc);
}

98
koha-plucene/search.cgi

@ -1,98 +0,0 @@
#!/usr/bin/perl
# script to search the plucene index of the database
# most of this will be shifted to a module when it moves out of the proof of concept stage
# $Id$
# Copyright 2005 Katipo Communications
#
# This file is part of Koha.
#
# Koha is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
use strict;
use Plucene::Search::IndexSearcher;
use Plucene::Plugin::Analyzer::PorterAnalyzer;
use Plucene::QueryParser;
use Plucene::Search::HitCollector;
use C4::Auth;
use C4::Interface::CGI::Output;
use Data::Dumper;
use CGI;
my $cgi = new CGI;
# get a template, opac-pluceneresults.tmpl is currently an exact copy of
# opac-searchresults.tmpl so just make a copy.
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
{
template_name => "opac-pluceneresults.tmpl",
query => $cgi,
type => "opac",
authnotrequired => 1,
}
);
# the script expects an input called query;
my $query = $cgi->param('query');
# tell the script what index to use (change this to match whatever is in indexer.pl)
my $searcher = Plucene::Search::IndexSearcher->new("/tmp/plucene/");
# the important bit here is default=>"title"
# that says if we dont specify what to search, search the title field
my $parser = Plucene::QueryParser->new(
{
analyzer => Plucene::Plugin::Analyzer::PorterAnalyzer->new(),
default => "title"
}
);
my $parsed = $parser->parse($query);
my @docs;
# build an array of results,
# we could use the $score to rank them, but its currently not doing that
my $hc = Plucene::Search::HitCollector->new(
collect => sub {
my ( $self, $doc, $score ) = @_;
my $res = eval { $searcher->doc($doc) };
push @docs, $res if $res;
}
);
# do the searh
$searcher->search_hc( $parsed, $hc );
# map the results into a format our template is expecting
my @results = map {
{
biblionumber => $_->get("filename")->string,
title => $_->get("title")->string,
author => $_->get("author")->string,
}
} @docs;
# pass the results to the template
my $num_records = @results;
$template->param(
search_results => \@results,
numrecords => $num_records,
searchdesc => $query
);
output_html_with_http_headers $cgi, $cookie, $template->output;

62
koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl

@ -66,7 +66,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -77,11 +77,11 @@
</p>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<p class="MARCsubfield">
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -107,7 +107,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -121,8 +121,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -148,7 +148,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -162,8 +162,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -189,7 +189,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -203,8 +203,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -230,7 +230,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -244,8 +244,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -271,7 +271,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -285,8 +285,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -312,7 +312,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -326,8 +326,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -353,7 +353,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -367,8 +367,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -394,7 +394,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -408,8 +408,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
@ -435,7 +435,7 @@
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" -->
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->"> -
<input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
@ -449,8 +449,8 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->

30
koha-tmpl/intranet-tmpl/default/en/acqui/basket.tmpl

@ -32,15 +32,14 @@
<th class="acquisition doNotPrint">Order</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">rrp</th>
<th class="acquisition doNotPrint">est</th>
<th class="acquisition doNotPrint">rrp</th>
<th class="acquisition">est</th>
<th class="acquisition">Qty</th>
<th class="acquisition">Total</th>
<th class="acquisition doNotPrint">Fund <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[order]</a></th>
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
<th class="acquisition doNotPrint">Remove</th>
<!-- /TMPL_UNLESS -->
<th class="acquisition doNotPrint">Remove</th>
<th class="acquisition doNotPrint">Edit</th>
<!-- /TMPL_IF -->
</tr>
<!-- TMPL_LOOP NAME="books_loop" -->
@ -66,19 +65,22 @@
<!-- TMPL_IF name="notes" --></p><p class="doNotPrint"><i><!--TMPL_VAR name="notes" --></i><!-- /TMPL_IF -->
</td>
<!-- /TMPL_IF -->
<td class="number"><p><!-- TMPL_VAR NAME="rrp" --></p></td>
<td class="doNotPrint number"><p><!-- TMPL_VAR NAME="ecost" --></p></td>
<td class="doNotPrint number"><p><!-- TMPL_VAR NAME="rrp" --></p></td>
<td class="number"><p><!-- TMPL_VAR NAME="ecost" --></p></td>
<td class="number"><p><!-- TMPL_VAR NAME="quantity" --></p></td>
<td class="number"><p><!-- TMPL_VAR NAME="line_total" --></p></td>
<td class="doNotPrint"><p><!-- TMPL_VAR NAME="bookfundid" --></p></td>
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
<td class="doNotPrint">
<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<!-- /TMPL_UNLESS -->
<td class="doNotPrint">
<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
<img src="/intranet-tmpl/default/images/edittrash.png" alt="Remove from basket" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<td class="doNotPrint">
<a href="newbiblio.pl?sub=&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&biblio=<!-- TMPL_VAR NAME="biblionumber" -->&ordnum=<!-- TMPL_VAR NAME="ordernumber" --><!--TMPL_IF name="closedate"-->&close=1<!--/TMPL_IF -->">
<img src="/intranet-tmpl/default/images/fileopen.png" alt="Edit" title="Remove from basket" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->

13
koha-tmpl/intranet-tmpl/default/en/acqui/histsearch.tmpl

@ -11,6 +11,7 @@
<th class="acquisition">Placed on</th>
<th class="acquisition">Recieved on</th>
<th class="acquisition">Quantity ordered</th>
<th class="acquisition">Quantity received</th>
<th class="acquisition">Unit cost</th>
<th class="acquisition">&nbsp;</th>
</tr>
@ -157,6 +158,9 @@
<th class="acquisition">
&nbsp;
</th>
<th class="acquisition">
&nbsp;
</th>
<th class="acquisition">
<input type="submit" class="button acquisition" value="Set Filter">
</th>
@ -207,6 +211,13 @@
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="quantity" -->
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted number">
<!-- TMPL_ELSE -->
<td class="number">
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="quantityreceived" -->
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted number">
<!-- TMPL_ELSE -->
@ -230,8 +241,8 @@
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition"><!-- TMPL_VAR name="total_qty" --></th>
<th class="acquisition"><!-- TMPL_VAR name="total_qtyreceived" --></th>
<th class="acquisition"><!-- TMPL_VAR name="total_price" --></th>
<th class="acquisition">&nbsp;</th>
</tr>

64
koha-tmpl/intranet-tmpl/default/en/acqui/lateorders.tmpl

@ -1,88 +1,104 @@
<!-- TMPL_INCLUDE NAME="acquisitions-top.inc" -->
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="acquisition">Late issues</h1>
<h1 class="acquisition"><!-- TMPL_IF name="Supplier" --><!-- TMPL_VAR name="Supplier" --> : <!--/TMPL_IF -->Late issues</h1>
<table>
<tr>
<th class="acquisition">Supplier</th>
<th class="acquisition doNotPrint">Supplier</th>
<th class="acquisition">Order Date</th>
<th class="acquisition">Ordered for</th>
<th class="acquisition">Including Basket</th>
<th class="acquisition doNotPrint">Including Basket</th>
<th class="acquisition">Book information</th>
<th class="acquisition">Branch</th>
<th class="acquisition">Estimated Unit Price</th>
<th class="acquisition doNotPrint">Branch</th>
<th class="acquisition doNotPrint">Estimated Unit Price</th>
<th class="acquisition">Retailer Catalogue Unit Price</th>
<th class="acquisition">Quantity</th>
<th class="acquisition">Total cost</th>
<th class="acquisition">Budget</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition doNotPrint">Budget</th>
<th class="acquisition doNotPrint">&nbsp;</th>
</tr>
<tr>
<tr class="doNotPrint">
<form action="lateorders.pl" method="post">
<td>
<td class="doNotPrint">
<!-- TMPL_VAR name="CGIsupplier" -->
</td>
<td> &nbsp;</td>
<td align="center">
<input align="right" size="4" maxlength="3" type="text" name="delay" value="<!--TMPL_VAR Name="delay" -->"> days
<td align="center" class="doNotPrint">
<input align="right" size="4" maxlength="3" type="text" name="delay" value="<!--TMPL_VAR Name="delay" -->" > days
</td>
<td colspan="2">
&nbsp;
</td>
<td>
<td class="doNotPrint">
<!-- TMPL_VAR name="CGIbranch" -->
</td>
<td colspan="5">
&nbsp;
</td>
<td>
<td class="doNotPrint">
<input type="submit" value="filter" class="button acquisition">
</td>
</form>
</tr>
<!-- TMPL_LOOP name="lateorders" -->
<!--TMPL_IF Name="hilighted" --> <tr class="hilighted"> <!--TMPL_ELSE--> <tr> <!-- /TMPL_IF -->
<td>
<td class="doNotPrint">
<!-- TMPL_VAR name="supplier" -->
</td>
<td>
<!-- TMPL_VAR name="orderdate" -->
</td>
<td class="number">
<td class="number" align="right">
<!-- TMPL_VAR name="latesince" -->
</td>
<td align="center">
<td align="center" class="doNotPrint">
<!-- TMPL_VAR name="basketno" -->
</td>
<td>
<td >
<b><!-- TMPL_VAR name="title" --></b>
<!-- TMPL_IF name="author" --><br/><i>Author:</i> <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="publisher" --><br/><i>Published by:</i> <!-- TMPL_VAR NAME="publisher" --><!-- TMPL_IF name="publicationyear" --><i> in </i><!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
</td>
<td>
<td class="doNotPrint">
<!-- TMPL_VAR name="branch" -->
</td>
<td>
<td align="right" class="doNotPrint">
<!-- TMPL_VAR name="unitpricelib" -->
</td>
<td>
<td align="right">
<!-- TMPL_VAR name="unitpricesupplier" -->
</td>
<td>
<td align="right">
<!-- TMPL_VAR name="quantity" -->
</td>
<td>
<td align="right">
<!-- TMPL_VAR name="subtotal" -->
</td>
<td>
<td class="doNotPrint">
<!-- TMPL_VAR name="budget" -->
</td>
<td>
<td class="doNotPrint">
&nbsp;
</td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th class="acquisition">
Total
</th>
<th class="acquisition" colspan="2">
&nbsp;
</th>
<th class="acquisition" class="doNotPrint"> &nbsp;</th>
<th class="acquisition" colspan="5">
&nbsp;
</th>
<th class="acquisition">
<!-- TMPL_VAR name="total" -->
</th>
</tr>
</table>
</div>
<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

32
koha-tmpl/intranet-tmpl/default/en/acqui/newbiblio.tmpl

@ -158,35 +158,51 @@ function check(f) {
<h2 class="acquisition">Accounting details</h2>
<p>
<label class="label100">Quantity</label>
<input type="text" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" onchange="update(this.form);">
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->"><!-- TMPL_VAR NAME="quantity" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" onchange="update(this.form);">
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Bookfund</label>
<!-- TMPL_VAR NAME="CGIbookfund" -->
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="bookfund" value="<!-- TMPL_VAR NAME="bookfundid" -->"><!-- TMPL_VAR NAME="bookfundname" -->
<!-- TMPL_ELSE -->
<!-- TMPL_VAR NAME="CGIbookfund" -->
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Suppliers List Price</label>
<input type="text" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->" onchange="update(this.form)">
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->"><!-- TMPL_VAR NAME="listprice" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->" onchange="update(this.form)">
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Replacement Cost </label>
<input type="text" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->">
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->"><!-- TMPL_VAR NAME="rrp" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->">
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Budgeted Cost</label>
<input type="text" size="20" name="ecost" value="<!-- TMPL_VAR NAME="ecost" -->">
<input type="text" size="20" name="ecost" value="<!-- TMPL_VAR NAME="ecost" -->"<!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100">Budgeted GST</label>
<input type="text" size="20" name="GST" value="">
<input type="text" size="20" name="GST" value="" <!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100"><b>BUDGETED TOTAL</b></label>
<input type="text" size="20" name="total" value="">
<input type="text" size="20" name="total" value="" <!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100">Actual Cost</label>
<input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->">
<input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->" <!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100">Invoice Number *</label>

2
koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl

@ -9,7 +9,7 @@ var index_start = <!-- TMPL_VAR NAME="index" -->;
var whichfield = opener.opener.document.f.tag[index_start].value;
i=index_start
// go forward, until reaching the end of the field.
while (i<=opener.opener.document.f.field_value.length) {
while (i<opener.opener.document.f.field_value.length) {
if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="authid" -->";
}

24
koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist.tmpl

@ -35,26 +35,32 @@
<table>
<tr>
<th class="authority">Summary</th>
<th class="authority">Used in</th>
<!-- TMPL_UNLESS name="isEDITORS" -->
<th class="authority">Used in</th>
<!-- /TMPL_UNLESS -->
<th class="authority">View</th>
<th class="authority">Delete</th>
</tr>
<!-- TMPL_LOOP NAME="result" -->
<tr>
<td><!-- TMPL_VAR NAME="summary" --></td>
<td><a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
<!-- TMPL_UNLESS name="isEDITORS" -->
<td>
<a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
</td>
<!-- /TMPL_UNLESS -->
<td>
<a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">
</a>
</td>
<td>
<!-- TMPL_UNLESS name="used" -->
<a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
</a>
<!-- /TMPL_UNLESS -->
</td>
<td>
<!-- TMPL_UNLESS name="used" -->
<a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
</a>
<!-- /TMPL_UNLESS -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>

36
koha-tmpl/intranet-tmpl/default/en/bull/bull-home.tmpl

@ -28,20 +28,46 @@
</tr>
<!-- TMPL_LOOP name="subscriptions" -->
<tr>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="ISSN" -->
<a href="bull/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="Issues history"><!-- TMPL_VAR name="ISSN" --></a>
<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_VAR name="title" -->
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="title" -->
<!-- TMPL_VAR name="title" -->
<!-- TMPL_ELSE -->
|
<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="subscription detail">Detail</a>
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="bull/statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="receive issues for this subscription">Receive</a>
</td>
</tr>

60
koha-tmpl/intranet-tmpl/default/en/bull/lateissues.tmpl

@ -2,49 +2,41 @@
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="bull">Late issues</h1>
<p>
<form action="lateissues.pl" method="post">
<!-- TMPL_VAR name="CGIsupplier" -->
<!-- TMPL_IF name="phone" -->Phone: <!-- TMPL_VAR name="phone" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="booksellerfax" -->Fax: <!-- TMPL_VAR name="booksellerfax" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="bookselleremail" --></p><p><a href="mailto:<!-- TMPL_VAR name="bookselleremail" -->" class="button bull"><!-- TMPL_VAR name="bookselleremail" --></a><!-- /TMPL_IF -->
<input type="submit" value="filter" class="button bull">
</form>
</p>
<table>
<tr>
<th class="bull">Supplier</th>
<th class="bull">Title</th>
<th class="bull">Issue number</th>
<th class="bull">Late since</th>
<th class="bull" colspan=2>&nbsp;</th>
</tr>
<tr>
<form action="lateissues.pl" method="post">
<td>
<!-- TMPL_VAR name="CGIsupplier" -->
</td>
<td>
<p>
<!-- TMPL_IF name="phone" -->Phone: <!-- TMPL_VAR name="phone" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="booksellerfax" -->Fax: <!-- TMPL_VAR name="booksellerfax" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="bookselleremail" --></p><p><a href="mailto:<!-- TMPL_VAR name="bookselleremail" -->" class="button bull"><!-- TMPL_VAR name="bookselleremail" --></a><!-- /TMPL_IF -->
</p>
</td>
<td>
<input type="submit" value="filter" class="button bull">
</td>
</form>
</tr>
<!-- TMPL_LOOP name="lateissues" -->
<tr>
<td>
<!-- TMPL_VAR name="name" -->
</td>
<td>
<!-- TMPL_VAR name="Title" -->
</td>
<td>
<!-- TMPL_VAR name="serialseq" -->
</td>
<td>
<!-- TMPL_VAR name="planneddate" -->
</td>
<td>
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Detail</a>
<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Recieve</a>
</td>
<!-- TMPL_IF name="odd" -->
<td class="hilighted"><!-- TMPL_IF name="Title" --><!-- TMPL_VAR name="Title" --><!-- TMPL_ELSE -->|<!-- /TMPL_IF --></td>
<td class="hilighted"><!-- TMPL_VAR name="serialseq" --></td>
<td class="hilighted"><!-- TMPL_VAR name="planneddate" --></td>
<td class="hilighted">
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Detail</a>
<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Recieve</a>
</td>
<!-- TMPL_ELSE -->
<td><!-- TMPL_VAR name="Title" --></td>
<td><!-- TMPL_VAR name="serialseq" --></td>
<td><!-- TMPL_VAR name="planneddate" --></td>
<td>
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Detail</a>
<a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Recieve</a>
</td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>

10
koha-tmpl/intranet-tmpl/default/en/bull/search.tmpl

@ -17,6 +17,16 @@
<input type="hidden" name="operator" value="contains">
<input type="text" name="value">
</p>
<p>
<label class="label20">Itemtype</label>
<!-- TMPL_VAR name="CGIitemtype" -->
<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="category" -->">
<input type="hidden" name="marclist" value="">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="=">
<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
</p>
</div>
<div id="bloc25">
<p>Results per page :

4
koha-tmpl/intranet-tmpl/default/en/circ/circulation.tmpl

@ -33,10 +33,12 @@
<p> <!-- TMPL_IF NAME="picture" -->
<img src="/intranet-tmpl/<!-- TMPL_VAR NAME="picture" -->">
<!-- /TMPL_IF --><br><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)
<!--TMPL_IF Name="warndeparture"--><p class="problem"><!--TMPL_ELSE--><p><!--/TMPL_IF--><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)
<a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" --> " class="button circulation">
detail
</a>
<a href="/cgi-bin/koha/members/memberentry.pl?bornum=<!-- TMPL_VAR name="borrowernumber" -->&amp;modify=edit&amp;destination=circ" class="button circulation">edit</a>
<a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&amp;modify=edit&amp;destination=circ" class="button circulation">edit</a>
<!--TMPL_IF Name="warndeparture"--><br /> Borrower will leave soon<br /><!--/TMPL_IF-->
</p>
<p>
<!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME="city" -->

42
koha-tmpl/intranet-tmpl/default/en/circ/reserve.tmpl

@ -0,0 +1,42 @@
<!-- TMPL_INCLUDE NAME="circulation-top.inc" -->
<div id="mainbloc">
<h1 class="circulation">Items Reserved as of <!-- TMPL_VAR NAME="todaysdate" --></h1>
<div id="resultlist">
<table>
<tr>
<th class="circulation">Priority</th>
<th class="circulation">Reserve Date <a href="/cgi-bin/koha/circ/reserve.pl?order=date&amp;type=intranet">Sort</a> </th>
<th class="circulation">Patron <a href="/cgi-bin/koha/circ/reserve.pl?order=borrower&amp;type=intranet">Sort</a></th>
<th class="circulation">Title <a href="/cgi-bin/koha/circ/reserve.pl?order=biblio&amp;type=intranet">Sort</a></th>
<th class="circulation">Location</th>
<th class="circulation">Notes</th>
</tr>
<!-- TMPL_LOOP NAME="reserveloop" -->
<tr>
<td><p><!-- TMPL_VAR NAME="priority" --></p></td>
<td>
<p><!-- TMPL_VAR NAME="reservedate" --></p>
<p>in <!-- TMPL_VAR NAME="branch" --></p>
<!-- TMPL_IF NAME="statusw" --><p>Waiting</p><!-- /TMPL_IF --><!-- TMPL_IF NAME="statusf" --><p>Fullfilled</p><!-- /TMPL_IF -->
</td>
<td>
<p><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!--TMPL_VAR Name="bornum"-->"><!-- TMPL_VAR NAME="name" --></a><br /><!-- TMPL_VAR NAME="phone" --><br />
<!-- TMPL_IF NAME="email" --><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" -->">
<!-- TMPL_VAR NAME="email" --></a><!--/TMPL_IF-->
</p>
</td>
<td>
<p>
<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><br /><!-- TMPL_VAR NAME="author" -->
</p>
</td>
<td><p><!-- TMPL_VAR NAME="holdingbranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p></td>
<td><p><!-- TMPL_VAR NAME="notes" --></p></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
<!-- TMPL_INCLUDE NAME="circulation-bottom.inc" -->

2
koha-tmpl/intranet-tmpl/default/en/circ/returns.tmpl

@ -195,7 +195,7 @@
<!-- TMPL_IF Name="early" -->
<font color="red">
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="year" -->/<!-- TMPL_VAR NAME="month" -->/<!-- TMPL_VAR NAME="day" -->
<!-- TMPL_VAR NAME="duedate" -->
<!-- TMPL_IF Name="early" -->
</font>
<!-- /TMPL_IF -->

2
koha-tmpl/intranet-tmpl/default/en/circ/selectbranchprinter.tmpl

@ -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 circulation"></p>
<input type="submit" value="Submit" class="button circulation"></p>
</form>
</div>

15
koha-tmpl/intranet-tmpl/default/en/export/marc.tmpl

@ -7,9 +7,20 @@
<form method="post">
<p>from biblio number : <input type="text" name="start_bib">
to biblio number : <input type="text" name="end_bib"></p>
<input type="hidden" name="op" value="export">
<p>(leave blank to export every biblio)</p>
<p>Document type : <!--TMPL_VAR Name="CGIitemtype"--></p>
<p>Branch : <select name="branch">
<option value="">Default</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
</p>
<p>from itemcallnumber : <input type="text" name="start_callnumber">
to itemcallnumber : <input type="text" name="end_callnumber"></p>
<p>Limit to <input type="text" name="limit"> first biblio</p>
<p>Note : the items are NOT exported by this tool</p>
<input type="hidden" name="op" value="export">
<input type="submit" value="Export" class="button">
</form>
</div>

37
koha-tmpl/intranet-tmpl/default/en/help/reports/borrowers_stats.tmpl

@ -0,0 +1,37 @@
<!-- TMPL_INCLUDE name="help-top.inc" -->
<h1>Borrowers stats help</h1>
<p>This page is to be used as a wizard to compose two entries table stats on borrowers.</p>
<p>You must bear in mind what the table will look like :</p>
<p> <table>
<tr> <td> row/colunm </td> <td> column criteria1 </td> <td> column criteria2 </td> <td> total rows</td> </tr>
<tr> <td> row criteria1</td> <td> count11 </td> <td> count12 </td> <td>total row1 </td> </tr>
<tr> <td> row criteria2</td> <td> count21 </td> <td> count22 </td> <td>total row2 </td> </tr>
<tr> <td> Total cols</td> <td> total col1</td> <td> total col2</td> <td> Global total</td> </tr>
</table></p>
<p> For instance, if you choose to check row for Borrower Category Column for Branches, you will be displayed a table containing the different borrowers categorycodes on rows, and different branchcodes on columns as such :
</p><p> <table>
<tr> <td> catcode/branchcode </td> <td> BranchA</td> <td> BranchB</td> <td> total </td> </tr>
<tr> <td> A</td> <td> 12 </td> <td> 22 </td> <td>34</td> </tr>
<tr> <td> C</td> <td> 11</td> <td> 12 </td> <td>23</td> </tr>
<tr> <td> I</td> <td> 21</td> <td> 22</td> <td>43</td> </tr>
<tr> <td> Total </td> <td> 44</td> <td> 56</td> <td> 100</td> </tr>
</table>
</p><p> You can choose to display the results on screen or get them in your office suite (would it be gnucalc, oocalc, or another calc) with the radio button display. You can change the set of the file generated changing Export in the textarea.
</p>
<p>
<h2> Criteria on row/column</h2>
<ul> <li>You can choose sort1 sort2 if filled.</li>
<li>You can choose Branch, zipcode or categorycode.</li>
<li>If you chose zipcode, since the 2 first digits in France represents the country (Hérault 34, Haute-Garonne 31), some may want to have stats on representation of this countries. That is why you can select to group stats on some digits of zipcode.</li>
</ul>
</p>
<p>
<h2> Filters </h2>
<ul> <li>You can filter on sort1 sort2 if filled.</li>
<li>You can filter on zipcode, branch or categorycode.</li>
<li>Branches and categorycodes are chosen in a select list.</li>
<li>Zipcode can use special characters like * for many characters. say 31* to get french people that live in Haute-Garonne</li>
</ul>
</p>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

40
koha-tmpl/intranet-tmpl/default/en/help/reports/catalogue_stats.tmpl

@ -0,0 +1,40 @@
<!-- TMPL_INCLUDE name="help-top.inc" -->
<h1>Catalogue stats help</h1>
<p>This page is to be used as a wizard to compose two entries table stats on catalogue.</p>
<p>You must bear in mind what the table will look like :</p>
<p> <table>
<tr> <td> row/colunm </td> <td> column criteria1 </td> <td> column criteria2 </td> <td> total rows</td> </tr>
<tr> <td> row criteria1</td> <td> count11 </td> <td> count12 </td> <td>total row1 </td> </tr>
<tr> <td> row criteria2</td> <td> count21 </td> <td> count22 </td> <td>total row2 </td> </tr>
<tr> <td> Total cols</td> <td> total col1</td> <td> total col2</td> <td> Global total</td> </tr>
</table></p>
<p> For instance, if you choose to check row for itemtype, Column for Branches, you will be displayed a table containing the different itemtypes on rows, and different branchcodes on columns as such :
</p><p> <table>
<tr> <td> catcode/branchcode </td> <td> BranchA</td> <td> BranchB</td> <td> total </td> </tr>
<tr> <td> BOOKS</td> <td> 12 </td> <td> 22 </td> <td>34</td> </tr>
<tr> <td> ISSUES</td> <td> 11</td> <td> 12 </td> <td>23</td> </tr>
<tr> <td> Total </td> <td> 33</td> <td> 34</td> <td> 57</td> </tr>
</table>
</p><p> You can choose to display the results on screen or get them in your office suite (would it be gnucalc, oocalc, or another calc) with the radio button display. You can change the set of the file generated changing Export in the textarea.
</p>
<p>
<h2> Criteria on row/column</h2>
<ul> <li>Dewey Classification. You can group results on the n first digits</li>
<li>Callnumber. You can group results on the n first characters</li>
<li>Document Type</li>
<li>Publication Year</li>
<li>Home Branch</li>
<li>Location</li>
</ul>
</p>
<p>
<h2> Filters </h2>
<ul> <li>Callnumber and Dewey Classification can be filtered from a string to another. You can use jokers.</li>
<li>You can select one document type.</li>
<li>Publication Year</li>
<li>You can select one branch as Home Branch</li>
<li>Location</li>
</ul>
</p>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

46
koha-tmpl/intranet-tmpl/default/en/help/reports/issues_stats.tmpl

@ -0,0 +1,46 @@
<!-- TMPL_INCLUDE name="help-top.inc" -->
<h1>Issues stats help</h1>
<p>This page is to be used as a wizard to compose two entries table stats on issues.</p>
<p>You must bear in mind what the table will look like :</p>
<p> <table>
<tr> <td> row/colunm </td> <td> column criteria1 </td> <td> column criteria2 </td> <td> total rows</td> </tr>
<tr> <td> row criteria1</td> <td> count11 </td> <td> count12 </td> <td>total row1 </td> </tr>
<tr> <td> row criteria2</td> <td> count21 </td> <td> count22 </td> <td>total row2 </td> </tr>
<tr> <td> Total cols</td> <td> total col1</td> <td> total col2</td> <td> Global total</td> </tr>
</table></p>
<p> For instance, if you choose to check row for Borrower Category Column for Branches, you will be displayed a table containing the different borrowers categorycodes on rows, and different branchcodes on columns as such :
</p><p> <table>
<tr> <td> catcode/branchcode </td> <td> BranchA</td> <td> BranchB</td> <td> total </td> </tr>
<tr> <td> A</td> <td> 12 </td> <td> 22 </td> <td>34</td> </tr>
<tr> <td> C</td> <td> 11</td> <td> 12 </td> <td>23</td> </tr>
<tr> <td> I</td> <td> 21</td> <td> 22</td> <td>43</td> </tr>
<tr> <td> Total </td> <td> 44</td> <td> 56</td> <td> 100</td> </tr>
</table>
</p><p> You can choose to display the results on screen or get them in your office suite (would it be gnucalc, oocalc, or another calc) with the radio button display. You can change the set of the file generated changing Export in the textarea.
</p>
<p>
<h2> Criteria on row/column</h2>
<li>You can choose Branch, itemtype or borrower category.</li>
<li>Period you can select whether you want it to be issue or return period. </li>
<li>You can group results by day, by Month, by year. </li>
</ul>
</p>
<p>
<h2> Filters </h2>
<ul> <li>You can filter period in a From/to calendar.</li>
<li>You can choose to see only One day on the period, or one month.</li>
<li>You can filter on itemtypes, branch or borrowers category.</li>
<li>Branches itemtypes and borrowers category are chosen in a select list.</li>
</ul>
</p>
<p>
<h2> Cell Value</h2>
<p> You can choose to count
<ul> <li>distinct borrowers</li>
<li>distinct items</li>
<li>distinct issues (that is one borrower, one item)</li>
<li>circulation rate (rate items issued out of total number of items)</li>
</ul>
</p>
<!-- TMPL_INCLUDE name="help-bottom.inc" -->

BIN
koha-tmpl/intranet-tmpl/default/en/images/up.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

2
koha-tmpl/intranet-tmpl/default/en/includes/common-print.css

@ -1,5 +1,5 @@
p,
div,
.user,
.doNotPrint
{
/* Hides all the elements irrelevant for printing */

4
koha-tmpl/intranet-tmpl/default/en/includes/common-style.css

@ -9,6 +9,10 @@ body {
input {
display:inline;
}
input.flat {
border:0px;
font-size:90%;
}
textarea {
font-size:10pt;

3
koha-tmpl/intranet-tmpl/default/en/includes/marc-editor.css

@ -47,6 +47,9 @@ div.tab {
background-image:url('');
margin-right:30%;
}
.MARCsubfield { /* style for tag definition (700 - Statement of responsability) */
margin-right:0%;
}
.labelsubfield { /* style for each subfield (like : a Publication year), just before the biblio subfield */
float:left;

13
koha-tmpl/intranet-tmpl/default/en/includes/menus.inc

@ -45,6 +45,7 @@ var ns7 = (document.getElementById) ? 1:0;*/
<!-- ACQUISITION -->
<div id="Subm1">
<a href="/cgi-bin/koha/acqui/acqui-home.pl" class="submenu acquisition" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(1)">Main page</a>
<a href="/cgi-bin/koha/acqui/lateorders.pl" class="submenu acquisition" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(1)">Late orders</a>
<a href="/cgi-bin/koha/acqui/histsearch.pl" class="submenu acquisition" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(1)">History search</a>
</div>
@ -55,7 +56,7 @@ var ns7 = (document.getElementById) ? 1:0;*/
<hr>
<a class="submenu bull" href="/cgi-bin/koha/bull-home.pl" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Subscriptions</a>
<a href="/cgi-bin/koha/bull/lateissues.pl" class="submenu bull" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Late issues</a>
<hr>
<hr />
<a href="/cgi-bin/koha/bookshelves/shelves.pl" class="submenu catalogue" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Virtual shelves</a>
</div>
<!-- CIRC -->
@ -63,6 +64,8 @@ var ns7 = (document.getElementById) ? 1:0;*/
<a href="/cgi-bin/koha/circ/circulation.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Issues</a>
<a href="/cgi-bin/koha/circ/returns.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Returns</a>
<a href="/cgi-bin/koha/circ/branchtransfers.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Branch transfers</a>
<hr />
<a href="/cgi-bin/koha/circ/reserve.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Reserves pending</a>
</div>
<!-- MEMBERS -->
<div id="Subm4">
@ -80,10 +83,10 @@ var ns7 = (document.getElementById) ? 1:0;*/
<a href="/cgi-bin/koha/reports/borrowers_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Borrowers</a>
<a href="/cgi-bin/koha/reports/catalogue_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Catalogue</a>
<a href="/cgi-bin/koha/reports/issues_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Circulation</a>
<hr>
<hr />
<a href="/cgi-bin/koha/reports/bor_issues_top.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Most issuing Borrowers</a>
<a href="/cgi-bin/koha/reports/cat_issues_top.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Most issued items</a>
<hr>
<hr />
<a href="/cgi-bin/koha/reports/borrowers_out.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Borrowers without issues</a>
<a href="/cgi-bin/koha/reports/catalogue_out.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Items not issued</a>
<a href="/cgi-bin/koha/reports/inventory.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Inventory/Stocktaking</a>
@ -103,10 +106,10 @@ var ns7 = (document.getElementById) ? 1:0;*/
<a href="/cgi-bin/koha/admin/aqbookfund.pl" title="Book fund administration. Remember to edit your book funds before you start editing the budgets." class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Book funds</a>
<a href="/cgi-bin/koha/admin/currency.pl" title="Define exchange rates"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Currencies</a>
<a href="/cgi-bin/koha/admin/itemtypes.pl" title="Define item types"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Item types</a>
<hr>
<hr />
<a href="/cgi-bin/koha/admin/categorie.pl" title="Define the categories of borrowers"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Borrower categories</a>
<a href="/cgi-bin/koha/admin/issuingrules.pl" title="Define issuing rules for branches / borrowers / item types (nb of issues, duration, cost...)"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Issuing rules</a>
<hr>
<hr />
<a href="/cgi-bin/koha/admin/authorised_values.pl" title="Define categories and authorised values for them. Authorised values are used in MARC form to limit and help editing MARC biblios" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Authorised values</a>
</TMPL_IF>

14
koha-tmpl/intranet-tmpl/default/en/members/member.tmpl

@ -26,10 +26,10 @@
<th>Name</th>
<th>Branch</th>
<th>Category</th>
<th>Address</th>
<th>OD/Issues</th>
<th>Charges</th>
<th>Notes</th>
<th>Sort1</th>
<th>Sort2</th>
</tr>
<!-- TMPL_LOOP NAME="resultsloop" -->
<!-- TMPL_IF NAME="background" -->
@ -39,13 +39,17 @@
<!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="count" --></td>
<td><!-- TMPL_VAR NAME="cardnumber" --></td>
<td><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --></a></td>
<td>
<p><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" -->, <b><!-- TMPL_VAR NAME="firstname" --></b></a></p>
<p><!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME="city" --></p>
<p><i><!-- TMPL_VAR NAME="borrowernotes" --></i></p>
</td>
<td><!-- TMPL_VAR name="branchcode" --></td>
<td><!-- TMPL_VAR NAME="categorycode" --></td>
<td><!-- TMPL_VAR NAME="streetaddress" --> <!-- TMPL_VAR NAME="city" --></td>
<td><!-- TMPL_VAR NAME="odissue" --></td>
<td><!-- TMPL_VAR NAME="fines" --></td>
<td><!-- TMPL_VAR NAME="borrowernotes" --></td>
<td><!-- TMPL_VAR NAME="sort1" --></td>
<td><!-- TMPL_VAR NAME="sort2" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>

2
koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl

@ -55,7 +55,7 @@
<!-- /TMPL_UNLESS -->
</p>
<p>
<label class="label100">General Notes: </label>
<label class="label100">Circulation note: </label>
<!-- TMPL_VAR NAME="borrowernotes" -->
</p>
<p>

31
koha-tmpl/intranet-tmpl/default/en/members/readingrec.tmpl

@ -33,13 +33,30 @@
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<td>
<!-- TMPL_VAR NAME="biblionumber" -->
<!-- TMPL_VAR NAME="title" -->&nbsp;
</td>
<td>
<!-- TMPL_VAR NAME="author" -->&nbsp;
</td>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="MARC_ON" -->
<a class="transparent resultlist" href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
<!-- TMPL_ELSE -->
<a class="transparent resultlist" href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a><!-- /TMPL_IF -->
<!-- TMPL_IF name="volume" --> vol <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="volumeddesc" --> : <!-- TMPL_VAR name="volumeddesc" --> <!-- /TMPL_IF -->
<!-- TMPL_IF name="number" --> part <!-- TMPL_VAR name="number" --><!-- /TMPL_IF -->
<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 -->
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
</p>
</td>
<td align="center" <!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
<p><!-- TMPL_VAR NAME="description" --></p>
</td>
<td>
<!-- TMPL_VAR NAME="date_due" -->&nbsp;
</td>

33
koha-tmpl/intranet-tmpl/default/en/overdue.tmpl

@ -1,11 +1,40 @@
<!-- TMPL_INCLUDE NAME="reports-top.inc" -->
<div id="mainbloc">
<h1 class="reports">Items Overdue as of <!-- TMPL_VAR NAME="todaysdate" --></h1>
<form method="post" action="/cgi-bin/koha/overdue.pl">
<p>Filter on :<br />
<div class="label100">Name or cardnumber :</div> <input type="text" name="borname" value="<!--TMPL_VAR Name="borname"-->"><br />
<div class="label100">Borrower categorycode :</div><select name="borcat" id="borcat"><option value="">Any</option>
<!-- TMPL_LOOP name="borcatloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="catname" --></option>
<!-- /TMPL_LOOP -->
</select><br />
<div class="label100">Borrower Flags :</div><!--TMPL_VAR Name="CGIflags" --><br />
<div class="label100">Itemtype :</div><select name="itemtype" id="itemtype"><option value="">Any</option>
<!-- TMPL_LOOP name="itemtypeloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemtypename" --></option>
<!-- /TMPL_LOOP -->
</select><br />
<div class="label100">branch :</div><select name="branch" id="branch">
<option value="">Any</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
<br />
<div class="label100">Show any items currently issued:</div><input type="checkbox" name="showall" value="show" <!--TMPL_IF Name="showall"-->checked="checked"<!--/TMPL_IF-->><br /><br />
<div class="label100">Sort By</div><select name="order" tabindex="0" size="1" id="order">
<option <!--TMPL_UNLESS name="order"-->selected<!-- /TMPL_UNLESS--> value="">Due Date</option>
<option <!--TMPL_IF name="order"-->selected<!-- /TMPL_IF--> value="borrower">Borrower</option>
</select><br />
<input TYPE="submit" value="Apply Filter" class="button reports">
</form>
</p>
<table>
<tr>
<th class="reports">Due Date</th>
<th class="reports">Patron</th>
<th class="reports">Due Date </th>
<th class="reports">Patron </th>
<th class="reports">Phone</th>
<th class="reports">Title</th>
<th class="reports">Author</th>

61
koha-tmpl/intranet-tmpl/default/en/reports/bor_issues_top.tmpl

@ -220,31 +220,82 @@ function Dopop(link) {
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Branch</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All branches</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Document Type</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All Item Types</option>
<!-- TMPL_LOOP name="itemtypeloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="description" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr class="hilighted">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Borrower Category</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All Borrower Categories</option>
<!-- TMPL_LOOP name="borcatloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="description" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Day</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">Any Day</option>
<option value="Monday">Monday</option>
<option value="Tuesday">Tuesday</option>
<option value="Wednesday">Wednesday</option>
<option value="Thursday">Thursday</option>
<option value="Friday">Friday</option>
<option value="Saturday">Saturday</option>
<option value="Sunday">Sunday</option>
</select>
</td>
</tr>
<tr class="hilighted">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Month</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">Any Month</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>

10
koha-tmpl/intranet-tmpl/default/en/reports/borrowers_out.tmpl

@ -70,7 +70,15 @@
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Borrower Category</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All Borrower Categories</option>
<!-- TMPL_LOOP name="borcatloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="description" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr class="hilighted">
<td>&nbsp;</td>

61
koha-tmpl/intranet-tmpl/default/en/reports/cat_issues_top.tmpl

@ -220,31 +220,82 @@ function Dopop(link) {
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Branch</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All branches</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Document Type</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All Item Types</option>
<!-- TMPL_LOOP name="itemtypeloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="description" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr class="hilighted">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Borrower Category</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All Borrower Categories</option>
<!-- TMPL_LOOP name="borcatloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="description" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Day</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">Any Day</option>
<option value="Monday">Monday</option>
<option value="Tuesday">Tuesday</option>
<option value="Wednesday">Wednesday</option>
<option value="Thursday">Thursday</option>
<option value="Friday">Friday</option>
<option value="Saturday">Saturday</option>
<option value="Sunday">Sunday</option>
</select>
</td>
</tr>
<tr class="hilighted">
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Month</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">Any Month</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>

26
koha-tmpl/intranet-tmpl/default/en/reports/catalogue_out.tmpl

@ -13,7 +13,7 @@
<br>
<table>
<tr >
<th class="reports">Num/Items</th>
<th class="reports">Barcode/Titles</th>
<!-- TMPL_LOOP NAME="loopcol" -->
<th class="reports"><!-- TMPL_VAR NAME="coltitle" --></th>
<!-- /TMPL_LOOP -->
@ -24,7 +24,9 @@
<!-- TMPL_VAR NAME="rowtitle" --></td>
<!-- TMPL_LOOP NAME="loopcell" -->
<!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td ><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="value" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="title" --><b><!-- TMPL_VAR NAME="title" --></b><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="barcode" --> <i><!-- TMPL_VAR NAME="barcode" --></i><!-- /TMPL_IF -->
</td>
<!-- /TMPL_LOOP -->
</tr>
@ -70,13 +72,29 @@
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Branch</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All branches</option>
<!-- TMPL_LOOP name="branchloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="branchname" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Document Type</td>
<td><input type="text" name="Filter" value=""></td>
<td>
<select name="Filter">
<option value="">All Item Types</option>
<!-- TMPL_LOOP name="itemtypeloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
="description" --></option>
<!-- /TMPL_LOOP -->
</select>
</td>
</tr>
</tbody>
</table>

2
koha-tmpl/intranet-tmpl/default/en/suggestion/mail_suggestion_AVAILABLE.tmpl

@ -2,7 +2,7 @@ Dear <!-- TMPL_VAR NAME="LibraryName" --> user,
You have suggested that the library acquire <!-- TMPL_VAR name="title" --><!-- TMPL_IF name="author" --> by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF -->.
We are pleased to inform you that the item is now part of the collection of the Nelsonville Public Library.
We are pleased to inform you that the item is now part of the collection of the library.
If you have any questions, please email us at <!-- TMPL_VAR name="libemail" -->.

2
koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_field_210c.tmpl

@ -104,7 +104,7 @@
function report(index,summary)
{
var regexp= /(\d* - *)(.*)/;
var regexp= /(\d* -+ *)(.*)/;
var result=summary.match(regexp);
opener.document.f.field_value[index].value=result[2];
self.close();

10
koha-tmpl/intranet-tmpl/default/fr/about.tmpl

@ -13,16 +13,16 @@
<div id="bloc25">
<h2>Un merci particulier aux financeurs suivants</h2>
<p><b>Groupement de bibliothèques de Horowhenua</b> : Rosalie Blake, directrice des bibliothèques (Koha 1.0)</p>
<p>La<b>Bibliothèque Publique de Nelsonville</b>, USA, Ohio (financement support MARC)</p>
<p> La<b>Bibliothèque Publique de Nelsonville</b>, USA, Ohio (financement support MARC)</p>
<p><b>EMN (Ecole des Mines de Nantes)</b>, France (Suggestion,module stats support LDAP amélioré)</p>
<p><b>ENSMP (Ecole Nationale Supérieure des Mines de Paris)</b> (grilles de catalogage multiples, autorités MARC, paniers OPAC, Support périodiques)</p>
</div>
<div id="bloc25">
<h2>Contributeurs principaux pour la version 2.2</h2>
<p><b>Rachel Hamilton-Williams</b>, Kaitiaki</p>
<p><b>Paul Poulain</b>, 2.2 release manager (MARC developer)</p>
<p>Stephen Hedges, Owen Leonard, Joshua Ferraro (<b>Nelsonville Public Library</b>)</p>
<p><b>Katipo Communications</b> (Koha 1.0 developers)</p>
<p><b>Paul Poulain</b>, responsable de la version 2.2 (développeur MARC)</p>
<p>Stephen Hedges, Owen Leonard, Joshua Ferraro (<b>Nelsonville Public Library</ b>)</p>
<p><b>Katipo Communications</b> (Koha version 1.0)</p>
<ul>
<p>Rachel Hamilton-Williams, General Manager (Webmistress)</p>
<p>Chris Cormack, responsable de la version 1.2</p>
@ -72,7 +72,7 @@
</div>
<div id="bloc25">
<h2>Traduction</h2>
<p><label>Français</label>Pascale Nalon (ENSMP) et Jean Yves Lemaire (Saint Germain sur Morin)</p>
<p><label>Français</label>Pascale Nalon (ENSMP) et Jean Yves Lemaire (Chatel Saint Germain)</p>
<p><label>Chinois</label>Ambrose Li</p>
<p><label>Espagnol</label>Andes Tarallo</p>
<p><label>Italien</label>Giuseppe Angilella</p>

2
koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbiblio-nomarc.tmpl

@ -14,7 +14,7 @@
<p><label class="label100">Titre : *</label><input name="title" size="40" /></p>
<p><label class="label100">Sous Titre :</label><input name="subtitle" size="40" /></p>
<p><label class="label100">Auteur:</label><input name="author" size="40" /></p>
<p>Auteurs secondaires <i>Un Auteur par ligne</i></p>
<p>Autres auteurs <i>Un Auteur par ligne</i></p>
<p><label class="label100">&nbsp;</label>
<textarea class="form-box-textarea2" name="additionalauthors" cols="30" rows="6"></textarea>
</p>

348
koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbiblio.tmpl

@ -1,8 +1,7 @@
<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
<div class="tabbed">
<form method="post" name="f">
<h1 class="catalogue">Notice MARC : <!-- TMPL_VAR NAME="bibid" --></h1>
<h1 class="catalogue">Notice N°<!-- TMPL_VAR NAME="oldbiblionumber" --> grille <!--TMPL_VAR Name="framework" --></b></h1>
<p>
<input type="hidden" name="op" value="addbiblio">
<input type="hidden" name="addfield_field">
@ -19,34 +18,34 @@
<div class="tabs">
<!-- TMPL_IF name="0XX" -->
<a href="javascript:active(0)">0</a>
<a href="javascript:active(0)" id="link0">0</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="1XX" -->
<a href="javascript:active(1)">1</a>
<a href="javascript:active(1)" id="link1">1</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="2XX" -->
<a href="javascript:active(2)">2</a>
<a href="javascript:active(2)" id="link2">2</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="3XX" -->
<a href="javascript:active(3)">3</a>
<a href="javascript:active(3)" id="link3">3</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="4XX" -->
<a href="javascript:active(4)">4</a>
<a href="javascript:active(4)" id="link4">4</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="5XX" -->
<a href="javascript:active(5)">5</a>
<a href="javascript:active(5)" id="link5">5</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="6XX" -->
<a href="javascript:active(6)">6</a>
<a href="javascript:active(6)" id="link6">6</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="7XX" -->
<a href="javascript:active(7)">7</a>
<a href="javascript:active(7)" id="link7">7</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="8XX" -->
<a href="javascript:active(8)">8</a>
<a href="javascript:active(8)" id="link8">8</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="9XX" -->
<a href="javascript:active(9)">9</a>
<a href="javascript:active(9)" id="link9">9</a>
<!-- /TMPL_IF -->
</div>
@ -56,33 +55,42 @@
<p>Doublon suspecté avec <a href='javascript:openWindow("../MARCdetail.pl?bib=<!-- TMPL_VAR name="duplicatebiblionumber" -->&popup=1", "Duplicate biblio")' class="button catalogue"><!-- TMPL_VAR name="duplicatetitle" --></a></p>
<p>Vous devez soit :</p>
<ul>
<p><input type="checkbox" value=1 name="confirm_not_duplicate">Confirmer que ce n'est pas un doublon (et cliquer sur Ajouter Notice à nouveau)</p>
<p><a href="additem.pl?bibid=<!-- TMPL_VAR name="duplicatebibid" -->" class="button catalogue">Editer les exemplaires</a> à partir de cette notice</p>
<p><input type="checkbox" value=1 name="confirm_not_duplicate"> Confirmer que ce n'est pas un doublon (et cliquer sur Ajouter Notice à nouveau)</p>
<p><a href="additem.pl?biblionumber=<!-- TMPL_VAR name="duplicatebibid" -->" class="button catalogue">Editer les exemplaires</a> à partir de cette notice</p>
</ul>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="0XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
</p>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<p class="MARCsubfield">
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -95,9 +103,13 @@
<!-- TMPL_LOOP NAME="1XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -106,14 +118,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -126,9 +143,13 @@
<!-- TMPL_LOOP NAME="2XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -137,14 +158,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -157,9 +183,13 @@
<!-- TMPL_LOOP NAME="3XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -168,14 +198,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -188,9 +223,13 @@
<!-- TMPL_LOOP NAME="4XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -199,14 +238,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -219,9 +263,13 @@
<!-- TMPL_LOOP NAME="5XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -230,14 +278,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -250,9 +303,13 @@
<!-- TMPL_LOOP NAME="6XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -261,14 +318,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -281,9 +343,13 @@
<!-- TMPL_LOOP NAME="7XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -292,14 +358,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -312,9 +383,13 @@
<!-- TMPL_LOOP NAME="8XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -323,14 +398,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -343,9 +423,13 @@
<!-- TMPL_LOOP NAME="9XX" -->
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
<input type="hidden" name="ind_tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="text" name="indicator" size="3" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->">-<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_UNLESS name="hide_marc" -->
<!-- TMPL_VAR NAME="tag" --> <input type="text" name="indicator" size="2" maxlength="2" value="<!-- TMPL_VAR NAME="indicator" -->" class="flat"> -
<!-- TMPL_ELSE -->
<input type="hidden" name="indicator" value="<!-- TMPL_VAR NAME="indicator" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="tag_lib" -->
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField('<!-- TMPL_VAR NAME="tag" -->')">+</a>
<!-- /TMPL_IF -->
@ -354,14 +438,19 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1" class="flat">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="subfieldYYY" value="<!-- TMPL_VAR NAME="subfield" -->" size="2" maxlength="1">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -402,11 +491,17 @@ function active(numlayer)
link = "link"+i;
if (numlayer==i) {
document.getElementById(ong).style.visibility="visible";
document.getElementById(link).style.color="#FFFFFF";
} else {
document.getElementById(ong).style.visibility="hidden";
if (document.getElementById(link))
{
document.getElementById(link).style.color="#000000";
}
}
}
}
active(0);
function Check(f) {
// Scan for nonempty fields
var field_is_nonempty_p = new Array();
@ -421,6 +516,7 @@ function Check(f) {
// Scan for missing mandatory subfields
var total_missing_mandatory_subfields = 0;
var missing_mandatory_subfields = new Array();
for (i=0 ; i<f.field_value.length-2 ; i++) {
if (f.field_value[i].value.length==0 && f.mandatory[i].value==1) {
// We should not flag an error unless the tag is also
@ -429,8 +525,18 @@ function Check(f) {
if (f.tag_mandatory[i].value == 1 || field_is_nonempty_p[f.tag[i].value]) {
document.getElementById("error"+i).style.backgroundColor="#FF0000";
total_missing_mandatory_subfields++;
}
if (document.getElementById("error"+i).parentNode.tagName == "B")
{
missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML + " (tab " + document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
else
{
missing_mandatory_subfields.push(document.getElementById("error"+i).innerHTML + " (tab " + document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
}
} else {
// alert("I = "+i);
document.getElementById("error"+i).style.backgroundColor="#FFFFFF";
}
}
@ -438,12 +544,21 @@ function Check(f) {
// Scan for missing mandatory tags
var total_missing_mandatory_tags = 0;
var seen_mandatory_tag_p = new Array();
var missing_mandatory_tags = new Array();
for (i=0 ; i<f.field_value.length ; i++) {
var j = f.tag[i].value;
if (!field_is_nonempty_p[j] && f.tag_mandatory[i].value == 1) {
if (seen_mandatory_tag_p[j] != 1) {
seen_mandatory_tag_p[j] = 1;
total_missing_mandatory_tags++;
if (document.getElementById("error"+i).parentNode.tagName == "B")
{
missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + " (tab " + document.getElementById("error"+i).parentNode.parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
else
{
missing_mandatory_tags.push(document.getElementById("error"+i).innerHTML + " (tab " + document.getElementById("error"+i).parentNode.parentNode.parentNode.id.substr(0,1) + ")");
}
}
document.getElementById("error"+i).style.backgroundColor="#ffff00";
}
@ -455,41 +570,72 @@ function Check(f) {
alertString2 = _("Formulaire non soumis à cause du (des) problème(s) suivant(s)");
alertString2 += "\n------------------------------------------------------------------------------------\n";
alertString2 += "\n- "+ total_missing_mandatory_tags +_("Champ(s) obligatoire(s) non renseigné(s)");
alertString2 += "\n- "+ total_missing_mandatory_subfields +_("champs obligatoires non renseignés (voir les champs en caractère gras)");
for (i=0; i<missing_mandatory_tags.length; i++)
{
alertString2 += "\n--->"+ missing_mandatory_tags[i];
}
alertString2 += "\n- "+ total_missing_mandatory_subfields +_("champs obligatoires non renseignés (voir les champs en caractère gras)");
for (i=0; i<missing_mandatory_subfields.length; i++)
{
alertString2 += "\n--->"+ missing_mandatory_subfields[i];
}
alert(alertString2);
} else {
document.forms[0].submit();
document.forms['f'].submit();
}
}
function Dopop(link,i) {
defaultvalue=document.forms[0].field_value[i].value;
defaultvalue=document.forms['f'].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value builder",'width=550,height=550,toolbar=false,scrollbars=yes');
}
function PopupZ3950() {
var strQuery="";
for (i=0 ; i<document.forms[0].field_value.length ; i++) {
if (document.forms[0].kohafield[i].value == "biblioitems.isbn" && document.forms[0].field_value[i].value.length>0) {
strQuery += "&isbn="+document.forms[0].field_value[i].value;
for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
if (document.forms['f'].kohafield[i].value == "biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
strQuery += "&isbn="+document.forms['f'].field_value[i].value;
}
if (document.forms[0].kohafield[i].value == "biblio.title" && document.forms[0].field_value[i].value.length>0) {
strQuery += "&title="+document.forms[0].field_value[i].value;
if (document.forms['f'].kohafield[i].value == "biblio.title" && document.forms['f'].field_value[i].value.length>0) {
strQuery += "&title="+document.forms['f'].field_value[i].value;
}
if (document.forms[0].kohafield[i].value == "biblio.author" &&document.forms[0].field_value[i].value.length>0) {
strQuery += "&author="+document.forms[0].field_value[i].value;
if (document.forms['f'].kohafield[i].value == "biblio.author" &&document.forms['f'].field_value[i].value.length>0) {
strQuery += "&author="+document.forms['f'].field_value[i].value;
}
if (document.forms[0].kohafield[i].value == "biblioitems.issn" && document.forms[0].field_value[i].value.length>0) {
strQuery += "&issn="+document.forms[0].field_value[i].value;
if (document.forms['f'].kohafield[i].value == "biblioitems.issn" && document.forms['f'].field_value[i].value.length>0) {
strQuery += "&issn="+document.forms['f'].field_value[i].value;
}
}
newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=500,height=400,toolbar=false,scrollbars=yes');
newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=800,height=400,toolbar=false,scrollbars=yes');
}
function 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";
document.forms[0].addfield_field.value=field;
document.forms['f'].op.value = "addfield";
document.forms['f'].addfield_field.value=field;
document.f.submit();
}
function upSubfield(index) {
// alert("UP "+index);
temp = document.forms['f'].field_value[index-1].value;
document.forms['f'].field_value[index-1].value=document.forms['f'].field_value[index].value;
document.forms['f'].field_value[index].value= temp;
temp = document.forms['f'].subfield[index-1].value;
document.forms['f'].subfield[index-1].value=document.forms['f'].subfield[index].value;
document.forms['f'].subfield[index].value = temp;
temp = document.forms['f'].mandatory[index-1].value;
document.forms['f'].mandatory[index-1].value=document.forms['f'].mandatory[index].value;
document.forms['f'].mandatory[index].value = temp;
temp = document.forms['f'].kohafield[index-1].value;
document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
document.forms['f'].kohafield[index].value = temp;
// temp = document.getElementById('error'+index).value = "XXX";
// document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
// document.forms['f'].kohafield[index].value = temp;
}
</script>
</body>
</html>

24
koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbooks.tmpl

@ -10,9 +10,25 @@
<div id="bloc25">
<form action="isbnsearch.pl">
<h2 class="catalogue">Pour ajouter une nouvelle notice/exemplaire, scannez ou entrez le code ISBN/ ISSN</h2>
<p><label class="label20">ISBN</label> <input type="text" name="isbn" /></p>
<p><label class="label20">Titre</label> <input type="text" name="title" /></p>
<h2 class="catalogue"> Pour ajouter une nouvelle notice/exemplaire, scannez ou entrez le code ISBN/ ISSN</h2>
<p>
<label class="label100" for="title">Titre</label>
<input type="hidden" name="marclist" value="biblio.title">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="contains">
<input type="text" name="value" id="title"size="35">
</p>
<p>
<label class="label100" for="title">ISBN</label>
<input type="hidden" name="marclist" value="biblioitems.isbn">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="start">
<input type="text" name="value" id="title"size="35">
</p>
<p><input type="submit" value="Lancer" class="button catalogue"></p>
</form>
<!-- TMPL_IF NAME="NOTMARC" -->
@ -33,7 +49,7 @@
</div>
<div id="bloc25">
<h2 class="catalogue">Optimisation</h2>
<p>Si l'ISBN ou le titre est trouvé dans la table il peut être récupéré puis modifié<br/>
<p>Si l'ISBN ou le titre est trouvé dans la base, la notice sera retrouvée et pourra être modifiée.<br/>
Si l'ISBN ou le titre est trouvé dans le réservoir, il sera récupéré et une notice sera rajoutée<br/>
Sinon, une notice peut-être ajoutée en partant de zéro.</p>
</div>

57
koha-tmpl/intranet-tmpl/default/fr/acqui.simple/additem.tmpl

@ -3,32 +3,40 @@
<form method="post" action="additem.pl" name="f">
<input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->">
<input type="hidden" name="bibid" value="<!-- TMPL_VAR NAME="bibid" -->">
<h2 class="catalogue">
Notice MARC : <!-- TMPL_VAR NAME="biblionumber" -->
</h2>
<div id="bloc25">
<div name="10XX" id="10XX">
<h2 class="catalogue">Exemplaires existants</h2>
<table>
<tr>
<!-- TMPL_LOOP NAME="item_header_loop" -->
<th class="catalogue">
<TMPL_VAR NAME="header_value">
</th>
<!-- /TMPL_LOOP -->
<th colspan="2" class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="item_loop" -->
<div class="tabbed">
<h1 class="catalogue"><!-- TMPL_VAR name="title" --> (<!-- TMPL_VAR name="author" --> notice N°<!-- TMPL_VAR NAME="biblionumber" -->)</h1>
<a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Editer notice </a><a href="../MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Complète </a> <a href="../detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Normal </a> <a href="../ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ISBD </a>
</div>
<!-- TMPL_IF name="item_loop" -->
<div id="bloc25">
<div name="10XX" id="10XX">
<h2 class="catalogue">Exemplaires existants</h2>
<table>
<tr>
<!-- TMPL_VAR NAME="item_value" -->
<td><a href="additem.pl?op=edititem&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->&amp;itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
<td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
<!-- TMPL_LOOP NAME="item_header_loop" -->
<th class="catalogue">
<TMPL_VAR NAME="header_value">
</th>
<!-- /TMPL_LOOP -->
<th colspan="2" class="catalogue">&nbsp;</th>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_LOOP NAME="item_loop" -->
<tr>
<!-- TMPL_VAR NAME="item_value" -->
<!-- TMPL_IF Name="nomod" -->
<td>&nbsp;</td>
<td>&nbsp;</td>
<!-- TMPL_ELSE -->
<td><a href="additem.pl?op=edititem&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->&amp;itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
<td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
</div>
<div id="bloc100">
<!-- /TMPL_IF -->
<div id="bloc25">
<!-- TMPL_IF name="opisadd" -->
<h2 class="catalogue">Nouvel Exemplaire</h2>
<!-- TMPL_ELSE -->
@ -55,7 +63,6 @@
<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnum" -->">
<input type="button" value="Modifier l'exemplaire" onclick="Check(this.form)" accesskey="w" class="button catalogue">
<!-- /TMPL_IF -->
</center>
</form>
</div>
<script LANGUAGE="JavaScript">
@ -99,7 +106,7 @@ function Check(f) {
}
}
function Dopop(link,i) {
defaultvalue=document.forms[0].field_value[i].value;
defaultvalue=document.forms['f'].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value builder",'width=500,height=400,toolbar=false,scrollbars=yes');
}
function confirm_deletion(bibid,itemnum) {

171
koha-tmpl/intranet-tmpl/default/fr/acqui.simple/isbnsearch.tmpl

@ -2,77 +2,125 @@
<div id="mainbloc">
<h1 class="catalogue">Résultats de la recherche de notice</h1>
<div id="bloc25">
<h2 class="catalogue">Vous recherchiez <!-- TMPL_IF name="isbn" -->ISBN <!-- TMPL_VAR NAME="isbn" --><!-- /TMPL_IF --><!-- TMPL_IF name="title" -->titre <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></h2>
<!-- TMPL_IF name="total" -->
<p><!-- TMPL_VAR NAME="total" --> réponses</p>
<p>Réponses <i><!-- TMPL_VAR NAME="showoffset" --></i> à <i><!-- TMPL_VAR NAME="total" --></i> affichées</p>
<h2 class="catalogue">Vous recherchiez </h2>
<!-- TMPL_IF name="isbn" -->
<p>ISBN <!-- TMPL_VAR NAME="isbn" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="title" -->
<p>titre <!-- TMPL_VAR NAME="title" --></p>
<!-- /TMPL_IF -->
</div>
<div id="bloc100">
<div id="bloc25">
<h2 class="catalogue">Notices dans Koha</h2>
<table>
<tr>
<th class="catalogue">Titre</th>
<th class="catalogue">Auteur</th>
<th class="catalogue">&copy;</th>
<th class="catalogue">&nbsp;</th>
</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">Ajouter des documents</a></td>
<!-- TMPL_ELSE -->
<td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Ouvrir</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; Préc.
</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">
Suivant &gt;&gt;
</a>
<!-- /TMPL_IF -->
</p>
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
Réponses <!-- TMPL_VAR NAME="from" --> à <!-- TMPL_VAR NAME="to" --> sur <!-- TMPL_VAR NAME="total" -->
<!-- TMPL_ELSE -->
Pas de réponse
<!-- /TMPL_IF -->
</p>
</div>
<table>
<tr>
<th class="catalogue">Titre</th>
<th class="catalogue">Auteur</th>
<th class="catalogue">&copy;</th>
<th class="catalogue">&nbsp;</th>
<!-- TMPL_UNLESS NAME="NOTMARC" -->
<th class="catalogue">&nbsp;</th>
<!-- /TMPL_UNLESS -->
</tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<tr><td colspan="4">Aucune réponse</td></tr>
<!-- /TMPL_IF -->
</table>
<p class="center">
<!-- Row of numbers corresponding to search result pages -->
<!-- TMPL_IF name="displayprev" -->
<a href="isbnsearch.pl?offset=<!-- TMPL_VAR NAME="prevstartfrom" -->&amp;<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/prev.gif" border="0">
</a>
<!-- TMPL_ELSE -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/placeholder.gif" border="0">
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF name="highlight" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
<!-- TMPL_LOOP NAME="loop" -->
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="title" --></a>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="copyrightdate" --></td>
<!-- TMPL_IF NAME="NOTMARC" -->
<td><a href="additem-nomarc.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Ajouter des documents</a></td>
<!-- TMPL_ELSE -->
<td><a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Ouvrir</a></td>
<!-- /TMPL_IF -->
<!-- TMPL_UNLESS NAME="NOTMARC" -->
<td>
<a href="addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue">
Dupliquer
</a>
</td>
<!-- /TMPL_UNLESS -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<div id="resultnumber">
<p>
<!-- TMPL_IF NAME="displayprev" -->
<a class="resultnumber" href="isbnsearch.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search">
&lt;&lt; Préc.
</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">
Suivant &gt;&gt;
</a>
<!-- /TMPL_IF -->
</p>
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
Réponses <!-- TMPL_VAR NAME="from" --> à <!-- TMPL_VAR NAME="to" --> sur <!-- TMPL_VAR NAME="total" -->
<!-- TMPL_ELSE -->
<a href="isbnsearch.pl?offset=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="value" ESCAPE=URL -->">
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
</a>
Pas de réponse
<!-- /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>Aucun</p>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">
<h2 class="catalogue">Notices dans le réservoir</h2>
<!-- TMPL_IF name="breeding_loop" -->
<table>
<tr>
<th>Titre</th>
<th>Auteur</th>
<th>ISBN</th>
<th>venant de</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th class="catalogue">Titre</th>
<th class="catalogue">Auteur</th>
<th class="catalogue">ISBN</th>
<th class="catalogue">venant de</th>
<th class="catalogue">&nbsp;</th>
<th class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="breeding_loop" -->
<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
<!-- 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>
@ -80,14 +128,17 @@
<!-- TMPL_IF NAME="NOTMARC" -->
<!-- TMPL_ELSE -->
<td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Ajouter la notice</a></td>
<td><a href="addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" class="button catalogue">Ajouter la notice</a></td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
<p class="center">Aucune réponse</p>
<p>Aucun</p>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">
<h2 class="catalogue">Ajouter la notice</h2>
<p class="center">
<!-- TMPL_IF NAME="NOTMARC" -->
<a href="addbiblio-nomarc.pl?isbn=<!-- TMPL_VAR NAME="isbn" -->" class="button catalogue">Ajouter une nouvelle notice</a>

14
koha-tmpl/intranet-tmpl/default/fr/acqui/acqui-home.tmpl

@ -4,11 +4,15 @@
<h1 class="acquisition">Acquisitions</h1>
<div id="bloc25">
<h2 class="acquisition">Créer, receptionner, modifier une commande</h2>
<!-- TMPL_IF name="nobudget" -->
<p class="problem">Vous devez définir un budget (module paramètres)</p>
<!-- TMPL_ELSE -->
<form action="/cgi-bin/koha/acqui/order.pl" method="post">
Nom Fournisseur : <input type="text" size="25" name="supplier">
<input type="submit" class="button acquisition" value="OK">
</form>
<p>ou <a href="histsearch.pl" class="button acquisition">Recherche dans l'historique des commandes</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 et lignes de crédit</h2>
<h2 class="acquisition">budgets et lignes de crédit</h2>
<!-- TMPL_IF name="nobudget" -->
<p class="problem">Vous devez définir un budget (module paramètres)</p>
<!-- TMPL_ELSE -->
<table class="noborder">
<tr>
<th class="acquisition">Budgets</th>
@ -67,7 +73,7 @@
<p>
Utilisez le bouton rafraîchir pour avoir les chiffres les plus récents.Les chiffres communiqués le sont à titre indicatif, dans la mesure où des taux de change affecteront le montant réellement payé.
</p>
</form>
<!-- /TMPL_IF -->
</div>
<div id="bloc25">
@ -75,7 +81,7 @@
<ul>
<p>Pour débuter une acquisition, que ça soit une commande, un achat direct ou un don, rechercher tout d'abord le fournisseur, Ajoutez en un si nécessaire.</p>
<p>Puis sélectionnez un panier d'achat précédent ou créez en un nouveau. Notez que le panier d'achat sera attaché à l'utilisateur sous lequel vous êtes loggé. </p>
<p>Pour commander un document vous avez besoin de déterminer si une notice existe déjà, puis soit ajouter un exemplaire, soit créer une nouvelle notice et y ajouter l'exemplaire</p>
<p>Pour commander un document, vous avez besoin soit de déterminer si une notice existe déjà puis d'y ajouter l'exemplaire, soit de créer une nouvelle notice et d'y ajouter l'exemplaire.</p>
<p>Pour fermer un panier de commande cliquez sur "voir les paniers de commande "ou cherchez au dessus, et cliquez alors sur "valider le panier".</p>
</ul>
</div>

14
koha-tmpl/intranet-tmpl/default/fr/acqui/acquire.tmpl

@ -1,11 +1,11 @@
<!-- TMPL_INCLUDE name="acquisitions-top.inc" -->
<div id="mainbloc">
<h1 class="acquisition">Résumé de réception pour <i><!-- TMPL_VAR NAME="name" --></i> Facture <i><!-- TMPL_VAR NAME="invoice" --></i></h1>
<h1 class="acquisition">Résumé de réception pour <i><!-- TMPL_VAR NAME="name" --></i> Facture/BL <i><!-- TMPL_VAR NAME="invoice" --></i></h1>
<!-- TMPL_IF name="count" -->
<form action="/cgi-bin/koha/acqui/finishreceive.pl" method="post">
<h1 class="acquisition"><!-- TMPL_VAR NAME="ordernumber" --> - Réceptionner une Commande</h1>
<h1 class="acquisition">Réceptionner la commande <!-- TMPL_VAR NAME="ordernumber" --></h1>
Panier d'Achat Pour <!-- TMPL_VAR NAME="name" -->
<br> Commande faite : <!-- TMPL_VAR NAME="date" -->
<div id="bloc25">
@ -31,10 +31,10 @@
<!-- TMPL_VAR NAME="isbn" -->
</p>
<p>
<label class="label100">Collections</label>
<label class="label100">Collection</label>
<!-- TMPL_VAR NAME="seriestitle" -->
</p>
<p>Entrer un(des) codes-barre et un site, si vous souhaitez ajouter un(des) exemplaires maintenant</p>
<p> Entrer un(des) codes-barre et un site, si vous souhaitez ajouter un(des) exemplaires maintenant</p>
<p>
<label class="label100">Site</label>
<!-- TMPL_VAR NAME="CGIbranch" -->
@ -60,11 +60,11 @@
<input type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->">
</p>
<p>
<label class="label100">Coût de Remplacement</label>
<label class="label100">Coût de Remplacement</label>
<input type="text" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->">
</p>
<p>
<label class="label100">Coût budgeté </label>
<label class="label100">Coût budgété </label>
<!-- TMPL_VAR NAME="ecost" -->
</p>
<p>
@ -72,7 +72,7 @@
<input type="text" size="20" name="cost" value="<!-- TMPL_IF name="unitprice"--><!-- TMPL_VAR NAME="unitprice" --><!-- TMPL_ELSE --><!-- TMPL_VAR name="rrp" --><!-- /TMPL_IF -->">
</p>
<p>
<label class="label100">Numéro de Facture</label>
<label class="label100">Numéro Facture/BL</label>
<!-- TMPL_VAR NAME="invoice" -->
<input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->">
</p>

139
koha-tmpl/intranet-tmpl/default/fr/acqui/basket.tmpl

@ -1,7 +1,7 @@
<!-- TMPL_INCLUDE name="acquisitions-top.inc" -->
<div id="mainbloc">
<h1 class="acquisition"><!-- TMPL_UNLESS name="basketno" -->Nouveau <!-- /TMPL_UNLESS -->Panier de commande <b><!-- TMPL_VAR NAME="basketno" --> </b> pour <a href="supplier.pl?id=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="name" --></a></h1><br />
<h1 class="acquisition"><!-- TMPL_UNLESS name="basketno" -->Nouveau <!-- /TMPL_UNLESS -->Panier de commande <b><!-- TMPL_VAR NAME="basketno" --> </b> pour <a href="supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="name" --></a></h1><br />
<!-- TMPL_UNLESS name="closedate" -->
<div id="bloc25">
<h2 class="acquisition">Information Panier</h2>
@ -9,7 +9,7 @@
<p><label class="label100">Géré par<label><!-- TMPL_VAR NAME="authorisedbyname" --></p>
<p><label class="label100">ouvert le<label> <!-- TMPL_VAR NAME="creationdate" --></p>
<p><label class="label100">pour<label> <!-- TMPL_VAR NAME="booksellerid" --></p>
<p><label class="label100">Numéro de facture </label><!-- TMPL_VAR NAME="booksellerinvoicenumber" --></p>
<p><label class="label100">Numéro facture/BL </label><!-- TMPL_VAR NAME="booksellerinvoicenumber" --></p>
<!-- TMPL_IF name="closedate" -->
fermé le <!-- TMPL_VAR name="closedate" -->
<!-- TMPL_ELSE -->
@ -17,73 +17,128 @@
<!-- /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">Commande</h2>
<!-- TMPL_IF name="books_loop" -->
<table>
<tr valign="top" bgcolor="#ffdf61">
<th class="acquisition">Commande</th>
<th class="acquisition">Editeur<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode">[Trier]</a></th>
<th class="acquisition">Isbn</th>
<th class="acquisition doNotPrint">Commande</th>
<th class="acquisition">Editeur<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode" class="acquisition">[Trier]</a></th>
<th class="acquisition">Titre</th>
<th class="acquisition">Auteur</th>
<th class="acquisition">HT</th>
<th class="acquisition doNotPrint">prix rempl.</th>
<th class="acquisition">estimé</th>
<th class="acquisition">QTé</th>
<th class="acquisition">Total</th>
<th class="acquisition">Budget <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[Trier]</a></th>
<th class="acquisition doNotPrint">Budget <a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">[Trier]</a></th>
<!-- TMPL_IF name="active" -->
<th class="acquisition doNotPrint">Retirer</th>
<th class="acquisition doNotPrint">Editer</th>
<!-- /TMPL_IF -->
</tr>
<!-- TMPL_LOOP NAME="books_loop" -->
<tr valign="top" bgcolor="<!-- TMPL_VAR NAME="color" -->">
<td><!-- TMPL_VAR NAME="ordernumber" --></td>
<!-- 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>
<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 class="doNotPrint"><i><!--TMPL_VAR name="notes" --></i><!-- /TMPL_IF -->
</td>
<!-- /TMPL_IF -->
<td class="doNotPrint number"><p><!-- TMPL_VAR NAME="rrp" --></p></td>
<td class="number"><p><!-- TMPL_VAR NAME="ecost" --></p></td>
<td class="number"><p><!-- TMPL_VAR NAME="quantity" --></p></td>
<td class="number"><p><!-- TMPL_VAR NAME="line_total" --></p></td>
<td class="doNotPrint"><p><!-- TMPL_VAR NAME="bookfundid" --></p></td>
<!-- TMPL_IF name="active" -->
<td class="doNotPrint">
<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblio=<!-- TMPL_VAR NAME="biblionumber" -->">
<img src="/intranet-tmpl/default/images/edittrash.png" alt="Supprimer du panier" title="Supprimer du panier" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<td class="doNotPrint">
<a href="newbiblio.pl?sub=&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&biblio=<!-- TMPL_VAR NAME="biblionumber" -->&ordnum=<!-- TMPL_VAR NAME="ordernumber" --><!--TMPL_IF name="closedate"-->&close=1<!--/TMPL_IF -->">
<img src="/intranet-tmpl/default/images/fileopen.png" alt="Editer" title="Supprimer du panier" width="32" hspace="0" vspace="0" border="0">
</a>
</td>
<!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="rrp" --></td>
<td><!-- TMPL_VAR NAME="ecost" --></td>
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="line_total" --></td>
<td><!-- TMPL_VAR NAME="bookfundid" --></td>
</tr>
<!-- /TMPL_LOOP -->
<input type="hidden" name="number" value=<!-- TMPL_VAR NAME="count" -->>
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<tr>
<td colspan="7" rowspan=3>
<td colspan="2" class="acquisition">
&nbsp;
</td>
<th class="acquisition">Sous-Total</th>
<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="sub_total" --></th>
</tr>
<tr>
<th class="acquisition">TVA</th>
<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="gist" --></th>
</tr>
<tr>
<th class="acquisition">TOTAL</th>
<th class="acquisition"><!-- TMPL_VAR NAME="currency" --><!-- TMPL_VAR NAME="grand_total" --></th>
<td class="acquisition number">
<p>Sous-Total</p>
<p>TVA</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">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
<td class="acquisition number">
<p><!-- TMPL_VAR name="qty_total" --></p>
<p>&nbsp;</p>
<p>&nbsp;</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>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
</tr>
</table>
<!-- TMPL_ELSE -->
<p>Panier vide</p>
<!-- /TMPL_IF -->
</div>
<!-- TMPL_UNLESS name="closedate" -->
<div id="bloc25">
<h2 class="acquisition">Ajouter une ligne de commande</h2>
<form action="/cgi-bin/koha/acqui/newbasket2.pl" method="post">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<p>A partir d'une notice existante </b><input type="text" size="25" name="search"><input type="submit" class="button acquisition" value="Recherche"></p>
<p>ou <a href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition"> d'après une suggestion </a> <a href="/cgi-bin/koha/acqui/newbiblio.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">Nouvelle notice </a>
</p>
</form>
</div>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="active" -->
<!-- TMPL_UNLESS name="closedate" -->
<div id="bloc25">
<h2 class="acquisition">Ajouter une ligne de commande</h2>
<form action="/cgi-bin/koha/acqui/newbasket2.pl" method="post">
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->">
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->">
<p>A partir d'une notice existante </b><input type="text" size="25" name="search"><input type="submit" class="button acquisition" value="Recherche"></p>
<p>ou <a href="/cgi-bin/koha/acqui/suggestion-select.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition"> d'après une suggestion </a> <a href="/cgi-bin/koha/acqui/newbiblio.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&amp;basketno=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">Nouvelle notice </a>
</p>
</form>
</div>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE name="acquisitions-bottom.inc" -->

156
koha-tmpl/intranet-tmpl/default/fr/acqui/histsearch.tmpl

@ -1,31 +1,90 @@
<!-- TMPL_INCLUDE NAME="acquisitions-top.inc" -->
<div id="mainbloc">
<h1 class="acquisition">Recherche sur les commandes</h1>
<p class="resultcount"><!-- TMPL_VAR Name ="numresults" --> commandes trouvées
</p>
<table>
<tr>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">Titre</th>
<th class="acquisition">Auteur</th>
<th class="acquisition">Fournisseur</th>
<th class="acquisition">Titre/Auteur</th>
<th class="acquisition">Prévu pour</th>
<th class="acquisition">Livré le</th>
<th class="acquisition">Quantité Commandée</th>
<th class="acquisition">Unit cost</th>
<th class="acquisition">Quantité Reçue</th>
<th class="acquisition">Coût unitaire</th>
<th class="acquisition">&nbsp;</th>
</tr>
<tr>
<form>
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="get">
<th class="acquisition">
Filtrer sur
Sélectionner sur
</th>
<th class="acquisition">
<input type="text" name="title" value="<!-- TMPL_VAR name="title"-->">
<input type="text" name="name" value="<!-- TMPL_VAR name="name" -->">
</th>
<th class="acquisition">
<input type="text" name="author" value="<!-- TMPL_VAR name="author" -->">
<input type="text" name="title" value="<!-- TMPL_VAR name="title"-->"> / <input type="text" name="author" value="<!-- TMPL_VAR name="author" -->">
</th>
<th class="acquisition">
<input type="text" name="name" value="<!-- TMPL_VAR name="name" -->">
De <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>
<br/>
à <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;
@ -40,38 +99,91 @@
&nbsp;
</th>
<th class="acquisition">
<input type="submit" class="button acquisition" value="Filtrer">
<input type="submit" class="button acquisition" value="Sélectionner">
</th>
</form>
</tr>
<!-- TMPL_LOOP NAME="suggestions_loop" -->
<tr>
<td>
&nbsp;
</td>
<td>
<a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->"><!-- TMPL_VAR NAME="title" --></a>
</td>
<td>
<!-- TMPL_VAR NAME="author" -->
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="count" -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="name" -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<p><a href="basket.pl?basket=<!-- TMPL_VAR name="basketno" -->"><!-- TMPL_VAR NAME="title" --></a></p>
<p><!-- TMPL_VAR NAME="author" --></p>
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="creationdate" -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="datereceived" -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted number">
<!-- TMPL_ELSE -->
<td class="number">
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="quantity" -->
</td>
<td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted number">
<!-- TMPL_ELSE -->
<td class="number">
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="quantityreceived" -->
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted number">
<!-- TMPL_ELSE -->
<td class="number">
<!-- /TMPL_IF -->
<!-- TMPL_VAR name="ecost" -->
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
&nbsp;
</td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition">&nbsp;</th>
<th class="acquisition"><!-- TMPL_VAR name="total_qty" --></th>
<th class="acquisition"><!-- TMPL_VAR name="total_qtyreceived" --></th>
<th class="acquisition"><!-- TMPL_VAR name="total_price" --></th>
<th class="acquisition">&nbsp;</th>
</tr>
</table>
</div>
<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

105
koha-tmpl/intranet-tmpl/default/fr/acqui/lateorders.tmpl

@ -0,0 +1,105 @@
<!-- TMPL_INCLUDE NAME="acquisitions-top.inc" -->
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="acquisition"><!-- TMPL_IF name="Supplier" --><!-- TMPL_VAR name="Supplier" --> : <!--/TMPL_IF -->Numéros en retard</h1>
<table>
<tr>
<th class="acquisition doNotPrint">Fournisseur</th>
<th class="acquisition">Date de la commande</th>
<th class="acquisition">Commandé pour</th>
<th class="acquisition doNotPrint">Panier</th>
<th class="acquisition">Information document</th>
<th class="acquisition doNotPrint">Site</th>
<th class="acquisition doNotPrint">Prix unitaire estimé</th>
<th class="acquisition">Prix unitaire catalogue</th>
<th class="acquisition">Quantité</th>
<th class="acquisition">Total coût</th>
<th class="acquisition doNotPrint">Budget</th>
<th class="acquisition doNotPrint">&nbsp;</th>
</tr>
<tr class="doNotPrint">
<form action="lateorders.pl" method="post">
<td class="doNotPrint">
<!-- TMPL_VAR name="CGIsupplier" -->
</td>
<td> &nbsp;</td>
<td align="center" class="doNotPrint">
<input align="right" size="4" maxlength="3" type="text" name="delay" value="<!--TMPL_VAR Name="delay" -->" > jours
</td>
<td colspan="2">
&nbsp;
</td>
<td class="doNotPrint">
<!-- TMPL_VAR name="CGIbranch" -->
</td>
<td colspan="5">
&nbsp;
</td>
<td class="doNotPrint">
<input type="submit" value="filtre" class="button acquisition">
</td>
</form>
</tr>
<!-- TMPL_LOOP name="lateorders" -->
<!--TMPL_IF Name="hilighted" --> <tr class="hilighted"> <!--TMPL_ELSE--> <tr> <!-- /TMPL_IF -->
<td class="doNotPrint">
<!-- TMPL_VAR name="supplier" -->
</td>
<td>
<!-- TMPL_VAR name="orderdate" -->
</td>
<td class="number" align="right">
<!-- TMPL_VAR name="latesince" -->
</td>
<td align="center" class="doNotPrint">
<!-- TMPL_VAR name="basketno" -->
</td>
<td >
<b><!-- TMPL_VAR name="title" --></b>
<!-- TMPL_IF name="author" --><br/><i>Auteur:</i> <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="publisher" --><br/><i>Edité par :</i> <!-- TMPL_VAR NAME="publisher" --><!-- TMPL_IF name="publicationyear" --><i>en </i><!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
</td>
<td class="doNotPrint">
<!-- TMPL_VAR name="branch" -->
</td>
<td align="right" class="doNotPrint">
<!-- TMPL_VAR name="unitpricelib" -->
</td>
<td align="right">
<!-- TMPL_VAR name="unitpricesupplier" -->
</td>
<td align="right">
<!-- TMPL_VAR name="quantity" -->
</td>
<td align="right">
<!-- TMPL_VAR name="subtotal" -->
</td>
<td class="doNotPrint">
<!-- TMPL_VAR name="budget" -->
</td>
<td class="doNotPrint">
&nbsp;
</td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th class="acquisition">
Total
</th>
<th class="acquisition" colspan="2">
&nbsp;
</th>
<th class="acquisition" class="doNotPrint"> &nbsp;</th>
<th class="acquisition" colspan="5">
&nbsp;
</th>
<th class="acquisition">
<!-- TMPL_VAR name="total" -->
</th>
</tr>
</table>
</div>
<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

92
koha-tmpl/intranet-tmpl/default/fr/acqui/newbiblio.tmpl

@ -5,6 +5,9 @@
function update(f){
//collect values
quantity=f.quantity.value
if (quantity ==0) {
alert("Quantity must be >0");
}
discount=f.discount.value
listinc=parseInt(f.listinc.value)
currency=f.currency.value
@ -32,20 +35,35 @@ function update(f){
f.ecost.value=ecost;
f.GST.value=GST;
f.total.value=total;
return true;
}
function messenger(X,Y,etc){
win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
win.focus();
win.document.close();
win.document.write("<body link='#333333' bgcolor='#ffffff' text='#000000'><font size='2'><p><br>");
win.document.write(etc);
win.document.write("<center><form><input type=button onclick='self.close()' value='Close'></form></center>");
win.document.write("</font></body></html>");
win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
win.focus();
win.document.close();
win.document.write("<body link='#333333' bgcolor='#ffffff' text='#000000'><font size='2'><p><br>");
win.document.write(etc);
win.document.write("<center><form><input type=button onclick='self.close()' value='Close'></form></center>");
win.document.write("</font></body></html>");
}
function check(f) {
quantity=f.quantity.value
title=f.title.value
if (title == "") {
alert("Title can't be empty");
return false;
}
if (quantity ==0) {
alert("Quantity must be >0");
return false;
}
document.frusin.submit();
}
//-->
</script>
@ -123,7 +141,7 @@ win.document.write("</font></body></html>");
<!-- /TMPL_IF -->
</p>
<p>
<label class="label100">Collections</label>
<label class="label100">Collection</label>
<!-- TMPL_IF name="biblio" -->
<input type="hidden" size="20" name="series" value="<!-- TMPL_VAR NAME="seriestitle" -->"><!-- TMPL_VAR NAME="seriestitle" -->
<!-- TMPL_ELSE -->
@ -139,38 +157,54 @@ win.document.write("</font></body></html>");
<h2 class="acquisition">Détails de comptabilité</h2>
<p>
<label class="label100">Quantité</label>
<input type="text" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" onchange="update(this.form);">
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->"><!-- TMPL_VAR NAME="quantity" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" onchange="update(this.form);">
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Ligne de crédit</label>
<!-- TMPL_VAR NAME="CGIbookfund" -->
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="bookfund" value="<!-- TMPL_VAR NAME="bookfundid" -->"><!-- TMPL_VAR NAME="bookfundname" -->
<!-- TMPL_ELSE -->
<!-- TMPL_VAR NAME="CGIbookfund" -->
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Barème Fournisseur</label>
<input type="text" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->" onchange="update(this.form)">
<label class="label100">Prix fournisseur</label>
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->"><!-- TMPL_VAR NAME="listprice" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="list_price" value="<!-- TMPL_VAR NAME="listprice" -->" onchange="update(this.form)">
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Coût de Remplacement </label>
<input type="text" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" onchange="update(this.form)">
<label class="label100">Coût de Remplacement </label>
<!-- TMPL_IF name="close" -->
<input type="hidden" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->"><!-- TMPL_VAR NAME="rrp" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="rrp" value="<!-- TMPL_VAR NAME="rrp" -->">
<!--/TMPL_IF-->
</p>
<p>
<label class="label100">Coût budgeté</label>
<input type="text" size="20" name="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" onchange="update(this.form)">
<label class="label100">Coût budgété</label>
<input type="text" size="20" name="ecost" value="<!-- TMPL_VAR NAME="ecost" -->"<!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100">TVA budgetée</label>
<input type="text" size="20" name="GST" value="" onchange="update(this.form)">
<input type="text" size="20" name="GST" value="" <!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100"><b>TOTAL BUDGETE</b></label>
<input type="text" size="20" name="total" value="" onchange="update(this.form)">
<input type="text" size="20" name="total" value="" <!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100">Coût Réel</label>
<input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->">
<label class="label100">Coût Réel</label>
<input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->" <!-- TMPL_IF name="close" -->readonly <!--/TMPL_IF-->>
</p>
<p>
<label class="label100">Numéro de Facture *</label>
<label class="label100">Numéro Facture/BL *</label>
<input type="text" size="20" name="invoice" value="<!-- TMPL_VAR name="invoice" -->">
<p>
<label class="label100">Notes</label>
@ -179,14 +213,22 @@ win.document.write("</font></body></html>");
<p>Les deux champs suivants sont disponibles pour votre usage propre. Ils peuvent être utiles pour des besoins statistiques.</p>
<p>
<label class="label100">Champ de tri 1</label>
<input type="text" size="20" name=sort1 value="<!-- TMPL_VAR NAME="sort1" -->">
<!-- TMPL_IF Name="CGIsort1" -->
<!-- TMPL_VAR Name="CGIsort1" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->">
<!--/TMPL_IF -->
</p>
<p>
<label class="label100">Champ de tri 2</label>
<input type="text" size="20" name=sort2 value="<!-- TMPL_VAR NAME="sort2" -->">
<!-- TMPL_IF Name="CGIsort2" -->
<!-- TMPL_VAR Name="CGIsort2" -->
<!-- TMPL_ELSE -->
<input type="text" size="20" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->">
<!--/TMPL_IF -->
</p>
<p>
<input type="submit" value="OK" class="button acquisition">
<input type="button" value="OK" class="button acquisition" onClick="check(this.form)">
</p>
</form>
</div>

6
koha-tmpl/intranet-tmpl/default/fr/acqui/order.tmpl

@ -45,7 +45,11 @@
<!-- TMPL_IF name="closedate" -->
fermé le <!-- TMPL_VAR NAME="closedate" --> <a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">Visualiser</a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">modifier</a>
<!-- TMPL_IF name="active" -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">modifier</a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" class="button acquisition">Voir</a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</td>
</tr>

8
koha-tmpl/intranet-tmpl/default/fr/acqui/recieve.tmpl

@ -3,14 +3,14 @@
<div id="mainbloc">
<h1 class="acquisition">
<!-- TMPL_IF name="invoice" -->
sumé de livraison pour <i><!-- TMPL_VAR NAME="name" --></i> Facture <i><!-- TMPL_VAR NAME="invoice" --></i>
capitulatif de réception pour <i><!-- TMPL_VAR NAME="name" --></i> Facture/BL <i><!-- TMPL_VAR NAME="invoice" --></i>
<!-- TMPL_ELSE -->
Commandes en attente pour <!-- TMPL_VAR NAME="name" -->
<!-- /TMPL_IF -->
</h1>
<div id="bloc25">
Facture : <!-- TMPL_VAR NAME="invoice" --><br>
Facture/BL : <!-- TMPL_VAR NAME="invoice" --><br>
Reçu Par : <!-- TMPL_VAR NAME="user" --><br>
<!-- TMPL_VAR NAME="date" -->
</div>
@ -64,9 +64,7 @@
<tr>
<td colspan="5" rowspan=2 bgcolor="#ffdf61">
<b>AIDE</b>
<br>
Le total en bas de la page devra être proche de quelques centimes du total de la facture.<p>
Lorsque vous aurez fini cette facture, sauvez les modifications.
<p>Le total en bas de la page devra être proche de quelques centimes du total de la facture.</p>
</td>
<td colspan="2" align="right"><b>TVA</b></td>
<td><!-- TMPL_VAR NAME="gst" --></td>

2
koha-tmpl/intranet-tmpl/default/fr/acqui/recieveorder.tmpl

@ -7,7 +7,7 @@
<input type="hidden" name="supplierid" value=<!-- TMPL_VAR NAME="supplierid" -->>
<h2 class="acquisition">Information facture fournissseur</h2>
<p>
<label>Numéro de Facture Fournisseur</label>
<label>Numéro de Facture/BL</label>
<input type="text" size="20" name="invoice">
</p>
<p>

9
koha-tmpl/intranet-tmpl/default/fr/acqui/suggestion-select.tmpl

@ -9,9 +9,9 @@
<th class="acquisition">&nbsp;</th>
</tr>
<tr>
<form>
<form action="/cgi-bin/koha/acqui/suggestion-select.pl" method="get">
<th class="acquisition">
<p>Filtre sur : titre : <input type="text" name="title" value="<!-- TMPL_VAR NAME="title"-->"> auteur : <input type="text" name="author" value="<!-- TMPL_VAR NAME="author" -->"> éditeur : <input type="text" name="publishercode" value="<!-- TMPL_VAR NAME="publishercode"-->">
<p>Sélectionner sur : titre : <input type="text" name="title" value="<!-- TMPL_VAR NAME="title"-->"> auteur : <input type="text" name="author" value="<!-- TMPL_VAR NAME="author" -->"> éditeur : <input type="text" name="publishercode" value="<!-- TMPL_VAR NAME="publishercode"-->">
</th>
<th class="acquisition">
&nbsp;
@ -20,7 +20,7 @@
&nbsp;
</th>
<th class="acquisition">
<input type="submit" class="button acquisition" value="Filtrer">
<input type="submit" class="button acquisition" value="Sélectionner">
</th>
</form>
</tr>
@ -41,7 +41,7 @@
<!-- TMPL_VAR NAME="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="firstnamesuggestedby" -->
</td>
<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
<!-- TMPL_VAR NAME="usermanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="firstnamemanagedby" -->
<!-- TMPL_VAR NAME="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="firstnamemanagedby" -->
</td>
<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
<!-- TMPL_IF name="biblionumber" -->
@ -53,6 +53,5 @@
</tr>
<!-- /TMPL_LOOP -->
</table>
<form>
</div>
<!-- TMPL_INCLUDE NAME="acquisitions-bottom.inc" -->

20
koha-tmpl/intranet-tmpl/default/fr/acqui/supplier.tmpl

@ -14,15 +14,15 @@
<h2 class="acquisition">DETAILS SOCIETE</h2>
<p>
<label>Nom de Société</label>
<input type="text" size="20" name="company" value="<!-- TMPL_VAR NAME="name" -->">
<input type="text" size="40" name="company" value="<!-- TMPL_VAR NAME="name" -->">
</p>
<p>
<label>Adresse Postale</label>
<textarea name="company_postal" cols="20" rows="3"><!-- TMPL_VAR NAME="postal" --></textarea>
<textarea name="company_postal" cols="40" rows="3"><!-- TMPL_VAR NAME="postal" --></textarea>
</p>
<p>
<label>Adresse Physique</label>
<textarea name="physical" cols="20" rows="4"><!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></textarea>
<textarea name="physical" cols="40" rows="4"><!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></textarea>
</p>
<p>
<label>Téléphone</label>
@ -34,16 +34,16 @@
</p>
<p>
<label>Site Web</label>
<input type="text" size="20" name="website" value="<!-- TMPL_VAR NAME="url" -->">
<input type="text" size="40" name="website" value="<!-- TMPL_VAR NAME="url" -->">
</p>
<h2 class="acquisition">DETAILS DU CONTACT</h2>
<h2 class="acquisition">COORDONNEES DU CONTACT</h2>
<p>
<label>Nom du contact</label>
<input type="text" size="20" name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->">
<input type="text" size="40" name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->">
</p>
<p>
<label>Position</label>
<input type="text" size="20" name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->">
<input type="text" size="40" name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->">
</p>
<p>
<label>Téléphone</label>
@ -59,11 +59,11 @@
</p>
<p>
<label>Mail</label>
<input type="text" size="20" name="company_email" value="<!-- TMPL_VAR NAME="contemail" -->">
<input type="text" size="40" name="company_email" value="<!-- TMPL_VAR NAME="contemail" -->">
</p>
<p>
<label>Notes</label>
<textarea name="notes" cols="20" rows="4"><!-- TMPL_VAR NAME="contnotes" --></textarea>
<textarea name="notes" cols="40" rows="4"><!-- TMPL_VAR NAME="contnotes" --></textarea>
</p>
</div>
<div id="bloc25">
@ -76,7 +76,7 @@
<input type="radio" name="status" value="1"> Actif <input type="radio" name="status" value="0" checked> Inactif</td>
<!-- /TMPL_IF -->
</p>
<h2 class="acquisition">INFORMATION DE COMMANDE</h2>
<h2 class="acquisition">INFORMATION POUR LES COMMANDES</h2>
</p>
<p>
<label>Editeurs et adresses bibliographiques</label>

2
koha-tmpl/intranet-tmpl/default/fr/auth.tmpl

@ -17,7 +17,7 @@
<!-- TMPL_IF NAME="invalid_username_or_password" -->
<!-- This is what is displayed if the username or password doesn't work -->
<h2>Vous avez saisi un nom d'utilisateur ou un mot de passe invalide. Merci de réessayer.</h2>
<h2> Vous avez saisi un nom d'utilisateur ou un mot de passe invalide. Merci de réessayer.</h2>
<!-- /TMPL_IF -->

24
koha-tmpl/intranet-tmpl/default/fr/authorities/auth_finder.tmpl

@ -3,7 +3,7 @@
<h1 class="authority">Recherche autorité</h1>
<form name="f" method="post">
<form name="f" action="/cgi-bin/koha/authorities/auth_finder.pl" method="post">
<input type="hidden" name="op" value="do_search">
<input type="hidden" name="type" value="intranet">
<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
@ -11,15 +11,29 @@
<h2 class="authority">Rechercher sur</h2>
<p>
<label class="label100">Type d'autorité</label>
<!-- TMPL_VAR NAME="category" -->
<!-- TMPL_VAR NAME="authtypecode" -->
<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
</p>
<p>
<label class="label100">Valeur de Recherche</label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="category" -->">
<label class="label100">Vedette</label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
<input type="hidden" name="marclist" value="mainentry">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<select name="operator">
<option value="start">commence par</option>
<option value="contains">contient</option>
</select>
<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
</p>
<p>
<label class="label100">Partout</label><input type="text" name="value">
<input type="hidden" name="marclist" value="">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="contains">
<select name="operator">
<option value="contains">contient</option>
<option value="start">commence par</option>
</select>
<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
</p>
<p>

40
koha-tmpl/intranet-tmpl/default/fr/authorities/authorities-home.tmpl

@ -3,14 +3,12 @@
<h1 class="authority">Recherche autorité</h1>
<form name="f" method="post">
<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" method="post">
<input type="hidden" name="op" value="do_search">
<input type="hidden" name="type" value="intranet">
<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
<div id="bloc25">
<h2 class="authority">Rechercher sur</h2>
<p>
<label class="label100">Type d'autorité</label>
<h2 class="authority">Rechercher sur
<select name="authtypecode">
<!-- TMPL_LOOP NAME="authtypesloop" -->
<option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
@ -18,20 +16,50 @@
</option>
<!-- /TMPL_LOOP -->
</select>
</h2>
<p>
<label class="label100">Vedette</label>
<input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
<input type="hidden" name="marclist" value="mainentry">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<select name="operator">
<option value="contains">contient</option>
<option value="start">commence par</option>
</select>
</p>
<p>
<label class="label100">Valeur de Recherche</label>
<label class="label100">Partout</label>
<input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
<input type="hidden" name="marclist" value="">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="contains">
<select name="operator">
<option value="contains">contient</option>
<option value="start">commence par</option>
</select>
</p>
<p>
<input type="submit" value="Lancer la recherche" class="button authority">
</p>
</div>
</form>
<div id="bloc25">
<h2 class="authority">Ajouter autorité</h2>
<form name="f2" method="post" action="authorities.pl">
<p>Type d'autorité
<select name="authtypecode">
<!-- TMPL_LOOP name="authtypesloop" -->
<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
<!-- TMPL_VAR name="authtypetext" -->
</option>
<!-- /TMPL_LOOP -->
</select>
<input type="submit" value="Ajouter" class="button authority">
</p>
</form>
</div>
</div>
<!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->

62
koha-tmpl/intranet-tmpl/default/fr/authorities/authorities.tmpl

@ -3,7 +3,11 @@
<div class="tabbed">
<form method="post" name="f">
<h1 class="authority">Autorité numéro <!-- TMPL_VAR NAME="authid" --></h1>
<!-- TMPL_IF name="authid" -->
<h1 class="authority">Modifier autorité N°<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<!-- TMPL_ELSE -->
<h1 class="authority">Ajout d'autorité (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<!-- /TMPL_IF -->
<p>
<input type="hidden" name="op" value="add">
<input type="hidden" name="addfield_field">
@ -18,6 +22,16 @@
</div>
<br><br><br><br><br><br><br><br><br><br><br>
<!-- TMPL_IF name="duplicateauthid" -->
<div class="problem">
<p>Doublon suspecté avec <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>Vous devez soit :</p>
<ul>
<p><input type="checkbox" value=1 name="confirm_not_duplicate">Confirmer que ce n'est pas un doublon (et cliquer sur <input type="button" value="Ajouter autorité" onclick="Check(this.form)" accesskey="w" class="button authority"> encore)</p>
<p>Aller à <a href="authorities.pl?authid=<!-- TMPL_VAR name="duplicateauthid" -->" >l'autorité</a></p>
</ul>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="0XX" -->
<!-- TMPL_IF name="tag" -->
@ -33,14 +47,18 @@
<!-- TMPL_LOOP NAME="subfield_loop" -->
<p>
<label class="labelsubfield">
<b><!-- TMPL_VAR NAME="subfield" --></b>
<!-- TMPL_UNLESS name="hide_marc" -->
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- TMPL_VAR name="index" -->')">
<input type="text" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" maxlength="1">
<!-- TMPL_ELSE -->
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->">
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->">
<input type="hidden" name="tag_mandatory" value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
@ -136,28 +154,28 @@ function Check(f) {
alertString2 += "\n- "+ total_missing_mandatory_subfields +_("champs obligatoires non renseignés (voir les champs en caractère gras)");
alert(alertString2);
} else {
document.forms[1].submit();
document.forms[0].submit();
}
}
function Dopop(link,i) {
defaultvalue=document.forms[0].field_value[i].value;
defaultvalue=document.forms['f'].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value builder",'width=550,height=550,toolbar=false,scrollbars=yes');
}
function PopupZ3950() {
var strQuery="";
for (i=0 ; i<document.forms[0].field_value.length ; i++) {
if (document.forms[0].kohafield[i].value == "biblioitems.isbn" && document.forms[0].field_value[i].value.length>0) {
strQuery += "&isbn="+document.forms[0].field_value[i].value;
for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
if (document.forms['f'].kohafield[i].value == "biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
strQuery += "&isbn="+document.forms['f'].field_value[i].value;
}
if (document.forms[0].kohafield[i].value == "biblio.title" && document.forms[0].field_value[i].value.length>0) {
strQuery += "&title="+document.forms[0].field_value[i].value;
if (document.forms['f'].kohafield[i].value == "biblio.title" && document.forms['f'].field_value[i].value.length>0) {
strQuery += "&title="+document.forms['f'].field_value[i].value;
}
if (document.forms[0].kohafield[i].value == "biblio.author" &&document.forms[0].field_value[i].value.length>0) {
strQuery += "&author="+document.forms[0].field_value[i].value;
if (document.forms['f'].kohafield[i].value == "biblio.author" &&document.forms['f'].field_value[i].value.length>0) {
strQuery += "&author="+document.forms['f'].field_value[i].value;
}
if (document.forms[0].kohafield[i].value == "biblioitems.issn" && document.forms[0].field_value[i].value.length>0) {
strQuery += "&issn="+document.forms[0].field_value[i].value;
if (document.forms['f'].kohafield[i].value == "biblioitems.issn" && document.forms['f'].field_value[i].value.length>0) {
strQuery += "&issn="+document.forms['f'].field_value[i].value;
}
}
newin=window.open("../z3950/search.pl?bibid=<!-- TMPL_VAR NAME="bibid" -->"+strQuery,"z3950search",'width=500,height=400,toolbar=false,scrollbars=yes');
@ -168,6 +186,22 @@ function AddField(field) {
document.forms[0].addfield_field.value=field;
document.f.submit();
}
function upSubfield(index) {
temp = document.forms['f'].field_value[index-1].value;
document.forms['f'].field_value[index-1].value=document.forms['f'].field_value[index].value;
document.forms['f'].field_value[index].value= temp;
temp = document.forms['f'].subfield[index-1].value;
document.forms['f'].subfield[index-1].value=document.forms['f'].subfield[index].value;
document.forms['f'].subfield[index].value = temp;
temp = document.forms['f'].mandatory[index-1].value;
document.forms['f'].mandatory[index-1].value=document.forms['f'].mandatory[index].value;
document.forms['f'].mandatory[index].value = temp;
temp = document.forms['f'].kohafield[index-1].value;
document.forms['f'].kohafield[index-1].value=document.forms['f'].kohafield[index].value;
document.forms['f'].kohafield[index].value = temp;
}
</script>
</body>
</html>

2
koha-tmpl/intranet-tmpl/default/fr/authorities/blinddetail-biblio-search.tmpl

@ -9,7 +9,7 @@ var index_start = <!-- TMPL_VAR NAME="index" -->;
var whichfield = opener.opener.document.f.tag[index_start].value;
i=index_start
// go forward, until reaching the end of the field.
while (i<=opener.opener.document.f.field_value.length) {
while (i<opener.opener.document.f.field_value.length) {
if (opener.opener.document.f.tag[i].value == whichfield && opener.opener.document.f.subfield[i].value == '9') {
opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR NAME="authid" -->";
}

19
koha-tmpl/intranet-tmpl/default/fr/authorities/detail.tmpl

@ -1,14 +1,16 @@
<!-- 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">Autorité numéro : <!-- TMPL_VAR NAME="authid" --></h1>
<h1 class="authority">Autorité #<!-- 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>
<a href="javascript:confirm_deletion()">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
</a>
<a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority"> Editer </a> <a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR name="count" --> Notices</a>
<!-- TMPL_UNLESS name="count" -->
<a href="javascript:confirm_deletion()">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png">
</a>
<!-- /TMPL_UNLESS -->
<a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority"> Imprimer </a> <a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR name="count" --> Notices</a>
</div>
<div name="0XX" id="0XX" class="tab" style="visibility:visible">
@ -19,9 +21,6 @@
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator=&#x003D&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
@ -33,9 +32,9 @@
<script language="JavaScript" type="text/javascript">
function confirm_deletion() {
var is_confirmed = confirm('Are you sure you want to delete this biblio?');
var is_confirmed = confirm('Are you sure you want to delete this authority?');
if (is_confirmed) {
window.location="acqui.simple/addbiblio.pl?op=delete&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->";
window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
}
}
function Dopop(link) {

36
koha-tmpl/intranet-tmpl/default/fr/authorities/searchresultlist-auth.tmpl

@ -10,15 +10,29 @@
<h2 class="authority">Rechercher sur</h2>
<p>
<label class="label100">Type d'autorité</label>
<!-- TMPL_VAR NAME="category" -->
<!-- TMPL_VAR NAME="authtypecode" -->
<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
</p>
<p>
<label class="label100">Valeur de Recherche</label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
<label class="label100">Vedette</label><input type="text" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
<input type="hidden" name="marclist" value="mainentry">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<select name="operator">
<option value="start">commence par</option>
<option value="contains">contient</option>
</select>
<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
</p>
<p>
<label class="label100">Partout</label><input type="text" name="value">
<input type="hidden" name="marclist" value="">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="contains">
<select name="operator">
<option value="contains">contient</option>
<option value="start">commence par</option>
</select>
<input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->">
</p>
<p>
@ -31,7 +45,7 @@
<div id="resultnumber">
<p>
<!-- TMPL_IF name="displayprev" -->
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
</a>
<!-- /TMPL_IF -->
@ -39,12 +53,12 @@
<!-- TMPL_IF name="highlight" -->
<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
<!-- TMPL_ELSE -->
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF name="displaynext" -->
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
<!-- /TMPL_IF -->
</p>
@ -59,7 +73,7 @@
<div id="resultlist">
<table>
<tr>
<th class="authority">Résumé</th>
<th class="authority">Abrégé</th>
<th class="authority">Utilisé</th>
<th class="authority">Le choisir</th>
</tr>
@ -86,7 +100,7 @@
<div id="resultnumber">
<p>
<!-- TMPL_IF name="displayprev" -->
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
<a href="auth_finder.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;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
<img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
</a>
<!-- /TMPL_IF -->
@ -94,12 +108,12 @@
<!-- TMPL_IF name="highlight" -->
<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
<!-- TMPL_ELSE -->
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
<a href="auth_finder.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;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
<img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0"></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF name="displaynext" -->
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
<a href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&op=do_search&type=intranet">
<img src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
<!-- /TMPL_IF -->
</p>

35
koha-tmpl/intranet-tmpl/default/fr/authorities/searchresultlist.tmpl

@ -34,27 +34,33 @@
<div id="resultlist">
<table>
<tr>
<th class="authority">Résumé</th>
<th class="authority">Utilisé</th>
<th class="authority">Abrégé</th>
<!-- TMPL_UNLESS name="isEDITORS" -->
<th class="authority">Utilisé</th>
<!-- /TMPL_UNLESS -->
<th class="authority">Voir</th>
<th class="authority">Supprimer</th>
</tr>
<!-- TMPL_LOOP NAME="result" -->
<tr>
<td><!-- TMPL_VAR NAME="summary" --></td>
<td><a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> notices</a></td>
<!-- TMPL_UNLESS name="isEDITORS" -->
<td>
<a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> notices</a>
</td>
<!-- /TMPL_UNLESS -->
<td>
<a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" width="32" hspace="0" vspace="0" border="0" alt='Autorité numéro <!-- TMPL_VAR NAME="authid" -->' title='autorité numéro <!-- TMPL_VAR NAME="authid" -->'>
</a>
</td>
<td>
<!-- TMPL_UNLESS name="used" -->
<a href="javascript:do_delete('authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->')">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
</a>
<!-- /TMPL_UNLESS -->
</td>
<td>
<!-- TMPL_UNLESS name="used" -->
<a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
</a>
<!-- /TMPL_UNLESS -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
@ -87,8 +93,11 @@
<script language="JavaScript" type="text/javascript" >
function do_delete(page)
{
window.location = page;
function confirm_deletion(id) {
var is_confirmed = confirm('Are you sure you want to delete this authority?');
if (is_confirmed) {
window.location="authorities-home.pl?op=delete&amp;authid="+id;
}
}
</script>

2
koha-tmpl/intranet-tmpl/default/fr/barcodes/barcodes-top.inc

@ -203,7 +203,7 @@ function removeItem() {
<!-- MENUS -->
<div id="menubar">
<span class="koha">KOHA</span>
<a class="home" href="/cgi-bin/koha/mainpage.pl">Accueil</a> <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a> <a class="members" href="/cgi-bin/koha/members/members-home.pl">Lecteurs</a> <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a> <a class="circulation" href="/cgi-bin/koha/circ/circulation.pl">Prêt</a> <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Autorités</a> <a class="reports" href="/cgi-bin/koha/reports-home.pl">Rapports</a> <a class="parameters" href="/cgi-bin/koha/admin-home.pl">Paramètres</a> <a class="about" href="/cgi-bin/koha/about.pl">A propos</a> <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Aide</a>
<a class="home" href="/cgi-bin/koha/mainpage.pl">Accueil</a> <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a> <a class="members" href="/cgi-bin/koha/members/members-home.pl">Lecteurs</a> <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a> <a class="circulation" href="/cgi-bin/koha/circ/circulation.pl">Prêts/Retours</a> <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Autorités</a> <a class="reports" href="/cgi-bin/koha/reports-home.pl">Rapports</a> <a class="parameters" href="/cgi-bin/koha/admin-home.pl">Paramètres</a> <a class="about" href="/cgi-bin/koha/about.pl">A propos</a> <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Aide</a>
</div>
<div id="submenu">
<span class="koha">options >></span>

2
koha-tmpl/intranet-tmpl/default/fr/barcodes/barcodes.tmpl

@ -150,7 +150,7 @@
<td colspan="2" align="center">
<table style="width:50%">
<tr style="border-color:#000FCD">
<th colspan="<!-- TMPL_VAR NAME="COL_SPAN" -->">Numéro d'étiquette ou commencer l'impression</th>
<th colspan="<!-- TMPL_VAR NAME="COL_SPAN" -->">Numéro d'étiquette où commencer l'impression</th>
</tr>
<!-- TMPL_LOOP NAME="LABEL_TABLE" -->
<tr style="align:left">

2
koha-tmpl/intranet-tmpl/default/fr/barcodes/printerConfig.tmpl

@ -3,7 +3,7 @@
<h1>Configuration imprimante</h1>
<table bgcolor="#ffcc00" width="80%" cellpadding="3">
<tr valign="center">
<td><font size="4">Sélectionner la configuration d'imprimante correspondant à votre environnement</font></td>
<td><font size="4"> Sélectionner la configuration d'imprimante correspondant à votre environnement</font></td>
</tr>
</table>
<ul>

2
koha-tmpl/intranet-tmpl/default/fr/bookshelves/addbookbybiblionumber.tmpl

@ -1,7 +1,7 @@
<!-- TMPL_INCLUDE Name="popup-top.inc" -->
<div id="mainbloc">
<h2 class="catalogue">Sélectionner une étagère</h2>
<form>
<form action="/cgi-bin/koha/bookshelves/addbookbybiblionumber.pl" method="get">
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
<p><label>Titre</label><!-- TMPL_VAR NAME="title" --></p>
<p><label>Auteur</label><!-- TMPL_VAR NAME="author" --></p>

56
koha-tmpl/intranet-tmpl/default/fr/bookshelves/shelves.tmpl

@ -2,24 +2,24 @@
<div id="mainbloc">
<!-- TMPL_IF Name="viewshelf" -->
<form>
<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
<h1 class="catalogue"><!-- TMPL_VAR NAME="shelfname" --></h1>
<div id="bloc25">
<h2 class="catalogue">Contenu des Etagères</h2>
<table class="small">
<tr colspan="4">
<th class="catalogue">supprimer</th>
<th class="catalogue"><!-- TMPL_IF name="manageshelf" -->Supprimer<!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></th>
<th class="catalogue">Code à Barres</th>
<th class="catalogue">Titre</th>
<th class="catalogue">Auteur</th>
</tr>
<!-- TMPL_LOOP Name="itemsloop" -->
<tr>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"></td>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="barcode" --></td>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><a href="../MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="author" --></td>
<!-- TMPL_IF NAME="toggle" --><tr class="hilighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
<td><!-- TMPL_IF name="manageshelf" --><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td><a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td><!-- TMPL_VAR NAME="author" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
@ -27,15 +27,15 @@
<input type="hidden" name="modifyshelfcontents" value="1">
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
<!-- TMPL_IF name="manageshelf" -->
<input type="submit" value="Retirer les Exemplaires Sélectionnés" class="button catalogue">
<input type="submit" value="Retirer les Documents Sélectionnés" class="button catalogue">
<!-- /TMPL_IF -->
</div>
</form>
<!-- TMPL_IF name="manageshelf" -->
<div id="bloc25">
<form>
<h2 class="catalogue">Ajouter un livre par code à barre</h2>
<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
<h2 class="catalogue">Ajouter un document par code à barre</h2>
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
<input type="hidden" name="modifyshelfcontents" value="1">
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
@ -47,7 +47,7 @@
</div>
<!-- /TMPL_IF -->
<div id="bloc25">
<a href="shelves.pl" class="button catalogue">Liste des étagères</a>
<a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button catalogue">Liste des étagères</a>
</div>
<!-- TMPL_ELSE -->
<!-- TMPL_IF Name="shelves" -->
@ -62,7 +62,7 @@
<!-- /TMPL_LOOP -->
<div id="bloc25">
<h2 class="catalogue">Sélectionner les Etagères à Supprimer</h2>
<form method="post">
<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
<input type="hidden" name="shelves" value="1">
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_IF name="canmanage" -->
@ -80,7 +80,7 @@
</form>
</div>
<div id="bloc25">
<form method="post">
<form action="/cgi-bin/koha/bookshelves/shelves.pl" method="post">
<input type="hidden" name="shelves" value="1">
<h2 class="catalogue">Ajouter une étagère</h2>
<p><label>Nom</label><input type="text" name="addshelf" size="25"></p>
@ -92,13 +92,13 @@
<option value="3">Libre</option>
</select>
</p>
<p> <li>une étagère privée est gérée par vous et peut être vue uniquement par vous- même.</li>
<li> Une étagère publique peut-être vue par tout le monde, mais gérée uniquement par vous-même</li>
<p> <li> une étagère privée est gérée par vous et peut être vue uniquement par vous- même.</li>
<li> Une étagère publique peut-être vue par tout le monde, mais gérée uniquement par vous-même</li>
<li> Une étagère libre peut-être gérée par tous les utilisateurs.</li>
</p>
<p>
<input type="submit" value="Ajouter une nouvelle étagère" class="button catalogue">
<a href="shelves.pl" class="button catalogue">Retour à la liste des étagères</a>
<a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button catalogue">Retour à la liste des étagères</a>
</p>
</form>
@ -114,13 +114,13 @@
<th class="catalogue">Modifier</th>
</tr>
<!-- TMPL_LOOP Name="shelvesloop" -->
<tr>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
<a href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
<!-- TMPL_IF NAME="toggle" --><tr class="hilighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
<td>
<a href="/cgi-bin/koha/bookshelves/shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
<!-- TMPL_VAR NAME="shelfname" -->
</a>
</td>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
<td>
<!-- TMPL_IF NAME="category1" -->
Privé
<!-- /TMPL_IF -->
@ -131,27 +131,29 @@
Libre
<!-- /TMPL_IF -->
</td>
<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
<td>
<!-- TMPL_VAR NAME="shelfbookcount" --> documents
</td>
<!-- TMPL_IF name="mine" -->
<td bgcolor="<!-- TMPL_VAR NAME="color" -->">
<a href="shelves.pl?op=modif&shelf=<!-- TMPL_VAR NAME="shelf" -->" class="button catalogue">Modifier</a> <!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" -->
<td>
<a href="/cgi-bin/koha/bookshelves/shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->" class="button catalogue">Modifier</a> <!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" -->
</td>
<!-- TMPL_ELSE -->
<td>&nbsp;</td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div id="bloc25">
<a href="shelves.pl?shelves=1" class="button catalogue">Ajouter ou supprimer des étagères virtuelles</a>
<a href="/cgi-bin/koha/bookshelves/shelves.pl?shelves=1" class="button catalogue">Ajouter ou supprimer des étagères virtuelles</a>
</div>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF name="edit" -->
<div id="bloc25">
<form method="post">
<form method="post" action="/cgi-bin/koha/bookshelves/shelves.pl">
<input type="hidden" name="op" value="modifsave">
<h2 class="catalogue">Modifier l'étagère</h2>
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->">
@ -176,8 +178,8 @@
<!-- /TMPL_IF -->
</select>
</p>
<p> <li>une étagère privée est gérée par vous et peut être vue uniquement par vous- même.</li>
<li> Une étagère publique peut-être vue par tout le monde, mais gérée uniquement par vous-même</li>
<p> <li> une étagère privée est gérée par vous et peut être vue uniquement par vous- même.</li>
<li> Une étagère publique peut-être vue par tout le monde, mais gérée uniquement par vous-même</li>
<li> Une étagère libre peut-être gérée par tous les utilisateurs.</li>
</p>
<p>

76
koha-tmpl/intranet-tmpl/default/fr/boraccount.tmpl

@ -1,45 +1,37 @@
<!-- TMPL_INCLUDE NAME="members-top.inc" -->
<!-- The manual invoice and credit buttons -->
<h1>Compte pour <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a></h1><P>
<a class="button" href="/cgi-bin/koha/maninvoice.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Créer une facture manuelle</a>
<center>
<p>
<!-- The table with the account items -->
<table cellspacing="0" cellpadding="5" border="1" >
<tr valign="top">
<td bgcolor="#99cc33" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif" colspan="2"><b>FRAIS & CHARGES</td>
<td bgcolor="#99cc33" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif" colspan="1"><b>MONTANT</td>
<td bgcolor="#99cc33" background="<!-- TMPL_VAR NAME="themelang" -->/images/background-mem.gif" colspan="1"><b>ENCORE DU</td>
</tr>
<!-- TMPL_LOOP NAME="accounts" -->
<tr valign="top">
<td><!-- TMPL_VAR NAME="date" --></td>
<td><!-- TMPL_VAR NAME="description" --><!-- TMPL_IF NAME="printtitle" --> <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="amount" --></td>
<td><!-- TMPL_VAR NAME="amountoutstanding" --></td>
</tr>
<!-- /TMPL_LOOP -->
<tr valign="top">
<td></td>
<td colspan="2"><b>Total dû</b></td>
<td><b><!-- TMPL_VAR NAME="total" --></b></td>
</tr>
</table>
<br clear="all">
<p> &nbsp; </p>
<!-- endmenu (member) -->
<div id="mainbloc">
<!-- The manual invoice and credit buttons -->
<h1>Compte pour <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a></h1><P>
<a class="button" href="/cgi-bin/koha/maninvoice.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">Créer une facture manuelle</a>
<!-- The table with the account items -->
<table>
<tr>
<th>FRAIS & CHARGES</th>
<th>MONTANT</th>
<th>ENCORE DU</th>
</tr>
<!-- TMPL_LOOP NAME="accounts" -->
<tr>
<td><!-- TMPL_VAR NAME="date" --> <!-- TMPL_VAR NAME="description" --><!-- TMPL_IF NAME="printtitle" --> <!-- TMPL_VAR NAME="title" --><!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="amount" --></td>
<td><!-- TMPL_VAR NAME="amountoutstanding" --></td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th>Total dû</th>
<th colspan="2"><!-- TMPL_VAR NAME="total" --></th>
</tr>
</table>
<!-- endmenu (member) -->
</div>
<!-- TMPL_INCLUDE NAME="members-bottom.inc" -->

63
koha-tmpl/intranet-tmpl/default/fr/bull/bull-home.tmpl

@ -4,37 +4,76 @@
<h1 class="bull">Abonnements Périodiques</h1>
<table>
<tr>
<th class="bull">Titre</th>
<th class="bull">ISSN</th>
<th class="bull">Titre</th>
<th class="bull">
Note
</td>
<th class="bull" colspan=2>&nbsp;</th>
</tr>
<tr>
<form action="bull-home.pl" method="post">
<td>
<input type="text" size=40 maxlength=40 name="title" value="<!-- TMPL_VAR name="title" -->">
<input type="text" size=10 maxlength=11 name="ISSN" value="<!-- TMPL_VAR name="ISSN" -->" title="Saisir un ISSN pour filtrer les abonnements">
</td>
<td>
<input type="text" size=11 maxlength=11 name="ISSN" value="<!-- TMPL_VAR name="ISSN" -->">
<input type="text" size=40 maxlength=40 name="title" value="<!-- TMPL_VAR name="title" -->" title="Saisir un tire (complet ou partiel) pour filtrer les abonnements">
</td>
<td colspan=3>
<input type="submit" value="filtre" class="button bull">
<td>
&nbsp;
</td>
<td colspan=2>
<input type="submit" value="filtre" class="button bull" title="Filtrer sur ISSN/titre">
</td>
</tr>
<!-- TMPL_LOOP name="subscriptions" -->
<tr>
<td>
<!-- TMPL_VAR name="title" --> <!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="ISSN" -->
<a href="bull/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="Résumé des n° parus"><!-- TMPL_VAR name="ISSN" --></a>
<!-- /TMPL_IF -->
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="title" -->
<!-- TMPL_VAR name="title" -->
<!-- TMPL_ELSE -->
|
<!-- /TMPL_IF -->
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="notes" -->(<!-- TMPL_VAR name="notes" -->)<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_VAR name="ISSN" -->
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Détail de l'abonnement">Détail</a>
</td>
<td>
<a href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Détail</a> <a href="bull/statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Réceptionner</a>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="bull/statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Bulletiner pour cet abonnement">Réception</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<a href="/cgi-bin/koha/bull/subscription-add.pl" class="button bull">Ajouter un abonnement</a>
<a href="/cgi-bin/koha/bull/subscription-add.pl" class="button bull">Ajouter abonnement</a>
</div>
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

68
koha-tmpl/intranet-tmpl/default/fr/bull/full-serial-issues.tmpl

@ -0,0 +1,68 @@
<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
<!-- TMPL_UNLESS name="popup" -->
<h1 class="bull">Information d'abonnement pour notice N°<!-- TMPL_VAR NAME="biblionumber" --> titre : <!-- TMPL_VAR name="bibliotitle" --></h1>
<p>
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Retour notice</a>
<!-- /TMPL_UNLESS -->
<!-- TMPL_LOOP NAME="years" -->
<!-- TMPL_IF NAME="year" -->
<a class="button bull" href="javascript:active(<!-- TMPL_VAR NAME="year" -->)"><!-- TMPL_VAR NAME="year" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<a class=" button bull" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=small">Vue compacte</a>
</p>
<!-- TMPL_LOOP NAME="years" -->
<div name="<!-- TMPL_VAR NAME="year" -->" id="<!-- TMPL_VAR NAME="year" -->" style="position:absolute; visibility:hidden; margin-top:0px; border:4px;" <!--TMPL_IF Name="first" -->style="visibility:visible"<!--/TMPL_IF -->>
<table>
<tr>
<th class="bull">Information
</th>
<th class="bull">Date
</th>
<th class="bull">Nombre
</th>
<th class="bull">Etat
</th>
</tr>
<!-- TMPL_LOOP Name="serials" -->
<tr>
<td>
<!-- TMPL_VAR name="notes" -->
</td>
<td>
<!-- TMPL_VAR Name="planneddate" -->
</td>
<td>
<!-- TMPL_VAR Name="serialseq" -->
</td>
<td>
<!-- TMPL_IF Name="status1" -->Arrivé<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status2" -->Attendu<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status3" -->En retard<!-- /TMPL_IF -->
<!-- TMPL_IF Name="status4" -->Manquant<!-- /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>

43
koha-tmpl/intranet-tmpl/default/fr/bull/lateissues.tmpl

@ -0,0 +1,43 @@
<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="bull">Numéros en retard</h1>
<p>
<form action="lateissues.pl" method="post">
<!-- TMPL_VAR name="CGIsupplier" -->
<!-- TMPL_IF name="phone" -->Téléphone : <!-- TMPL_VAR name="phone" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="booksellerfax" -->Fax: <!-- TMPL_VAR name="booksellerfax" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="bookselleremail" --></p><p><a href="mailto:<!-- TMPL_VAR name="bookselleremail" -->" class="button bull"><!-- TMPL_VAR name="bookselleremail" --></a><!-- /TMPL_IF -->
<input type="submit" value="filtre" class="button bull">
</form>
</p>
<table>
<tr>
<th class="bull">Titre</th>
<th class="bull">Numéro d'exemplaire</th>
<th class="bull">Retard depuis</th>
<th class="bull" colspan=2>&nbsp;</th>
</tr>
<!-- TMPL_LOOP name="lateissues" -->
<tr>
<!-- TMPL_IF name="odd" -->
<td class="hilighted"><!-- TMPL_IF name="Title" --><!-- TMPL_VAR name="Title" --><!-- TMPL_ELSE -->|<!-- /TMPL_IF --></td>
<td class="hilighted"><!-- TMPL_VAR name="serialseq" --></td>
<td class="hilighted"><!-- TMPL_VAR name="planneddate" --></td>
<td class="hilighted">
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Détail</a> <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Réceptionner</a>
</td>
<!-- TMPL_ELSE -->
<td><!-- TMPL_VAR name="Title" --></td>
<td><!-- TMPL_VAR name="serialseq" --></td>
<td><!-- TMPL_VAR name="planneddate" --></td>
<td>
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Détail</a> <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Réceptionner</a>
</td>
<!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

2
koha-tmpl/intranet-tmpl/default/fr/bull/result.tmpl

@ -30,7 +30,7 @@
<div id="resultlist">
<table>
<tr>
<th class="catalogue">Résumé</th>
<th class="catalogue">Abrégé</th>
<th class="catalogue">&nbsp;</th>
</tr>
<!-- TMPL_LOOP name="result" -->

32
koha-tmpl/intranet-tmpl/default/fr/bull/search.tmpl

@ -3,7 +3,7 @@
<h1 class="catalogue">Recherche Catalogue</h1>
<form name="f" method="post">
<form name="f" action="/cgi-bin/koha/bull/subscription-bib-search.pl" method="post">
<input type="hidden" name="op" value="do_search">
<input type="hidden" name="type" value="intranet">
<input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
@ -15,7 +15,17 @@
<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">Type de document</label>
<!-- TMPL_VAR name="CGIitemtype" -->
<input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="category" -->">
<input type="hidden" name="marclist" value="">
<input type="hidden" name="and_or" value="and">
<input type="hidden" name="excluding" value="">
<input type="hidden" name="operator" value="=">
<input type="hidden" name="index" value="<!-- TMPL_VAR name="index" -->">
</p>
</div>
<div id="bloc25">
@ -41,24 +51,10 @@
</div>
</form>
<script>
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 + '\') ';
}
}
}
<script language="Javascript" type="text/javascript">
function AddStatement() {
document.forms[0].op.value="AddStatement";
document.forms['f'].op.value="AddStatement";
document.f.submit();
}

2
koha-tmpl/intranet-tmpl/default/fr/bull/searchresultlist.tmpl

@ -30,7 +30,7 @@
<div id="resultlist">
<table>
<tr>
<th class="authority">Résumé</th>
<th class="authority">Abrégé</th>
<th class="authority">Utilisé</th>
<th class="authority">Voir</th>
<th class="authority">Supprimer</th>

71
koha-tmpl/intranet-tmpl/default/fr/bull/serial-issues.tmpl

@ -1,12 +1,13 @@
<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
<!-- TMPL_INCLUDE NAME="bull-top.inc" -->
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="catalogue">N° parus pour un abonnement</h1>
<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">Notice bibliographique</a>
<form method="post" name="f">
<div id="bloc25">
<h2 class="catalogue">Information d'abonnement</h2>
<p>Pour <b><!-- TMPL_VAR name="bibliotitle" --></b> qui commence en <b><!-- TMPL_VAR name="startdate" --></b> et paraît chaque <b>
<h1 class="bull">N° parus pour un abonnement</h1>
<a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Retour aux abonnements</a> <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Retour à la notice</a><a class="button bull" href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->&selectview=full">Vue complète</a>
<!-- TMPL_LOOP name="subscription_LOOP" -->
<div id="bloc25">
<h2 class="bull">Information d'abonnement pour <!-- TMPL_VAR name="bibliotitle" --></h2>
<p>Commence en <b><!-- TMPL_VAR name="histstartdate" --></b> et paraît chaque <b>
<!--TMPL_IF name="periodicity1" -->
jour
<!-- /TMPL_IF -->
@ -41,46 +42,58 @@
2 ans
<!-- /TMPL_IF -->
</b>
le
<b>
<!--TMPL_IF name="arrival1" -->
Lundi
le <b>lundi</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival2" -->
Mardi
le <b>mardi</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival3" -->
Mercredi
le <b>mercredi</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival4" -->
Jeudi
le <b>jeudi</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival5" -->
Vendredi
le <b>vendredi</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival6" -->
Samedi
le <b>samedi</b>
<!-- /TMPL_IF -->
<!--TMPL_IF name="arrival7" -->
Dimanche
le <b>dimanche</b>
<!-- /TMPL_IF -->
</b>
</p>
<p>Abonnement pour
pour <b>
<!-- TMPL_IF name="numberlength" --><!-- TMPL_VAR name="numberlength" --> sorties<!-- /TMPL_IF -->
<!-- TMPL_IF name="weeklength" --><!-- TMPL_VAR name="weeklength" --> semaines<!-- /TMPL_IF -->
<!-- TMPL_IF name="monthlength" --><!-- TMPL_VAR name="monthlength" --> mois<!-- /TMPL_IF -->
)
</b>
</p>
<p>Dernier renouvellement le <b><!-- TMPl_VAR name="startdate" --></b></p>
<!-- TMPL_IF name="enddate" --><p><b>L'abonnement est terminé. Le dernier bulletin a été reçu le <!-- TMPL_VAR name="enddate" --></b></p><!-- /TMPL_IF name="enddate" -->
<!--TMPL_UNLESS Name=fullinfo -->
<p><!-- TMPL_VAR name="notes" --></p>
</div>
<div id="bloc25">
<h2 class="catalogue">Résumé des n° parus</h2>
<p>
<!-- TMPL_VAR name="librariannote" -->
</p>
</div>
<!-- TMPL_IF name="opacnote" -->
<h3 class="bull">Résumé des n° parus</h2>
<p>
<!-- TMPL_VAR name="opacnote" -->
</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="recievedlist" -->
<h3 class="bull">Bulletins reçus</h2>
<p>
<!-- TMPL_VAR name="recievedlist" -->
</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="missinglist" -->
<h3 class="bull">Bulletins manquants</h2>
<p>
<!-- TMPL_VAR name="missinglist" -->
</p>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_LOOP -->
</div>
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

38
koha-tmpl/intranet-tmpl/default/fr/bull/statecollection.tmpl

@ -3,7 +3,7 @@
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="bull">Abonnement pour <!-- TMPL_VAR name="bibliotitle" --></h1>
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Abonnement</a>
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="detail of the subscription">Abonnement</a> <a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Abonnements</a> <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Notice</a>
<div id="bloc25">
<h2 class="bull">Numéros attendus ou en retard</h2>
@ -23,6 +23,9 @@
<th class="bull">
Etat
</th>
<th class="bull">
Notes
</th>
</tr>
<!-- TMPL_LOOP name="serialslist" -->
<tr>
@ -53,14 +56,45 @@
<!-- TMPL_ELSE -->
<option value="4">Manquant</option>
<!-- /TMPL_IF -->
<!--TMPL_IF name="status5" -->
<option value="5" selected>Non publié</option>
<!-- TMPL_ELSE -->
<option value="5">Non publié</option>
<!-- /TMPL_IF -->
<!--TMPL_IF name="status6" -->
<option value="6" selected>Supprimer</option>
<!-- TMPL_ELSE -->
<option value="6">Supprimer</option>
<!-- /TMPL_IF -->
</select>
</td>
<td>
<input type="text" name="notes" value="<!-- TMPL_VAR name="notes" -->" size=20 maxlength=255>
</td>
</tr>
<!-- /TMPL_LOOP -->
<!-- TMPL_UNLESS name="hassubscriptionexpired" -->
<tr>
<td>
Bulletin hors série <input type="text" name="serialseq" size=30 maxlength=100>
</td>
<td>
<input type="text" name="planneddate" size=10 maxlength=15>
</td>
<td>
<input type="hidden" name="serialid" value="0">
<select name="status" size="1">
<option value="2">Arrivé</option>
<option value="3" selected>En retard</option>
<option value="4">Manquant</option>
</select>
</td>
</tr>
<!-- /TMPL_UNLESS -->
</table>
<input type="submit" value="Enregistrer les changements" accesskey="w" class="button bull">
<!-- TMPL_IF name="hassubscriptionexpired" -->
<p>L'abonnement a expiré.L'état du prochain numero attendu ne peut-être changé. <a href="#" onClick="popup()" class="button bull">Renouveller</a>votre abonnement</p>
<p>L'abonnement a expiré.L'état du prochain numero attendu ne peut-être changé. <a href="#" onClick="popup()" class="button bull">Renouveler</a>votre abonnement</p>
<!-- /TMPL_IF -->
</form>
</div>

30
koha-tmpl/intranet-tmpl/default/fr/bull/subscription-add.tmpl

@ -7,7 +7,7 @@
<input type="hidden" name="op" value="modsubscription">
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">
<!-- TMPL_ELSE -->
<h1 class="bull">Ajouter un abonnement</h1>
<h1 class="bull">Ajout d'abonnement</h1>
<form method="post" name="f">
<!-- /TMPL_IF -->
<div id="bloc25">
@ -21,7 +21,7 @@
<p class="problem">attention</p>
<ul>
<li>Souvenez vous que vous <b>devez</b> avoir créé une notice <b>avant</b> de créer un abonnement</li>
<li>Vous devez sélectionner un fournisseur si vous souhaitez réclamer les numéros en retard</li>
<li> Vous devez sélectionner un fournisseur si vous souhaitez réclamer les numéros en retard</li>
</ul>
</div>
<div id="bloc25">
@ -41,9 +41,9 @@
<option value="2">1/semaine</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity3" -->
<option value="3" selected>1/2 semaines</option>
<option value="3" selected>1/2 semaines (2/mois)</option>
<!-- TMPL_ELSE -->
<option value="3">1/2 semaines</option>
<option value="3">1/2 semaines (2/mois)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity4" -->
<option value="4" selected>1/3 semaines</option>
@ -56,24 +56,20 @@
<option value="5">1/mois</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity6" -->
<option value="6" selected>1/2 mois</option>
<option value="6" selected>1/2 mois (6/an)</option>
<!-- TMPL_ELSE -->
<option value="6">1/2 mois</option>
<option value="6">1/2 mois (6/an)</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity7" -->
<option value="7" selected>1/3 mois</option>
<option value="7" selected>1/3 mois (1/trimestre)</option>
<!-- TMPL_ELSE -->
<option value="7">1/3 mois</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity8" -->
<option value="8" selected>1/trimestre</option>
<!-- TMPL_ELSE -->
<option value="8">1/trimestre</option>
<option value="7">1/3 mois (1/trimestre)</option>
<!-- /TMPL_IF -->
<!-- periodicity8 is 1/quarter, exactly like periodicity7 -->
<!-- TMPL_IF name="periodicity9" -->
<option value="9" selected>1/2 trimestre</option>
<option value="9" selected>2/an</option>
<!-- TMPL_ELSE -->
<option value="9">1/2 trimestre</option>
<option value="9">2/an</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="periodicity10" -->
<option value="10" selected>1/an</option>
@ -173,7 +169,7 @@
</tr>
<!-- TMPL_IF name="mod" -->
<tr>
<td class="bull">La boucle est pour l'instant</td>
<td class="bull">Le compteur est actuellement</td>
<td><input type="text" name="innerloop1" value="<!-- TMPL_VAR name="innerloop1" -->"></td>
<td><input type="text" name="innerloop2" value="<!-- TMPL_VAR name="innerloop2" -->"></td>
<td><input type="text" name="innerloop3" value="<!-- TMPL_VAR name="innerloop3" -->"></td>
@ -203,7 +199,7 @@
<!-- TMPL_IF name="mod" -->
<input type="button" value="Enregister l'abonnement" onclick="Check(this.form)" accesskey="w" class="button bull">
<!-- TMPL_ELSE -->
<input type="button" value="Ajouter un abonnement" onclick="Check(this.form)" accesskey="w" class="button bull">
<input type="button" value="Ajouter abonnement" onclick="Check(this.form)" accesskey="w" class="button bull">
<!-- /TMPL_IF -->
</div>

33
koha-tmpl/intranet-tmpl/default/fr/bull/subscription-detail.tmpl

@ -2,10 +2,7 @@
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="bull">Abonnement</h1>
<a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Editer</a> <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull">Numéros</a> <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull">Notice</a>
<!-- TMPL_UNLESS name="totalissues" -->
<a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del" class="button bull">Supprimer l'abonnement</a>
<!-- /TMPL_UNLESS -->
<a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Modify subscription">Modifier</a> <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button bull" title="Recieve issues">Réceptionner</a> <a href="serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="All issues on this title">Historique des prêts</a> <a href="/cgi-bin/koha/bull-home.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="all subscriptions on <!-- TMPL_VAR name="bibliotitle" -->">Abonnements</a> <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button bull" title="go to <!-- TMPL_VAR name="bibliotitle" -->">Retour notice</a> <a href="javascript:confirm_deletion()" class="button bull">Supprimer</a>
<form method="post" name="f">
<div id="bloc25">
<h2 class="bull">Information d'abonnement</h2>
@ -13,8 +10,8 @@
<p><label>Fournisseur </label><!-- TMPL_VAR name="aqbooksellername" --></p>
<p><label>Coût</label><!-- TMPL_VAR name="cost" --></p>
<p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
<p><label class="label100">Notice bibliographique</label><!-- TMPL_VAR name="bibliotitle" --></p>
<p><label class="label100">Notes :</label><!-- TMPL_VAR name="notes" --></p>
<p><label>Notice bibliographique</label>en <i><!-- TMPL_VAR name="biblionumber" --></i> <!-- TMPL_VAR name="bibliotitle" --></p>
<p><label>Notes :</label><!-- TMPL_VAR name="notes" --></p>
</div>
<div id="bloc25">
<h2 class="bull">Calendrier</h2>
@ -36,16 +33,16 @@
1/Mois
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity6" -->
1/2 Mois
1/2 Mois (6/mois)
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity7" -->
1/3 Mois
1/trimestre
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity8" -->
1/trimestre
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity9" -->
1/2 trimestre
2/an (2/an)
<!-- /TMPL_IF -->
<!--TMPL_IF name="periodicity10" -->
1/an
@ -145,6 +142,7 @@
<th class="bull">Numéro</th>
<th class="bull">Date prévue</th>
<th class="bull">Etat</th>
<th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Note&nbsp;&nbsp;&nbsp;&nbsp;</th>
</tr>
<!-- TMPL_LOOP name="serialslist" -->
<tr>
@ -169,10 +167,25 @@
<!-- /TMPL_IF -->
</select>
</td>
<td>
<!-- TMPL_VAR name="notes" -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
<script>
function _(s) { return s } // dummy function for gettext
function confirm_deletion() {
<!-- TMPL_IF name="totalissues" -->
var is_confirmed = confirm(_('Vous avez déjà fait <!-- TMPL_VAR name="totalissues"--> bulletins. Confirmez vous la suppression cet abonnement ?'));
<!-- TMPL_ELSE -->
var is_confirmed = confirm(_('Etes vous sur de vouloir supprimer cet abonnement ?'));
<!-- /TMPL_IF -->
if (is_confirmed) {
window.location="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&op=del";
}
}
</script>
<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

4
koha-tmpl/intranet-tmpl/default/fr/bull/subscription-renew.tmpl

@ -1,9 +1,9 @@
<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
<div id="mainbloc">
<h1 class="bull">renouvellement d'adhésion pour <!-- TMPL_VAR name="bibliotitle" --></h1>
<h1 class="bull">renouvellement d'abonnement pour <!-- TMPL_VAR name="bibliotitle" --></h1>
<form name="f" method="post">
<form name="f" action="/cgi-bin/koha/bull/subscription-renew.pl" method="post">
<div id="bloc25">
<input type="hidden" name="op" value="renew">
<input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR name="subscriptionid" -->">

17
koha-tmpl/intranet-tmpl/default/fr/catalogue/ISBDdetail.tmpl

@ -2,12 +2,17 @@
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/marc-editor.css">
<div id="mainbloc">
<div id="bibliomenu">
<a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Normal </a> <a href="MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> MARC </a> <a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Ajouter à l'étagère </a> <a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Imprimer </a>
<!-- TMPL_UNLESS name="norequests" -->
<a class="button catalogue" href="/cgi-bin/koha/reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">
Réservation
</a>
<!-- /TMPL_UNLESS -->
<h1 class="catalogue">Notice MARC : <!-- TMPL_VAR NAME="bibid" --></h1>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Editer notice </a> <a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&op=duplicate" class="button catalogue"> Dupliquer </a> <a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue"> Editer exemplaires </a> <a href="javascript:confirm_deletion()" class="button catalogue"> Supprimer </a> <a href="MARCdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Complète </a> <a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Normal </a> <a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ISBD </a> <a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Ajouter dans étagère virtuelle </a> <a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Imprimer </a>
<!-- TMPL_IF name="subscriptionsnumber" -->
<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Abonnement(s)
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="norequests" -->
<!-- TMPL_ELSE -->
<a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Réservation</a>
<!-- /TMPL_IF -->
</div>
<div id="bloc100">

158
koha-tmpl/intranet-tmpl/default/fr/catalogue/MARCdetail.tmpl

@ -1,9 +1,13 @@
<!-- TMPL_INCLUDE NAME="marc-top.inc" -->
<!-- TMPL_UNLESS name="popup" -->
<div class="tabbed">
<h1 class="catalogue">Notice MARC : <!-- TMPL_VAR NAME="bibid" --></h1>
<a href="acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Editer notice </a> <a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue"> Editer exemplaires </a> <a href="javascript:confirm_deletion()" class="button catalogue"> Supprimer </a> <a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Normal </a> <a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ISBD </a> <a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Ajouter dans étagère virtuelle </a> <a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Imprimer </a>
<form Name="f">
<h1 class="catalogue">Notice N°<!-- TMPL_VAR NAME="biblionumber" --> <b> grille <!--TMPL_VAR Name="framework" --></b>
</h1>
</form>
<a href="javascript:Addbiblio('')" class="button catalogue"> Editer notice </a> <a href="javascript:Addbiblio('duplicate')" class="button catalogue"> Dupliquer </a> <a href="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->" class="button catalogue"> Editer exemplaires </a> <a href="javascript:confirm_deletion()" class="button catalogue"> Supprimer </a> <a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Complète </a> <a href="detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> Normal </a> <a href="ISBDdetail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue"> ISBD </a> <a href="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Ajouter dans étagère virtuelle </a> <a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue"> Imprimer </a>
<!-- TMPL_IF name="subscriptionsnumber" -->
<a href="bull-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">
Abonnement(s)
@ -13,6 +17,8 @@
<!-- TMPL_ELSE -->
<a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Réservation</a>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_UNLESS -->
<div class="tabs">
@ -60,17 +66,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -90,17 +94,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -120,17 +122,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -150,17 +150,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -180,17 +178,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -210,17 +206,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -240,17 +234,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -270,17 +262,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -300,17 +290,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -330,17 +318,15 @@
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><!-- TMPL_VAR NAME="marc_subfield" --><!-- /TMPL_UNLESS -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<!-- TMPL_ELSE -->
<a href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="marc_tag" --><!-- TMPL_VAR NAME="marc_subfield" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE=URL -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title='Autorité numéro <!-- TMPL_VAR name="authid" -->'>
</a>
<!-- /TMPL_IF -->
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" alt="Rechercher à partir des valeurs de ces champs">
</a>
<!-- TMPL_VAR NAME="marc_subfield" -->
<!-- TMPL_VAR NAME="marc_lib" --></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF NAME="authority" -->
<a href="authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button catalogue">Autorité</a>
<!-- /TMPL_IF -->
@ -390,6 +376,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['f'].Frameworks.options[document.forms['f'].Frameworks.selectedIndex].value;
window.location = "acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode="+fwk+"&op="+op;
}
</script>
</body>
</html>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save