Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
9e74277a
Commit
9e74277a
authored
Aug 20, 2009
by
Nigel McNie
Browse files
Call the |escape modifier properly in this template.
parent
c7e5e226
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/view/blocktypelist.tpl
View file @
9e74277a
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<div
class=
"blocktype"
>
<div
class=
"blocktype"
>
{* The width and height are required so that the javascript that places the clones knows how
{* 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 *}
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"
>
<img
src=
"
{
$blocktype.thumbnail_path
|
escape
}
"
alt=
"
{
str
tag
=
'Preview'
section
=
'view'
}
"
width=
"70"
height=
"58"
>
<h3>
{
$blocktype.title
|
escape
}
</h3>
<h3>
{
$blocktype.title
|
escape
}
</h3>
<p>
{
$blocktype.description
|
escape
}
</p>
<p>
{
$blocktype.description
|
escape
}
</p>
<input
type=
"
{
if
$javascript
}
hidden
{
else
}
radio
{/
if
}
"
class=
"blocktype-radio"
name=
"blocktype"
value=
"
{
$blocktype.name
|
escape
}
"
>
<input
type=
"
{
if
$javascript
}
hidden
{
else
}
radio
{/
if
}
"
class=
"blocktype-radio"
name=
"blocktype"
value=
"
{
$blocktype.name
|
escape
}
"
>
</div>
</div>
</li>
</li>
{/
foreach
}
{/
foreach
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment