@@ -184,7 +184,7 @@ The following escaping filters are provided ([color="green"]green[/color] indica
<tbody>
<tr style="background-color: #FFDDDD">
<td>[tt]-[/tt]</td>
<td colspan="3">Special code to indicate that a construct should not be pre-processed. This is useful very occasionally if you want to stop something like a block being preloaded if it is buried under a Tempcode IF directive and hence doesn't always run. Stopping pre-processing will stop any JavaScript or [abbr="Cascading Style Sheets"]CSS[/abbr] dependencies being called up, however.</td>
<td colspan="3">Special code to indicate that a construct should not be pre-processed. This is useful very occasionally if you want to stop something like a block being preloaded if it is buried under a Tempcode IF directive and hence doesn't always run. It also reduces the Tempcode tree memory usage a lot. Stopping pre-processing will stop any JavaScript or [abbr="Cascading Style Sheets"]CSS[/abbr] dependencies being called up, however.</td>
@@ -300,7 +305,7 @@ function display_rating($content_url, $content_title, $content_type, $content_id
* @param ?string $content_title The title to where the commenting will pass back to (to put into the comment topic header) (null: don't know, but not first post so not important)
* @param ID_TEXT $content_type The type (download, etc) that this rating is for
* @param ID_TEXT $content_id The ID of the type that this rating is for
* @param ID_TEXT $form_tpl The template to use to display the rating box
* @param ?ID_TEXT $form_tpl The template to use to display the rating box (null: none)
* @return ?array Current rating information (ready to be passed into a template). RATING is the rating (out of 10), NUM_RATINGS is the number of ratings so far, RATING_FORM is the Tempcode of the rating box (null: rating disabled)
*/
@@ -418,7 +423,11 @@ function get_rating_simple_array($content_url, $content_title, $content_type, $c
'LIKES'=>$likes,
'LIKED_BY'=>$liked_by,
)+$all_rating_criteria[$content_type]/*so can assume single rating criteria if want and reference that directly*/;