Bug 21330: (follow-up) Fix new preference text and place
Atomic updated fixed : intranet => OPAC Changed to be more like the one adding AuthorityXSLTOpacResultsDisplay New preference moved to opac.pref Signed-off-by: Thibault <thibault.keromnes@univ-paris8.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e3ea17782c
commit
edd6d7d066
3 changed files with 9 additions and 7 deletions
|
@ -2,14 +2,16 @@ use Modern::Perl;
|
|||
|
||||
return {
|
||||
bug_number => '21330',
|
||||
description => 'Add syspref AuthorityXSLTOpacDetailsDisplay',
|
||||
description => 'Add XSLT for authority details view in OPAC',
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`)
|
||||
VALUES ('AuthorityXSLTOpacDetailsDisplay','','','Enable XSL stylesheet control over authority results page display on intranet','Free')
|
||||
VALUES ('AuthorityXSLTOpacDetailsDisplay','','','Enable XSL stylesheet control over authority details page in the OPAC','Free')
|
||||
});
|
||||
|
||||
say $out "Added new system preference 'AuthorityXSLTOpacDetailsDisplay'";
|
||||
},
|
||||
};
|
||||
|
|
|
@ -106,6 +106,11 @@ OPAC:
|
|||
- pref: AuthorityXSLTOpacResultsDisplay
|
||||
class: file
|
||||
- '<br />Options:<ul><li>Empty. No XSLT will be applied (<strong>default</strong>)</li><li>Enter a path to a custom XSLT file.</li><li>Enter a URL for an external stylesheet.</li></ul>If you have multiple stylesheets for: <ul><li>different languages: use the placeholder {langcode} - this will be replaced with the current interface language</li><li>authority types: use the placeholder {authtypecode} - this will be replaced with the authority type code'
|
||||
-
|
||||
- 'Display authority details in the OPAC using the XSLT stylesheet at: '
|
||||
- pref: AuthorityXSLTOpacDetailsDisplay
|
||||
class: file
|
||||
- '<br />Options:<ul><li>Enter a path to a custom XSLT file.</li><li>Enter a URL for an external stylesheet.</li></ul>If you have multiple stylesheets for: <ul><li>different languages: use the placeholder {langcode} - this will be replaced with the current interface language</li><li>authority types: use the placeholder {authtypecode} - this will be replaced with the authority type code'
|
||||
-
|
||||
- pref: OpacNoItemTypeImages
|
||||
default: 0
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
Staff interface:
|
||||
Appearance:
|
||||
-
|
||||
- 'Display authority details in the OPAC using the XSLT stylesheet at: '
|
||||
- pref: AuthorityXSLTOpacDetailsDisplay
|
||||
class: file
|
||||
- '<br />Options:<ul><li>Enter a path to a custom XSLT file.</li><li>Enter a URL for an external stylesheet.</li></ul>If you have multiple stylesheets for: <ul><li>different languages: use the placeholder {langcode} - this will be replaced with the current interface language</li><li>authority types: use the placeholder {authtypecode} - this will be replaced with the authority type code'
|
||||
-
|
||||
- 'Display authority results in the staff interface using XSLT stylesheet at: '
|
||||
- pref: AuthorityXSLTResultsDisplay
|
||||
|
|
Loading…
Reference in a new issue