View | Details | Raw Unified | Return to bug 20265
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_20265-OPACNoNewsDate_syspref.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # you can use $dbh here like:
4
    $dbh->do( "INSERT INTO `systempreferences` VALUES ('OPACNoNewsDate','1','','the published date in news items on the OPAC.','YesNo');" );
5
6
    # Always end with this (adjust the bug info)
7
    SetVersion( $DBversion );
8
    print "Upgrade to $DBversion done (Bug 20265: Add OPACNoNewsDate system preference\n";
9
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 281-286 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
281
('NoIssuesChargeGuarantees','','','Define maximum amount withstanding before check outs are blocked','Integer'),
281
('NoIssuesChargeGuarantees','','','Define maximum amount withstanding before check outs are blocked','Integer'),
282
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
282
('noItemTypeImages','0',NULL,'If ON, disables item-type images','YesNo'),
283
('NoLoginInstructions', '', '60|10', 'Instructions to display on the OPAC login form when a patron is not logged in', 'Textarea'),
283
('NoLoginInstructions', '', '60|10', 'Instructions to display on the OPAC login form when a patron is not logged in', 'Textarea'),
284
('OPACNoNewsDate','1','','the published date in news items on the OPAC.','YesNo'),
284
('NorwegianPatronDBEnable','0',NULL,'Enable communication with the Norwegian national patron database.', 'YesNo'),
285
('NorwegianPatronDBEnable','0',NULL,'Enable communication with the Norwegian national patron database.', 'YesNo'),
285
('NorwegianPatronDBEndpoint','',NULL,'Which NL endpoint to use.', 'Free'),
286
('NorwegianPatronDBEndpoint','',NULL,'Which NL endpoint to use.', 'Free'),
286
('NorwegianPatronDBUsername','',NULL,'Username for communication with the Norwegian national patron database.','Free'),
287
('NorwegianPatronDBUsername','',NULL,'Username for communication with the Norwegian national patron database.','Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-826 / +949 lines)
Lines 1-826 Link Here
1
OPAC:
1
--- 
2
    Appearance:
2
opac.pref: 
3
        -
3
  " Advanced Search Options": 
4
            - pref: OPACUserSummary
4
    - 
5
              choices:
5
      - " Show search options"
6
                  yes: Show
6
      - 
7
                  no: "Don't show"
7
        multiple: 
8
            - "a summary of a logged in user's checkouts, overdues, holds and fines on the mainpage"
8
          itemtype: Item types
9
        -
9
          language: Language
10
            - For search results in the OPAC, show the item's
10
          location: Location and availability
11
            - pref: OPACResultsLibrary
11
          pubdate: Publication date
12
              choices:
12
          sorting: Sorting
13
                  holdingbranch: "current location"
13
          subtype: Subtypes
14
                  homebranch: "home library"
14
        pref: OpacAdvSearchOptions
15
            - . Please note that this feature is currently available for MARC21 and UNIMARC.
15
    - 
16
        -
16
      - Show search options for the expanded view
17
            - Use the
17
      - 
18
            - pref: opacthemes
18
        multiple: 
19
              choices: opac-templates
19
          itemtype: Item types
20
            - theme on the OPAC.
20
          language: Language
21
        -
21
          location: Location and availability
22
            - Use the
22
          pubdate: Publication date
23
            - pref: OPACFallback
23
          sorting: Sorting
24
              choices:
24
          subtype: Subtypes
25
                  bootstrap: bootstrap
25
        pref: OpacAdvSearchMoreOptions
26
                  prog: prog
26
  Appearance: 
27
            - theme as the fallback theme on the OPAC.
27
    - 
28
        -
28
      - 
29
            - "The OPAC is located at "
29
        choices: 
30
            - pref: OPACBaseURL
30
          "": Don't show
31
              class: url
31
          1: Show
32
            - . This should be a complete URL, starting with <code>http://</code> or <code>https://</code>. Do not include a trailing slash in the URL. (This must be filled in correctly for RSS, unAPI, and search plugins to work.)
32
        pref: OPACUserSummary
33
        -
33
      - " a summary of a logged in user's issues, overdues, reserves and fines on the mainpage"
34
            - Show
34
    - 
35
            - pref: LibraryName
35
      - For search results in the OPAC, show the item's
36
              class: long
36
      - 
37
            - as the name of the library on the OPAC.
37
        choices: 
38
        -
38
          holdingbranch: " current location"
39
            - pref: OpacPublic
39
          homebranch: " home library"
40
              choices:
40
        pref: OPACResultsLibrary
41
                  yes: Enable
41
      - " . Please note that this feature is currently available for MARC21 and UNIMARC."
42
                  no: Disable
42
    - 
43
            - "Koha OPAC as public. Private OPAC requires authentication before accessing the OPAC."
43
      - Use the
44
        -
44
      - 
45
            - pref: HighlightOwnItemsOnOPAC
45
        choices: opac-templates
46
              choices:
46
        pref: opacthemes
47
                  yes: Emphasize
47
      - theme on the OPAC.
48
                  no: "Don't emphasize"
48
    - 
49
            - "results from the "
49
      - " Use the"
50
            - pref: HighlightOwnItemsOnOPACWhich
50
      - 
51
              choices:
51
        choices: 
52
                  PatronBranch: "patron's home branch"
52
          bootstrap: " bootstrap"
53
                  OpacURLBranch: "OPAC's branch via the URL"
53
          prog: prog
54
            - " by moving the results to the front and increasing the size or highlighting the rows for those results. (Non-XSLT Only)"
54
        pref: OPACFallback
55
        -
55
      - " theme as the fallback theme on the OPAC."
56
            - "Show star-ratings on"
56
    - 
57
            - pref: OpacStarRatings
57
      - " The OPAC is located at "
58
              choices:
58
      - 
59
                  all: "results and details"
59
        class: url
60
                  disable: "no"
60
        pref: OPACBaseURL
61
                  details: "only details"
61
      - " . This should be a complete URL, starting with <code>http://</code> or <code>https://</code>. Do not include a trailing slash in the URL. (This must be filled in correctly for RSS, unAPI, and search plugins to work.)"
62
            - "pages."
62
    - 
63
        -
63
      - Show
64
            - pref: OpacMaintenance
64
      - 
65
              choices:
65
        class: long
66
                  yes: Show
66
        pref: LibraryName
67
                  no: "Don't show"
67
      - as the name of the library on the OPAC.
68
            - "a warning that the OPAC is under maintenance, instead of the OPAC itself. Note: this shows the same warning as when the database needs to be upgraded, but unconditionally."
68
    - 
69
        -
69
      - 
70
        -
70
        choices: 
71
            - "Show the following HTML when OpacMaintenance is enabled:"
71
          "": Disable
72
            - pref: OpacMaintenanceNotice
72
          1: Enable
73
              type: htmlarea
73
        pref: OpacPublic
74
              class: code
74
      - Koha OPAC as public. Private OPAC requires authentication before accessing the OPAC.
75
        -
75
    - 
76
            - By default, show bib records
76
      - 
77
            - pref: BiblioDefaultView
77
        choices: 
78
              choices:
78
          "": Don't emphasise
79
                  normal: in simple form.
79
          1: Emphasise
80
                  marc: in their MARC form.
80
        pref: HighlightOwnItemsOnOPAC
81
                  isbd: as specified in the ISBD template.
81
      - "results from the "
82
        -
82
      - 
83
            - When patrons click on a link to another website from your OPAC (like Amazon or OCLC),
83
        choices: 
84
            - pref: OPACURLOpenInNewWindow
84
          OpacURLBranch: OPAC's branch via the URL
85
              choices:
85
          PatronBranch: user's home branch
86
                  yes: do
86
        pref: HighlightOwnItemsOnOPACWhich
87
                  no: "don't"
87
      - by moving the results to the front and increasing the size or highlighting the rows for those results. (Non-XSLT Only)
88
            - open the website in a new window.
88
    - 
89
        -
89
      - Show star-ratings on
90
            - pref: hidelostitems
90
      - 
91
              choices:
91
        choices: 
92
                  yes: "Don't show"
92
          all: results and details
93
                  no: Show
93
          details: only details
94
            - lost items on search and detail pages.
94
          disable: 'no'
95
        -
95
        pref: OpacStarRatings
96
            - 'Display lists in the OPAC using XSLT stylesheet at: '
96
      - pages.
97
            - pref: OPACXSLTListsDisplay
97
    - 
98
              class: file
98
      - 
99
            - '<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'
99
        choices: 
100
        -
100
          "": Don't show
101
            - 'Display OPAC results using XSLT stylesheet at: '
101
          1: Show
102
            - pref: OPACXSLTResultsDisplay
102
        pref: OpacMaintenance
103
              class: file
103
      - "a warning that the OPAC is under maintenance, instead of the OPAC itself. Note: this shows the same warning as when the database needs to be upgraded, but unconditionally."
104
            - '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTResultsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTResultsDisplay" 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'
104
    - ~
105
        -
105
    - 
106
            - 'Display OPAC details using XSLT stylesheet at: '
106
      - "Show the following HTML when OpacMaintenance is enabled:"
107
            - pref: OPACXSLTDetailsDisplay
107
      - 
108
              class: file
108
        class: code
109
            - '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" 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'
109
        pref: OpacMaintenanceNotice
110
        -
110
        type: htmlarea
111
            - pref: DisplayOPACiconsXSLT
111
    - 
112
              choices:
112
      - By default, show bib records
113
                  yes: Show
113
      - 
114
                  no: "Don't show"
114
        choices: 
115
            - the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.
115
          isbd: as specified in the ISBD template.
116
        -
116
          marc: in their MARC form.
117
            - pref: COinSinOPACResults
117
          normal: in simple form.
118
              choices:
118
        pref: BiblioDefaultView
119
                  yes: Include
119
    - 
120
                  no: "Don't include"
120
      - When users click on a link to another website from your OPAC (like Amazon or OCLC),
121
            - "COinS / OpenURL / Z39.88 in OPAC search results.  <br/>Warning: Enabling this feature will slow OPAC search response times."
121
      - 
122
        -
122
        choices: 
123
            - pref: OPACShowUnusedAuthorities
123
          "": don't
124
              choices:
124
          1: do
125
                  yes: Show
125
        pref: OPACURLOpenInNewWindow
126
                  no: "Do not show"
126
      - open the website in a new window.
127
            - unused authorities in the OPAC authority browser.
127
    - 
128
        -
128
      - 
129
            - pref: OPACShowHoldQueueDetails
129
        choices: 
130
              choices:
130
          "": Show
131
                  none: "Don't show any hold details"
131
          1: Don't show
132
                  priority: "Show priority level"
132
        pref: hidelostitems
133
                  holds: "Show holds"
133
      - lost items on search and detail pages.
134
                  holds_priority: "Show holds and their priority level"
134
    - 
135
            - to patrons in the OPAC.
135
      - " Display lists in the OPAC using XSLT stylesheet at: "
136
        -
136
      - 
137
            - pref: OPACShowCheckoutName
137
        class: file
138
              default: 0
138
        pref: OPACXSLTListsDisplay
139
              choices:
139
      - <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
140
                  yes: Show
140
    - 
141
                  no: "Don't show"
141
      - " Display OPAC results using XSLT stylesheet at: "
142
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
142
      - 
143
        -
143
        class: file
144
            - Display the
144
        pref: OPACXSLTResultsDisplay
145
            - pref: OpacLocationBranchToDisplay
145
      - <br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTResultsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTResultsDisplay" 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
146
              choices:
146
    - 
147
                  home: "home library"
147
      - " Display OPAC details using XSLT stylesheet at: "
148
                  holding: "holding library"
148
      - 
149
                  both: "home and holding libraries"
149
        class: file
150
            - for items on the OPAC record details page.
150
        pref: OPACXSLTDetailsDisplay
151
        -
151
      - <br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" 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
152
            - 'Display the shelving location '
152
    - 
153
            - pref: OpacLocationOnDetail
153
      - 
154
              choices:
154
        choices: 
155
                  home: "below the home library"
155
          "": Don't show
156
                  holding: "below the holding library"
156
          1: Show
157
                  both: "below both home and holding libraries"
157
        pref: DisplayOPACiconsXSLT
158
                  column: "on a separate column"
158
      - the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.
159
            - "for items on the OPAC record details page."
159
    - 
160
            - "<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"
160
      - 
161
        -
161
        choices: 
162
            - pref: OpacKohaUrl
162
          "": Don't include
163
              default: 0
163
          1: Include
164
              choices:
164
        pref: COinSinOPACResults
165
                  yes: Show
165
      - "COinS / OpenURL / Z39.88 in OPAC search results.  <br/>Warning: Enabling this feature will slow OPAC search response times."
166
                  no: "Don't show"
166
    - 
167
            - "'Powered by Koha' text on OPAC footer."
167
      - 
168
        -
168
        choices: 
169
            - pref: OpacShowRecentComments
169
          "": Do not show
170
              default: 0
170
          1: Show
171
              choices:
171
        pref: OPACShowUnusedAuthorities
172
                  yes: Show
172
      - unused authorities in the OPAC authority browser.
173
                  no: "Don't show"
173
    - 
174
            - a link to recent comments in the OPAC masthead.
174
      - 
175
        -
175
        choices: 
176
            - pref: GoogleIndicTransliteration
176
          holds: Show reserves
177
              default: 0
177
          holds_priority: Show reserves and their priority level
178
              choices:
178
          none: Don't show any reserve details
179
                  yes: Show
179
          priority: Show priority level
180
                  no: "Don't show"
180
        pref: OPACShowHoldQueueDetails
181
            - GoogleIndicTransliteration on the OPAC.
181
      - to users in the OPAC.
182
        -
182
    - 
183
            - pref: OpacHighlightedWords
183
      - 
184
              choices:
184
        choices: 
185
                  yes: Highlight
185
          "": Don't show
186
                  no: "Don't highlight"
186
          1: Show
187
            - words the patron searched for in their search results and detail pages; To prevent certain words from ever being highlighted, enter a list of stopwords here
187
        default: 0
188
            - pref: NotHighlightedWords
188
        pref: OPACShowCheckoutName
189
              class: multi
189
      - the name of the user that has an item issued on the item detail pages on the OPAC.
190
            - (separate columns with |)
190
    - 
191
        -
191
      - " Display the"
192
            - Use the image at
192
      - 
193
            - pref: OpacFavicon
193
        choices: 
194
              class: url
194
          both: " home and holding libraries"
195
            - for the OPAC's favicon. (This should be a complete URL, starting with <code>http://</code>.)
195
          holding: " holding library"
196
        -
196
          home: " home library"
197
            - "Include the following JavaScript on all pages in the OPAC:"
197
        pref: OpacLocationBranchToDisplay
198
            - pref: OPACUserJS
198
      - " for items on the OPAC record details page."
199
              type: textarea
199
    - 
200
              class: code
200
      - "Display the shelving location "
201
        -
201
      - 
202
            - Include the additional CSS stylesheet
202
        choices: 
203
            - pref: OpacAdditionalStylesheet
203
          both: " below both home and holding libraries"
204
              class: file
204
          column: " on a separate column"
205
            - 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.
205
          holding: " below the holding library"
206
        -
206
          home: " below the home library"
207
            - Use the CSS stylesheet
207
        pref: OpacLocationOnDetail
208
            - pref: opaclayoutstylesheet
208
      - " for items on the OPAC record details page."
209
              class: file
209
      - "<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"
210
            - on all pages in the OPAC, 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.
210
    - 
211
        -
211
      - 
212
            - "Include the following CSS on all pages in the OPAC:"
212
        choices: 
213
            - pref: OPACUserCSS
213
          "": Don't show
214
              type: textarea
214
          1: Show
215
              class: code
215
        default: 0
216
        -
216
        pref: OpacKohaUrl
217
            - "Show the following HTML in its own column on the main page of the OPAC:"
217
      - "'Powered by Koha' text on OPAC footer."
218
            - pref: OpacMainUserBlock
218
    - 
219
              type: htmlarea
219
      - 
220
              class: code
220
        choices: 
221
        -
221
          "": Don't show
222
            - "Show the following HTML on the left hand column of the main page and patron account on the OPAC (generally navigation links):"
222
          1: Show
223
            - pref: OpacNav
223
        default: 0
224
              type: htmlarea
224
        pref: OpacShowRecentComments
225
              class: code
225
      - a link to recent comments in the OPAC masthead.
226
        -
226
    - 
227
            - "Show the following HTML in the right hand column of the main page under the main login form:"
227
      - 
228
            - pref: OpacNavRight
228
        choices: 
229
              type: htmlarea
229
          "": " Don't show"
230
              class: code
230
          1: " Show"
231
        -
231
        default: 0
232
            - "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:"
232
        pref: GoogleIndicTransliteration
233
            - pref: OpacNavBottom
233
      - " GoogleIndicTransliteration on the OPAC."
234
              type: htmlarea
234
    - 
235
              class: code
235
      - 
236
        -
236
        choices: 
237
            - "Include the following HTML in the header of all pages in the OPAC:"
237
          "": Don't highlight
238
            - pref: opacheader
238
          1: Highlight
239
              type: htmlarea
239
        pref: OpacHighlightedWords
240
              class: code
240
      - " words the user searched for in their search results and detail pages; To prevent certain words from ever being highlighted, enter a list of stopwords here"
241
        -
241
      - 
242
            - "Include the following HTML in the footer of all pages in the OPAC:"
242
        class: multi
243
            - pref: opaccredits
243
        pref: NotHighlightedWords
244
              type: htmlarea
244
      - " (separate columns with |)"
245
              class: code
245
    - 
246
        -
246
      - Use the image at
247
            - 'Include a "More Searches" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):'
247
      - 
248
            - '<br />Note: The placeholders {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN}, {ISSN} and {AUTHOR} will be replaced with information from the displayed record.'
248
        class: url
249
            - pref: OPACSearchForTitleIn
249
        pref: OpacFavicon
250
              type: textarea
250
      - for the OPAC's favicon. (This should be a complete URL, starting with <code>http://</code>.)
251
              class: code
251
    - 
252
        -
252
      - "Include the following JavaScript on all pages in the OPAC:"
253
            - '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):'
253
      - 
254
            - '<br />Note: The placeholders {BIBLIONUMBER}, {TITLE}, {ISBN} and {AUTHOR} will be replaced with information from the displayed record.'
254
        class: code
255
            - pref: OPACMySummaryHTML
255
        pref: OPACUserJS
256
              type: htmlarea
256
        type: textarea
257
              class: code
257
    - 
258
        -
258
      - Include the additional CSS stylesheet
259
            - "Note to display on the patron summary page. This note only appears if the patron is logged in:"
259
      - 
260
            - pref: OPACMySummaryNote
260
        class: file
261
              type: textarea
261
        pref: OpacAdditionalStylesheet
262
        -
262
      - 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.
263
            - "Include the following HTML under the facets in OPAC search results:"
263
    - 
264
            - pref: OPACResultsSidebar
264
      - Use the CSS stylesheet
265
              type: htmlarea
265
      - 
266
              class: code
266
        class: file
267
        -
267
        pref: opaclayoutstylesheet
268
            - pref: OpacAddMastheadLibraryPulldown
268
      - on all pages in the OPAC, 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.
269
              choices: 
269
    - 
270
                  yes: Add
270
      - "Include the following CSS on all pages in the OPAC:"
271
                  no: "Don't add"
271
      - 
272
            - a library select pulldown menu on the OPAC masthead.
272
        class: code
273
        -
273
        pref: OPACUserCSS
274
            - 'Display this HTML when no results are found for a search in the OPAC:'
274
        type: textarea
275
            - '<br />Note: You can insert placeholders {QUERY_KW} that will be replaced with the keywords of the query.'
275
    - 
276
            - pref: OPACNoResultsFound
276
      - "Show the following HTML in its own column on the main page of the OPAC:"
277
              type: htmlarea
277
      - 
278
              class: code
278
        class: code
279
        -
279
        pref: OpacMainUserBlock
280
            - 'Display the URI in the 856u field as an image on: '
280
        type: htmlarea
281
            - pref: OPACDisplay856uAsImage
281
    - 
282
              choices:
282
      - "Show the following HTML on the left hand column of the main page and user account on the OPAC (generally navigation links):"
283
                  OFF: "Neither detail or result pages"
283
      - 
284
                  Details: "Detail page only"
284
        class: code
285
                  Results: "Result page only"
285
        pref: OpacNav
286
                  Both: "Both detail and result pages"
286
        type: htmlarea
287
            - '. Note: The corresponding OPACXSLT option must be turned on.'
287
    - 
288
        -
288
      - "Show the following HTML in the right hand column of the main page under the main login form:"
289
            - 'Select export options that should be available from OPAC detail page:'
289
      - 
290
            - pref: OpacExportOptions
290
        class: code
291
              multiple:
291
        pref: OpacNavRight
292
                bibtex: BibTeX
292
        type: htmlarea
293
                dc: Dublin Core
293
    - 
294
                marcxml: MARCXML
294
      - "Show the following HTML on the left hand column of the main page and user account on the OPAC, after OpacNav, and before user account links if available:"
295
                marc8: MARC-8 encoded MARC
295
      - 
296
                utf8: Unicode/UTF-8 encoded MARC
296
        class: code
297
                marcstd: Unicode/UTF-8 encoded MARC without local use -9xx, x9x, xx9- fields and subfields
297
        pref: OpacNavBottom
298
                mods: MODS
298
        type: htmlarea
299
                ris: RIS
299
    - 
300
                isbd: ISBD
300
      - "Include the following HTML in the header of all pages in the OPAC:"
301
        -
301
      - 
302
            - pref: OpacSeparateHoldings
302
        class: code
303
              choices:
303
        pref: opacheader
304
                  yes: Separate
304
        type: htmlarea
305
                  no: Don't separate
305
    - 
306
            - "items display into two tabs, where the first tab contains items whose"
306
      - "Include the following HTML in the footer of all pages in the OPAC:"
307
            - pref: OpacSeparateHoldingsBranch
307
      - 
308
              choices:
308
        class: code
309
                homebranch: 'home library'
309
        pref: opaccredits
310
                holdingbranch: 'holding library'
310
        type: htmlarea
311
            - "is the logged in user's library. The second tab will contain all other items."
311
    - 
312
        -
312
      - "Include a \"More Searches\" box on the detail pages of items on the OPAC, with the following HTML (leave blank to disable):"
313
            - pref: OPACHoldingsDefaultSortField
313
      - " <br />Note: The placeholders {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN}, {ISSN} and {AUTHOR} will be replaced with information from the displayed record."
314
              choices:
314
      - 
315
                  first_column: First column of the table
315
        class: code
316
                  homebranch: Home library
316
        pref: OPACSearchForTitleIn
317
                  holdingbranch: Holding library
317
        type: textarea
318
            - "is the default sort field for the holdings table"
318
    - 
319
        -
319
      - "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):"
320
            - pref: OpacSuggestionManagedBy
320
      - " <br />Note: The placeholders {BIBLIONUMBER}, {TITLE}, {ISBN} and {AUTHOR} will be replaced with information from the displayed record."
321
              choices:
321
      - 
322
                  yes: Show
322
        class: code
323
                  no: Don't show
323
        pref: OPACMySummaryHTML
324
            - "the name of the staff member who managed a suggestion in OPAC."
324
        type: htmlarea
325
        -
325
    - 
326
            - Display up to
326
      - "Note to display on the user summary page. This note only appears if the user is logged in:"
327
            - pref: OpacMaxItemsToDisplay
327
      - 
328
              class: integer
328
        pref: OPACMySummaryNote
329
            - 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).
