[koha-commits] main Koha release repository branch, master, updated. v3.02.00-946-g6c7f964

Git repo owner gitmaster at git.koha-community.org
Fri Apr 1 02:41:23 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  6c7f964c27937fd1c352bfd8936c047d995382b8 (commit)
       via  c2cee4b445a46dda5b85c65ff742593a5125e73a (commit)
       via  b023e7f46d8721116a01446fafb5601b87faeb6a (commit)
      from  513fbe2084f02a9765f219e80ea209f43534448a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6c7f964c27937fd1c352bfd8936c047d995382b8
Author: Doug Dearden <dearden at sarsf.org>
Date:   Thu Mar 31 15:22:26 2011 -0600

    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 at bywatersolutions.com>
    Signed-off-by: Doug Dearden <dearden at sarsf.org>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

-----------------------------------------------------------------------

Summary of changes:
 C4/XSLT.pm                                         |    3 ++-
 circ/returns.pl                                    |    1 +
 installer/data/mysql/de-DE/mandatory/sysprefs.sql  |    2 ++
 installer/data/mysql/en/mandatory/sysprefs.sql     |    2 ++
 .../1-Obligatoire/unimarc_standard_systemprefs.sql |    2 ++
 installer/data/mysql/it-IT/necessari/sysprefs.sql  |    2 ++
 installer/data/mysql/pl-PL/mandatory/sysprefs.sql  |    2 ++
 ...m_preferences_full_optimal_for_install_only.sql |    2 ++
 ...m_preferences_full_optimal_for_install_only.sql |    2 ++
 installer/data/mysql/updatedatabase.pl             |    8 ++++++++
 .../prog/en/modules/admin/preferences/opac.pref    |    9 +++++++++
 .../en/modules/admin/preferences/staff_client.pref |    9 +++++++++
 .../prog/en/modules/circ/returns.tmpl              |    3 ++-
 .../prog/en/xslt/MARC21slim2intranetDetail.xsl     |    5 +++++
 .../prog/en/xslt/UNIMARCslim2intranetDetail.xsl    |    5 +++++
 .../prog/en/xslt/MARC21slim2OPACDetail.xsl         |   20 +++++++++++---------
 .../prog/en/xslt/MARC21slim2OPACResults.xsl        |    8 ++++++++
 .../prog/en/xslt/UNIMARCslim2OPACDetail.xsl        |    5 +++++
 .../prog/en/xslt/UNIMARCslim2OPACResults.xsl       |    5 +++++
 kohaversion.pl                                     |    2 +-
 20 files changed, 85 insertions(+), 12 deletions(-)
 mode change 100644 => 100755 C4/XSLT.pm
 mode change 100644 => 100755 installer/data/mysql/de-DE/mandatory/sysprefs.sql
 mode change 100644 => 100755 installer/data/mysql/en/mandatory/sysprefs.sql
 mode change 100644 => 100755 installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
 mode change 100644 => 100755 installer/data/mysql/it-IT/necessari/sysprefs.sql
 mode change 100644 => 100755 installer/data/mysql/pl-PL/mandatory/sysprefs.sql
 mode change 100644 => 100755 installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql
 mode change 100644 => 100755 installer/data/mysql/uk-UA/mandatory/system_preferences_full_optimal_for_install_only.sql
 mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
 mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
 mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
 mode change 100644 => 100755 koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl
 mode change 100644 => 100755 koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl
 mode change 100644 => 100755 koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
 mode change 100644 => 100755 koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list