]> git.koha-community.org Git - koha.git/commit
Bug 8952: Add http:// to url in social media links on opac-detail
authorOwen Leonard <oleonard@myacpl.org>
Wed, 24 Oct 2012 16:30:33 +0000 (12:30 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 03:58:19 +0000 (03:58 +0000)
commit179a7f8d767c7a042bc0c91f97ee979115b40259
treeb92827fbe9043949da0784eca64acb7ba3454bf2
parent19131a9d8ee85dd28033856d02f8573625ce74f8
Bug 8952: Add http:// to url in social media links on opac-detail

This patch adds a variable to the template, "protocol" based on
whether "using_https" is set. The appropriate protocol is
inserted before social media links.

To test, confirm that  OPACBaseURL is set and lacks "http(s)://"
Social media links should include correct URLs.

A follow-up patch could copy use of this [% protocol %] variable
in other parts of this template which duplicate large chunks of
HTML based on [% using_https %].

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt