Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
Marcel de Rooy f1bc4eff4c Bug 10052: Make intranetstylesheet and intranetcolorstylesheet behave exactly like their opac counterparts
Allow a relative path (within theme/css) in intranetstylesheet too.
Allow a full path, local or remote with http(s), in intranetcolorstylesheet.
This restores consistency between opac and staff.

Test plan:
First: the patch with the db revision should have been applied. And also the
updatestructure step from the web installer should have been run.

Clear intranetstylesheet. Check included stylesheet with page source in browser.
Enter a full path with http or / in intranetstylesheet. Check again.
Enter a relative path (such as staff-global.css). Check again.

Clear intranetcolorstylesheet. Check if there is no reference with page source.
Enter a full path with http or / in intranetcolorstylesheet. Check reference.
Enter a relative path (such as blue.css). Check again.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-05-23 08:55:08 -07:00

130 lines
6.8 KiB
Text

Staff Client:
Appearance:
-
- Use the
- pref: template
choices: staff-templates
- theme on the staff interface.
-
- "The staff client is located at http://"
- pref: staffClientBaseURL
class: url
- .
-
- Use the CSS stylesheet
- pref: intranetstylesheet
class: url
- on all pages in the staff interface, instead of the default css (used when leaving this field blank). Enter just a filename, a full local path or a complete URL starting with <code>http://</code> (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
-
- "Use the following JavaScript for printing slips. Define at least function printThenClose(). For use e.g. with Firefox PlugIn jsPrintSetup, see http://jsprintsetup.mozdev.org/:"
- pref: IntranetSlipPrinterJS
type: textarea
class: code
-
- "Include the following CSS on all pages in the staff client:"
- pref: IntranetUserCSS
type: textarea
class: code
-
- Include the additional CSS stylesheet
- pref: intranetcolorstylesheet
class: file
- to override specified settings from the default stylesheet (leave blank to disable.) Enter just a filename, a full local path or a complete URL starting with <code>http://</code> (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
-
- Use include files from the
- pref: intranet_includes
class: file
- directory in the template directory, instead of <code>includes/</code>. (Leave blank to disable)
-
- "Show the following HTML in its own column on the main page of the staff client:"
- pref: IntranetmainUserblock
type: textarea
class: code
-
- "Show the following HTML to the left of the More menu at the top of each page on the staff client (should be a list of links or blank):"
- pref: IntranetNav
type: textarea
class: code
-
- "Include the following JavaScript on all pages in the staff client:"
- pref: intranetuserjs
type: textarea
class: code
-
- Use the image at
- pref: IntranetFavicon
class: url
- for the Staff Client's favicon. (This should be a complete URL, starting with <code>http://</code>.)
-
- 'Display results in the staff client using XSLT stylesheet at: '
- pref: XSLTResultsDisplay
class: file
- '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="XSLTResultsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="XSLTResultsDisplay" data-value="default">default</a>" for the default one</li><li> put a path to define a xslt file</li><li>put an URL for an external specific stylesheet.</li></ul>{langcode} will be replaced with current interface language'
-
- 'Display details in the staff client using XSLT stylesheet at: '
- pref: XSLTDetailsDisplay
class: file
- '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="XSLTDetailsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="XSLTDetailsDisplay" 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'
-
- pref: DisplayIconsXSLT
choices:
yes: Show
no: "Don't show"
- the format, audience, and material type icons in XSLT MARC21 results and detail pages in the staff client.
-
- Use the Yahoo UI libraries
- pref: yuipath
choices:
local: "included with Koha (faster, will work if internet goes down)."
"http://yui.yahooapis.com/2.5.1/build": "from Yahoo's own servers (less demand on your servers)."
-
- pref: StaffAuthorisedValueImages
choices:
yes: Show
no: "Don't show"
- images for <a href="/cgi-bin/koha/admin/authorised_values.pl">authorized values</a> (such as lost statuses and locations) in search results.
-
- 'Display the URI in the 856u field as an image on: '
- pref: Display856uAsImage
choices:
OFF: "Neither Details or Results pages"
Details: "Details page only"
Results: "Results page (for future use, Results XSLT not functional at this time)."
Both: "Both Results and Details pages (for future use, Results XSLT not functional at this time)."
- 'Note: The corresponding XSLT option must be turned on.'
-
- Include the stylesheet at
- pref: SlipCSS
class: url
- on Issue and Reserve Slips. (This should be a complete URL, starting with <code>http://</code>.)
Options:
-
- pref: viewMARC
choices:
yes: Allow
no: "Don't allow"
- staff to view records in plain MARC form on the staff client.
-
- pref: viewLabeledMARC
choices:
yes: Allow
no: "Don't allow"
- staff to view records in labeled MARC form on the staff client.
-
- pref: viewISBD
choices:
yes: Allow
no: "Don't allow"
- staff to view records in ISBD form on the staff client.
-
- pref: HidePatronName
choices:
no: Show
yes: "Don't show"
- the names of patrons that have items checked out or on hold on detail pages or the "Place Hold" screen.
-
- pref: intranetbookbag
choices:
yes: Show
no: "Don't show"
- the cart option in the staff client.