329
        type: textarea
330
        -
330
    - 
331
            - "Show the following HTML on the OPAC login form when a patron is not logged in:"
331
      - "Include the following HTML under the facets in OPAC search results:"
332
            - pref: NoLoginInstructions
332
      - 
333
              type: htmlarea
333
        class: code
334
              class: code
334
        pref: OPACResultsSidebar
335
        -
335
        type: htmlarea
336
            - "Replace the search box at the top of OPAC pages with the following HTML:"
336
    - 
337
            - pref: OpacCustomSearch
337
      - 
338
              type: textarea
338
        choices: 
339
              class: code
339
          "": Don't add
340
        -
340
          1: Add
341
            - "Display language selector on "
341
        pref: OpacAddMastheadLibraryPulldown
342
            - pref: OpacLangSelectorMode
342
      - a library select pulldown menu on the OPAC masthead.
343
              choices:
343
    - 
344
                  both: "both top and footer"
344
      - " Display this HTML when no results are found for a search in the OPAC:"
345
                  top: "top"
345
      - "<br />Note: You can insert placeholders {QUERY_KW} that will be replaced with the keywords of the query."
346
                  footer: "only footer"
346
      - 
347
    Features:
347
        class: code
348
        -
348
        pref: OPACNoResultsFound
349
            - pref: opacuserlogin
