Bug 22318: Example implementation: OpacNavRight system preference
[koha-equinox.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / preferences / opac.pref
index b041ddf..b2495d2 100644 (file)
@@ -1,6 +1,19 @@
 OPAC:
     Appearance:
         -
+            - pref: OPACUserSummary
+              choices:
+                  yes: Show
+                  no: "Don't show"
+            - "a summary of a logged in user's checkouts, overdues, holds and fines on the mainpage"
+        -
+            - For search results in the OPAC, show the item's
+            - pref: OPACResultsLibrary
+              choices:
+                  holdingbranch: "current location"
+                  homebranch: "home library"
+            - . Please note that this feature is currently available for MARC21 and UNIMARC.
+        -
             - Use the
             - pref: opacthemes
               choices: opac-templates
@@ -27,7 +40,7 @@ OPAC:
               choices:
                   yes: Enable
                   no: Disable
-            - "Koha OPAC as public. Private OPAC requires authentification before accessing the OPAC."
+            - "Koha OPAC as public. Private OPAC requires authentication before accessing the OPAC."
         -
             - pref: HighlightOwnItemsOnOPAC
               choices:
@@ -57,7 +70,8 @@ OPAC:
         -
             - "Show the following HTML when OpacMaintenance is enabled:"
             - pref: OpacMaintenanceNotice
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - By default, show bib records
@@ -80,6 +94,11 @@ OPAC:
                   no: Show
             - lost items on search and detail pages.
         -
+            - 'Display lists in the OPAC using XSLT stylesheet at: '
+            - pref: OPACXSLTListsDisplay
+              class: file
+            - '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTListsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTListsDisplay" data-value="default">default</a>" for the default one</li><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'
+        -
             - 'Display OPAC results using XSLT stylesheet at: '
             - pref: OPACXSLTResultsDisplay
               class: file
@@ -131,13 +150,15 @@ OPAC:
                   both: "home and holding libraries"
             - for items on the OPAC record details page.
         -
-            - Display the shelving location under the
-            - pref: OpacLocationBranchToDisplayShelving
+            - 'Display the shelving location '
+            - pref: OpacLocationOnDetail
               choices:
-                  home: "home library"
-                  holding: "holding library"
-                  both: "home and holding libraries"
-            - for items on the OPAC record details page.
+                  home: "below the home library"
+                  holding: "below the holding library"
+                  both: "below both home and holding libraries"
+                  column: "on a separate column"
+            - "for items on the OPAC record details page."
+            - "<br />Note: If 'on a separate column' is selected, you still need to enable the item_shelving_location display on the <a href='/cgi-bin/koha/admin/columns_settings.pl'>configure columns</a> administration page"
         -
             - pref: OpacKohaUrl
               default: 0
@@ -153,13 +174,6 @@ OPAC:
                   no: "Don't show"
             - a link to recent comments in the OPAC masthead.
         -
-            - pref: OPACShowBarcode
-              default: 0
-              choices:
-                  yes: Show
-                  no: "Don't show"
-            - the item's barcode on the holdings tab.
-        -
             - pref: GoogleIndicTransliteration
               default: 0
               choices:
@@ -176,12 +190,6 @@ OPAC:
               class: multi
             - (separate columns with |)
         -
-            - pref: AuthorisedValueImages
-              choices:
-                  yes: Show
-                  no: "Don't show"
-            - images for <a href="/cgi-bin/koha/admin/authorised_values.pl">authorized values</a> (such as lost statuses and locations) in search results and item detail pages on the OPAC.
-        -
             - Use the image at
             - pref: OpacFavicon
               class: url
@@ -190,6 +198,7 @@ OPAC:
             - "Include the following JavaScript on all pages in the OPAC:"
             - pref: OPACUserJS
               type: textarea
+              syntax: javascript
               class: code
         -
             - Include the additional CSS stylesheet
@@ -205,57 +214,67 @@ OPAC:
             - "Include the following CSS on all pages in the OPAC:"
             - pref: OPACUserCSS
               type: textarea
+              syntax: css
               class: code
         -
             - "Show the following HTML in its own column on the main page of the OPAC:"
             - pref: OpacMainUserBlock
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - "Show the following HTML on the left hand column of the main page and patron account on the OPAC (generally navigation links):"
             - pref: OpacNav
-              type: htmlarea
-              class: code
-        -
-            - "Show the following HTML in the right hand column of the main page under the main login form:"
-            - pref: OpacNavRight
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - "Show the following HTML on the left hand column of the main page and patron account on the OPAC, after OpacNav, and before patron account links if available:"
             - pref: OpacNavBottom
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - "Include the following HTML in the header of all pages in the OPAC:"
             - pref: opacheader
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - "Include the following HTML in the footer of all pages in the OPAC:"
             - pref: opaccredits
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - 'Include a "More Searches" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):'
             - '<br />Note: The placeholders {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN}, {ISSN} and {AUTHOR} will be replaced with information from the displayed record.'
             - pref: OPACSearchForTitleIn
               type: textarea
+              syntax: text/html
+              class: code
+        -
+            - 'Add additional elements to the "More Searches" bar on the OPAC, with the following HTML (leave blank to disable):'
+            - pref: OpacMoreSearches
+              type: textarea
               class: code
         -
             - 'Include a "Links" column on the "my summary" and "my reading history" tabs when a user is logged in to the OPAC, with the following HTML (leave blank to disable):'
             - '<br />Note: The placeholders {BIBLIONUMBER}, {TITLE}, {ISBN} and {AUTHOR} will be replaced with information from the displayed record.'
             - pref: OPACMySummaryHTML
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - "Note to display on the patron summary page. This note only appears if the patron is logged in:"
             - pref: OPACMySummaryNote
               type: textarea
+              syntax: text/html
         -
             - "Include the following HTML under the facets in OPAC search results:"
             - pref: OPACResultsSidebar
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - pref: OpacAddMastheadLibraryPulldown
@@ -267,7 +286,8 @@ OPAC:
             - 'Display this HTML when no results are found for a search in the OPAC:'
             - '<br />Note: You can insert placeholders {QUERY_KW} that will be replaced with the keywords of the query.'
             - pref: OPACNoResultsFound
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: code
         -
             - 'Display the URI in the 856u field as an image on: '
@@ -303,6 +323,13 @@ OPAC:
                 holdingbranch: 'holding library'
             - "is the logged in user's library. The second tab will contain all other items."
         -
+            - pref: OPACHoldingsDefaultSortField
+              choices:
+                  first_column: First column of the table
+                  homebranch: Home library
+                  holdingbranch: Holding library
+            - "is the default sort field for the holdings table"
+        -
             - pref: OpacSuggestionManagedBy
               choices:
                   yes: Show
@@ -312,16 +339,18 @@ OPAC:
             - Display up to
             - pref: OpacMaxItemsToDisplay
               class: integer
-            - items on the biblio detail page (if the biblio has more items than this, a link is displayed instead that allows the user to choose to display all items).
+            - items on the bibliographic record detail page (if the bibliographic record has more items than this, a link is displayed instead that allows the user to choose to display all items).
         -
             - "Show the following HTML on the OPAC login form when a patron is not logged in:"
-            - pref: NoLoginInstructions
-              type: htmlarea
+            - pref: OpacLoginInstructions
+              type: textarea
+              syntax: text/html
               class: code
         -
             - "Replace the search box at the top of OPAC pages with the following HTML:"
             - pref: OpacCustomSearch
               type: textarea
+              syntax: text/html
               class: code
         -
             - "Display language selector on "
@@ -382,13 +411,15 @@ OPAC:
               choices:
                   yes: Allow
                   no: "Don't allow"
-            - patrons to browse subject authorities on OPAC (run misc/cronjobs/build_browser_and_cloud.pl to create the browser list)
+            - patrons to browse subject authorities on OPAC
+            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/build_browser_and_cloud.pl</code> cronjob. Ask your system administrator to schedule it."
         -
             - pref: OpacCloud
               choices:
                   yes: Show
                   no: "Don't show"
-            - a subject cloud on OPAC (run misc/cronjobs/build_browser_and_cloud.pl to build)
+            - a subject cloud on OPAC
+            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/build_browser_and_cloud.pl</code> cronjob. Ask your system administrator to schedule it."
         -
             - pref: OpacAuthorities
               choices:
@@ -489,6 +520,19 @@ OPAC:
                   yes: Display
                   no: Don't display
             - the acquisition details on OPAC detail pages.
+        -
+            - pref: OpacNewsLibrarySelect
+              default: 0
+              choices:
+                  yes: Display
+                  no: Don't display
+            - a branch selection list for news items in the OPAC.
+        -
+            - "Use the following as the OPAC ISBD template:"
+            - pref: OPACISBD
+              type: textarea
+              syntax: text/html
+              class: code
     Policy:
         -
             - pref: SearchMyLibraryFirst
@@ -543,11 +587,30 @@ OPAC:
                   yes: Allow
             - patrons to select library when making a purchase suggestion
         -
+            - "Fields that should be mandatory for patron purchase suggestions:"
+            - pref: OPACSuggestionMandatoryFields
+              multiple:
+                title: Title
+                author: Author
+                copyrightdate: Copyright or publication date
+                isbn: ISBN, ISSN or other standard number
+                publishercode: Publisher name
+                collectiontitle: Collection title
+                place: Publication place
+                itemtype: Item type
+                branch: Library or branch
+                patronreason: Patron reason
+                note: Note
+            - "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default."
+        -
             - pref: OpacHiddenItems
               type: textarea
               class: code
             - Define custom rules to hide specific items from search and view on the OPAC. How to write these rules is documented on the <a href="http://wiki.koha-community.org/wiki/OpacHiddenItems" target="_blank">Koha wiki</a>.
         -
+            - pref: OpacHiddenItemsExceptions
+            - List of borrower categories, separated by |, that can see items otherwise hidden by <tt>OpacHiddenItems</tt>
+        -
             - pref: OpacAllowPublicListCreation
               default: 1
               choices:
@@ -567,7 +630,11 @@ OPAC:
                 yes: "Block"
                 no: "Don't block"
             - expired patrons from OPAC actions such as placing a hold or renewing.  Note that the setting for a patron category takes priority over this system preference.
-
+        -
+            - Limit patrons to
+            - pref: MaxOpenSuggestions
+              class: integer
+            - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions"
     Privacy:
         -
             - pref: StoreLastBorrower
@@ -631,6 +698,7 @@ OPAC:
             - "HTML content of your restricted page"
             - pref: RestrictedPageContent
               type: textarea
+              syntax: text/html
               class: HTML
         -
             - Use
@@ -673,12 +741,14 @@ OPAC:
                   yes: Allow
                   no: "Don't allow"
             - "library patrons to register or modify their account via the OPAC."
+            - "<br><strong>NOTE:</strong> This needs PatronSelfRegistrationDefaultCategory to be set to a valid patron category code."
         -
             - pref: PatronSelfRegistrationVerifyByEmail
               choices:
                   yes: Require
                   no: "Don't require"
-            - "that a self-registering patron verify his or herself via email."
+            - "that a self-registering patron verify themselves via email."
+            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/cleanup_database.pl</code> cronjob. Ask your system administrator to schedule it."
         -
             - "Use the patron category code"
             - pref: PatronSelfRegistrationDefaultCategory
@@ -689,26 +759,46 @@ OPAC:
             - pref: PatronSelfRegistrationExpireTemporaryAccountsDelay
               class: integer
             - "days."
+            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/cleanup_database.pl</code> cronjob. Ask your system administrator to schedule it."
         -
-            - "The following <a href='http://schema.koha-community.org/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
+            - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
             - pref: PatronSelfRegistrationBorrowerMandatoryField
               class: multi
             - (separate columns with |)
         -
-            - "The following <a href='http://schema.koha-community.org/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-registration screen:"
+            - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-registration screen:"
             - pref: PatronSelfRegistrationBorrowerUnwantedField
               class: multi
             - (separate columns with |)
         -
-            - "The following <a href='http://schema.koha-community.org/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-modification screen:"
+            - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-modification screen:"
             - pref: PatronSelfModificationBorrowerUnwantedField
               class: multi
             - (separate columns with |)
         -
             - "Display the following additional instructions for patrons who self register via the OPAC ( HTML is allowed ):"
             - pref: PatronSelfRegistrationAdditionalInstructions
-              type: htmlarea
+              type: textarea
+              syntax: text/html
               class: html
+        -
+            - pref: PatronSelfRegistrationEmailMustBeUnique
+              choices:
+                  yes: "Consider"
+                  no: "Do not consider"
+            - "patron's email (borrowers.email) as unique on self registering. An email won't be accepted if it already exists in the database."
+        -
+            - "Enable the self registration for the following libraries:"
+            - pref: PatronSelfRegistrationLibraryList
+            - (separate branchcode with |).
+            - If empty, all libraries will be listed.
+        -
+            - pref: PatronSelfRegistrationPrefillForm
+              choices:
+                  yes: "Display and prefill"
+                  no: "Do not display and prefill"
+            - "password and login form after a patron has self registered."
+
     Advanced Search Options:
         -
             - Show search options