$ctx->{base_url} = $cgi->url(-base => 1);
$ctx->{skin} = $cgi->cookie(OILS_HTTP_COOKIE_SKIN) || 'default';
$ctx->{theme} = $cgi->cookie(OILS_HTTP_COOKIE_THEME) || 'default';
+ $ctx->{proto} = $cgi->https ? 'https' : 'http';
# Any paths configured in Apache will be placed in front of
# any paths configured in the global oils_web.xml config.
<!-- Embedded content cafe iframe -->
[% ident = attrs.isbn_clean || attrs.upc %]
<iframe width="100%" height="400" frameborder="0"
- src="http[% CGI.https ? 's' : '' %]://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%-
- ENV.OILS_CONTENT_CAFE_USER %]&Password=[% ENV.OILS_CONTENT_CAFE_PASS %]&ItemKey=[% ident | uri %]&Options=Y" >
+ src="[% ctx.proto %]://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%-
+ ENV.OILS_CONTENT_CAFE_USER %]&Password=[% ENV.OILS_CONTENT_CAFE_PASS %]&ItemKey=[% ident | uri %]&Options=Y" >
</iframe>
</div>
[% label %]
</a>
</div>
+ [% IF ENV.OILS_CONTENT_CAFE_USER %]
+ <div class="results_aux_utils opac-auto-011">
+ <a title="[% l('Reviews and More') %]" target='_blank'
+ href="[% ctx.proto %]://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%-
+ ENV.OILS_CONTENT_CAFE_USER %]&Password=[%-
+ ENV.OILS_CONTENT_CAFE_PASS %]&ItemKey=[% ident | uri %]&Options=Y">
+ <img src='[% ctx.media_prefix %]/images/starz.png'/>
+ <span style='position:relative;top:-5px;'>[% l('Reviews & More') %]</span>
+ </a>
+ </div>
+ [% END %]
</div>
</div>
</td>