349
        type: htmlarea
350
              choices:
350
    - 
351
                  yes: Allow
351
      - "Display the URI in the 856u field as an image on: "
352
                  no: "Don't allow"
352
      - 
353
            - patrons to log in to their accounts on the OPAC.
353
        choices: 
354
        -
354
          "": " Neither detail or result pages"
355
            - Show
355
          Both: " Both detail and result pages"
356
            - pref: OpacItemLocation
356
          Details: " Detail page only"
357
              choices:
357
          Results: " Result page only"
358
                  location: location
358
        pref: OPACDisplay856uAsImage
359
                  ccode: "collection code"
359
      - ". Note: The corresponding OPACXSLT option must be turned on."
360
                  callnum: "call number only"
360
    - 
361
            - for items on the OPAC search results.
361
      - " Select export options that should be available from OPAC detail page:"
362
        -
362
      - 
363
            - pref: OpacPasswordChange
363
        multiple: 
364
              choices:
364
          bibtex: BibTeX
365
                  yes: Allow
365
          dc: Dublin Core
366
                  no: "Don't allow"
366
          isbd: ISBD
367
            - patrons to change their own password on the OPAC. Note that this must be off to use LDAP authentication.
367
          marc8: MARC-8 encoded MARC
368
        -
368
          marcstd: Unicode/UTF-8 encoded MARC without local use -9xx, x9x, xx9- fields and subfields
369
            - "Library users are "
369
          marcxml: MARCXML
370
            - pref: OpacResetPassword
370
          mods: MODS
371
              default: 1
371
          ris: RIS
372
              choices:
372
          utf8: Unicode/UTF-8 encoded MARC
373
                  yes: "allowed"
373
        pref: OpacExportOptions
374
                  no: "not allowed"
374
    - 
375
            - " to recover their password via e-mail in the OPAC"
375
      - 
376
        -
376
        choices: 
377
            - pref: OPACPatronDetails
377
          "": Don't separate
378
              choices:
378
          1: Separate
379
                  yes: Allow
379
        pref: OpacSeparateHoldings
