[%*
file: rss_reviews_single_thing.tpl
this PHP Smarty template provides the HTML formatting that converts an RSS feed for
reviews for a SINGLE Item, Member, or Supplier, into a browsable page. if
the layout needs to be dependent on the thing type, inspect the alias.thing_type
variable and proceed accordingly...
BEGIN PRIMARY TEMPLATE ########################################################
*%]
[% capture name=max_items %]5[% /capture %]
[% capture name=enable_header %]1[% /capture %]
[% capture name=enable_header_title %]1[% /capture %]
[% capture name=enable_header_image %]1[% /capture %]
[% capture name=enable_header_summary %]1[% /capture %]
[% capture name=enable_header_summary_label %]1[% /capture %]
[% capture name=enable_header_submit_review %]1[% /capture %]
[% capture name=enable_report_review %]1[% /capture %]
[% capture name=enable_reviewer_byline %]1[% /capture %]
[% capture name=enable_average_rating %]1[% /capture %]
[% capture name=enable_average_rating_image %]1[% /capture %]
[% capture name=enable_average_rating_numeric %]1[% /capture %]
[% capture name=enable_attribute_ratings %]1[% /capture %]
[% capture name=enable_avatars %]1[% /capture %]
[% capture name=enable_pros %]1[% /capture %]
[% capture name=enable_cons %]1[% /capture %]
[% capture name=enable_review_text %]1[% /capture %]
[% capture name=enable_read_more %]1[% /capture %]
[% capture name=enable_image_frames %]1[% /capture %]
[% if is_numeric($s.in.max_items) && $s.in.max_items %]
[% capture name=max_items %][% $s.in.max_items %][% /capture %]
[% /if %]
[% if is_numeric($s.in.header) && $s.in.header == 0 %]
[% capture name=enable_header %]0[% /capture %]
[% elseif is_numeric($s.in.header) %]
[% capture name=enable_header %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.header_title) && $s.in.header_title == 0 %]
[% capture name=enable_header_title %]0[% /capture %]
[% elseif is_numeric($s.in.header_title) %]
[% capture name=enable_header_title %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.header_image) && $s.in.header_image == 0 %]
[% capture name=enable_header_image %]0[% /capture %]
[% elseif is_numeric($s.in.header_image) %]
[% capture name=enable_header_image %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.header_summary) && $s.in.header_summary == 0 %]
[% capture name=enable_header_summary %]0[% /capture %]
[% elseif is_numeric($s.in.header_summary) %]
[% capture name=enable_header_summary %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.header_summary_label) && $s.in.header_summary_label == 0 %]
[% capture name=enable_header_summary_label %]0[% /capture %]
[% elseif is_numeric($s.in.header_summary_label) %]
[% capture name=enable_header_summary_label %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.header_submit_review) && $s.in.header_submit_review == 0 %]
[% capture name=enable_header_submit_review %]0[% /capture %]
[% elseif is_numeric($s.in.header_submit_review) %]
[% capture name=enable_header_submit_review %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.report_review) && $s.in.report_review == 0 %]
[% capture name=enable_report_review %]0[% /capture %]
[% elseif is_numeric($s.in.report_review) %]
[% capture name=enable_report_review %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.reviewer_byline) && $s.in.reviewer_byline == 0 %]
[% capture name=enable_reviewer_byline %]0[% /capture %]
[% elseif is_numeric($s.in.reviewer_byline) %]
[% capture name=enable_reviewer_byline %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.average_rating) && $s.in.average_rating == 0 %]
[% capture name=enable_average_rating %]0[% /capture %]
[% elseif is_numeric($s.in.average_rating) %]
[% capture name=enable_average_rating %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.average_rating_image) && $s.in.average_rating_image == 0 %]
[% capture name=enable_average_rating_image %]0[% /capture %]
[% elseif is_numeric($s.in.average_rating_image) %]
[% capture name=enable_average_rating_image %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.average_rating_numeric) && $s.in.average_rating_numeric == 0 %]
[% capture name=enable_average_rating_numeric %]0[% /capture %]
[% elseif is_numeric($s.in.average_rating_numeric) %]
[% capture name=enable_average_rating_numeric %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.attribute_ratings) && $s.in.attribute_ratings == 0 %]
[% capture name=enable_attribute_ratings %]0[% /capture %]
[% elseif is_numeric($s.in.attribute_ratings) %]
[% capture name=enable_attribute_ratings %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.avatars) && $s.in.avatars == 0 %]
[% capture name=enable_avatars %]1[% /capture %]
[% elseif is_numeric($s.in.avatars) %]
[% capture name=enable_avatars %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.pros) && $s.in.pros == 0 %]
[% capture name=enable_pros %]0[% /capture %]
[% elseif is_numeric($s.in.pros) %]
[% capture name=enable_pros %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.cons) && $s.in.cons == 0 %]
[% capture name=enable_cons %]0[% /capture %]
[% elseif is_numeric($s.in.cons) %]
[% capture name=enable_cons %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.review_text) && $s.in.review_text == 0 %]
[% capture name=enable_review_text %]0[% /capture %]
[% elseif is_numeric($s.in.review_text) %]
[% capture name=enable_review_text %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.read_more) && $s.in.read_more == 0 %]
[% capture name=enable_read_more %]0[% /capture %]
[% elseif is_numeric($s.in.read_more) %]
[% capture name=enable_read_more %]1[% /capture %]
[% /if %]
[% if is_numeric($s.in.image_frames) && $s.in.image_frames == 0 %]
[% capture name=enable_image_frames %]0[% /capture %]
[% elseif is_numeric($s.in.image_frames) %]
[% capture name=enable_image_frames %]1[% /capture %]
[% /if %]