Skip to content
GitLab
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
7bcfc62f
Commit
7bcfc62f
authored
Nov 13, 2007
by
Nigel McNie
Browse files
Disable the search tab for these blocktypes, which don't need it.
parent
a18017d5
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/internal/blocktype/contactinfo/lib.php
View file @
7bcfc62f
...
...
@@ -125,6 +125,7 @@ class PluginBlocktypeContactinfo extends PluginBlocktype {
'blocktype'
=>
'contactinfo'
,
'limit'
=>
655360
,
// 640K profile fields is enough for anyone!
'selectone'
=>
false
,
'search'
=>
false
,
'artefacttypes'
=>
array_diff
(
PluginArtefactInternal
::
get_contactinfo_artefact_types
(),
array
(
'email'
)),
'template'
=>
'artefact:internal:artefactchooser-element.tpl'
,
);
...
...
htdocs/artefact/internal/blocktype/profileinfo/lib.php
View file @
7bcfc62f
...
...
@@ -186,6 +186,7 @@ class PluginBlocktypeProfileinfo extends PluginBlocktype {
'blocktype'
=>
'profileinfo'
,
'limit'
=>
655360
,
// 640K profile fields is enough for anyone!
'selectone'
=>
false
,
'search'
=>
false
,
'artefacttypes'
=>
array_diff
(
PluginArtefactInternal
::
get_artefact_types
(),
array
(
'profileicon'
,
'email'
)),
'template'
=>
'artefact:internal:artefactchooser-element.tpl'
,
);
...
...
htdocs/artefact/resume/blocktype/resumefield/lib.php
View file @
7bcfc62f
...
...
@@ -94,6 +94,7 @@ class PluginBlocktypeResumefield extends PluginBlocktype {
'blocktype'
=>
'resumefield'
,
'limit'
=>
655360
,
// 640K profile fields is enough for anyone!
'selectone'
=>
true
,
'search'
=>
false
,
'artefacttypes'
=>
PluginArtefactResume
::
get_artefact_types
(),
'template'
=>
'artefact:resume:artefactchooser-element.tpl'
,
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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