380
                  no: "Don't allow"
380
      - items display into two tabs, where the first tab contains items whose
381
            - patrons to notify the library of changes to their contact information from the OPAC.
381
      - 
382
        -
382
        choices: 
383
            - pref: OPACpatronimages
383
          holdingbranch: holding library
384
              choices:
384
          homebranch: home library
385
                  yes: Show
385
        pref: OpacSeparateHoldingsBranch
386
                  no: "Don't show"
386
      - is the logged in user's library. The second tab will contain all other items.
387
            - patron images on the patron information page in the OPAC.
387
    - 
388
        -
388
      - 
389
            - pref: OPACFinesTab
389
        choices: 
390
              choices:
390
          first_column: " First column of the table"
391
                  yes: Allow
391
          holdingbranch: " Holding library"
392
                  no: "Don't allow"
392
          homebranch: Home library
393
            - patrons to access the Fines tab on the My Account page on the OPAC.
393
        pref: OPACHoldingsDefaultSortField
394
        -
394
      - " is the default sort field for the holdings table"
395
            - pref: OpacBrowser
395
    - 
396
              choices:
396
      - 
397
                  yes: Allow
397
        choices: 
398
                  no: "Don't allow"
398
          "": Don't show
399
            - patrons to browse subject authorities on OPAC (run misc/cronjobs/build_browser_and_cloud.pl to create the browser list)
399
          1: Show
400
        -
400
        pref: OpacSuggestionManagedBy
401
            - pref: OpacCloud
401
      - the name of the staff member who managed a suggestion in OPAC.
402
              choices:
402
    - 
403
                  yes: Show
403
      - Display up to
404
                  no: "Don't show"
404
      - 
405
            - a subject cloud on OPAC (run misc/cronjobs/build_browser_and_cloud.pl to build)
405
        class: integer
406
        -
406
        pref: OpacMaxItemsToDisplay
407
            - pref: OpacAuthorities
407
      - 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).
408
              choices:
408
    - 
409
                  yes: Allow
409
      - "Show the following HTML on the OPAC login form when a user is not logged in:"
410
                  no: "Don't allow"
410
      - 
411
            - patrons to search your authority records.
411
        class: code
412
        -
412
        pref: NoLoginInstructions
413
            - pref: opacbookbag
413
        type: htmlarea
414
              choices:
414
    - 
415
                  yes: Allow
415
      - "Replace the search box at the top of OPAC pages with the following HTML:"
416
                  no: "Don't allow"
416
      - 
417
            - patrons to store items in a temporary "Cart" on the OPAC.
417
        class: code
418
        -
418
        pref: OpacCustomSearch
419
            - pref: OpacTopissue
419
        type: textarea
420
              choices:
420
    - 
421
                  yes: Allow
421
      - "Display language selector on "
422
                  no: "Don't allow"
422
      - 
423
            - patrons to access a list of the most checked out items on the OPAC. Note that this is somewhat experimental, and should be avoided if your collection has a large number of items.
423
        choices: 
424
        -
424
          both: both top and footer
425
            - pref: suggestion
425
          footer: only footer
426
              choices:
426
          top: top
427
                  yes: Allow
427
        pref: OpacLangSelectorMode
428
                  no: "Don't allow"
428
  Features: 
429
            - patrons to make purchase suggestions on the OPAC.
429
    -
430
        -
430
      -
431
            - pref: reviewson
431
        choices:
432
              choices:
432
          "": Show
433
                  yes: Allow
433
          1: Don't show
434
                  no: "Don't allow"
434
        pref: OPACNoNewsDate
435
            - patrons to make comments on items on the OPAC.
435
      - the published date in news items on the OPAC. 
436
        -
436
    - 
437
            - Show
437
      - 
438
            - pref: ShowReviewer
438
        choices: 
439
              choices:
439
          "": Don't allow
440
                  none: no name
440
          1: Allow
441
                  full: full name
441
        pref: opacuserlogin
442
                  first: first name
442
      - members to log in to their accounts on the OPAC.
443
                  surname: last name
443
    - 
444
                  firstandinitial: first name and last name initial
444
      - Show
445
                  username: username
445
      - 
446
            - of commenter with comments in OPAC.
446
        choices: 
447
        -
447
          callnum: call number only
448
            - pref: ShowReviewerPhoto
448
          ccode: collection code
449
              choices:
449
          location: location
450
                  yes: Show
450
        pref: OpacItemLocation
451
                  no: Hide
451
      - for items on the OPAC search results.
452
            - reviewer's avatar beside comments in OPAC. The avatar will be searched on www.libravatar.org using the patron's e-mail address.
452
    - 
453
        -
453
      - 
454
            - pref: RequestOnOpac
454
        choices: 
455
              choices:
455
          "": Don't allow
456
                  yes: Allow
456
          1: Allow
457
                  no: "Don't allow"
457
        pref: OpacPasswordChange
458
            - patrons to place holds on items from the OPAC.
458
      - members to change their own password on the OPAC. Note that this must be off to use LDAP authentication.
459
        -
459
    - 
460
            - Display
460
      - "Library users are "
461
            - pref: numSearchRSSResults
461
      - 
462
              class: long
462
        choices: 
463
            -  search results in the RSS feed.
463
          "": not allowed
464
        -
464
          1: allowed
465
            - pref: SocialNetworks
465
        default: 1
466
              default: 0
466
        pref: OpacResetPassword
467
              choices:
467
      - to recover their password via e-mail in the OPAC
468
                  yes: Enable
468
    - 
469
                  no: Disable
469
      - 
470
            - social network links in opac detail pages
470
        choices: 
471
        -
471
          "": Don't allow
472
            - pref: OpacBrowseResults
472
          1: Allow
473
              default: 1
473
        pref: OPACPatronDetails
474
              choices:
474
      - members to notify the library of changes to their contact information from the OPAC.
475
                  yes: Enable
475
    - 
476
                  no: Disable
476
      - 
477
            - browsing and paging search results from the OPAC detail page.
477
        choices: 
478
        -
478
          "": Don't show
479
            - pref: QuoteOfTheDay
479
          1: " Show"
480
              default: 0
480
        pref: OPACpatronimages
481
              choices:
481
      - user images on the user information page in the OPAC.
482
                  yes: Enable
482
    - 
483
                  no: Disable
483
      - 
484
            - Quote of the Day display on OPAC home page
484
        choices: 
485
        -
485
          "": Don't allow
486
            - pref: OPACPopupAuthorsSearch
486
          1: Allow
487
              default: 0
487
        pref: OPACFinesTab
488
              choices:
488
      - borrrowers to access the Fines tab on the My Account page on the OPAC.
489
                yes: Display
489
    - 
490
                no: Don't display
490
      - 
491
            - the list of authors/subjects in a popup for a combined search on OPAC detail pages.
491
        choices: 
492
        -
492
          "": Don't allow
493
            - pref: OpacHoldNotes
493
          1: Allow
494
              default: 0
494
        pref: OpacBrowser
495
              choices:
495
      - users to browse subject authorities on OPAC (run misc/cronjobs/build_browser_and_cloud.pl to create the browser list)
496
                  yes: Allow
496
    - 
497
                  no: Do not allow
497
      - 
498
            - users to add a note when placing a hold.
498
        choices: 
499
        -
499
          "": Don't show
500
            - pref: OPACAcquisitionDetails
500
          1: Show
501
              default: 0
501
        pref: OpacCloud
502
              choices:
502
      - a subject cloud on OPAC (run misc/cronjobs/build_browser_and_cloud.pl to build)
503
                  yes: Display
503
    - 
504
                  no: Don't display
504
      - 
505
            - the acquisition details on OPAC detail pages.
505
        choices: 
506
        -
506
          "": Don't allow
507
            - pref: OpacNewsLibrarySelect
507
          1: Allow
508
              default: 0
508
        pref: OpacAuthorities
509
              choices:
509
      - users to search your authority records.
510
                  yes: Display
510
    - 
511
                  no: Don't display
511
      - 
512
            - a branch selection list for news items in the OPAC.
512
        choices: 
513
        -
513
          "": Don't allow
514
            - "Use the following as the OPAC ISBD template:"
514
          1: Allow
515
            - pref: OPACISBD
515
        pref: opacbookbag
516
              type: textarea
516
      - users to store items in a temporary "Cart" on the OPAC.
517
              class: code
517
    - 
518
    Policy:
518
      - 
519
        -
519
        choices: 
520
            - pref: SearchMyLibraryFirst
520
          "": Don't allow
521
              choices:
521
          1: Allow
522
                  yes: Limit
522
        pref: OpacTopissue
523
                  no: "Don't limit"
523
      - users to access a list of the most issued items on the OPAC. Note that this is somewhat experimental, and should be avoided if your collection has a large number of items.
524
            - "patrons' searches to the library they are registered at."
524
    - 
525
#        -
525
      - 
526
#            This system preference does not actually affect anything
526
        choices: 
527
#            - pref: OpacBrowser
527
          "": Don't allow
528
#              choices:
528
          1: Allow
529
#                  yes: Show
529
        pref: suggestion
