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
6479a378
Commit
6479a378
authored
Oct 07, 2009
by
Nigel McNie
Browse files
Prevent notices when adding an image block to a page.
Signed-off-by:
Nigel McNie
<
nigel@catalyst.net.nz
>
parent
290352f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/blocktype/image/lib.php
View file @
6479a378
...
...
@@ -92,7 +92,7 @@ class PluginBlocktypeImage extends PluginBlocktype {
'showdescription'
=>
array
(
'type'
=>
'checkbox'
,
'title'
=>
get_string
(
'showdescription'
,
'blocktype.file/image'
),
'defaultvalue'
=>
$configdata
[
'showdescription'
],
'defaultvalue'
=>
!
empty
(
$configdata
[
'showdescription'
]
)
?
true
:
false
,
),
'width'
=>
array
(
'type'
=>
'text'
,
...
...
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