Koha/installer/data/mysql/fr-FR/1-Obligatoire
Doug Dearden 6c7f964c27 Bug 5738 Display 856u As Image
Add an option to the OPAC to display the URI that is stored in the 856u field
as an image instead of a text link.  This would be implemented in the OPAC XSLT
style sheets for the Results and Details pages, and would require that the
corresponding OPAC XSLT option be set.

This enhancement is designed to enable the staff to catalog images, then have
them appear on the resulting pages in the OPAC when searching.  Clicking on the
image would open it full size.  If the image option is in use, then the default
link text would be disabled.  Custom text would still appear if entered in the
"URLLinkText" option.

Add system preference "Display856uAsImage" with options of Results page,
Details page, Both Results and Details pages, Neither Results or Details page.

Notes for documentation manager:
There are two system preferences added for this enhancement:
OPACDisplay856uAsImage and Display856uAsImage.  These appear on the OPAC and
Staff Client screens under the System Preferences.

The preference can be set to one of four options:

Both Details and Results pages
Details page only
Neither Details or Results pages
Results page only

In addition to this option being set, the corresponding XSLT option must be
turned on. Also, the corresponding 856q field must have a valid MIME image
extension (e.g., "jpg") or MIME image type (i.e. starting with "image/"), or the
generic indicator "img" entered in the field.

As of 14 March 2011 the UNIMARC xslt display files also require a "0" in the
second indicator location of the 856u field for the links to be activated.  This
is not true for the MARC21 display files.

When all of the requirements are met, an image file will be displayed instead of
the standard link text. Clicking on the image will open it in the same way as
clicking on the link text.

Rebased and three original patches squashed into one on 30 March 2011 by Jared
Camins-Esakov.

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Doug Dearden <dearden@sarsf.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-01 13:38:14 +13:00
..
authorised_values.sql Bug 3983 : Needed authorised values list for french frameworks. 2010-01-28 15:11:48 +01:00
authorised_values.txt Bug 3983 : Needed authorised values list for french frameworks. 2010-01-28 15:11:48 +01:00
class_sources.sql Fix FSF address in directory installer/ 2010-03-16 20:17:50 -04:00
class_sources.txt Add default classification sources and filing rules to fr-FR 2008-12-11 10:19:30 -06:00
message_transport_types.sql Transport_type print missing 2010-05-01 09:11:56 -04:00
message_transport_types.txt Schema Changes for Email Checkout Slips 2009-02-04 13:54:13 -06:00
sample_notices.sql bug 5127: sample notice templates for suggestions 2010-11-30 06:47:52 +13:00
sample_notices.txt [Checkout Slips Part 3 14/16] SQL 2009-02-04 13:58:43 -06:00
stopwords.sql Convert to UTF-8. 2010-05-06 17:59:07 -04:00
stopwords.txt
subtag_registry.sql Bug 2742 Followup patch fixing Norwegian bokmål, adding nynorsk 2011-02-17 11:40:20 +13:00
subtag_registry.txt
unimarc_standard_systemprefs.sql Bug 5738 Display 856u As Image 2011-04-01 13:38:14 +13:00
unimarc_standard_systemprefs.txt
userflags.sql Fix for Bug 2970, Create a permission for modifying holds priority 2010-02-19 05:12:58 -05:00
userflags.txt
userpermissions.sql fixed permissions for item batch deletion and modification for French 2010-06-19 15:51:25 -04:00
userpermissions.txt granular permissions - created DB tables 2008-04-10 15:53:08 -05:00