530
#                  no: "Don't show"
530
      - members to make purchase suggestions on the OPAC.
531
#            - a subject browser on the OPAC (generated using <code>misc/cronjobs/build_browser_and_cloud.pl</code>).
531
    - 
532
#        -
532
      - 
533
#            opac-tags_subject.pl is the only script affected by this, and it is not linked to by any other page
533
        choices: 
534
#            - pref: OpacCloud
534
          "": Don't allow
535
#              choices:
535
          1: Allow
536
#            - If ON, enables subject cloud on OPAC
536
        pref: reviewson
537
        -
537
      - members to make comments on items on the OPAC.
538
            - pref: OpacRenewalAllowed
538
    - 
539
              choices:
539
      - Show
540
                  yes: Allow
540
      - 
541
                  no: "Don't allow"
541
        choices: 
542
            - patrons to renew their own books on the OPAC.
542
          first: first name
543
        -
543
          firstandinitial: first name and last name initial
544
            - Use 
544
          full: full name
545
            - pref: OpacRenewalBranch
545
          none: no name
546
              choices:
546
          surname: last name
547
                  itemhomebranch: "the item's home library"
547
          username: username
548
                  patronhomebranch: "the patron's home library"
548
        pref: ShowReviewer
549
                  checkoutbranch: "the library the item was checked out from"
549
      - of commenter with comments in OPAC.
550
                  null: "NULL"
550
    - 
551
                  opacrenew: "'OPACRenew'"
551
      - 
552
            - as branchcode to store in the statistics table.
552
        choices: 
553
        -
553
          "": Hide
554
            - Only allow patrons to renew their own books on the OPAC if they have less than
554
          1: Show
555
            - pref: OPACFineNoRenewals
555
        pref: ShowReviewerPhoto
556
              class: currency
556
      - " reviewer's avatar beside comments in OPAC. The avatar will be searched on www.libravatar.org using the user's e-mail address."
557
            - '[% local_currency %] in fines (leave blank to disable).'
557
    - 
558
        -
558
      - 
559
            - pref: OPACViewOthersSuggestions
559
        choices: 
560
              choices:
560
          "": Don't allow
561
                  yes: Show
561
          1: Allow
562
                  no: "Don't show"
562
        pref: RequestOnOpac
563
            - purchase suggestions from other patrons on the OPAC.
563
      - users to place reserves on items from the OPAC.
564
        -
564
    - 
565
            - pref: AllowPurchaseSuggestionBranchChoice
565
      - Display
566
              default: 0
566
      - 
567
              choices:
567
        class: long
568
                  no: "Don't allow"
568
        pref: numSearchRSSResults
569
                  yes: Allow
569
      - search results in the RSS feed.
570
            - patrons to select library when making a purchase suggestion
570
    - 
571
        -
571
      - 
572
            - "Fields that should be mandatory for patron purchase suggestions:"
572
        choices: 
573
            - pref: OPACSuggestionMandatoryFields
573
          "": Disable
574
              multiple:
574
          1: Enable
575
                title: Title
575
        default: 0
576
                author: Author
576
        pref: SocialNetworks
577
                copyrightdate: Copyright or publication date
577
      - social network links in opac detail pages
578
                isbn: ISBN, ISSN or other standard number
578
    - 
579
                publishercode: Publisher name
579
      - 
580
                collectiontitle: Collection title
580
        choices: 
581
                place: Publication place
581
          "": Disable
582
                itemtype: Item type
582
          1: Enable
583
                branch: Library or branch
583
        default: 1
584
                patronreason: Patron reason
584
        pref: OpacBrowseResults
585
                note: Note
585
      - browsing and paging search results from the OPAC detail page.
586
            - "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default."
586
    - 
587
        -
587
      - 
588
            - pref: OpacHiddenItems
588
        choices: 
589
              type: textarea
589
          "": Disable
590
              class: code
590
          1: Enable
591
            - 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>.
591
        default: 0
592
        -
592
        pref: QuoteOfTheDay
593
            - pref: OpacAllowPublicListCreation
593
      - Quote of the Day display on OPAC home page
594
              default: 1
594
    - 
595
              choices:
595
      - 
596
                  no: "Don't allow"
596
        choices: 
597
                  yes: Allow
597
          "": Don't display
598
            - opac users to create public lists
598
          1: Display
599
        -
599
        default: 0
600
            - pref: OpacAllowSharingPrivateLists
600
        pref: OPACPopupAuthorsSearch
601
              default: 0
601
      - the list of authors/subjects in a popup for a combined search on OPAC detail pages.
602
              choices:
602
    - 
603
                  no: "Don't allow"
603
      - 
604
                  yes: Allow
604
        choices: 
605
            - opac users to share private lists with other patrons.
605
          "": Do not allow
606
        -
606
          1: Allow
607
            - pref: BlockExpiredPatronOpacActions
607
        default: 0
608
              choices:
608
        pref: OpacHoldNotes
609
                yes: "Block"
609
      - users to add a note when placing a reserve.
610
                no: "Don't block"
610
    - 
611
            - 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.
611
      - 
612
        -
612
        choices: 
613
            - Limit patrons to
613
          "": " Don't display"
614
            - pref: MaxOpenSuggestions
614
          1: " Display"
615
              class: integer
615
        default: 0
616
            - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions"
616
        pref: OPACAcquisitionDetails
617
    Privacy:
617
      - the acquisition details on OPAC detail pages.
618
        -
618
    - 
619
            - pref: StoreLastBorrower
619
      - 
620
              default: 0
620
        choices: 
621
              choices:
621
          "": " Don't display"
622
                  yes: Store
622
          1: " Display"
623
                  no: "Don't store"
623
        default: 0
624
            - the last patron to return an item. This setting is independent of opacreadinghistory/AnonymousPatron.
624
        pref: OpacNewsLibrarySelect
625
        -
625
      - a branch selection list for news items in the OPAC.
626
            - pref: AnonSuggestions
626
    - 
627
              choices:
627
      - "Use the following as the OPAC ISBD template:"
628
                  yes: Allow
628
      - 
629
                  no: "Don't allow"
629
        class: code
630
            - "patrons that aren't logged in to make purchase suggestions. Suggestions are connected to the AnonymousPatron syspref"
630
        pref: OPACISBD
631
        -
631
        type: textarea
632
            - pref: opacreadinghistory
632
  Payments: 
633
              choices:
633
    - 
634
                  yes: Allow
634
      - 
635
                  no: "Don't allow"
635
        choices: 
636
            - patrons to see what books they have checked out in the past.
636
          "": Don't allow
637
        -
637
          1: Allow
638
            - pref: EnableOpacSearchHistory
638
        default: 1
639
              default: 0
639
        pref: EnablePayPalOpacPayments
640
              choices:
640
      - users to make payments from the OPAC via PayPal in
641
                  yes: Keep
641
      - 
642
                  no: "Don't keep"
642
        choices: 
643
            - patron search history in the OPAC.
643
          "": Production
644
        -
644
          1: Sandbox
645
            - pref: OPACPrivacy
645
        default: 1
646
              default: 0
646
        pref: PayPalSandboxMode
647
              choices:
647
      - mode.
648
                  yes: Allow
648
    - 
649
                  no: "Don't allow"
649
      - "The email address to receive PayPal payments is "
650
            - patrons to choose their own privacy settings for their reading history.  This requires opacreadinghistory and AnonymousPatron
650
      - 
651
        -
651
        class: long
652
            - pref: AllowPatronToSetCheckoutsVisibilityForGuarantor
652
        pref: PayPalUser
653
              default: 0
653
    - 
654
              choices:
654
      - "The password for the PayPal account to receive payments is "
655
                  yes: Allow
655
      - 
656
                  no: "Don't allow"
656
        class: long
657
            - patrons to choose their own privacy settings for showing the patron's checkouts to the patron's guarantor".
657
        pref: PayPalPwd
658
        -
658
    - 
659
            - Use borrowernumber
659
      - "The signature for the PayPal account to receive payments is "
660
            - pref: AnonymousPatron
660
      - 
661
              class: integer
661
        class: long
662
            - as the Anonymous Patron (for anonymous suggestions and reading history)
662
        pref: PayPalSignature
663
        -
663
    - 
664
            - pref: TrackClicks
664
      - "The user should see the charge description as "
665
              default: 0
665
      - 
666
              choices:
666
        class: long
667
                  anonymous: "Track anonymously"
667
        pref: PayPalChargeDescription
668
                  track: "Track"
668
  Policy: 
669
                  no: "Don't track"
669
    - 
670
            - links that patrons click on
670
      - 
671
    Restricted page:
671
        choices: 
672
        -
672
          "": Don't limit
673
            - "Access from IP addresses beginning with"
673
          1: Limit
674
            - pref: RestrictedPageLocalIPs
674
        pref: SearchMyLibraryFirst
675
            - "do not need to be authenticated (comma separated - ex: '127.0.0,127.0.1')"
675
      - users' searches to the library they are registered at.
676
        -
676
    - 
677
            - "HTML content of your restricted page"
677
      - 
678
            - pref: RestrictedPageContent
678
        choices: 
