Jonathan Druart
cce433ba4c
Caught by t/db_dependent/www/batch.t Before this patch: """ <title>Koha › Catalog › Details for Bleak House / </title> """ After this patch: """ <title>Koha › Catalog › Details for Bleak House / </title> """ Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
21 lines
706 B
PHP
21 lines
706 B
PHP
[%~ IF ( biblio.title ) ~%]
|
|
[%~ biblio.title | html ~%]
|
|
[%~ ELSE ~%]
|
|
No title
|
|
[%~ END ~%]
|
|
[%~ biblio.medium | html ~%]
|
|
[%~ FOREACH subtitle IN biblio.subtitle.split(' \| ') ~%][%~ IF Koha.Preference('marcflavour')=='UNIMARC' ~%],[%~ END ~%]
|
|
[%~ subtitle | html ~%]
|
|
[%~ END ~%]
|
|
[%~ part_numbers = biblio.part_number.split(' \\| ') ~%]
|
|
[%~ part_names = biblio.part_name.split(' \\| ') ~%]
|
|
[%~ i = 0 ~%]
|
|
[%~ WHILE ( part_numbers.$i.defined || part_names.$i.defined ) ~%]
|
|
[%~ IF ( part_numbers.$i.defined ) ~%]
|
|
[%~ part_numbers.$i | html ~%]
|
|
[%~ END ~%]
|
|
[%~ IF ( part_names.$i.defined ) ~%]
|
|
[%~ part_names.$i | html ~%]
|
|
[%~ END ~%]
|
|
[%~ i = i + 1 ~%]
|
|
[%~ END ~%]
|