Commit bbf747c6 authored by Nigel McNie's avatar Nigel McNie
Browse files

Call the |escape modifier properly in this template.

(cherry picked from commit 9e74277a)

Conflicts:

	htdocs/theme/default/templates/view/blocktypelist.tpl
parent 04673917
......@@ -6,10 +6,10 @@
<div class="blocktype">
{* The width and height are required so that the javascript that places the clones knows how
big it should make itself. Talk to Nigel before changing this *}
<img src="{$blocktype.thumbnail_path | escape}" alt="{str tag='Preview' section='view'}" width="70" height="58">
<h4>{$blocktype.title | escape}</h4>
<div>{$blocktype.description | escape}</div>
<input type="{if $javascript}hidden{else}radio{/if}" class="blocktype-radio" name="blocktype" value="{$blocktype.name | escape}">
<img src="{$blocktype.thumbnail_path|escape}" alt="{str tag='Preview' section='view'}" width="70" height="58">
<h4>{$blocktype.title|escape}</h4>
<div>{$blocktype.description|escape}</div>
<input type="{if $javascript}hidden{else}radio{/if}" class="blocktype-radio" name="blocktype" value="{$blocktype.name|escape}">
</div>
</li>
{/foreach}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment