need https take out the auto http part
: '',
'date_range' => $package->getDateRange(),
'intro' => $package->getIntro(),
- 'bookurl' => preg_replace('%^http://%', '', trim($package->getBookurl())),
+ 'bookurl' => $package->getBookurl(),
'descr' => $package->getDescription()
);
}
<h3 class="pTitle">{v[title]:h}</h3>
{v[intro]:h}
<a class="pDetailButton" href="{baseURLDefined:h}index.php?package_id={v[id]}&pageId={pageId}">>>View Details</a>
- {if:v[bookurl]} <a target="_blank" class="pBooknow" href="http://{v[bookurl]:h}">Book Now</a> {end:}
+ {if:v[bookurl]} <a target="_blank" class="pBooknow" href="{v[bookurl]:h}">Book Now</a> {end:}
</div>
</div>