679
              type: textarea
679
          "": Don't allow
680
              class: HTML
680
          1: Allow
681
        -
681
        pref: OpacRenewalAllowed
682
            - Use
682
      - members to renew their own issues on the OPAC.
683
            - pref: RestrictedPageTitle
683
    - 
684
              class: long
684
      - " Use"
685
            - "as title of your restricted page (appears in the breadcrumb and on the top of the restricted page)"
685
      - 
686
    Shelf Browser:
686
        choices: 
687
        -
687
          "": " NULL"
688
            - pref: OPACShelfBrowser
688
          checkoutbranch: the library the item was issued from
689
              choices:
689
          itemhomebranch: the item's home library
690
                  yes: Show
690
          opacrenew: "'OPACRenew'"
691
                  no: "Don't show"
691
          patronhomebranch: the user's home library
692
            - "a shelf browser on item details pages, allowing patrons to see what's near that item on the shelf. Note that this uses up a fairly large amount of resources on your server, and should be avoided if your collection has a large number of items."
692
        pref: OpacRenewalBranch
693
        -
693
      - " as branchcode to store in the statistics table."
694
            - pref: ShelfBrowserUsesLocation
694
    - 
695
              default: 1
695
      - Only allow users to renew their own books on the OPAC if they have less than
696
              choices:
696
      - 
697
                  yes: Use
697
        class: currency
698
                  no: "Don't use"
698
        pref: OPACFineNoRenewals
699
            - "the item location when finding items for the shelf browser."
699
      - " [% local_currency %] in fines (leave blank to disable)."
700
        -
700
    - 
701
            - pref: ShelfBrowserUsesHomeBranch
701
      - 
702
              default: 1
702
        choices: 
703
              choices:
703
          "": Don't show
704
                  yes: Use
704
          1: Show
705
                  no: "Don't use"
705
        pref: OPACViewOthersSuggestions
706
            - "the item home library when finding items for the shelf browser."
706
      - purchase suggestions from other members on the OPAC.
707
        -
707
    - 
708
            - pref: ShelfBrowserUsesCcode
708
      - 
709
              default: 0
709
        choices: 
710
              choices:
710
          "": Don't allow
711
                  yes: Use
711
          1: Allow
712
                  no: "Don't use"
712
        default: 0
713
            - "the item collection code when finding items for the shelf browser."      
713
        pref: AllowPurchaseSuggestionBranchChoice
714
714
      - " users to select library when making a purchase suggestion"
715
    Self Registration:
715
    - 
716
        -
716
      - " Fields that should be mandatory for user purchase suggestions:"
717
            - pref: PatronSelfRegistration
717
      - 
718
              choices:
718
        multiple: 
719
                  yes: Allow
719
          author: Author
720
                  no: "Don't allow"
720
          branch: Library or branch
721
            - "library patrons to register or modify their account via the OPAC. Note: This needs PatronSelfRegistrationDefaultCategory to be set to a valid patron category code."
721
          collectiontitle: Collection title
722
        -
722
          copyrightdate: Copyright or publication date
723
            - pref: PatronSelfRegistrationVerifyByEmail
723
          isbn: ISBN, ISSN or other standard number
724
              choices:
724
          itemtype: Item type
725
                  yes: Require
725
          note: Note
726
                  no: "Don't require"
726
          patronreason: Patron reason
727
            - "that a self-registering patron verify his or herself via email."
727
          place: Publication place
728
        -
728
          publishercode: Publisher name
729
            - "Use the patron category code"
729
          title: Title
730
            - pref: PatronSelfRegistrationDefaultCategory
730
        pref: OPACSuggestionMandatoryFields
731
              class: short
731
      - " <br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default."
732
            - "as the default patron category for patrons registered via the OPAC."
732
    - 
733
        -
733
      - 
734
            - "Delete patrons registered via the OPAC, but not yet verified after"
734
        class: code
735
            - pref: PatronSelfRegistrationExpireTemporaryAccountsDelay
735
        pref: OpacHiddenItems
736
              class: integer
736
        type: textarea
737
            - "days."
737
      - 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>.
738
        -
738
    - 
739
            - "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:"
739
      - 
740
            - pref: PatronSelfRegistrationBorrowerMandatoryField
740
        choices: 
741
              class: multi
741
          "": " Don't allow"
742
            - (separate columns with |)
742
          1: " Allow"
743
        -
743
        default: 1
744
            - "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:"
744
        pref: OpacAllowPublicListCreation
745
            - pref: PatronSelfRegistrationBorrowerUnwantedField
745
      - opac users to create public lists
746
              class: multi
746
    - 
747
            - (separate columns with |)
747
      - 
748
        -
748
        choices: 
749
            - "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:"
749
          "": Don't allow
750
            - pref: PatronSelfModificationBorrowerUnwantedField
750
          1: Allow
751
              class: multi
751
        default: 0
752
            - (separate columns with |)
752
        pref: OpacAllowSharingPrivateLists
753
        -
753
      - opac users to share private lists with other users.
754
            - "Display the following additional instructions for patrons who self register via the OPAC ( HTML is allowed ):"
754
    - 
755
            - pref: PatronSelfRegistrationAdditionalInstructions
755
      - 
756
              type: htmlarea
756
        choices: 
757
              class: html
757
          "": Don't block
758
        -
758
          1: Block
759
            - pref: PatronSelfRegistrationEmailMustBeUnique
759
        pref: BlockExpiredPatronOpacActions
760
              choices:
760
      - expired users from OPAC actions such as placing a reserve or renewing.  Note that the setting for a user category takes priority over this system preference.
761
                  yes: "Consider"
761
    - 
762
                  no: "Do not consider"
762
      - " Limit users to"
763
            - "patron's email (borrowers.email) as unique on self registering. An email won't be accepted if it already exists in the database."
763
      - 
764
        -
764
        class: integer
765
            - "Enable the self registration for the following libraries:"
765
        pref: MaxOpenSuggestions
766
            - pref: PatronSelfRegistrationLibraryList
766
      - "open suggestions. Leave empty for no limit. **Note: this setting does not affect anonymous suggestions"
767
            - (separate branchcode with |).
767
  Privacy: 
768
            - If empty, all libraries will be listed.
768
    - 
769
        -
769
      - 
770
            - pref: PatronSelfRegistrationPrefillForm
770
        choices: 
771
              choices:
771
          "": Don't store
772
                  yes: "Display and prefill"
772
          1: Store
773
                  no: "Do not display and prefill"
773
        default: 0
774
            - "password and login form after a patron has self registered."
774
        pref: StoreLastBorrower
775
775
      - the last user to return an item. This setting is independent of opacreadinghistory/AnonymousPatron.
776
    Advanced Search Options:
776
    - 
777
        -
777
      - 
778
            - Show search options
778
        choices: 
779
            - pref: OpacAdvSearchOptions
779
          "": Don't allow
780
              multiple:
780
          1: Allow
781
                pubdate: Publication date
781
        pref: AnonSuggestions
782
                itemtype: Item types
782
      - users that aren't logged in to make purchase suggestions. Suggestions are connected to the AnonymousPatron syspref
783
                language: Language
783
    - 
784
                subtype: Subtypes
784
      - 
785
                sorting: Sorting
785
        choices: 
786
                location: Location and availability
786
          "": Don't allow
787
        -
787
          1: Allow
788
            - Show search options for the expanded view
788
        pref: opacreadinghistory
789
            - pref: OpacAdvSearchMoreOptions
789
      - members to see what books they have been issued in the past.
790
              multiple:
790
    - 
791
                pubdate: Publication date
791
      - 
792
                itemtype: Item types
792
        choices: 
793
                language: Language
793
          "": Don't keep
794
                subtype: Subtypes
794
          1: Keep
795
                sorting: Sorting
795
        default: 0
796
                location: Location and availability
796
        pref: EnableOpacSearchHistory
797
    Payments:
797
      - member search history in the OPAC.
798
        -
798
    - 
799
            - pref: EnablePayPalOpacPayments
799
      - 
800
              default: 1
800
        choices: 
801
              choices:
801
          "": Don't allow
802
                  yes: Allow
802
          1: Allow
803
                  no: "Don't allow"
803
        default: 0
804
            - "patrons to make payments from the OPAC via PayPal in"
804
        pref: OPACPrivacy
805
            - pref: PayPalSandboxMode
805
      - users to choose their own privacy settings for their reading history.  This requires opacreadinghistory and AnonymousPatron
806
              default: 1
806
    - 
807
              choices:
807
      - 
808
                  yes: "Sandbox"
808
        choices: 
809
                  no: "Production"
809
          "": Don't allow
810
            - "mode."
810
          1: Allow
811
        -
811
        default: 0
812
            - "The email address to receive PayPal payments is "
812
        pref: AllowPatronToSetCheckoutsVisibilityForGuarantor
813
            - pref: PayPalUser
813
      - users to choose their own privacy settings for showing the user's issues to the user's guarantor".
814
              class: long
814
    - 
815
        -
815
      - Use borrowernumber
816
            - "The password for the PayPal account to receive payments is "
816
      - 
