--- /dev/null
+[%- IF ENV.OILS_CHILIFRESH_URL AND ENV.OILS_CHILIFRESH_ACCOUNT AND ctx.page == 'record';
+ chili_url = ENV.OILS_CHILIFRESH_URL;
+ IF CGI.https AND ENV.OILS_CHILIFRESH_HTTPS_URL;
+ chili_url = ENV.OILS_CHILIFRESH_HTTPS_URL;
+ END;
+%]
+ <!-- Set up the chilifresh account information and load the JS -->
+ <input type="hidden" id="chilifresh_account" name="chilifresh_account" value="[% ENV.OILS_CHILIFRESH_ACCOUNT %]"/>
+ <input type="hidden" id="chilifresh_version" name="chilifresh_version" value="onsite_v1" />
+ <input type="hidden" id="chilifresh_type" name="chilifresh_type" value="search" />
+ <script type="text/javascript" src="[% chili_url %]"></script>
+ <script>try { setTimeout(chili_init, 0); } catch(E) {}</script>
+[%- END %]
</div>
<div class="item_detail_rate_wrapper">
- <!-- TODO chilifresh, etc. -->
+ <div class="item_detail_rate_starts">
+ <span class="chili_review" id="isbn_[% attrs.isbn_clean | html %]"> </span>
+ </div>
+ <!--
+ <div style="margin-bottom:20px;">
+ <div id="chili_review_[% attrs.isbn_clean | html %]" style="display: none;" align="center" width="100%"></div>
+ </div>
+ -->
+
+ <!--
<div class="item_detail_rate_starts"><img alt="rating" src="[% ctx.media_prefix %]/images/kpac/stars.png" /></div>
<div class="item_detail_rate_link"><a href="javascript:;">Rate this</a></div>
<div class="clear"> </div>
+ -->
<div class="item_detail_cn_wrapper">
<div class="item_detail_callnumber">[% attrs.holdings.0.label | html %]</div>
[% END %]
<!-- TODO -->
-
<div class="item_detail_extras_tabs">
<a href="javascript:;">Reviews</a>
<div class="selected">Rate this Item</div>
<a href="javascript:;">About the Author</a>
<div class="clear"> </div>
</div>
+ <div class="item_detail_rating">
+ <div id="chili_review_[% attrs.isbn_clean | html %]" style="display: none;" align="center" width="100%"></div>
+ </div>
+</div>
+<!--
<div class="item_detail_rating_top">
<table cellpadding="0" cellspacing="0" border="0" class="item_avg_rate_table">
<tr>
</tr>
</table>
</div>
+-->
[% END %]