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
8f6de1e8
Commit
8f6de1e8
authored
Oct 05, 2009
by
Nigel McNie
Browse files
Remove some errant whitespace.
Signed-off-by:
Nigel McNie
<
nigel@catalyst.net.nz
>
parent
1e38c70c
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/blocktype/lib.php
View file @
8f6de1e8
...
...
@@ -596,9 +596,9 @@ class BlockInstance {
$content
=
call_static_method
(
generate_class_name
(
'blocktype'
,
$this
->
get
(
'blocktype'
)),
'render_instance'
,
$this
);
}
catch
(
ArtefactNotFoundException
$e
)
{
// Whoops - where did the image go? There is possibly a bug
// somewhere else that meant that this blockinstance wasn't
// told that the image was previously deleted. But the block
// Whoops - where did the image go? There is possibly a bug
// somewhere else that meant that this blockinstance wasn't
// told that the image was previously deleted. But the block
// instance is not allowed to treat this as a failure
log_debug
(
'Artefact not found when rendering a block instance. '
.
'There might be a bug with deleting artefacts of this type? '
...
...
@@ -613,7 +613,7 @@ class BlockInstance {
$title
=
call_static_method
(
generate_class_name
(
'blocktype'
,
$this
->
get
(
'blocktype'
)),
'override_instance_title'
,
$this
);
$smarty
->
assign
(
'title'
,
$title
?
$title
:
$this
->
get
(
'title'
));
// If this block is for just one artefact, we set the title of the
// If this block is for just one artefact, we set the title of the
// block to be a link to view more information about that artefact
$configdata
=
$this
->
get
(
'configdata'
);
if
(
!
empty
(
$configdata
[
'artefactid'
]))
{
...
...
@@ -622,7 +622,7 @@ class BlockInstance {
}
$smarty
->
assign
(
'content'
,
$content
);
return
$smarty
->
fetch
(
'view/blocktypecontainerviewing.tpl'
);
}
...
...
Write
Preview
Markdown
is supported
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