From 9e9ee91161074e7e33ca846bb646a5e28c62c310 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 16 Dec 2016 15:58:26 -0500 Subject: [PATCH] Update urls need https take out the auto http part --- Toolkit/Packages/Display.php | 2 +- templates/template.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Toolkit/Packages/Display.php b/Toolkit/Packages/Display.php index 6ba3b34..a0db08a 100644 --- a/Toolkit/Packages/Display.php +++ b/Toolkit/Packages/Display.php @@ -51,7 +51,7 @@ class Toolkit_Packages_Display : '', 'date_range' => $package->getDateRange(), 'intro' => $package->getIntro(), - 'bookurl' => preg_replace('%^http://%', '', trim($package->getBookurl())), + 'bookurl' => $package->getBookurl(), 'descr' => $package->getDescription() ); } diff --git a/templates/template.html b/templates/template.html index ff99fbc..7a17d31 100755 --- a/templates/template.html +++ b/templates/template.html @@ -143,7 +143,7 @@

{v[title]:h}

{v[intro]:h} >>View Details - {if:v[bookurl]} Book Now {end:} + {if:v[bookurl]} Book Now {end:} -- 2.17.1