817
            - pref: PayPalPwd
817
        class: integer
818
              class: long
818
        pref: AnonymousPatron
819
        -
819
      - as the Anonymous User (for anonymous suggestions and reading history)
820
            - "The signature for the PayPal account to receive payments is "
820
    - 
821
            - pref: PayPalSignature
821
      - 
822
              class: long
822
        choices: 
823
        -
823
          "": Don't track
824
            - "The patron should see the charge description as "
824
          anonymous: Track anonymously
825
            - pref: PayPalChargeDescription
825
          track: Track
826
              class: long
826
        default: 0
827
        pref: TrackClicks
828
      - links that users click on
829
  Restricted page: 
830
    - 
831
      - Access from IP addresses beginning with
832
      - 
833
        pref: RestrictedPageLocalIPs
834
      - "do not need to be authenticated (comma separated - ex: '127.0.0,127.0.1')"
835
    - 
836
      - HTML content of your restricted page
837
      - 
838
        class: HTML
839
        pref: RestrictedPageContent
840
        type: textarea
841
    - 
842
      - Use
843
      - 
844
        class: long
845
        pref: RestrictedPageTitle
846
      - as title of your restricted page (appears in the breadcrumb and on the top of the restricted page)
847
  Self Registration: 
848
    - 
849
      - 
850
        choices: 
851
          "": Don't allow
852
          1: Allow
853
        pref: PatronSelfRegistration
854
      - " library users to register or modify their account via the OPAC. Note: This needs PatronSelfRegistrationDefaultCategory to be set to a valid user category code."
855
    - 
856
      - 
857
        choices: 
858
          "": Don't require
859
          1: Require
860
        pref: PatronSelfRegistrationVerifyByEmail
861
      - that a self-registering user verify theirself via email.
862
    - 
863
      - Use the user category code
864
      - 
865
        class: short
866
        pref: PatronSelfRegistrationDefaultCategory
867
      - as the default user category for users registered via the OPAC.
868
    - 
869
      - " Delete users registered via the OPAC, but not yet verified after"
870
      - 
871
        class: integer
872
        pref: PatronSelfRegistrationExpireTemporaryAccountsDelay
873
      - days.
874
    - 
875
      - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the user entry screen:"
876
      - 
877
        class: multi
878
        pref: PatronSelfRegistrationBorrowerMandatoryField
879
      - (separate columns with |)
880
    - 
881
      - " The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the user self-registration screen:"
882
      - 
883
        class: multi
884
        pref: PatronSelfRegistrationBorrowerUnwantedField
885
      - (separate columns with |)
886
    - 
887
      - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the user self-modification screen:"
888
      - 
889
        class: multi
890
        pref: PatronSelfModificationBorrowerUnwantedField
891
      - (separate columns with |)
892
    - 
893
      - "Display the following additional instructions for users who self register via the OPAC ( HTML is allowed ):"
894
      - 
895
        class: html
896
        pref: PatronSelfRegistrationAdditionalInstructions
897
        type: htmlarea
898
    - 
899
      - 
900
        choices: 
901
          "": " Do not consider"
902
          1: Consider
903
        pref: PatronSelfRegistrationEmailMustBeUnique
904
      - users's email (borrowers.email) as unique on self registering. An email won't be accepted if it already exists in the database.
905
    - 
906
      - " Enable the self registration for the following libraries:"
907
      - 
908
        pref: PatronSelfRegistrationLibraryList
909
      - " (separate branchcode with |)."
910
      - If empty, all libraries will be listed.
911
    - 
912
      - 
913
        choices: 
914
          "": " Do not display and prefill"
915
          1: Display and prefill
916
        pref: PatronSelfRegistrationPrefillForm
917
      - " password and login form after a user has self registered."
918
  Shelf Browser: 
919
    - 
920
      - 
921
        choices: 
922
          "": Don't show
923
          1: Show
924
        pref: OPACShelfBrowser
925
      - a shelf browser on item details pages, allowing members to see what's near that item on the shelf. Note that this uses up a fairly large amount of resources on your server, and should be avoided if your collection has a large number of items.
926
    - 
927
      - 
928
        choices: 
929
          "": Don't use
930
          1: Use
931
        default: 1
932
        pref: ShelfBrowserUsesLocation
933
      - the item location when finding items for the shelf browser.
934
    - 
935
      - 
936
        choices: 
937
          "": Don't use
938
          1: Use
939
        default: 1
940
        pref: ShelfBrowserUsesHomeBranch
941
      - the item home library when finding items for the shelf browser.
942
    - 
943
      - 
944
        choices: 
945
          "": Don't use
946
          1: Use
947
        default: 0
948
        pref: ShelfBrowserUsesCcode
949
      - the item collection code when finding items for the shelf browser.
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-156 / +156 lines)
Lines 2-8 Link Here
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE Price %]
3
[% USE Price %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title>
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalogue</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% BLOCK cssinclude %][% END %]
7
[% BLOCK cssinclude %][% END %]
8
</head>
8
</head>
Lines 10-178 Link Here
10
[% INCLUDE 'masthead.inc' %]
10
[% INCLUDE 'masthead.inc' %]
11
11
12
<div class="main">
12
<div class="main">
13
    <ul class="breadcrumb">
13
 <ul class="breadcrumb">
14
        <li><a href="#">Home</a></li>
14
 <li><a href="#">Home</a></li>
15
    </ul>
15
 </ul>
