From: Steve Sutton Date: Fri, 16 Dec 2016 20:58:26 +0000 (-0500) Subject: Update urls X-Git-Tag: v1.2.7^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9e9ee91161074e7e33ca846bb646a5e28c62c310;p=web%2FTroutCreek.git Update urls need https take out the auto http part --- 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:}