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
a43aa55e
Commit
a43aa55e
authored
Jan 28, 2010
by
Richard Mansfield
Browse files
Include blocktype javascript when editing a block on a page of its own
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
8ab7cd5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/view/blocks.tpl
View file @
a43aa55e
...
...
@@ -94,6 +94,7 @@
{
$block.html
}
</div>
</div>
{
if
$block.javascript
}
<script
type=
"text/javascript"
>
{
$block.javascript
}
</script>
{/
if
}
{/
if
}
{
if
$microheaders
}{
include
file
=
"microfooter.tpl"
}{
else
}{
include
file
=
"footer.tpl"
}{/
if
}
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