16
16
17
    [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
17
 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
18
        [% IF ( loggedinusername ) %]
18
 [% IF ( loggedinusername ) %]
19
            <div id="loggedin" class="container-fluid">
19
 <div id="loggedin" class="container-fluid">
20
        [% ELSE %]
20
 [% ELSE %]
21
            <div id="notloggedin" class="container-fluid">
21
 <div id="notloggedin" class="container-fluid">
22
        [% END %]
22
 [% END %]
23
    [% ELSE %]
23
 [% ELSE %]
24
        <div id="notloggedin" class="container-fluid">
24
 <div id="notloggedin" class="container-fluid">
25
    [% END %]
25
 [% END %]
26
26
27
    <div class="row-fluid">
27
 <div class="row-fluid">
28
    [% IF ( OpacNav ||  OpacNavBottom ) %]
28
 [% IF ( OpacNav ||  OpacNavBottom ) %]
29
        <div class="span2">
29
 <div class="span2">
30
            <div id="navigation">
30
 <div id="navigation">
31
                [% INCLUDE 'navigation.inc' %]
31
 [% INCLUDE 'navigation.inc' %]
32
            </div>
32
 </div>
33
        </div>
33
 </div>
34
    [% END %]
34
 [% END %]
35
35
36
    [% IF ( OpacNav ||  OpacNavBottom  ) %]
36
 [% IF ( OpacNav ||  OpacNavBottom  ) %]
37
        <div class="span7">
37
 <div class="span7">
38
    [% ELSE %]
38
 [% ELSE %]
39
        <div class="span9">
39
 <div class="span9">
40
    [% END %]
40
 [% END %]
41
            [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
41
 [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
42
                <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl">
42
 <form id="news-branch-select" class="form-inline" name="news-branch-select" method="get" action="/cgi-bin/koha/opac-main.pl">
43
                <label for="news-branch">Display news for: </label>
43
 <label for="news-branch">Display news for: </label>
44
                <select id="news-branch" name="branch">
44
 <select id="news-branch" name="branch">
45
                [% IF ( branchcode == "" ) %]
45
 [% IF ( branchcode == "" ) %]
46
                <option value="" selected="selected">system-wide only</option>
46
 <option value="" selected="selected">system-wide only</option>
47
                [% ELSE %]
47
 [% ELSE %]
48
                <option value=""         >system-wide only</option>
48
 <option value=""         >system-wide only</option>
49
                [% END %]
49
 [% END %]
50
                [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
50
 [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1, ) %]
51
                </select>
51
 </select>
52
                </form>
52
 </form>
53
            [% END %]
53
 [% END %]
54
54
55
        [% IF ( koha_news_count ) %]
55
 [% IF ( koha_news_count ) %]
56
56
57
            <div id="news" class="newscontainer">
57
 <div id="news" class="newscontainer">
58
                [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
58
 [% SET newsdisp = ( Koha.Preference('NewsAuthorDisplay') ) %]
59
                [% FOREACH koha_new IN koha_news %]
59
 [% FOREACH koha_new IN koha_news %]
60
                    <div class="newsitem">
60
 <div class="newsitem">
61
                        <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
61
 <a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
62
                        <div class="newsbody">[% koha_new.content %]</div>
62
 <div class="newsbody">[% koha_new.content %]</div>
63
                        <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
63
 [% IF Koha.Preference( 'OPACNoNewsDate' ) == 1 %]
64
                    </div>
64
 <style type="text/css">
65
                [% END %]
65
  .newsfooter { display: none; }
66
            </div>
66
  .newsbody { border-bottom: 1px solid #DDD; }
67
            <div id="rssnews-container">
67
 </style>
68
                <!-- Logged in users have a branch code or it could be explicitly set -->
68
 [% ELSE %]
69
                <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
69
 <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
70
                [% IF Branches.all.size == 1 %]
70
 [% END %]
71
                    [% IF branchcode %]
71
 </div>
72
                        RSS feed for [% Branches.GetName( branchcode ) %] library news.
72
 [% END %]
73
                    [% ELSE %]
73
 </div>
74
                        RSS feed for library news.
74
 <div id="rssnews-container">
75
                    [% END %]
75
 <!-- Logged in users have a branch code or it could be explicitly set -->
76
                [% ELSE %]
76
 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-news-rss.pl?branchcode=[% branchcode %]"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png"></a>
77
                    [% IF branchcode %]
77
 [% IF Branches.all.size == 1 %] [% IF branchcode %] RSS feed for [% Branches.GetName( branchcode ) %] library news. [% ELSE %] RSS feed for library news. [% END %] [% ELSE %] [% IF branchcode %] RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news. [% ELSE %] RSS feed for system-wide library news. [% END %] [% END %] </div>
78
                        RSS feed for [% Branches.GetName( branchcode ) %] and system-wide library news.
78
 [% ELSE %]
79
                    [% ELSE %]
79
 [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
80
                        RSS feed for system-wide library news.
80
 <div id="news" class="newscontainer">
81
                    [% END %]
81
 <div class="newsitem">
82
                [% END %]
82
 <div class="newsbody">No news to display.</div>
83
            </div>
83
[% IF Koha.Preference( 'OPACNoNewsDate' ) == 1 %]
84
            [% ELSE %]
84
 <style type="text/css">
85
                [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
85
  .newsfooter { display: none; }
86
                    <div id="news" class="newscontainer">
86
  .newsbody { border-bottom: 1px solid #DDD; }
87
                        <div class="newsitem">
87
 </style>
88
                            <div class="newsbody">No news to display.</div>
88
 [% ELSE %]
89
                            <div class="newsfooter"></div>
89
 <div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
90
                        </div>
90
 [% END %]
91
                    </div>
91
 </div>
92
                [% END %]
92
 </div>
93
            [% END %]
93
 [% END %]
94
 [% END %]
94
95
95
        [% IF ( display_daily_quote && daily_quote ) %]
96
 [% IF ( display_daily_quote && daily_quote ) %]
96
            <div id="daily-quote">
97
 <div id="daily-quote">
97
                <h3>Quote of the day</h3>
98
 <h3>Quote of the day</h3>
98
                <div>
99
 <div>
99
                    <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
100
 <span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span>
100
                </div>
101
 </div>
101
            </div>
102
 </div>
102
        [% END %]
103
 [% END %]
103
104
104
        [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
105
 [% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
105
        </div> <!-- / .span 7/9 -->
106
 </div> <!-- / .span 7/9 -->
106
107
107
        [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
108
 [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
108
            <div class="span3">
109
 <div class="span3">
109
                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
110
 [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
110
                    [% UNLESS ( loggedinusername ) %]
111
 [% UNLESS ( loggedinusername ) %]
111
                        [% UNLESS ( casAuthentication || shibbolethAuthentication ) %]
112
 [% UNLESS ( casAuthentication || shibbolethAuthentication ) %]
112
                            <div id="login">
113
 <div id="login">
113
                                <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
114
 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
114
                                    <input type="hidden" name="koha_login_context" value="opac" />
115
 <input type="hidden" name="koha_login_context" value="opac" />
115
                                    <fieldset class="brief">
116
 <fieldset class="brief">
116
                                        <legend>Log in to your account:</legend>
117
 <legend>Log in to your account:</legend>
117
                                        <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
118
 <label for="userid">Login:</label><input type="text" id="userid" name="userid" />
118
                                        <label for="password">Password:</label><input type="password" id="password" name="password" />
119
 <label for="password">Password:</label><input type="password" id="password" name="password" />
119
                                        <fieldset class="action">
120
 <fieldset class="action">
120
                                            <input type="submit" value="Log in" class="btn" />
121
 <input type="submit" value="Log in" class="btn" />
121
                                        </fieldset>
122
 </fieldset>
122
                                        [% IF Koha.Preference( 'NoLoginInstructions' ) %]
123
 [% IF Koha.Preference( 'NoLoginInstructions' ) %]
123
                                            <div id="nologininstructions-main" class="nologininstructions">
124
 <div id="nologininstructions-main" class="nologininstructions">
124
                                                [% Koha.Preference( 'NoLoginInstructions' ) %]
125
 [% Koha.Preference( 'NoLoginInstructions' ) %]
125
                                            </div>
126
 </div>
126
                                        [% END %]
127
 [% END %]
127
                                        [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
128
 [% IF Koha.Preference('OpacPasswordChange') && Koha.Preference('OpacResetPassword') %]
128
                                            <div id="forgotpassword-main" class="forgotpassword">
129
 <div id="forgotpassword-main" class="forgotpassword">
129
                                                <p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p>
130
 <p><a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a></p>
130
                                            </div>
131
 </div>
131
                                        [% END %]
132
 [% END %]
132
                                        [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
133
 [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
133
                                            <div id="patronregistration-main" class="patronregistration">
134
 <div id="patronregistration-main" class="patronregistration">
134
                                                <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p>
135
 <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p>
135
                                            </div>
136
 </div>
136
                                        [% END %]
137
 [% END %]
137
                                    </fieldset>
138
 </fieldset>
138
                                </form>
139
 </form>
139
                            </div> <!-- /#login -->
140
 </div> <!-- /#login -->
140
                        [% END # /casAuthentication %]
141
 [% END # /casAuthentication %]
141
                    [% ELSE %]
142
 [% ELSE %]
142
                        [% IF Koha.Preference('OPACUserSummary') && dashboard_info %]
143
 [% IF Koha.Preference('OPACUserSummary') && dashboard_info %]
143
                            <div id="user_summary">
144
 <div id="user_summary">
144
                                <h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h3>
145
 <h3>Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></h3>
145
                                <ul id="user_summary_shortcuts">
146
 <ul id="user_summary_shortcuts">
146
                                    [% IF checkouts && checkouts > 0 %]
147
 [% IF checkouts && checkouts > 0 %]
147
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts %]</span> checkout(s)</a></li>
148
 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts"><span class="user_checkouts_count count_label">[% checkouts %]</span> issue(s)</a></li>
148
                                    [% END %]
149
 [% END %]
149
                                    [% IF overdues && overdues > 0 %]
150
 [% IF overdues && overdues > 0 %]
150
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues %]</span> overdue(s)</a></li>
151
 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues"><span class="user_overdues_count count_label">[% overdues %]</span> overdue(s)</a></li>
151
                                    [% END %]
152
 [% END %]
152
                                    [% IF holds_pending && holds_pending > 0 %]
153
 [% IF holds_pending && holds_pending > 0 %]
153
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending %]</span> hold(s) pending</a></li>
154
 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_pending_count count_label">[% holds_pending %]</span> reserve(s) pending</a></li>
154
                                    [% END %]
155
 [% END %]
155
                                    [% IF holds_waiting && holds_waiting > 0 %]
156
 [% IF holds_waiting && holds_waiting > 0 %]
156
                                        <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting %]</span> hold(s) waiting</a></li>
157
 <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds"><span class="user_holds_waiting_count count_label">[% holds_waiting %]</span> reserve(s) waiting</a></li>
157
                                    [% END %]
158
 [% END %]
158
                                    [% IF total_owing && total_owing > 0 %]
159
 [% IF total_owing && total_owing > 0 %]
159
                                        <li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> due in fines and charges</a></li>
160
 <li><a href="/cgi-bin/koha/opac-account.pl"><span class="user_fines_count count_label">[% total_owing | $Price with_symbol => 1 %]</span> due in fines and charges</a></li>
160
                                    [% END %]
161
 [% END %]
161
                                </ul>
162
 </ul>
162
                            </div>
163
 </div>
163
                        [% END %]
164
 [% END %]
164
                    [% END # /loggedinusername %]
165
 [% END # /loggedinusername %]
165
                [% END # /opacuserlogin %]
166
 [% END # /opacuserlogin %]
166
                [% IF ( OpacNavRight ) %]
167
 [% IF ( OpacNavRight ) %]
167
                    <div id="opacnavright">
168
 <div id="opacnavright">
168
                        [% OpacNavRight %]
169
 [% OpacNavRight %]
169
                    </div>
170
 </div>
170
                [% END # /OpacNavRight %]
171
 [% END # /OpacNavRight %]
171
            </div> <!-- / .span3 -->
172
 </div> <!-- / .span3 -->
172
        [% END # /opacuserlogin || OpacNavRight %]
173
 [% END # /opacuserlogin || OpacNavRight %]
173
174
174
        </div> <!-- /.container-fluid -->
175
 </div> <!-- /.container-fluid -->
175
    </div> <!-- /.row-fluid -->
176
 </div> <!-- /.row-fluid -->
176
</div> <!-- /.main -->
177
</div> <!-- /.main -->
177
178
178
[% INCLUDE 'opac-bottom.inc' %]
179
[% INCLUDE 'opac-bottom.inc' %]
179
- 

Return to bug 20265