sub GetISBDView {
my ( $biblionumber, $template ) = @_;
my $record = GetMarcBiblio($biblionumber, 1);
+ return undef unless defined $record;
my $itemtype = &GetFrameworkCode($biblionumber);
my ( $holdingbrtagf, $holdingbrtagsubf ) = &GetMarcFromKohaField( "items.holdingbranch", $itemtype );
my $tagslib = &GetMarcStructure( 1, $itemtype );
( $pages{$type} ) or $type = 'opac';
$query or die "No query";
$template or die "No template";
- $template->param( { loggedinuser => $loggedinuser } );
+ $template->param( loggedinuser => $loggedinuser );
my $edit;
my $shelves;
my @paramsloop;
$stay = 0;
}
$showadd = 1;
- $stay and $template->param( shelves => 1 ) and $shelves = 1;
+ if ($stay){
+ $template->param( shelves => 1 );
+ $shelves = 1;
+ }
last SWITCH;
}
}
}
( scalar keys %qhash ) and $url .= '?' . join '&', map { "$_=$qhash{$_}" } keys %qhash;
if ( $shelfnumber ) {
- $template->param( { pagination_bar => pagination_bar( $url, ( int( $totitems / $shelflimit ) ) + ( ( $totitems % $shelflimit ) > 0 ? 1 : 0 ), $itemoff, "itemoff" ) } );
+ $template->param( pagination_bar => pagination_bar( $url, ( int( $totitems / $shelflimit ) ) + ( ( $totitems % $shelflimit ) > 0 ? 1 : 0 ), $itemoff, "itemoff" ) );
} else {
$template->param(
- { pagination_bar => pagination_bar( $url, ( int( $totshelves / $shelveslimit ) ) + ( ( $totshelves % $shelveslimit ) > 0 ? 1 : 0 ), $shelfoff, "shelfoff" ) } );
+ pagination_bar => pagination_bar( $url, ( int( $totshelves / $shelveslimit ) ) + ( ( $totshelves % $shelveslimit ) > 0 ? 1 : 0 ), $shelfoff, "shelfoff" ) );
}
$template->param(
shelveslooppriv => \@shelveslooppriv,
$show_mine = $input->param('show_mine') if $show == 1;
# IF USER DOESNT HAVE PERM FOR AN 'ADD', THEN REDIRECT TO THE DEFAULT VIEW...
-if ( not defined $template->{param_map}->{'CAN_user_acquisition_budget_add_del'} && $op == 'add_form' ) {
+if ( not defined $template->{VARS}->{'CAN_user_acquisition_budget_add_del'} && $op == 'add_form' ) {
$op = '';
}
-
my $num=FormatNumber;
my $script_name = "/cgi-bin/koha/admin/aqbudgets.pl";
# Used to create form to add or modify a record
if ($op eq 'add_form') {
#### ------------------- ADD_FORM -------------------------
-
# if no buget_id is passed then its an add
# pass the period_id to build the dropbox - because we only want to show budgets from this period
my $dropbox_disabled;
my $authid = $query->param('authid');
-
-
# Using default authtypecode, so all fields are seen
my $authtypecode = '';
$tagslib = &GetTagsLabels(1,$authtypecode);
-my $record;
+# Build list of authtypes for showing them
+my $authtypes = getauthtypes;
+my @authtypesloop;
+
+foreach my $thisauthtype (sort { $authtypes->{$b} cmp $authtypes->{$a} } keys %$authtypes) {
+ my %row =(value => $thisauthtype,
+ selected => $thisauthtype eq $authtypecode,
+ authtypetext => $authtypes->{$thisauthtype}{'authtypetext'},
+ );
+ push @authtypesloop, \%row;
+}
+
+my $record=GetAuthority($authid);
+
+if (not defined $record) {
+ # authid invalid
+ $template->param ( errauthid => $authid,
+ unknownauthid => 1,
+ authtypesloop => \@authtypesloop );
+ output_html_with_http_headers $query, $cookie, $template->output;
+ exit;
+}
+
if (C4::Context->preference("AuthDisplayHierarchy")){
my $trees=BuildUnimarcHierarchies($authid);
my @trees = split /;/,$trees ;
'displayhierarchy' =>C4::Context->preference("AuthDisplayHierarchy"),
'loophierarchies' =>\@loophierarchies,
);
-} else {
- $record=GetAuthority($authid);
}
+
my $count = CountUsage($authid);
# find the marc field/subfield used in biblio by this authority
}
chop $biblio_fields;
-
-# fill arrays
-my @loop_data =();
-my $tag;
-# loop through each tab 0 through 9
-# for (my $tabloop = 0; $tabloop<=10;$tabloop++) {
-# loop through each tag
- build_tabs ($template, $record, $dbh,"",$query);
-
-my $authtypes = getauthtypes;
-my @authtypesloop;
-foreach my $thisauthtype (sort { $authtypes->{$b} cmp $authtypes->{$a} } keys %$authtypes) {
- my %row =(value => $thisauthtype,
- selected => $thisauthtype eq $authtypecode,
- authtypetext => $authtypes->{$thisauthtype}{'authtypetext'},
- );
- push @authtypesloop, \%row;
-}
+build_tabs ($template, $record, $dbh,"",$query);
$template->param(authid => $authid,
count => $count,
}
);
+my $res = GetISBDView($biblionumber, "intranet");
+if ( not defined $res ) {
+ # biblionumber invalid -> report and exit
+ $template->param( unknownbiblionumber => 1,
+ biblionumber => $biblionumber
+ );
+ output_html_with_http_headers $query, $cookie, $template->output;
+ exit;
+}
+
if($query->cookie("holdfor")){
my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
$template->param(
);
}
-# my @blocs = split /\@/,$ISBD;
-# my @fields = $record->fields();
-my $res = GetISBDView($biblionumber, "intranet");
-
# count of item linked with biblio
my $itemcount = GetItemsCount($biblionumber);
$template->param( count => $itemcount);
$template->param (
ISBD => $res,
biblionumber => $biblionumber,
- isbdview => 1,
- z3950_search_params => C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
- C4::Search::enabled_staff_search_views,
+ isbdview => 1,
+ z3950_search_params => C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
+ C4::Search::enabled_staff_search_views
);
output_html_with_http_headers $query, $cookie, $template->output;
; # if set to 1, then don't insert links, it's just to show the biblio
my $subscriptionid = $query->param('subscriptionid');
-my $tagslib = &GetMarcStructure(1,$frameworkcode);
-
-my $record = GetMarcBiblio($biblionumber);
-my $biblio = GetBiblioData($biblionumber);
# open template
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
}
);
+my $record = GetMarcBiblio($biblionumber);
+
+if ( not defined $record ) {
+ # biblionumber invalid -> report and exit
+ $template->param( unknownbiblionumber => 1,
+ biblionumber => $biblionumber
+ );
+ output_html_with_http_headers $query, $cookie, $template->output;
+ exit;
+}
+
+my $tagslib = &GetMarcStructure(1,$frameworkcode);
+my $biblio = GetBiblioData($biblionumber);
+
if($query->cookie("holdfor")){
my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
$template->param(
}
);
+my $biblionumber = $query->param('biblionumber');
+my $record = GetMarcBiblio($biblionumber);
+
+if ( not defined $record ) {
+ # biblionumber invalid -> report and exit
+ $template->param( unknownbiblionumber => 1,
+ biblionumber => $biblionumber );
+ output_html_with_http_headers $query, $cookie, $template->output;
+ exit;
+}
+
if($query->cookie("holdfor")){
my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
$template->param(
);
}
-my $biblionumber = $query->param('biblionumber');
-my $fw = GetFrameworkCode($biblionumber);
-
+my $fw = GetFrameworkCode($biblionumber);
my $showallitems = $query->param('showallitems');
-
-## get notes and subjects from MARC record
-my $marcflavour = C4::Context->preference("marcflavour");
-my $record = GetMarcBiblio($biblionumber);
+my $marcflavour = C4::Context->preference("marcflavour");
# XSLT processing of some stuff
if (C4::Context->preference("XSLTDetailsDisplay") ) {
normalized_isbn => $isbn,
);
-unless (defined($record)) {
- print $query->redirect("/cgi-bin/koha/errors/404.pl");
- exit;
-}
-
my $marcnotesarray = GetMarcNotes( $record, $marcflavour );
my $marcisbnsarray = GetMarcISBN( $record, $marcflavour );
my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
$query->param('popup')
; # if set to 1, then don't insert links, it's just to show the biblio
-my $tagslib = GetMarcStructure(1,$frameworkcode);
-my $record = GetMarcBiblio($biblionumber);
-my $biblio = GetBiblioData($biblionumber);
# open template
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
}
);
+my $record = GetMarcBiblio($biblionumber);
+if ( not defined $record ) {
+ # biblionumber invalid -> report and exit
+ $template->param( unknownbiblionumber => 1,
+ biblionumber => $biblionumber
+ );
+ output_html_with_http_headers $query, $cookie, $template->output;
+ exit;
+}
+
+my $tagslib = GetMarcStructure(1,$frameworkcode);
+my $biblio = GetBiblioData($biblionumber);
+
if($query->cookie("holdfor")){
my $holdfor_patron = GetMember('borrowernumber' => $query->cookie("holdfor"));
$template->param(
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('intranetbookbag','1','Si ce paramètre est activé, les adhérents peuvent créer des paniers à l''interface professionnelle','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacBrowser', '1', 'Active ou non le feuilletage du catalogue à l''OPAC (nécessite de lancer misc/cronjobs/build_browser_and_cloud.pl sur le serveur)', '', 'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacCloud', '1', 'Active ou non l''affichage des nuages de tag à l''OPAC (nécessite de lancer misc/cronjobs/build_browser_and_cloud.pl sur le serveur)', '', 'YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet', '', 'Définit une feuille de style auxiliaire pour l'OPAC qui prend le pas sur la feuille de style primaire. Entrez le nom du fichier (si le fichier est sur le serveur) ou une URL commencant par http (si le fichier est sur un serveur distant).', '', 'free');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet', '', 'Définit une feuille de style auxiliaire pour l\'OPAC qui prend le pas sur la feuille de style primaire. Entrez le nom du fichier (si le fichier est sur le serveur) ou une URL commencant par http (si le fichier est sur un serveur distant).', '', 'free');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccredits', '', 'Ce paramètre contient du code HTML, qui apparaît en bas de la page d''accueil de l''OPAC. C''est un "pied de page" de la page d''accueil', '70|10', '');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclanguages', 'fr-FR', 'Ce paramètre définit la langue par défaut de l''OPAC, ainsi que la langue de l''interface professionnelle', '', 'Languages');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclanguagesdisplay', '1', 'Si ce paramètre est activé, les adhérents peuvent modifier la langue d''affichage de l''OPAC. Sinon, ils sont limités à la langue choisie par la bibliothèque', '', 'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','Lors d''un prêt, les retards doivent-ils être bloquant, demander confirmation ou ne pas entraver la circulation','noblock|confirmation|block','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Affiche la possibilité de placer des réservations multiples ou non','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ISBD','#100||{ 100a }{ 100b }{ 100c }{ 100d }{ 110a }{ 110b }{ 110c }{ 110d }{ 110e }{ 110f }{ 110g }{ 130a }{ 130d }{ 130f }{ 130g }{ 130h }{ 130k }{ 130l }{ 130m }{ 130n }{ 130o }{ 130p }{ 130r }{ 130s }{ 130t }|<br/><br/>\r\n#245||{ 245a }{ 245b }{245f }{ 245g }{ 245k }{ 245n }{ 245p }{ 245s }{ 245h }|\r\n#246||{ : 246i }{ 246a }{ 246b }{ 246f }{ 246g }{ 246n }{ 246p }{ 246h }|\r\n#242||{ = 242a }{ 242b }{ 242n }{ 242p }{ 242h }|\r\n#245||{ 245c }|\r\n#242||{ = 242c }|\r\n#250| - |{ 250a }{ 250b }|\r\n#254|, |{ 254a }|\r\n#255|, |{ 255a }{ 255b }{ 255c }{ 255d }{ 255e }{ 255f }{ 255g }|\r\n#256|, |{ 256a }|\r\n#257|, |{ 257a }|\r\n#258|, |{ 258a }{ 258b }|\r\n#260| - |{ 260a }{ 260b }{ 260c }|\r\n#300| - |{ 300a }{ 300b }{ 300c }{ 300d }{ 300e }{ 300f }{ 300g }|\r\n#306| - |{ 306a }|\r\n#307| - |{ 307a }{ 307b }|\r\n#310| - |{ 310a }{ 310b }|\r\n#321| - |{ 321a }{ 321b }|\r\n#340| - |{ 3403 }{ 340a }{ 340b }{ 340c }{ 340d }{ 340e }{ 340f }{ 340h }{ 340i }|\r\n#342| - |{ 342a }{ 342b }{ 342c }{ 342d }{ 342e }{ 342f }{ 342g }{ 342h }{ 342i }{ 342j }{ 342k }{ 342l }{ 342m }{ 342n }{ 342o }{ 342p }{ 342q }{ 342r }{ 342s }{ 342t }{ 342u }{ 342v }{ 342w }|\r\n#343| - |{ 343a }{ 343b }{ 343c }{ 343d }{ 343e }{ 343f }{ 343g }{ 343h }{ 343i }|\r\n#351| - |{ 3513 }{ 351a }{ 351b }{ 351c }|\r\n#352| - |{ 352a }{ 352b }{ 352c }{ 352d }{ 352e }{ 352f }{ 352g }{ 352i }{ 352q }|\r\n#362| - |{ 362a }{ 351z }|\r\n#440| - |{ 440a }{ 440n }{ 440p }{ 440v }{ 440x }|.\r\n#490| - |{ 490a }{ 490v }{ 490x }|.\r\n#800| - |{ 800a }{ 800b }{ 800c }{ 800d }{ 800e }{ 800f }{ 800g }{ 800h }{ 800j }{ 800k }{ 800l }{ 800m }{ 800n }{ 800o }{ 800p }{ 800q }{ 800r }{ 800s }{ 800t }{ 800u }{ 800v }|.\r\n#810| - |{ 810a }{ 810b }{ 810c }{ 810d }{ 810e }{ 810f }{ 810g }{ 810h }{ 810k }{ 810l }{ 810m }{ 810n }{ 810o }{ 810p }{ 810r }{ 810s }{ 810t }{ 810u }{ 810v }|.\r\n#811| - |{ 811a }{ 811c }{ 811d }{ 811e }{ 811f }{ 811g }{ 811h }{ 811k }{ 811l }{ 811n }{ 811p }{ 811q }{ 811s }{ 811t }{ 811u }{ 811v }|.\r\n#830| - |{ 830a }{ 830d }{ 830f }{ 830g }{ 830h }{ 830k }{ 830l }{ 830m }{ 830n }{ 830o }{ 830p }{ 830r }{ 830s }{ 830t }{ 830v }|.\r\n#500|<br/><br/>|{ 5003 }{ 500a }|\r\n#501|<br/><br/>|{ 501a }|\r\n#502|<br/><br/>|{ 502a }|\r\n#504|<br/><br/>|{ 504a }|\r\n#505|<br/><br/>|{ 505a }{ 505t }{ 505r }{ 505g }{ 505u }|\r\n#506|<br/><br/>|{ 5063 }{ 506a }{ 506b }{ 506c }{ 506d }{ 506u }|\r\n#507|<br/><br/>|{ 507a }{ 507b }|\r\n#508|<br/><br/>|{ 508a }{ 508a }|\r\n#510|<br/><br/>|{ 5103 }{ 510a }{ 510x }{ 510c }{ 510b }|\r\n#511|<br/><br/>|{ 511a }|\r\n#513|<br/><br/>|{ 513a }{513b }|\r\n#514|<br/><br/>|{ 514z }{ 514a }{ 514b }{ 514c }{ 514d }{ 514e }{ 514f }{ 514g }{ 514h }{ 514i }{ 514j }{ 514k }{ 514m }{ 514u }|\r\n#515|<br/><br/>|{ 515a }|\r\n#516|<br/><br/>|{ 516a }|\r\n#518|<br/><br/>|{ 5183 }{ 518a }|\r\n#520|<br/><br/>|{ 5203 }{ 520a }{ 520b }{ 520u }|\r\n#521|<br/><br/>|{ 5213 }{ 521a }{ 521b }|\r\n#522|<br/><br/>|{ 522a }|\r\n#524|<br/><br/>|{ 524a }|\r\n#525|<br/><br/>|{ 525a }|\r\n#526|<br/><br/>|{\\n510i }{\\n510a }{ 510b }{ 510c }{ 510d }{\\n510x }|\r\n#530|<br/><br/>|{\\n5063 }{\\n506a }{ 506b }{ 506c }{ 506d }{\\n506u }|\r\n#533|<br/><br/>|{\\n5333 }{\\n533a }{\\n533b }{\\n533c }{\\n533d }{\\n533e }{\\n533f }{\\n533m }{\\n533n }|\r\n#534|<br/><br/>|{\\n533p }{\\n533a }{\\n533b }{\\n533c }{\\n533d }{\\n533e }{\\n533f }{\\n533m }{\\n533n }{\\n533t }{\\n533x }{\\n533z }|\r\n#535|<br/><br/>|{\\n5353 }{\\n535a }{\\n535b }{\\n535c }{\\n535d }|\r\n#538|<br/><br/>|{\\n5383 }{\\n538a }{\\n538i }{\\n538u }|\r\n#540|<br/><br/>|{\\n5403 }{\\n540a }{ 540b }{ 540c }{ 540d }{\\n520u }|\r\n#544|<br/><br/>|{\\n5443 }{\\n544a }{\\n544b }{\\n544c }{\\n544d }{\\n544e }{\\n544n }|\r\n#545|<br/><br/>|{\\n545a }{ 545b }{\\n545u }|\r\n#546|<br/><br/>|{\\n5463 }{\\n546a }{ 546b }|\r\n#547|<br/><br/>|{\\n547a }|\r\n#550|<br/><br/>|{ 550a }|\r\n#552|<br/><br/>|{ 552z }{ 552a }{ 552b }{ 552c }{ 552d }{ 552e }{ 552f }{ 552g }{ 552h }{ 552i }{ 552j }{ 552k }{ 552l }{ 552m }{ 552n }{ 562o }{ 552p }{ 552u }|\r\n#555|<br/><br/>|{ 5553 }{ 555a }{ 555b }{ 555c }{ 555d }{ 555u }|\r\n#556|<br/><br/>|{ 556a }{ 506z }|\r\n#563|<br/><br/>|{ 5633 }{ 563a }{ 563u }|\r\n#565|<br/><br/>|{ 5653 }{ 565a }{ 565b }{ 565c }{ 565d }{ 565e }|\r\n#567|<br/><br/>|{ 567a }|\r\n#580|<br/><br/>|{ 580a }|\r\n#581|<br/><br/>|{ 5633 }{ 581a }{ 581z }|\r\n#584|<br/><br/>|{ 5843 }{ 584a }{ 584b }|\r\n#585|<br/><br/>|{ 5853 }{ 585a }|\r\n#586|<br/><br/>|{ 5863 }{ 586a }|\r\n#020|<br/><br/><label>ISBN: </label>|{ 020a }{ 020c }|\r\n#022|<br/><br/><label>ISSN: </label>|{ 022a }|\r\n#222| = |{ 222a }{ 222b }|\r\n#210| = |{ 210a }{ 210b }|\r\n#024|<br/><br/><label>Standard No.: </label>|{ 024a }{ 024c }{ 024d }{ 0242 }|\r\n#027|<br/><br/><label>Standard Tech. Report. No.: </label>|{ 027a }|\r\n#028|<br/><br/><label>Publisher. No.: </label>|{ 028a }{ 028b }|\r\n#013|<br/><br/><label>Patent No.: </label>|{ 013a }{ 013b }{ 013c }{ 013d }{ 013e }{ 013f }|\r\n#030|<br/><br/><label>CODEN: </label>|{ 030a }|\r\n#037|<br/><br/><label>Source: </label>|{ 037a }{ 037b }{ 037c }{ 037f }{ 037g }{ 037n }|\r\n#010|<br/><br/><label>LCCN: </label>|{ 010a }|\r\n#015|<br/><br/><label>Nat. Bib. No.: </label>|{ 015a }{ 0152 }|\r\n#016|<br/><br/><label>Nat. Bib. Agency Control No.: </label>|{ 016a }{ 0162 }|\r\n#600|<br/><br/><label>Subjects--Personal Names: </label>|{\\n6003 }{\\n600a}{ 600b }{ 600c }{ 600d }{ 600e }{ 600f }{ 600g }{ 600h }{--600k}{ 600l }{ 600m }{ 600n }{ 600o }{--600p}{ 600r }{ 600s }{ 600t }{ 600u }{--600x}{--600z}{--600y}{--600v}|\r\n#610|<br/><br/><label>Subjects--Corporate Names: </label>|{\\n6103 }{\\n610a}{ 610b }{ 610c }{ 610d }{ 610e }{ 610f }{ 610g }{ 610h }{--610k}{ 610l }{ 610m }{ 610n }{ 610o }{--610p}{ 610r }{ 610s }{ 610t }{ 610u }{--610x}{--610z}{--610y}{--610v}|\r\n#611|<br/><br/><label>Subjects--Meeting Names: </label>|{\\n6113 }{\\n611a}{ 611b }{ 611c }{ 611d }{ 611e }{ 611f }{ 611g }{ 611h }{--611k}{ 611l }{ 611m }{ 611n }{ 611o }{--611p}{ 611r }{ 611s }{ 611t }{ 611u }{--611x}{--611z}{--611y}{--611v}|\r\n#630|<br/><br/><label>Subjects--Uniform Titles: </label>|{\\n630a}{ 630b }{ 630c }{ 630d }{ 630e }{ 630f }{ 630g }{ 630h }{--630k }{ 630l }{ 630m }{ 630n }{ 630o }{--630p}{ 630r }{ 630s }{ 630t }{--630x}{--630z}{--630y}{--630v}|\r\n#648|<br/><br/><label>Subjects--Chronological Terms: </label>|{\\n6483 }{\\n648a }{--648x}{--648z}{--648y}{--648v}|\r\n#650|<br/><br/><label>Subjects--Topical Terms: </label>|{\\n6503 }{\\n650a}{ 650b }{ 650c }{ 650d }{ 650e }{--650x}{--650z}{--650y}{--650v}|\r\n#651|<br/><br/><label>Subjects--Geographic Terms: </label>|{\\n6513 }{\\n651a}{ 651b }{ 651c }{ 651d }{ 651e }{--651x}{--651z}{--651y}{--651v}|\r\n#653|<br/><br/><label>Subjects--Index Terms: </label>|{ 653a }|\r\n#654|<br/><br/><label>Subjects--Facted Index Terms: </label>|{\\n6543 }{\\n654a}{--654b}{--654x}{--654z}{--654y}{--654v}|\r\n#655|<br/><br/><label>Index Terms--Genre/Form: </label>|{\\n6553 }{\\n655a}{--655b}{--655x }{--655z}{--655y}{--655v}|\r\n#656|<br/><br/><label>Index Terms--Occupation: </label>|{\\n6563 }{\\n656a}{--656k}{--656x}{--656z}{--656y}{--656v}|\r\n#657|<br/><br/><label>Index Terms--Function: </label>|{\\n6573 }{\\n657a}{--657x}{--657z}{--657y}{--657v}|\r\n#658|<br/><br/><label>Index Terms--Curriculum Objective: </label>|{\\n658a}{--658b}{--658c}{--658d}{--658v}|\r\n#050|<br/><br/><label>LC Class. No.: </label>|{ 050a }{ / 050b }|\r\n#082|<br/><br/><label>Dewey Class. No.: </label>|{ 082a }{ / 082b }|\r\n#080|<br/><br/><label>Universal Decimal Class. No.: </label>|{ 080a }{ 080x }{ / 080b }|\r\n#070|<br/><br/><label>National Agricultural Library Call No.: </label>|{ 070a }{ / 070b }|\r\n#060|<br/><br/><label>National Library of Medicine Call No.: </label>|{ 060a }{ / 060b }|\r\n#074|<br/><br/><label>GPO Item No.: </label>|{ 074a }|\r\n#086|<br/><br/><label>Gov. Doc. Class. No.: </label>|{ 086a }|\r\n#088|<br/><br/><label>Report. No.: </label>|{ 088a }|','ISBD','70|10','Textarea');
-INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES('viewISBD','1','Permet la vue ISBD pour les notices bibliographiques.','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BiblioDefaultView','normal','Choix de la vue par défaut dans le catalogue OPAC, normale, marc ou isbd','normal|marc|isbd','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView','normal','Choix de la vue par défaut d''une notice détaillée à l''intranet : normal, labeled_marc, marc or isbd','normal|marc|isbd|labeled_marc','Choice');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('IntranetUserCSS','','Add CSS to be included in the intranet in an embedded <style> tag.',NULL,'free');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReturnLog',1,'If ON, enables the circulation (returns) log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('reviewson',1,'If ON, enables patron reviews of bibliographic records in the OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ShowReviewer',1,'If ON, name of reviewer will be shown above comments in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SpecifyDueDate',1,'Define whether to display \"Specify Due Date\" form in Circulation','','YesNo');
-INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory',';','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
+INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionHistory','simplified','Define the display preference for serials issue history in OPAC','simplified|full','Choice');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SubscriptionLog',1,'If ON, enables subscriptions log',NULL,'YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('suggestion',1,'If ON, enables patron suggestions feature in OPAC','','YesNo');
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('template','prog','Define the preferred staff interface template','','Themes');
// This may be locale-dependent. It specifies the week-end days, as an array
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
// means Monday, etc.
-Calendar._TT["WEEKEND"] = "0comma6";
+Calendar._TT["WEEKEND"] = "0,6";
Calendar._TT["CLOSE"] = _("Close");
Calendar._TT["TODAY"] = _("Today");
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
<!-- Row of numbers corresponding to search result pages -->
[% IF ( previous_page_offset ) %]<a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]"><< Previous</a>[% END %]
- [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %] <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% PAGE_NUMBER.query_cgi |html %][% PAGE_NUMBER.limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( PAGE_NUMBER.sort_by ) %]&sort_by=[% PAGE_NUMBER.sort_by %][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
+ [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %] <a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
[% END %]
[% IF ( next_page_offset ) %]<a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]">Next >></a>[% END %]
</div>[% END %]
// modify parent window owner element
function returnOwner(ownerId, ownerName){
var top1 = top.opener;
- top1.document.getElementById('budget_owner_name').innerhtml = ownerName;
+ top1.document.getElementById('budget_owner_name').innerHTML = ownerName;
top1.document.getElementById('budget_owner_id').value = ownerId;
window.close();
}
var actTotal ="";
function ownerRemove(f) {
- document.getElementById('budget_owner_name').innerhtml = '';
+ document.getElementById('budget_owner_name').innerHTML = '';
}
function Check(f) {
<!-- ********************************************************************************************** -->
<!-- create add/mod entry form -->
[% IF ( add_form ) %]
-
<form action="/cgi-bin/koha/admin/aqbudgets.pl" name="Aform" method="post">
<fieldset class="rows">
<legend>[% IF ( budget_id ) %]Modify[% ELSE %]Add[% END %] Fund
var arr = document.getElementsByName('est_total')
for ( var i=0, len=arr.length; i<len; ++i ){
- var tot = arr[i].innerhtml;
+ var tot = arr[i].innerHTML;
if (tot == 'NaN') {
_alertString += "\n- " + _("One or more cell values is non-numeric");
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Authorities › Details for Authority #[% authid %] ([% authtypetext %])</title>
+<title>Koha › Authorities ›
+ [% IF ( unknownauthid ) %]
+ Unknown authority record
+ [% ELSE %]
+ Details for Authority #[% authid %] ([% authtypetext %])
+ [% END %]
+</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
<body>
[% INCLUDE 'header.inc' %]
[% INCLUDE 'authorities-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › Details for Authority #[% authid %] ([% authtypetext %]) </div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> ›
+ [% IF ( unknownauthid ) %]
+ Unknown authority record
+ [% ELSE %]
+ Details for Authority #[% authid %] ([% authtypetext %])
+ [% END %]
+</div>
<div id="doc" class="yui-t7">
</div>
[% END %]
+
+[% IF ( unknownauthid ) %]
+ <div class="dialog message">The authority record you requested does not exist ([% errauthid %]).</div>
+[% ELSE %]
<h1>Authority #[% authid %] ([% authtypetext %])</h1>
<div id="action">
</div>
</div>
</div>
+[% END %]
</div>
[% INCLUDE 'intranet-bottom.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Catalog › ISBD Details for [% title %]</title>
+<title>Koha › Catalog ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ ISBD Details for [% title %]
+ [% END %]
+</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body>
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › ISBD Details for <i>[% biblionumber %]</i></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ ISBD Details for <i>[% biblionumber %]</i>
+ [% END %]
+</div>
<div id="doc3" class="yui-t2">
-
+
+[% IF ( unknownbiblionumber ) %]
+ <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
+[% ELSE %]
<div id="bd">
- <div id="yui-main">
+ <div id="yui-main">
<div class="yui-b">
-[% INCLUDE 'cat-toolbar.inc' %]
+ [% INCLUDE 'cat-toolbar.inc' %]
- <div id="catalogue_ISBDdetail">
- [% ISBD %]
+ <div id="catalogue_ISBDdetail">
+ [% ISBD %]
+ </div>
</div>
-
-
-</div>
-</div>
-<div class="yui-b">
-[% INCLUDE 'biblio-view-menu.inc' %]
-</div>
+ </div>
+ <div class="yui-b">
+ [% INCLUDE 'biblio-view-menu.inc' %]
+ </div>
+ </div>
+[% END %]
</div>
[% INCLUDE 'intranet-bottom.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Catalog › MARC Details for [% bibliotitle %]</title>
+<title>Koha › Catalog ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ MARC Details for [% bibliotitle %]
+ [% END %]
+</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
//<![CDATA[
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › MARC Details for <i>[% bibliotitle |html %]</i></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ MARC Details for <i>[% bibliotitle |html %]</i>
+ [% END %]
+</div>
<div id="doc3" class="yui-t2">
+[% IF ( unknownbiblionumber ) %]
+ <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
+[% ELSE %]
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div class="yui-b">
[% INCLUDE 'biblio-view-menu.inc' %]
</div>
+[% END %]
</div>
[% INCLUDE 'intranet-bottom.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Catalog › Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
+<title>Koha › Catalog ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]
+ [% END %]
+</title>
[% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript" language="JavaScript">
//<![CDATA[
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
+ [% END %]
+</div>
<div id="doc3" class="yui-t2">
-
+
+[% IF ( unknownbiblionumber ) %]
+ <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
+[% ELSE %]
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div class="yui-b">
[% INCLUDE 'biblio-view-menu.inc' %]
</div>
+[% END %]
</div>
[% INCLUDE 'intranet-bottom.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
- <title>Koha › Catalog › Labeled MARC Details for [% bibliotitle %]</title>
+<title>Koha › Catalog ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ Labeled MARC Details for [% bibliotitle %]
+ [% END %]
+</title>
[% INCLUDE 'doc-head-close.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
- › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
- › MARC Details for <i>[% bibliotitle %]</i>
+ › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
+ [% IF ( unknownbiblionumber ) %]
+ Unknown record
+ [% ELSE %]
+ MARC Details for <i>[% bibliotitle %]</i>
+ [% END %]
</div>
<div id="doc3" class="yui-t2">
+
+ [% IF ( unknownbiblionumber ) %]
+ <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
+ [% ELSE %]
+
<div id="bd">
<div id="yui-main">
<div class="yui-b">
[% INCLUDE 'biblio-view-menu.inc' %]
</div>
+ [% END %]
</div>
[% INCLUDE 'intranet-bottom.inc' %]
var divOutput=document.getElementById("choices");
switch(typ){
case "a":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>a- Map</td> \
</table>';
break;
case "c":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>c- Electronic Resource</td> \
</table>';
break;
case "d":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>d- Globe</td> \
</table>';
break;
case "f":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>f- Tactile Material</td> \
</table>';
break;
case "g":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>g- Projected graphic</td> \
</table>';
break;
case "h":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>h- Microform</td> \
</table>';
break;
case "k":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>k- Nonprojected graphic</td> \
</table>';
break;
case "m":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>m- Motion Picture</td> \
</table>';
break;
case "o":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>o- Kit</td> \
</table>';
break;
case "q":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>q- Notated music</td> \
</table>';
break;
case "r":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>r- Remote-sensing image</td> \
</table>';
break;
case "s":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>s- Sound recording</td> \
</table>';
break;
case "t":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>t- Text</td> \
</table>';
break;
case "v":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>v- Videorecording</td> \
</table>';
break;
case "z":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Category of material</td> \
<td>z- Unspecified</td> \
</table>';
break;
default:
- divOutput.innerhtml="baz";
+ divOutput.innerHTML="baz";
}
}
//]]>
var divOutput=document.getElementById("choices");
switch(typ){
case "a":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>a Kartografisk materiale (unntatt globus)</td> \
</table>';
break;
case "c":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>c Maskinlesbar fil</td> \
</table>';
break;
case "d":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>d Globus</td> \
</table>';
break;
case "g":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Spesielle materialbetegnelser</td> \
<td>g- Grafisk materiale som er tenkt projisert eller gjennomlyst</td> \
</table>';
break;
case "h":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>h Mikroform</td> \
</table>';
break;
case "k":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>k Grafisk materiale som er ugjenomtrengelig for lys</td> \
</table>';
break;
case "m":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>m Film</td> \
</table>';
break;
case "s":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>s Lydopptak</td> \
</table>';
break;
case "u":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>s Tredimensjonal gjenstand</td> \
</table>';
break;
case "v":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>00 Type materiale</td> \
<td>v Videoopptak</td> \
</table>';
break;
default:
- divOutput.innerhtml="baz";
+ divOutput.innerHTML="baz";
}
}
//]]>
var divOutput=document.getElementById("choices");
switch(typ){
case "mon":
- divOutput.innerhtml='<table><tr> \
+ divOutput.innerHTML='<table><tr> \
<td>18 Illustrasjoner</td> \
<td> \
<select name="f18" id="f18" size="1"> \
</table>';
break;
case "per":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>18 Periodisitet</td> \
<td> \
</table>';
break;
case "fil":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>18-21 Udefinert</td> \
<td> \
</table>';
break;
case "mus":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>18-19 Udefinert</td> \
<td> \
</table>';
break;
case "fv":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>18-20 Spilletid for filmer og videogrammer</td> \
<td> \
</table>';
break;
case "kar":
- divOutput.innerhtml='<table> \
+ divOutput.innerHTML='<table> \
<tr> \
<td>18 Relieff</td> \
<td> \
</table>';
break;
default:
- divOutput.innerhtml="baz";
+ divOutput.innerHTML="baz";
}
}
<ol class="radio">
[% FOREACH flagloo IN flagloop %]
<li><label class="radio" for="yes[% flagloo.name %]">
- [% IF ( key == 'gonenoaddress' ) %]Gone no Address:[% END %]
- [% IF ( key == 'debarred' ) %]Debarred:[% END %]
- [% IF ( key == 'lost' ) %]Lost Card:[% END %]
+ [% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no Address:[% END %]
+ [% IF ( flagloo.key == 'debarred' ) %]Debarred:[% END %]
+ [% IF ( flagloo.key == 'lost' ) %]Lost Card:[% END %]
</label>
<label for="yes[% flagloo.name %]">Yes </label>
[% IF ( flagloo.yes ) %]
}
function reset_pattern() {
document.getElementById("numberpattern").value = '';
- document.getElementById("irregularity").innerhtml = '';
+ document.getElementById("irregularity").innerHTML = '';
init_pattern();
reset_num_pattern();
}
break;
case "7":
display_table(1);
- document.getElementById("more_options").innerhtml = '';
+ document.getElementById("more_options").innerHTML = '';
document.f.irreg_check.value=1;
break;
case "8": // Year/Number
var periodicity = document.f.periodicity.value;
var errortext='';
if(periodicity == 1){ // i.e. daily
- document.getElementById("irregularity").innerhtml = '';
+ document.getElementById("irregularity").innerHTML = '';
errortext =_("Please indicate which days of the week you DO NOT expect to receive issues.")+"<br \/>";
for(var j=0;j<irregular_issues.daynames.length;j++){
errortext +="<input type='checkbox' name='irregular' id='irregular"+(j+1)+"' value='"+(j+1)+"' />"+irregular_issues.daynames[j]+" ";
}
var error = errortext;
moreoptions(x);
- document.getElementById("irregularity").innerhtml = error;
+ document.getElementById("irregularity").innerHTML = error;
} else {
- document.getElementById("irregularity").innerhtml = '';
- document.getElementById("more_options").innerhtml = '';
+ document.getElementById("irregularity").innerHTML = '';
+ document.getElementById("more_options").innerHTML = '';
moreoptions(x);
}
}
// to dispaly the more options section
function moreoptions(x,y,z){
-document.getElementById("irregularity").innerhtml = '';
-document.getElementById("more_options").innerhtml = '';
+document.getElementById("irregularity").innerHTML = '';
+document.getElementById("more_options").innerHTML = '';
var textbox = '';
// alert("X: "+x+"Y: "+y+"Z: "+z);
if(x){
}
textbox +="<\/table>\n";
}
- document.getElementById("more_options").innerhtml = textbox;
+ document.getElementById("more_options").innerHTML = textbox;
}
function hemispheres(chosen){
// to display the more options section for seasons
function moreoptions_seasons(x,y){
// x = 'Season'. y = 'Year'.
-document.getElementById("irregularity").innerhtml = '';
-document.getElementById("more_options").innerhtml = '';
+document.getElementById("irregularity").innerHTML = '';
+document.getElementById("more_options").innerHTML = '';
var textbox = '';
//alert("X: "+x+"Year: "+y);
if(x){
textbox +="<td><input type=\"text\" name=\"whenmorethan2temp\" id=\"whenmorethan2temp\" size=\"4\" onkeyup=\"moreoptionsupdate(this,1)\"><\/td>\n";
textbox +="<\/tr><\/table>\n";
}
- document.getElementById("more_options").innerhtml = textbox;
+ document.getElementById("more_options").innerHTML = textbox;
}
function irregularity_check(){
error=_("No irregularities noticed");
}
display_example(expected);
- document.getElementById("irregularity").innerhtml = error;
+ document.getElementById("irregularity").innerHTML = error;
irregular_issues.update();
}
}
}
// displaytext = "<div style='padding: 5px; background-color: #CCCCCC'>"+displaytext+"<\/div>";
- document.getElementById("displayexample").innerhtml = displaytext;
+ document.getElementById("displayexample").innerHTML = displaytext;
}
function isArray(obj) {
var rej_count = 0;
var alerted = 0;
function pull_counts () {
- ok_count = parseInt(document.getElementById("terms_summary_approved_count" ).innerhtml);
- nok_count = parseInt(document.getElementById("terms_summary_unapproved_count").innerhtml);
- rej_count = parseInt(document.getElementById("terms_summary_rejected_count" ).innerhtml);
+ ok_count = parseInt(document.getElementById("terms_summary_approved_count" ).innerHTML);
+ nok_count = parseInt(document.getElementById("terms_summary_unapproved_count").innerHTML);
+ rej_count = parseInt(document.getElementById("terms_summary_rejected_count" ).innerHTML);
}
function count_approve () {
pull_counts();
theme : "advanced",
plugins : "table,save,advhr,advlink,iespell,searchreplace,print,contextmenu",
theme_advanced_disable : "underline,strikethrough,styleselect,image",
- theme_advanced_buttons1_add_before : "savecommaseparator",
+ theme_advanced_buttons1_add_before : "save,separator",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
- theme_advanced_buttons3_add_before : "tablecontrolscommaseparator",
+ theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "iespell,advhr,separator,print",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
<!-- Row of numbers corresponding to search result pages -->
[% IF ( previous_page_offset ) %]<a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |html %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]"><< Previous</a>[% END %]
- [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %] <a class="nav" href="/cgi-bin/koha/opac-search.pl?[% PAGE_NUMBER.query_cgi %][% PAGE_NUMBER.limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( PAGE_NUMBER.sort_by ) %]&sort_by=[% PAGE_NUMBER.sort_by %][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
+ [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %] <a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %]
[% END %]
[% IF ( next_page_offset ) %]<a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |html %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by %][% END %]">Next >></a>[% END %]
</div>[% END %]
</h5>
<small>[% review.datereviewed %]</small>
<p>
- [% review.review |0 %]
+ [% review.review %]
<a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&reviewid=[% review.reviewid %]');">Edit</a>
</p></div>
[% ELSE %]
<div class="commentline">
- [% IF ( review.ShowReviewer ) %]
+ [% IF ( ShowReviewer ) %]
<h5>
Comment by
[% review.title %]
[% END %]
<small>[% review.datereviewed %]</small>
<p>
- [% review.review |0 %]
+ [% review.review %]
</p></div>
[% END %]
[% END %]
[% IF ( LibraryThingForLibrariesID ) %]<div class="ltfl_reviews"></div>[% END %]
[% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %]
[% IF ( TagsShowOnList ) %]
- [% IF ( SEARCH_RESULT.TagLoop ) %]
+ [% IF ( SEARCH_RESULT.TagLoop.size ) %]
<div class="results_summary">
<span class="label">Tags:</span>
<ul style="display: inline; list-style: none;">[% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %]<li style="display: inline; list-style: none;"><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term %]</a> <span class="weight">([% TagLoo.weight_total %])</span></li>
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
<td>
-<p>[% IF ( review.BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
+<p>[% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
[% ELSE %]
- [% IF ( review.BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
+ [% IF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
[% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
[% END %]
[% END %]
[% IF ( review.copyrightdate ) %]<span class="results_summary"><span class="label">Date:</span>[% review.copyrightdate %]</span>[% END %]</p>
<p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">[% review.review |html %]
- <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed %] by [% IF ( review.your_comment ) %]<strong>you</strong>[% ELSE %][% review.firstname %] [% review.surname %][% END %]</span></p>
+ <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
+ [% IF ( ShowReviewer ) %] by
+ [% review.firstname %] [% review.surname %][% END %][% END %]</span></p>
</td>
<td>
<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]">
[% IF ( OPACFinesTab ) %]
<th>Fines</th>
[% END %]
- [% IF ( OPACMySummaryhtml ) %]
+ [% IF ( OPACMySummaryHTML ) %]
<th>Links</th>
[% END %]
</tr></thead>
[% IF ( OPACFinesTab ) %]
<td>[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %]</td>
[% END %]
- [% IF ( OPACMySummaryhtml ) %]
- <td>[% MySummaryhtml %]</td>
+ [% IF ( OPACMySummaryHTML ) %]
+ <td>[% ISSUE.MySummaryHTML %]</td>
[% END %]
</tr>
[% END %]</tbody>
if (defined $output && $output ne '-') {
print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p;
open(OUTPUT, ">$output") || die "$output: $!\n";
- binmode( OUTPUT, ":utf8" );
} else {
print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
open(OUTPUT, ">&STDOUT");
}
+binmode( OUTPUT, ":utf8" );
if (defined $files_from) {
print STDERR "$0: Opening input file list \"$files_from\"\n" if $verbose_p;
}
$subs->{location} = GetKohaAuthorisedValueLib("LOC",$subs->{location});
$subs->{abouttoexpire} = abouttoexpire($subs->{subscriptionid});
-$template->param($subs);
+$template->param(%{ $subs });
$template->param(biblionumber_for_new_subscription => $subs->{bibnum});
my @irregular_issues = split /,/, $subs->{irregularity};