diff --git a/C4/Branch.pm b/C4/Branch.pm index a13af59ef4..833c7727ea 100644 --- a/C4/Branch.pm +++ b/C4/Branch.pm @@ -111,7 +111,7 @@ sub GetBranches { while ( my $branch = $sth->fetchrow_hashref ) { my $nsth = $dbh->prepare( - "SELECT category_id FROM branchrelations WHERE branchcode = ?"); + "SELECT categorycode FROM branchrelations WHERE branchcode = ?"); $nsth->execute( $branch->{'branchcode'} ); while ( my ($cat) = $nsth->fetchrow_array ) { diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 77708d55da..8263c67b75 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1612,12 +1612,13 @@ sub AddRenewal { my ( $borrowernumber, $itemnumber, $branch ,$datedue ) = @_; my $dbh = C4::Context->dbh; - + + my $biblio = GetBiblioFromItemNumber($itemnumber); # If the due date wasn't specified, calculate it by adding the # book's loan length to today's date. unless ( $datedue ) { - my $biblio = GetBiblioFromItemNumber($itemnumber); + my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 ); my $loanlength = GetLoanLength( $borrower->{'categorycode'}, @@ -1656,8 +1657,15 @@ sub AddRenewal { ); $sth->execute( $datedue->output('iso'), $renews, $borrowernumber, $itemnumber ); $sth->finish; - - # Log the renewal + + # Update the renewal count on the item, and tell zebra to reindex + $renews = $biblio->{'renewals'} + 1; + $sth = $dbh->prepare("UPDATE items SET renewals = ? WHERE itemnumber = ?"); + $sth->execute($renews,$itemnumber); + $sth->finish(); + my $record = GetMarcItem( $biblio->{'biblionumber'}, $itemnumber ); + my $frameworkcode = GetFrameworkCode( $biblio->{'biblionumber'} ); + ModItemInMarc( $record, $biblio->{'biblionumber'}, $itemnumber, $frameworkcode ); # Charge a new rental fee, if applicable? my ( $charge, $type ) = GetIssuingCharges( $itemnumber, $borrowernumber ); @@ -1676,6 +1684,7 @@ sub AddRenewal { 'Rent', $charge, $itemnumber ); $sth->finish; } + # Log the renewal UpdateStats( $branch, 'renew', $charge, '', $itemnumber ); } diff --git a/C4/Search.pm b/C4/Search.pm index 3b52cae876..ab6edc3e5d 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -429,8 +429,8 @@ sub getRecords { my $tmprecord = MARC::Record->new(); $tmprecord->encoding('UTF-8'); my $tmptitle; - - # srote the minimal record in author/title (depending on MARC flavour) + my $tmpauthor; + # the minimal record in author/title (depending on MARC flavour) if ( C4::Context->preference("marcflavour") eq "UNIMARC" ) { @@ -441,15 +441,12 @@ sub getRecords { ); } else { - $tmptitle = MARC::Field->new( - '245', ' ', ' ', - a => $term, - b => $occ - ); + $tmptitle = MARC::Field->new('245', ' ', ' ',a => $term,); + $tmpauthor = MARC::Field->new('100', ' ', ' ',a => $occ,); } $tmprecord->append_fields($tmptitle); - $results_hash->{'RECORDS'}[$j] = - $tmprecord->as_usmarc(); + $tmprecord->append_fields($tmpauthor); + $results_hash->{'RECORDS'}[$j] = $tmprecord->as_usmarc(); } else { $record = $results[ $i - 1 ]->record($j)->raw(); @@ -660,8 +657,10 @@ sub _build_weighted_query { $weighted_query .= " or ti,phr,r3=\"$operand\""; # phrase title #$weighted_query .= " or any,ext,r4=$operand"; # exact any #$weighted_query .=" or kw,wrdl,r5=\"$operand\""; # word list any - $weighted_query .= " or wrd,fuzzy,r8=\"$operand\"" if $fuzzy_enabled; # add fuzzy, word list - $weighted_query .= " or wrd,right-Truncation,r9=\"$stemmed_operand\"" if ($stemming and $stemmed_operand); # add stemming, right truncation + $weighted_query .= " or wrdl,fuzzy,r8=\"$operand\"" if $fuzzy_enabled; # add fuzzy, word list + $weighted_query .= " or wrdl,right-Truncation,r9=\"$stemmed_operand\"" if ($stemming and $stemmed_operand); # add stemming, right truncation + $weighted_query .= " or wrdl,r9=\"$operand\""; + # embedded sorting: 0 a-z; 1 z-a # $weighted_query .= ") or (sort1,aut=1"; } @@ -678,7 +677,7 @@ sub _build_weighted_query { $weighted_query .= " $index,ext,r1=\"$operand\""; # exact index #$weighted_query .= " or (title-sort-az=0 or $index,startswithnt,st-word,r3=$operand #)"; $weighted_query .= " or $index,phr,r3=\"$operand\""; # phrase index - $weighted_query .= " or $index,rt,wrd,r3=\"$operand\""; # word list index + $weighted_query .= " or $index,rt,wrdl,r3=\"$operand\""; # word list index } $weighted_query .= "))"; # close rank specification return $weighted_query; @@ -751,7 +750,8 @@ sub buildQuery { # a flag to determine whether or not to add the index to the query my $indexes_set; - # if the user is sophisticated enough to specify an index, turn off some defaults + + # if the user is sophisticated enough to specify an index, turn off field weighting, stemming, and stopword handling if ($operands[$i] =~ /(:|=)/ || $scan) { $weight_fields = 0; $stemming = 0; @@ -760,9 +760,29 @@ sub buildQuery { my $operand = $operands[$i]; my $index = $indexes[$i]; + # add some attributes for certain index types + # Date of Publication + if ($index eq 'yr') { + $index .=",st-numeric"; + $indexes_set++; + ($stemming,$auto_truncation,$weight_fields, $fuzzy_enabled, $remove_stopwords) = (0,0,0,0,0); + } + # Date of Acquisition + elsif ($index eq 'acqdate') { + $index.=",st-date-normalized"; + $indexes_set++; + ($stemming,$auto_truncation,$weight_fields, $fuzzy_enabled, $remove_stopwords) = (0,0,0,0,0); + + } + + # set default structure attribute (word list) + my $struct_attr; + unless (!$index || $index =~ /(st-|phr|ext|wrdl)/) { + $struct_attr = ",wrdl"; + } # some helpful index modifs - my $index_plus = "$index:" if $index; - my $index_plus_comma="$index," if $index; + my $index_plus = $index.$struct_attr.":" if $index; + my $index_plus_comma=$index.$struct_attr."," if $index; # Remove Stopwords if ($remove_stopwords) { @@ -876,15 +896,14 @@ sub buildQuery { $limit_desc .=" or " if $group_OR_limits; $group_OR_limits .= "$this_limit"; $limit_cgi .="&limit=$this_limit"; - $limit_desc .= "$this_limit"; + $limit_desc .= " $this_limit"; } - # regular old limits else { $limit .= " and " if $limit || $query; $limit .= "$this_limit"; $limit_cgi .="&limit=$this_limit"; - $limit_desc .=" and $this_limit"; + $limit_desc .=" $this_limit"; } } if ($group_OR_limits) { @@ -1033,19 +1052,28 @@ sub searchResults { } # add spans to search term in results for search term highlighting # save a native author, for the > link + my $searchhighlightblob; + for my $highlight_field ($marcrecord->fields) { + next if $highlight_field->tag() =~ /(^00)/; # skip fixed fields + my $match; + my $field = $highlight_field->as_string(); + for my $term ( keys %$span_terms_hashref ) { + if (($field =~ /$term/i) && (length($term) > 3)) { + $field =~ s/$term/$&<\/span>/gi; + $match++; + } + } + $searchhighlightblob .= $field." ... " if $match; + } + $oldbiblio->{'searchhighlightblob'} = $searchhighlightblob; + $oldbiblio->{'author_nospan'} = $oldbiblio->{'author'}; - foreach my $term ( keys %$span_terms_hashref ) { + for my $term ( keys %$span_terms_hashref ) { my $old_term = $term; if ( length($term) > 3 ) { - $term =~ s/(.*=|\)|\(|\+|\.|\?|\[|\])//g; - $term =~ s/\\//g; - $term =~ s/\*//g; - - #FIXME: is there a better way to do this? + $term =~ s/(.*=|\)|\(|\+|\.|\?|\[|\]|\\|\*)//g; $oldbiblio->{'title'} =~ s/$term/$&<\/span>/gi; - $oldbiblio->{'subtitle'} =~ - s/$term/$&<\/span>/gi; - + $oldbiblio->{'subtitle'} =~ s/$term/$&<\/span>/gi; $oldbiblio->{'author'} =~ s/$term/$&<\/span>/gi; $oldbiblio->{'publishercode'} =~ s/$term/$&<\/span>/gi; $oldbiblio->{'place'} =~ s/$term/$&<\/span>/gi; @@ -1323,7 +1351,7 @@ sub NZanalyse { $left='subject' if $left =~ '^su$'; $left='koha-Auth-Number' if $left =~ '^an$'; $left='keyword' if $left =~ '^kw$'; - if ($operator) { + if ($operator && $left ne 'keyword' ) { #do a specific search my $dbh = C4::Context->dbh; $operator='LIKE' if $operator eq '=' and $right=~ /%/; @@ -1364,7 +1392,7 @@ sub NZanalyse { } } } else { - #do a complete search (all indexes) + #do a complete search (all indexes), if index='kw' do complete search too. my $dbh = C4::Context->dbh; my $sth = $dbh->prepare("SELECT biblionumbers FROM nozebra WHERE server=? AND value LIKE ?"); # split each word, query the DB and build the biblionumbers result diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl index 90da842672..aa2e3682ff 100755 --- a/admin/koha2marclinks.pl +++ b/admin/koha2marclinks.pl @@ -141,14 +141,14 @@ else { # DEFAULT my $sth2 = $dbh->prepare("SHOW COLUMNS from $tablename"); $sth2->execute; - my $toggle = "white"; + my $toggle = 1; my @loop_data = (); while ( ( my $field ) = $sth2->fetchrow_array ) { - if ( $toggle eq 'white' ) { - $toggle = "#ffffcc"; + if ( $toggle eq 1 ) { + $toggle = 0; } else { - $toggle = "white"; + $toggle = 1; } my %row_data; # get a fresh hash for the row data $row_data{tagfield} = $fields{ $tablename . "." . $field }->{tagfield}; @@ -159,7 +159,7 @@ else { # DEFAULT $row_data{kohafield} = $field; $row_data{edit} = "$script_name?op=add_form&tablename=$tablename&kohafield=$field"; - $row_data{bgcolor} = $toggle; + $row_data{toggle} = $toggle; push( @loop_data, \%row_data ); } $template->param( diff --git a/catalogue/search.pl b/catalogue/search.pl index 40be2cd478..46f7887f51 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -387,7 +387,21 @@ foreach my $limit(@limits) { $template->param(available => $available); # append year limits if they exist -push @limits, map "yr:".$_, split("\0",$params->{'limit-yr'}) if $params->{'limit-yr'}; +my $limit_yr; +my $limit_yr_value; +if ($params->{'limit-yr'}) { + if ($params->{'limit-yr'} =~ /\d{4}-\d{4}/) { + my ($yr1,$yr2) = split(/-/, $params->{'limit-yr'}); + $limit_yr = "yr,st-numeric,ge=$yr1 and yr,st-numeric,le=$yr2"; + $limit_yr_value = "$yr1-$yr2"; + } + elsif ($params->{'limit-yr'} =~ /\d{4}/) { + $limit_yr = "yr,st-numeric=$params->{'limit-yr'}"; + $limit_yr_value = $params->{'limit-yr'}; + } + push @limits,$limit_yr; + #FIXME: Should return a error to the user, incorect date format specified +} # Params that can only have one value my $scan = $params->{'scan'}; @@ -423,6 +437,11 @@ $template->param ( QUERY_INPUTS => \@query_inputs ); my @limit_inputs; for my $this_cgi ( split('&',$limit_cgi) ) { next unless $this_cgi; + # handle special case limit-yr + if ($this_cgi =~ /yr,st-numeric/) { + push @limit_inputs, { input_name => 'limit-yr', input_value => $limit_yr_value }; + next; + } $this_cgi =~ m/(.*=)(.*)/; my $input_name = $1; my $input_value = $2; @@ -492,6 +511,9 @@ for (my $i=0;$i<=@servers;$i++) { $total = $total + $results_hashref->{$server}->{"hits"}; if ($hits) { $template->param(total => $hits); + my $limit_cgi_not_availablity = $limit_cgi; + $limit_cgi_not_availablity =~ s/&limit=available//g; + $template->param(limit_cgi_not_availablity => $limit_cgi_not_availablity); $template->param(limit_cgi => $limit_cgi); $template->param(query_cgi => $query_cgi); $template->param(query_desc => $query_desc); @@ -546,7 +568,11 @@ for (my $i=0;$i<=@servers;$i++) { $template->param( PAGE_NUMBERS => \@page_numbers, previous_page_offset => $previous_page_offset) unless $pages < 2; $template->param(next_page_offset => $next_page_offset) unless $pages eq $current_page_number; - } + } + # no hits + else { + $template->param(searchdesc => 1,query_desc => $query_desc,limit_desc => $limit_desc); + } } # end of the if local else { # check if it's a z3950 or opensearch source diff --git a/circ/circulation.pl b/circ/circulation.pl index 3c2af2d0f8..28a43f1de5 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -120,6 +120,7 @@ my $issueconfirmed = $query->param('issueconfirmed'); my $cancelreserve = $query->param('cancelreserve'); my $organisation = $query->param('organisations'); my $print = $query->param('print'); +my $newexpiry = $query->param('dateexpiry'); #set up cookie..... # my $branchcookie; @@ -632,6 +633,7 @@ $template->param( printername => $printer, firstname => $borrower->{'firstname'}, surname => $borrower->{'surname'}, + dateexpiry => format_date($newexpiry), expiry => $borrower->{'dateexpiry'}, #format_date($borrower->{'dateexpiry'}), categorycode => $borrower->{'categorycode'}, diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att index 3fa27219df..e4c584b972 100644 --- a/etc/zebradb/biblios/etc/bib1.att +++ b/etc/zebradb/biblios/etc/bib1.att @@ -32,7 +32,7 @@ att 26 PA-subject att 27 LC-subject-heading att 28 RVM-subject-heading att 29 Local-subject-index -att 30 Date +att 30 copydate att 31 pubdate att 32 Date-of-acquisition att 33 Title-key @@ -78,7 +78,7 @@ att 1007 Identifier-standard att 1008 Subject-LC-childrens att 1009 Subject-name-personal att 1010 Body-of-text -att 1011 dateaddeddb +att 1011 date-entered-on-file att 1012 Date/time-last-modified att 1013 Authority/format-id att 1014 Concept-text @@ -131,7 +131,8 @@ att 8010 itemnumber att 8011 homebranch att 8012 holdingbranch att 8013 location -att 8014 Date-of-acquisition +# handled in bib1 attr 1=32 +#att 8014 Date-of-acquisition att 8015 acqsource att 8016 coded-location-qualifier att 8017 price diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 8643e2aaba..7e49986831 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -183,7 +183,7 @@ aut 1=1003 # number from a system not # specified elsewhere in this # list of attributes. -Local-classification 4=1 1=20 +Local-classification 1=20 lcn Local-classification callnum Local-classification #Local-classification cc callnum dewey @@ -326,18 +326,19 @@ Local-number 1=12 #Date 30 The point of time at which 005, 008/00-05, # a transaction or event 008/07-10, 260$c, # takes place. 008/11-14, 033,etc. -Date 1=30 4=109 r=r -#yr Date +# interpreting this as the copyright date in 260$c +copydate 1=30 r=r #Date-publication 31 The date (usually year) in 008/07-10, 260$c # which a document is published. 046, 533$d -Date-of-publication 1=31 4=109 r=r +Date-of-publication 1=pubdate r=r #dp Date-of-publication yr Date-of-publication +pubdate Date-of-publication #Date-acquisition 32 The date when a document was 541$d # acquired. -Date-of-acquisition 1=32 +Date-of-acquisition 1=Date-of-acquisition acqdate Date-of-acquisition #da Date-of-acquisition @@ -847,12 +848,7 @@ st-key 4=3 st-year 4=4 st-date-normalized 4=5 st-word-list 4=6 -wrdl 4=6 - -# there was a reason I didn't want to use this but it's -# escaped me -- JF -wrd 4=6 - +wrdl st-word-list #st-word st-date-un-normalized 4=100 st-name-normalized 4=101 @@ -861,7 +857,7 @@ st-structure 4=103 st-urx 4=104 st-free-form-text 4=105 st-document-text 4=106 -st-local number 4=107 +st-local-number 4=107 st-string 4=108 st-numeric 4=109 #string 109 @@ -908,6 +904,7 @@ cn-item 1=9008 cn-prefix 1=9009 cn-suffix 1=9010 Suppress 1=9011 +date-entered-on-file 1=date-entered-on-file # Items Index withdrawn 1=8001 @@ -923,14 +920,14 @@ itemnumber 1=8010 Code-institution 1=8011 holdingbranch 1=8012 location 1=8013 -Date-of-acquisition 1=8014 +#Date-of-acquisition 1=8014 acqsource 1=8015 coded-location-qualifier 1=8016 price 1=8017 -stack 1=8018 4=109 -issues 1=8019 4=109 -renewals 1=8020 4=109 -reserves 1=8021 4=109 +stack 1=8018 +issues 1=8019 +renewals 1=8020 +reserves 1=8021 Local-classification 1=8022 barcode 1=8023 bc barcode @@ -954,7 +951,6 @@ pl Place-publication #att 8900 #Call-Number 1=8900 -#date-entered-on-file 1=8800 #date1 1=8801 #date2 1=8802 #language 8805 diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs index a51c0292f5..775fcc1565 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -16,7 +16,7 @@ esetname B @ marc usmarc.mar systag sysno rank xpath enable - +# Some notes: # pl = Published Place # ta = Target Audience 002/22 # ff8-23 @@ -27,6 +27,13 @@ xpath enable # ctype = Content type: review, catalog, encyclopedia, dictionary # pubdate Publication Date # rtype = Record type (leader 06) +# +# Date indexing in Koha 3.0 for MARC21: +# Index Expected format Notes +# date-entered-on-file [yymmdd] (008/0-5, indexed in word and sort indexes) +# copydate [yyyy] (260$c, indexed in word and sort indexes) +# acqdate [yyyy-mm-dd] (952$d, indexed in date,word,sort indexes) +# pubdate [yyyy] (008/7-10, indexed in year,word,num,sort indexes) all any # melm 000 rtype:n:range(data,06,1),Bib-level:w:range(data,07,01) @@ -34,10 +41,10 @@ xelm /record/leader llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level: # example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2) melm 001 Control-number -melm 005 Date,Date/time-last-modified +melm 005 Date/time-last-modified melm 007 Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2) -melm 008 ln:n:range(data,35,3),ctype:w:range(data,24,4),Date:n:range(data,0,5),Date:s:range(data,0,5),Date:n:range(data,7,4),Date:s:range(data,7,4),Date:n:range(data,11,4),Date:s:range(data,11,4),pubdate:n:range(data,7,4),pubdate:s:range(data,7,4),dateaddeddb:n:range(data,0,5),dateaddeddb:s:range(data,0,5),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),Record-source:w:range(data,39,0) +melm 008 date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0) melm 010 LC-card-number,Identifier-standard melm 011 LC-card-number,Identifier-standard @@ -54,7 +61,7 @@ melm 025 Identifier-standard melm 027 Report-number,Identifier-standard melm 028 Number-music-publisher,Identifier-standard melm 030 CODEN,Identifier-standard -melm 033 Date +#melm 033 Date melm 034 Map-scale #melm 035 Local-number,Identifier-standard melm 037 Identifier-standard,Stock-number @@ -107,8 +114,7 @@ melm 246 Title,Title:p,Title-abbreviated,Title-expanded,Title-former melm 247 Title,Title:p,Title-former,Title-other-variant,Related-periodical melm 260$a pl:w,pl:p melm 260$b Publisher:w,Publisher:p -melm 260$c Date,Date:s,Date:y -#,pubdate,pubdate:s +melm 260$c copydate,copydate:s melm 260 pl melm 300 Extent:w,Extent:p melm 400$a Name-and-title diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 2faefefb88..ff95de93de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -968,6 +968,18 @@ div.first fieldset { width: 65%; } +.dialog table { + margin : .5em auto; +} + +.dialog table th { + text-align : right; +} + +.dialog table td { + text-align : left; +} + .dialog h2, .dialog h3, .dialog h4 { margin : auto; text-align : center; @@ -1204,7 +1216,7 @@ overflow : hidden; #searchheader { background-color : #f3f3f3; font-size : 80%; - margin-bottom : .5em; + margin : 0 0 .5em -1px; padding : .1em 0 .1em 1em; } @@ -1251,4 +1263,31 @@ overflow : hidden; #search-facets li.showmore { font-weight : bold; text-indent : 1em; +} + +div.pages { + margin-top : .5em; +} + +div.pages a { + font-weight: bold; + padding: 1px 5px 1px 5px; + text-decoration: none; +} + +div.pages a:link { + background-color : #eeeeee; + color : #3366CC; +} + +div.pages a:hover { + background-color : #e8f0f6; +} + +div.pages a:active { + background-color : #ffc; +} + +div.browse { + margin : .5em 0; } \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc index cc10df5598..5490aa46d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -16,7 +16,7 @@ function confirm_reregistration() { var is_confirmed = window.confirm('Are you sure you want to renew this patron\'s registration?'); var borrowernumbervalue1 = $("#borrowernumber").attr("value"); if (is_confirmed) { - window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber='+borrowernumbervalue1+''; + window.location = '/cgi-bin/koha/members/setstatus.pl?borrowernumber=&cardnumber=&destination=circ&reregistration=y'; } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index a71a2b409b..a640c6f74c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -3,6 +3,12 @@

Refine your search

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tmpl index 210175a2f4..039a2c2f5d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tmpl @@ -119,16 +119,16 @@

Libraries

-
- -
Library saved
-
Library saved
-
Library deleted
-
Library category added
-
Library category modified
-
Library category deleted
-
Library cannot be deleted because there are patrons using that library
-
Category cannot be deleted because there are libraries using that category
+
+
+
Library saved
+
Library saved
+
Library deleted
+
Library category added
+
Library category modified
+
Library category deleted
+
Library cannot be deleted because there are patrons using that library
+
Category cannot be deleted because there are libraries using that category
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tmpl index 040b999fce..6d8b0df990 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tmpl @@ -94,46 +94,43 @@ -

Confirm Deletion of City

+ +
+

Cannot Delete City ""

+

This record is used times. Impossible to delete it

+ +
+

Delete City "?"

+
- + - + - + - - - - - - - - - - - - -
- City id - City id +
City nameCity name
City zipcodeCity zipcode
This record is used times. Impossible to delete it
-
" method="post"> - -
-
" method="post"> - - " />
" method="post"> -
+ +
" method="post"> + +
+ +
" method="post"> + + " />
" method="post"> +
+ +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tmpl index 0a372c3ddf..1e3fc04318 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tmpl @@ -1,6 +1,6 @@ Koha › Administration › -<!-- TMPL_IF name="add_form" -->MARC Links › <!-- TMPL_VAR name="action" --><!-- /TMPL_IF --> +<!-- TMPL_IF name="add_form" --> MARC Links › Connect <!-- TMPL_VAR name="tablename" -->.<!-- TMPL_VAR name="kohafield" --> to a MARC subfield<!-- /TMPL_IF --> <!-- TMPL_IF name="else" -->MARC Links <!-- TMPL_VAR name="tagfield" --><!-- /TMPL_IF --> @@ -9,7 +9,7 @@ -
&step=1&guarantorid=">Edit @@ -127,6 +126,7 @@ Unable to delete member: insufficient privileges.
+
@@ -171,7 +171,6 @@ Unable to delete member: insufficient privileges.

- C!Not C.
  1. Name:
  2. Firstname:
  3. @@ -193,7 +192,7 @@ Unable to delete member: insufficient privileges.

    Fines and Charges

    - +

    Total due:

    No outstanding charges

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tmpl index 843ab66b62..5105fd87fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tmpl @@ -20,7 +20,7 @@
    - +
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl index 742e03f4f2..39dce64ec8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl @@ -160,7 +160,8 @@ function confirmDelete(s,n){
    - + +
    @@ -198,8 +199,8 @@ function confirmDelete(s,n){
    - - + +
    @@ -221,6 +222,7 @@ function confirmDelete(s,n){ + @@ -239,7 +241,11 @@ function confirmDelete(s,n){
    - + + + + +

    Virtual shelves

    @@ -259,7 +265,7 @@ function confirmDelete(s,n){ - + diff --git a/koha-tmpl/intranet-tmpl/prog/img/item-bullet.gif b/koha-tmpl/intranet-tmpl/prog/img/item-bullet.gif new file mode 100644 index 0000000000..eae920d001 Binary files /dev/null and b/koha-tmpl/intranet-tmpl/prog/img/item-bullet.gif differ diff --git a/koha-tmpl/opac-tmpl/prog/en/css/hierarchy.css b/koha-tmpl/opac-tmpl/prog/en/css/hierarchy.css index de241da891..d661bb3fab 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/hierarchy.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/hierarchy.css @@ -14,14 +14,15 @@ display:block; } .child { + display:none; margin-left : 50px; width:150%; - display:none; } .child a:hover{ background-color:#BFCFFF; } .parent { + display:none; margin-left : -50px; } .parent a:hover{ diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl index b7251a48d9..d70291a197 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl @@ -147,9 +147,9 @@ - + - + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl index 46d87e467f..c0d48d59fd 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl @@ -1,7 +1,7 @@ Koha Online Catalog › Advanced Search -/includes/hierarchy.css"> +/css/hierarchy.css">