Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref
ThibaudGLT 437a3e1de5 Bug 20398: Added a syspref to highlight or not highlight search terms in results on the staff interface
There is a possibility on OPAC but not yet on the staff interface, so I added this syspref which has the same behaviour as the OPAC highlighting syspref.
When you choose to disable highlighting on the syspref, the toggle anchor in the result page does not appear at all.
But if you keep the default state (highlighting on), you still have the option to switch between "Unhighlight" and "Highlight" modes.

Test plan :
1. Go to the syspref named "StaffHighlightedWords" and see that the default state is "Highlight".
2. Look for something in the catalogue for example and see that the words are highlighted and that it is also possible to change between "Unhighlight" and "Highlight".
3. Go back to syspref and choose to disable highlighting by choosing "Don't Highlight".
4. Refresh your results page if you have not closed it or reload a new search.
5. There is no highlighting at all and anchors do not exist (same behaviour as the OPAC interface).

Signed-off-by: ManuB <e.betemps@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-08 15:49:17 +02:00

202 lines
10 KiB
Text

Staff interface:
Appearance:
-
- 'Display authority results in the staff interface using XSLT stylesheet at: '
- pref: AuthorityXSLTResultsDisplay
class: file
- '<br />Options:<ul><li>Put a path to define a xslt file</li><li>Put an URL for an external specific stylesheet.</li></ul>{langcode} will be replaced with current interface language and {authtypecode} will be replaced by the authority type code'
-
- "Display language selector on "
- pref: StaffLangSelectorMode
choices:
both: "both top and footer"
top: "top"
footer: "only footer"
-
- Use the
- pref: template
choices: staff-templates
- theme on the staff interface.
-
- "The staff interface is located at"
- pref: staffClientBaseURL
class: url
- This should be a complete URL, starting with http:// or https://. Do not include a trailing slash in the URL. (This must be filled in correctly for CAS, svc, and load_testing to work.)
-
- Use the CSS stylesheet
- pref: intranetstylesheet
class: url
- on all pages in the staff interface, instead of the default css (used when leaving this field blank). Enter just a filename, a full local path or a complete URL starting with <code>http://</code> (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
-
- "Use the following JavaScript for printing slips. See detailed description on the <a href='https://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently'>Koha Wiki</a> and eventually Firefox add-on <a href='https://github.com/edabg/jsprintsetup/wiki'>jsPrintSetup documentation</a>:"
- pref: IntranetSlipPrinterJS
type: textarea
syntax: javascript
class: code
-
- "Include the following CSS on all pages in the staff interface:"
- pref: IntranetUserCSS
type: textarea
syntax: css
class: code
-
- Include the additional CSS stylesheet
- pref: intranetcolorstylesheet
class: file
- to override specified settings from the default stylesheet (leave blank to disable.) Enter just a filename, a full local path or a complete URL starting with <code>http://</code> (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
-
- Use include files from the
- pref: intranet_includes
class: file
- directory in the template directory, instead of <code>includes/</code>. (Leave blank to disable)
-
- "Show the following HTML in its own column on the main page of the staff interface:"
- pref: IntranetmainUserblock
type: textarea
syntax: text/html
class: code
-
- "Show the following HTML to the left of the More menu at the top of each page on the staff interface (should be a list of links or blank):"
- pref: IntranetNav
type: textarea
syntax: html
class: code
-
- "Include the following JavaScript on all pages in the staff interface:"
- pref: IntranetUserJS
type: textarea
syntax: javascript
class: code
-
- Use the image at
- pref: IntranetFavicon
class: url
- for the staff interface's favicon. (This should be a complete URL, starting with <code>http://</code>.)
-
- 'Display lists in the staff interface using XSLT stylesheet at: '
- pref: XSLTListsDisplay
class: file
- '<br />Options:<ul><li>Enter "<a href="#" class="set_syspref" data-syspref="XSLTListsDisplay" data-value="default">default</a>" for the default stylesheet</li><li>Put a path to define an xslt file</li><li>Put a URL for an external specific stylesheet.</li><li>NOTE: The system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PassItemMarcToXSLT">PassItemMarcToXSLT</a> must be enabled if your custom stylesheet utilizes data in the item fields</li></ul>If you have multiple stylesheets for different langues the placeholder {langcode} will be replaced with current interface language.'
-
- 'Display results in the staff interface using XSLT stylesheet at: '
- pref: XSLTResultsDisplay
class: file
- '<br />Options:<ul><li>Enter "<a href="#" class="set_syspref" data-syspref="XSLTResultsDisplay" data-value="default">default</a>" for the default stylesheet</li><li>Put a path to define an xslt file</li><li>Put a URL for an external specific stylesheet.</li><li>NOTE: The system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PassItemMarcToXSLT">PassItemMarcToXSLT</a> must be enabled if your custom stylesheet utilizes data in the item fields</li></ul>If you have multiple stylesheets for different langues the placeholder {langcode} will be replaced with current interface language.'
-
- 'Display details in the staff interface using XSLT stylesheet at: '
- pref: XSLTDetailsDisplay
class: file
- '<br />Options:<ul><li>Enter "<a href="#" class="set_syspref" data-syspref="XSLTDetailsDisplay" data-value="default">default</a>" for the default stylesheet</li><li>Put a path to define an xslt file</li><li>Put a URL for an external specific stylesheet.</li><li>NOTE: The system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PassItemMarcToXSLT">PassItemMarcToXSLT</a> must be enabled if your custom stylesheet utilizes data in the item fields</li></ul>If you have multiple stylesheets for different langues the placeholder {langcode} will be replaced with current interface language.'
-
- pref: DisplayIconsXSLT
choices:
1: Show
0: "Don't show"
- the format, audience, and material type icons and descriptions in XSLT MARC21 results and detail pages in the staff interface.
-
- 'Display the URI in the 856u field as an image on: '
- pref: Display856uAsImage
choices:
OFF: "Neither detail or result pages"
Details: "Detail page only"
Results: "Result page"
Both: "Both result and detail pages"
- '. Note: The corresponding XSLT option must be turned on.'
-
- Include the stylesheet at
- pref: SlipCSS
class: url
- on Issue and Hold Slips. (This should be a complete URL, starting with <code>http://</code>.)
-
- "Show the following HTML in its own div on the bottom of the home page of the circulation module:"
- pref: IntranetCirculationHomeHTML
type: textarea
syntax: text/html
class: code
-
- "Show the following HTML in its own div on the bottom of the home page of the reports module:"
- pref: IntranetReportsHomeHTML
type: textarea
syntax: text/html
class: code
-
- "Show the following HTML on the staff interface login page"
- pref: StaffLoginInstructions
type: textarea
syntax: text/html
class: code
-
- pref: StaffHighlightedWords
type: boolean
choices:
1: Highlight
0: Don't highlight
- words searched for in the staff interface search results pages.
Options:
-
- pref: viewMARC
choices:
1: Allow
0: "Don't allow"
- staff to view records in plain MARC form on the staff interface.
-
- pref: viewLabeledMARC
choices:
1: Allow
0: "Don't allow"
- staff to view records in labeled MARC form on the staff interface.
-
- pref: viewISBD
choices:
1: Allow
0: "Don't allow"
- staff to view records in ISBD form on the staff interface.
-
- pref: HidePatronName
choices:
0: Show
1: "Don't show"
- the names of patrons that have items checked out or on hold on detail pages or the "Place Hold" screen.
-
- pref: showLastPatron
choices:
0: "Don't show"
1: Show
- a link to the last searched patron in the staff interface.
-
- pref: intranetbookbag
choices:
1: Show
0: "Don't show"
- the cart option in the staff interface.
-
- pref: StaffDetailItemSelection
choices:
1: Enable
0: Disable
- item selection in record detail page.
-
- pref: UseWYSIWYGinSystemPreferences
choices:
1: Show
0: "Don't show"
- WYSIWYG editor when editing certain HTML system preferences.
-
- pref: AudioAlerts
choices:
1: "Enable"
0: "Don't enable"
- audio alerts for events defined in the <a href="/cgi-bin/koha/admin/audio_alerts.pl">audio alerts</a> section of administration.
-
- pref: IntranetCatalogSearchPulldown
choices:
1: Show
0: "Don't show"
- a search field pulldown for 'Search the catalog' boxes.
Authentication:
-
- pref: staffShibOnly
choices:
1: "Don't allow"
0: Allow
- staff to login by means other than shibboleth.